Class ResourcesResponseEndpointsPropertiesItemsItem
java.lang.Object
com.azure.resourcemanager.cdn.models.ResourcesResponseEndpointsPropertiesItemsItem
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourcesResponseEndpointsPropertiesItemsItem>
public final class ResourcesResponseEndpointsPropertiesItemsItem
extends Object
implements com.azure.json.JsonSerializable<ResourcesResponseEndpointsPropertiesItemsItem>
The ResourcesResponseEndpointsPropertiesItemsItem model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourcesResponseEndpointsPropertiesItemsItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpointId property: The endpointId property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourcesResponseEndpointsPropertiesItemsItem from the JsonReader.history()Get the history property: The history property.id()Get the id property: The id property.name()Get the name property: The name property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEndpointId(String endpointId) Set the endpointId property: The endpointId property.withHistory(Boolean history) Set the history property: The history property.Set the id property: The id property.Set the name property: The name property.Methods inherited from class 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
-
ResourcesResponseEndpointsPropertiesItemsItem
public ResourcesResponseEndpointsPropertiesItemsItem()Creates an instance of ResourcesResponseEndpointsPropertiesItemsItem class.
-
-
Method Details
-
id
-
withId
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the ResourcesResponseEndpointsPropertiesItemsItem object itself.
-
name
-
withName
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the ResourcesResponseEndpointsPropertiesItemsItem object itself.
-
endpointId
Get the endpointId property: The endpointId property.- Returns:
- the endpointId value.
-
withEndpointId
Set the endpointId property: The endpointId property.- Parameters:
endpointId- the endpointId value to set.- Returns:
- the ResourcesResponseEndpointsPropertiesItemsItem object itself.
-
history
Get the history property: The history property.- Returns:
- the history value.
-
withHistory
Set the history property: The history property.- Parameters:
history- the history value to set.- Returns:
- the ResourcesResponseEndpointsPropertiesItemsItem 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<ResourcesResponseEndpointsPropertiesItemsItem>- Throws:
IOException
-
fromJson
public static ResourcesResponseEndpointsPropertiesItemsItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResourcesResponseEndpointsPropertiesItemsItem from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResourcesResponseEndpointsPropertiesItemsItem 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 ResourcesResponseEndpointsPropertiesItemsItem.
-