GitLabProjectProperties Class

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

Implements

public final class GitLabProjectProperties
implements JsonSerializable<GitLabProjectProperties>

GitLab Project properties.

Method Summary

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

Reads an instance of GitLabProjectProperties from the JsonReader.

String fullyQualifiedFriendlyName()

Get the fullyQualifiedFriendlyName property: Gets or sets the human readable fully-qualified name of the Project object.

String fullyQualifiedName()

Get the fullyQualifiedName property: Gets or sets the fully-qualified name of the project object.

String fullyQualifiedParentGroupName()

Get the fullyQualifiedParentGroupName property: Gets or sets the fully-qualified name of the project's parent group object.

OnboardingState onboardingState()

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

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)
String url()

Get the url property: Gets or sets the url of the GitLab Project.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static GitLabProjectProperties fromJson(JsonReader jsonReader)

Reads an instance of GitLabProjectProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

fullyQualifiedFriendlyName

public String fullyQualifiedFriendlyName()

Get the fullyQualifiedFriendlyName property: Gets or sets the human readable fully-qualified name of the Project object. This contains the entire namespace hierarchy as seen on GitLab UI where entities are separated by the '/' character.

Returns:

the fullyQualifiedFriendlyName value.

fullyQualifiedName

public String fullyQualifiedName()

Get the fullyQualifiedName property: Gets or sets the fully-qualified name of the project object. This contains the entire hierarchy where entities are separated by the '$' character.

Returns:

the fullyQualifiedName value.

fullyQualifiedParentGroupName

public String fullyQualifiedParentGroupName()

Get the fullyQualifiedParentGroupName property: Gets or sets the fully-qualified name of the project's parent group object. This contains the entire hierarchy where namespaces are separated by the '$' character.

Returns:

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

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:

url

public String url()

Get the url property: Gets or sets the url of the GitLab Project.

Returns:

the url value.

validate

public void validate()

Validates the instance.

Applies to