GitHubRepositoryProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GitHubRepositoryProperties
- com.
Implements
public final class GitHubRepositoryProperties
implements JsonSerializable<GitHubRepositoryProperties>
GitHub Repository properties.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
|
Onboarding |
onboardingState()
Get the onboarding |
| String |
parentOwnerName()
Get the parent |
|
Dev |
provisioningState()
Get the provisioning |
| String |
provisioningStatusMessage()
Get the provisioning |
|
Offset |
provisioningStatusUpdateTimeUtc()
Get the provisioning |
| String |
repoFullName()
Get the repo |
| String |
repoId()
Get the repo |
| String |
repoName()
Get the repo |
| String |
repoUrl()
Get the repo |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static GitHubRepositoryProperties fromJson(JsonReader jsonReader)
Reads an instance of GitHubRepositoryProperties from the JsonReader.
Parameters:
Returns:
Throws:
onboardingState
public OnboardingState onboardingState()
Get the onboardingState property: Details about resource onboarding status across all connectors. OnboardedByOtherConnector - this resource has already been onboarded to another connector. This is only applicable to top-level resources. Onboarded - this resource has already been onboarded by the specified connector. NotOnboarded - this resource has not been onboarded to any connector. NotApplicable - the onboarding state is not applicable to the current endpoint.
Returns:
parentOwnerName
public String parentOwnerName()
Get the parentOwnerName property: Gets or sets parent GitHub Owner name.
Returns:
provisioningState
public DevOpsProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource. Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.
Returns:
provisioningStatusMessage
public String provisioningStatusMessage()
Get the provisioningStatusMessage property: Gets the resource status message.
Returns:
provisioningStatusUpdateTimeUtc
public OffsetDateTime provisioningStatusUpdateTimeUtc()
Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.
Returns:
repoFullName
public String repoFullName()
Get the repoFullName property: Gets or sets GitHub Full Name. Repository name, prefixed with Owner name. Eg: "my-org/new-repo-1".
Returns:
repoId
public String repoId()
Get the repoId property: Gets or sets GitHub Repository id. This is a numeric id defined by Github. Eg: "123456".
Returns:
repoName
public String repoName()
Get the repoName property: Gets or sets GitHub Repository name. Eg: "new-repo-1".
Returns:
repoUrl
public String repoUrl()
Get the repoUrl property: Gets or sets GitHub Repository url.
Returns:
toJson
validate
public void validate()
Validates the instance.