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 Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigurationServiceGitProperty class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationServiceGitProperty from the JsonReader.Get the repositories property: Repositories of Application Configuration Service git property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withRepositories(List<ConfigurationServiceGitRepository> repositories) Set the repositories property: Repositories of Application Configuration Service git property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConfigurationServiceGitProperty
public ConfigurationServiceGitProperty()Creates an instance of ConfigurationServiceGitProperty class.
-
-
Method Details
-
repositories
Get the repositories property: Repositories of Application Configuration Service git property.- Returns:
- the repositories value.
-
withRepositories
public ConfigurationServiceGitProperty withRepositories(List<ConfigurationServiceGitRepository> repositories) 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
- Specified by:
toJsonin interfacecom.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.
-