Class ValidationTestInput

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationTestInput
All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationTestInput>

public final class ValidationTestInput extends Object implements com.azure.json.JsonSerializable<ValidationTestInput>
A named declared input parameter for a validation test contract.
  • Method Details

    • name

      public String name()
      Get the name property: The input parameter name.
      Returns:
      the name value.
    • definition

      public ValidationTestInputDefinition definition()
      Get the definition property: The declared contract for this input parameter.
      Returns:
      the definition value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ValidationTestInput>
      Throws:
      IOException
    • fromJson

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