Class OrchestratorVersionProfileListResultInner

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

public final class OrchestratorVersionProfileListResultInner extends Object implements com.azure.json.JsonSerializable<OrchestratorVersionProfileListResultInner>
The list of versions for supported orchestrators.
  • Constructor Details

    • OrchestratorVersionProfileListResultInner

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

    • id

      public String id()
      Get the id property: Id of the orchestrator version profile list result.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Name of the orchestrator version profile list result.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Type of the orchestrator version profile list result.
      Returns:
      the type value.
    • orchestrators

      public List<OrchestratorVersionProfile> orchestrators()
      Get the orchestrators property: List of orchestrator version profiles.
      Returns:
      the orchestrators value.
    • withOrchestrators

      Set the orchestrators property: List of orchestrator version profiles.
      Parameters:
      orchestrators - the orchestrators value to set.
      Returns:
      the OrchestratorVersionProfileListResultInner 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<OrchestratorVersionProfileListResultInner>
      Throws:
      IOException
    • fromJson

      public static OrchestratorVersionProfileListResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OrchestratorVersionProfileListResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OrchestratorVersionProfileListResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the OrchestratorVersionProfileListResultInner.