GitHubRepositoryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.GitHubRepositoryProperties

Implements

public final class GitHubRepositoryProperties
implements JsonSerializable<GitHubRepositoryProperties>

GitHub Repository properties.

Method Summary

Modifier and Type Method and Description
static GitHubRepositoryProperties fromJson(JsonReader jsonReader)

Reads an instance of GitHubRepositoryProperties from the JsonReader.

OnboardingState onboardingState()

Get the onboardingState property: Details about resource onboarding status across all connectors.

String parentOwnerName()

Get the parentOwnerName property: Gets or sets parent GitHub Owner name.

DevOpsProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String provisioningStatusMessage()

Get the provisioningStatusMessage property: Gets the resource status message.

OffsetDateTime provisioningStatusUpdateTimeUtc()

Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.

String repoFullName()

Get the repoFullName property: Gets or sets GitHub Full Name.

String repoId()

Get the repoId property: Gets or sets GitHub Repository id.

String repoName()

Get the repoName property: Gets or sets GitHub Repository name.

String repoUrl()

Get the repoUrl property: Gets or sets GitHub Repository url.

JsonWriter 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:

jsonReader - The JsonReader being read.

Returns:

An instance of GitHubRepositoryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GitHubRepositoryProperties.

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:

the onboardingState value.

parentOwnerName

public String parentOwnerName()

Get the parentOwnerName property: Gets or sets parent GitHub Owner name.

Returns:

the parentOwnerName value.

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:

the provisioningState value.

provisioningStatusMessage

public String provisioningStatusMessage()

Get the provisioningStatusMessage property: Gets the resource status message.

Returns:

the provisioningStatusMessage value.

provisioningStatusUpdateTimeUtc

public OffsetDateTime provisioningStatusUpdateTimeUtc()

Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.

Returns:

the provisioningStatusUpdateTimeUtc value.

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:

the repoFullName value.

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:

the repoId value.

repoName

public String repoName()

Get the repoName property: Gets or sets GitHub Repository name. Eg: "new-repo-1".

Returns:

the repoName value.

repoUrl

public String repoUrl()

Get the repoUrl property: Gets or sets GitHub Repository url.

Returns:

the repoUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to