Class ResourcesResponseInner

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ResourcesResponseInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourcesResponseInner>

public final class ResourcesResponseInner extends Object implements com.azure.json.JsonSerializable<ResourcesResponseInner>
Resources Response.
  • Constructor Details

    • ResourcesResponseInner

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

    • endpoints

      public List<ResourcesResponseEndpointsItem> endpoints()
      Get the endpoints property: The endpoints property.
      Returns:
      the endpoints value.
    • withEndpoints

      public ResourcesResponseInner withEndpoints(List<ResourcesResponseEndpointsItem> endpoints)
      Set the endpoints property: The endpoints property.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the ResourcesResponseInner object itself.
    • customDomains

      public List<ResourcesResponseCustomDomainsItem> customDomains()
      Get the customDomains property: The customDomains property.
      Returns:
      the customDomains value.
    • withCustomDomains

      public ResourcesResponseInner withCustomDomains(List<ResourcesResponseCustomDomainsItem> customDomains)
      Set the customDomains property: The customDomains property.
      Parameters:
      customDomains - the customDomains value to set.
      Returns:
      the ResourcesResponseInner 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<ResourcesResponseInner>
      Throws:
      IOException
    • fromJson

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