Class OperationTagResourceContractProperties

java.lang.Object
com.azure.resourcemanager.apimanagement.models.OperationTagResourceContractProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<OperationTagResourceContractProperties>

public final class OperationTagResourceContractProperties extends Object implements com.azure.json.JsonSerializable<OperationTagResourceContractProperties>
Operation Entity contract Properties.
  • Constructor Details

    • OperationTagResourceContractProperties

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

    • id

      public String id()
      Get the id property: Identifier of the operation in form /operations/{operationId}.
      Returns:
      the id value.
    • withId

      Set the id property: Identifier of the operation in form /operations/{operationId}.
      Parameters:
      id - the id value to set.
      Returns:
      the OperationTagResourceContractProperties object itself.
    • name

      public String name()
      Get the name property: Operation name.
      Returns:
      the name value.
    • apiName

      public String apiName()
      Get the apiName property: API Name.
      Returns:
      the apiName value.
    • apiRevision

      public String apiRevision()
      Get the apiRevision property: API Revision.
      Returns:
      the apiRevision value.
    • apiVersion

      public String apiVersion()
      Get the apiVersion property: API Version.
      Returns:
      the apiVersion value.
    • description

      public String description()
      Get the description property: Operation Description.
      Returns:
      the description value.
    • method

      public String method()
      Get the method property: A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
      Returns:
      the method value.
    • urlTemplate

      public String urlTemplate()
      Get the urlTemplate property: Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
      Returns:
      the urlTemplate value.
    • 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<OperationTagResourceContractProperties>
      Throws:
      IOException
    • fromJson

      public static OperationTagResourceContractProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OperationTagResourceContractProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OperationTagResourceContractProperties 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 OperationTagResourceContractProperties.