Class TagDescriptionCreateParameters

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

public final class TagDescriptionCreateParameters extends Object implements com.azure.json.JsonSerializable<TagDescriptionCreateParameters>
Parameters supplied to the Create TagDescription operation.
  • Constructor Details

    • TagDescriptionCreateParameters

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

    • description

      public String description()
      Get the description property: Description of the Tag.
      Returns:
      the description value.
    • withDescription

      public TagDescriptionCreateParameters withDescription(String description)
      Set the description property: Description of the Tag.
      Parameters:
      description - the description value to set.
      Returns:
      the TagDescriptionCreateParameters object itself.
    • externalDocsUrl

      public String externalDocsUrl()
      Get the externalDocsUrl property: Absolute URL of external resources describing the tag.
      Returns:
      the externalDocsUrl value.
    • withExternalDocsUrl

      public TagDescriptionCreateParameters withExternalDocsUrl(String externalDocsUrl)
      Set the externalDocsUrl property: Absolute URL of external resources describing the tag.
      Parameters:
      externalDocsUrl - the externalDocsUrl value to set.
      Returns:
      the TagDescriptionCreateParameters object itself.
    • externalDocsDescription

      public String externalDocsDescription()
      Get the externalDocsDescription property: Description of the external resources describing the tag.
      Returns:
      the externalDocsDescription value.
    • withExternalDocsDescription

      public TagDescriptionCreateParameters withExternalDocsDescription(String externalDocsDescription)
      Set the externalDocsDescription property: Description of the external resources describing the tag.
      Parameters:
      externalDocsDescription - the externalDocsDescription value to set.
      Returns:
      the TagDescriptionCreateParameters 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<TagDescriptionCreateParameters>
      Throws:
      IOException
    • fromJson

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