Class ConfigurationServiceGitPropertyValidateResult

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

public final class ConfigurationServiceGitPropertyValidateResult extends Object implements com.azure.json.JsonSerializable<ConfigurationServiceGitPropertyValidateResult>
Validation result for configuration service settings.
  • Constructor Details

    • ConfigurationServiceGitPropertyValidateResult

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

    • isValid

      public Boolean isValid()
      Get the isValid property: Indicate if the configuration service settings are valid.
      Returns:
      the isValid value.
    • withIsValid

      Set the isValid property: Indicate if the configuration service settings are valid.
      Parameters:
      isValid - the isValid value to set.
      Returns:
      the ConfigurationServiceGitPropertyValidateResult object itself.
    • gitReposValidationResult

      public List<ValidationMessages> gitReposValidationResult()
      Get the gitReposValidationResult property: The detail validation results.
      Returns:
      the gitReposValidationResult value.
    • withGitReposValidationResult

      public ConfigurationServiceGitPropertyValidateResult withGitReposValidationResult(List<ValidationMessages> gitReposValidationResult)
      Set the gitReposValidationResult property: The detail validation results.
      Parameters:
      gitReposValidationResult - the gitReposValidationResult value to set.
      Returns:
      the ConfigurationServiceGitPropertyValidateResult 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<ConfigurationServiceGitPropertyValidateResult>
      Throws:
      IOException
    • fromJson

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