Class OperationValueInner
java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.OperationValueInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationValueInner>
public final class OperationValueInner
extends Object
implements com.azure.json.JsonSerializable<OperationValueInner>
Describes the properties of a Operation value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the operation.static OperationValueInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OperationValueInner from the JsonReader.name()Get the name property: The name of the operation.Get the operation property: The display name of the operation.origin()Get the origin property: The origin of the operation.provider()Get the provider property: The resource provider for the operation.resource()Get the resource property: The display name of the resource the operation applies to.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
OperationValueInner
public OperationValueInner()Creates an instance of OperationValueInner class.
-
-
Method Details
-
origin
Get the origin property: The origin of the operation.- Returns:
- the origin value.
-
name
Get the name property: The name of the operation.- Returns:
- the name value.
-
operation
Get the operation property: The display name of the operation.- Returns:
- the operation value.
-
resource
Get the resource property: The display name of the resource the operation applies to.- Returns:
- the resource value.
-
description
Get the description property: The description of the operation.- Returns:
- the description value.
-
provider
Get the provider property: The resource provider for the operation.- Returns:
- the provider 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<OperationValueInner>- Throws:
IOException
-
fromJson
Reads an instance of OperationValueInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OperationValueInner 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 OperationValueInner.
-