GitHubOrganization Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. GitHubOrganization
- com.
Implements
public final class GitHubOrganization
implements JsonSerializable<GitHubOrganization>
Defines a GitHub organization.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubOrganization() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
| List<String> |
repositories()
Get the repositories property: Optional list of repositories in which the pool should be created. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
url()
Get the url property: The Git |
| void |
validate()
Validates the instance. |
|
Git |
withRepositories(List<String> repositories)
Set the repositories property: Optional list of repositories in which the pool should be created. |
|
Git |
withUrl(String url)
Set the url property: The Git |
Methods inherited from java.lang.Object
Constructor Details
GitHubOrganization
public GitHubOrganization()
Creates an instance of GitHubOrganization class.
Method Details
fromJson
public static GitHubOrganization fromJson(JsonReader jsonReader)
Reads an instance of GitHubOrganization from the JsonReader.
Parameters:
Returns:
Throws:
repositories
public List<String> repositories()
Get the repositories property: Optional list of repositories in which the pool should be created.
Returns:
toJson
url
public String url()
Get the url property: The GitHub organization URL in which the pool should be created.
Returns:
validate
public void validate()
Validates the instance.
withRepositories
public GitHubOrganization withRepositories(List<String> repositories)
Set the repositories property: Optional list of repositories in which the pool should be created.
Parameters:
Returns:
withUrl
public GitHubOrganization withUrl(String url)
Set the url property: The GitHub organization URL in which the pool should be created.
Parameters:
Returns: