GitHubRepoProperties Class
- java.
lang. Object - com.
azure. resourcemanager. securitydevops. models. GitHubRepoProperties
- com.
public final class GitHubRepoProperties
GitHub Repo properties.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubRepoProperties() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
accountId()
Get the account |
| String |
ownerName()
Get the owner |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
repoUrl()
Get the repo |
| void |
validate()
Validates the instance. |
|
Git |
withAccountId(Long accountId)
Set the account |
|
Git |
withOwnerName(String ownerName)
Set the owner |
|
Git |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
|
Git |
withRepoUrl(String repoUrl)
Set the repo |
Methods inherited from java.lang.Object
Constructor Details
GitHubRepoProperties
public GitHubRepoProperties()
Creates an instance of GitHubRepoProperties class.
Method Details
accountId
public Long accountId()
Get the accountId property: Gets or sets gitHub repo account id.
Returns:
ownerName
public String ownerName()
Get the ownerName property: Gets or sets GitHub Owner Name.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioningState property.
Returns:
repoUrl
public String repoUrl()
Get the repoUrl property: Gets or sets gitHub repo url.
Returns:
validate
public void validate()
Validates the instance.
withAccountId
public GitHubRepoProperties withAccountId(Long accountId)
Set the accountId property: Gets or sets gitHub repo account id.
Parameters:
Returns:
withOwnerName
public GitHubRepoProperties withOwnerName(String ownerName)
Set the ownerName property: Gets or sets GitHub Owner Name.
Parameters:
Returns:
withProvisioningState
public GitHubRepoProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: The provisioningState property.
Parameters:
Returns:
withRepoUrl
public GitHubRepoProperties withRepoUrl(String repoUrl)
Set the repoUrl property: Gets or sets gitHub repo url.
Parameters:
Returns: