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 Details

    • CsmOperationDescriptionInner

      public CsmOperationDescriptionInner()
      Creates an instance of CsmOperationDescriptionInner class.
  • Method Details

    • name

      public String name()
      Get the name property: The name property.
      Returns:
      the name value.
    • withName

      public CsmOperationDescriptionInner withName(String name)
      Set the name property: The name property.
      Parameters:
      name - the name value to set.
      Returns:
      the CsmOperationDescriptionInner object itself.
    • isDataAction

      public Boolean isDataAction()
      Get the isDataAction property: The isDataAction property.
      Returns:
      the isDataAction value.
    • withIsDataAction

      public CsmOperationDescriptionInner withIsDataAction(Boolean isDataAction)
      Set the isDataAction property: The isDataAction property.
      Parameters:
      isDataAction - the isDataAction value to set.
      Returns:
      the CsmOperationDescriptionInner object itself.
    • display

      public CsmOperationDisplay display()
      Get the display property: Meta data about operation used for display in portal.
      Returns:
      the display value.
    • withDisplay

      public CsmOperationDescriptionInner withDisplay(CsmOperationDisplay display)
      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

      public String origin()
      Get the origin property: The origin property.
      Returns:
      the origin value.
    • withOrigin

      public CsmOperationDescriptionInner withOrigin(String origin)
      Set the origin property: The origin property.
      Parameters:
      origin - the origin value to set.
      Returns:
      the CsmOperationDescriptionInner object itself.
    • properties

      public CsmOperationDescriptionProperties 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.