Skip to content

Commit 0a73004

Browse files
authored
Generated from ac50a2da1ec162e8eb9e8f01f1bd1e9b110d24c0 (#2294)
Remove readOnly flag on github hostName property
1 parent b936080 commit 0a73004

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FactoryGitHubConfiguration.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,29 @@
1919
@JsonTypeName("FactoryGithubConfiguration")
2020
public class FactoryGitHubConfiguration extends FactoryRepoConfiguration {
2121
/**
22-
* GitHub repo host name.
22+
* GitHub Enterprise host name. For example: https://github.mydomain.com.
2323
*/
24-
@JsonProperty(value = "hostName", access = JsonProperty.Access.WRITE_ONLY)
24+
@JsonProperty(value = "hostName")
2525
private String hostName;
2626

2727
/**
28-
* Get gitHub repo host name.
28+
* Get gitHub Enterprise host name. For example: https://github.mydomain.com.
2929
*
3030
* @return the hostName value
3131
*/
3232
public String hostName() {
3333
return this.hostName;
3434
}
3535

36+
/**
37+
* Set gitHub Enterprise host name. For example: https://github.mydomain.com.
38+
*
39+
* @param hostName the hostName value to set
40+
* @return the FactoryGitHubConfiguration object itself.
41+
*/
42+
public FactoryGitHubConfiguration withHostName(String hostName) {
43+
this.hostName = hostName;
44+
return this;
45+
}
46+
3647
}

0 commit comments

Comments
 (0)