GitHubOwnerProperties Class

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

Implements

public final class GitHubOwnerProperties
implements JsonSerializable<GitHubOwnerProperties>

GitHub Owner properties.

Method Summary

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

Reads an instance of GitHubOwnerProperties from the JsonReader.

String gitHubInternalId()

Get the gitHubInternalId property: Gets or sets internal GitHub id.

OnboardingState onboardingState()

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

String ownerUrl()

Get the ownerUrl property: Gets or sets GitHub Owner url.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static GitHubOwnerProperties fromJson(JsonReader jsonReader)

Reads an instance of GitHubOwnerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GitHubOwnerProperties 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 GitHubOwnerProperties.

gitHubInternalId

public String gitHubInternalId()

Get the gitHubInternalId property: Gets or sets internal GitHub id.

Returns:

the gitHubInternalId value.

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.

ownerUrl

public String ownerUrl()

Get the ownerUrl property: Gets or sets GitHub Owner url.

Returns:

the ownerUrl 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to