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 Summary
ConstructorsConstructorDescriptionCreates an instance of TagDescriptionBaseProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the Tag.Get the externalDocsDescription property: Description of the external resources describing the tag.Get the externalDocsUrl property: Absolute URL of external resources describing the tag.static TagDescriptionBasePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TagDescriptionBaseProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the Tag.withExternalDocsDescription(String externalDocsDescription) Set the externalDocsDescription property: Description of the external resources describing the tag.withExternalDocsUrl(String externalDocsUrl) Set the externalDocsUrl property: Absolute URL of external resources describing the tag.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TagDescriptionBaseProperties
public TagDescriptionBaseProperties()Creates an instance of TagDescriptionBaseProperties class.
-
-
Method Details
-
description
Get the description property: Description of the Tag.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the Tag.- Parameters:
description- the description value to set.- Returns:
- the TagDescriptionBaseProperties object itself.
-
externalDocsUrl
Get the externalDocsUrl property: Absolute URL of external resources describing the tag.- Returns:
- the externalDocsUrl value.
-
withExternalDocsUrl
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
Get the externalDocsDescription property: Description of the external resources describing the tag.- Returns:
- the externalDocsDescription value.
-
withExternalDocsDescription
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
- Specified by:
toJsonin interfacecom.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.
-