Class TagDescriptionBaseProperties

java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.TagDescriptionBaseProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<TagDescriptionBaseProperties>
Direct Known Subclasses:
TagDescriptionContractProperties

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

    • TagDescriptionBaseProperties

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

    • description

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

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

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

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

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

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

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