Class ApiRevisionContractInner
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.ApiRevisionContractInner
-
public final class ApiRevisionContractInner extends Object
Summary of revision metadata.
-
-
Constructor Summary
Constructors Constructor Description ApiRevisionContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiId()
Get the apiId property: Identifier of the API Revision.String
apiRevision()
Get the apiRevision property: Revision number of API.OffsetDateTime
createdDateTime()
Get the createdDateTime property: The time the API Revision was created.String
description()
Get the description property: Description of the API Revision.Boolean
isCurrent()
Get the isCurrent property: Indicates if API revision is accessible via the gateway.Boolean
isOnline()
Get the isOnline property: Indicates if API revision is the current api revision.String
privateUrl()
Get the privateUrl property: Gateway URL for accessing the non-current API Revision.OffsetDateTime
updatedDateTime()
Get the updatedDateTime property: The time the API Revision were updated.void
validate()
Validates the instance.
-
-
-
Method Detail
-
apiId
public String apiId()
Get the apiId property: Identifier of the API Revision.- Returns:
- the apiId value.
-
apiRevision
public String apiRevision()
Get the apiRevision property: Revision number of API.- Returns:
- the apiRevision value.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.- Returns:
- the createdDateTime value.
-
updatedDateTime
public OffsetDateTime updatedDateTime()
Get the updatedDateTime property: The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.- Returns:
- the updatedDateTime value.
-
description
public String description()
Get the description property: Description of the API Revision.- Returns:
- the description value.
-
privateUrl
public String privateUrl()
Get the privateUrl property: Gateway URL for accessing the non-current API Revision.- Returns:
- the privateUrl value.
-
isOnline
public Boolean isOnline()
Get the isOnline property: Indicates if API revision is the current api revision.- Returns:
- the isOnline value.
-
isCurrent
public Boolean isCurrent()
Get the isCurrent property: Indicates if API revision is accessible via the gateway.- Returns:
- the isCurrent value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-