Class CsmOperationDescriptionInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CsmOperationDescriptionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CsmOperationDescriptionInner>
public final class CsmOperationDescriptionInner
extends Object
implements com.azure.json.JsonSerializable<CsmOperationDescriptionInner>
Description of an operation available for Microsoft.Web resource provider.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CsmOperationDescriptionInner class. -
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: Meta data about operation used for display in portal.static CsmOperationDescriptionInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CsmOperationDescriptionInner from the JsonReader.Get the isDataAction property: The isDataAction property.name()
Get the name property: The name property.origin()
Get the origin property: The origin property.Get the properties property: Properties available for a Microsoft.Web resource provider operation.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDisplay
(CsmOperationDisplay display) Set the display property: Meta data about operation used for display in portal.withIsDataAction
(Boolean isDataAction) Set the isDataAction property: The isDataAction property.Set the name property: The name property.withOrigin
(String origin) Set the origin property: The origin property.withProperties
(CsmOperationDescriptionProperties properties) Set the properties property: Properties available for a Microsoft.Web resource provider operation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CsmOperationDescriptionInner
public CsmOperationDescriptionInner()Creates an instance of CsmOperationDescriptionInner class.
-
-
Method Details
-
name
Get the name property: The name property.- Returns:
- the name value.
-
withName
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the CsmOperationDescriptionInner object itself.
-
isDataAction
Get the isDataAction property: The isDataAction property.- Returns:
- the isDataAction value.
-
withIsDataAction
Set the isDataAction property: The isDataAction property.- Parameters:
isDataAction
- the isDataAction value to set.- Returns:
- the CsmOperationDescriptionInner object itself.
-
display
Get the display property: Meta data about operation used for display in portal.- Returns:
- the display value.
-
withDisplay
Set the display property: Meta data about operation used for display in portal.- Parameters:
display
- the display value to set.- Returns:
- the CsmOperationDescriptionInner object itself.
-
origin
Get the origin property: The origin property.- Returns:
- the origin value.
-
withOrigin
Set the origin property: The origin property.- Parameters:
origin
- the origin value to set.- Returns:
- the CsmOperationDescriptionInner object itself.
-
properties
Get the properties property: Properties available for a Microsoft.Web resource provider operation.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties available for a Microsoft.Web resource provider operation.- Parameters:
properties
- the properties value to set.- Returns:
- the CsmOperationDescriptionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CsmOperationDescriptionInner>
- Throws:
IOException
-
fromJson
public static CsmOperationDescriptionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CsmOperationDescriptionInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of CsmOperationDescriptionInner 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 CsmOperationDescriptionInner.
-