Class ApiRevisionContractInner
java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.ApiRevisionContractInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiRevisionContractInner>
public final class ApiRevisionContractInner
extends Object
implements com.azure.json.JsonSerializable<ApiRevisionContractInner>
Summary of revision metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiRevisionContractInner class. -
Method Summary
Modifier and TypeMethodDescriptionapiId()Get the apiId property: Identifier of the API Revision.Get the apiRevision property: Revision number of API.Get the createdDateTime property: The time the API Revision was created.Get the description property: Description of the API Revision.static ApiRevisionContractInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiRevisionContractInner from the JsonReader.Get the isCurrent property: Indicates if API revision is accessible via the gateway.isOnline()Get the isOnline property: Indicates if API revision is the current api revision.Get the privateUrl property: Gateway URL for accessing the non-current API Revision.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the updatedDateTime property: The time the API Revision were updated.voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApiRevisionContractInner
public ApiRevisionContractInner()Creates an instance of ApiRevisionContractInner class.
-
-
Method Details
-
apiId
Get the apiId property: Identifier of the API Revision.- Returns:
- the apiId value.
-
apiRevision
Get the apiRevision property: Revision number of API.- Returns:
- the apiRevision value.
-
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
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
Get the description property: Description of the API Revision.- Returns:
- the description value.
-
privateUrl
Get the privateUrl property: Gateway URL for accessing the non-current API Revision.- Returns:
- the privateUrl value.
-
isOnline
Get the isOnline property: Indicates if API revision is the current api revision.- Returns:
- the isOnline value.
-
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiRevisionContractInner>- Throws:
IOException
-
fromJson
public static ApiRevisionContractInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiRevisionContractInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiRevisionContractInner 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 ApiRevisionContractInner.
-