Class ConfigurationServiceGitProperty

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

public final class ConfigurationServiceGitProperty extends Object implements com.azure.json.JsonSerializable<ConfigurationServiceGitProperty>
Property of git environment.
  • Constructor Details

    • ConfigurationServiceGitProperty

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

    • repositories

      public List<ConfigurationServiceGitRepository> repositories()
      Get the repositories property: Repositories of Application Configuration Service git property.
      Returns:
      the repositories value.
    • withRepositories

      Set the repositories property: Repositories of Application Configuration Service git property.
      Parameters:
      repositories - the repositories value to set.
      Returns:
      the ConfigurationServiceGitProperty 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<ConfigurationServiceGitProperty>
      Throws:
      IOException
    • fromJson

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