ConfigurationServiceGitProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ConfigurationServiceGitProperty

Implements

public final class ConfigurationServiceGitProperty
implements JsonSerializable<ConfigurationServiceGitProperty>

Property of git environment.

Constructor Summary

Constructor Description
ConfigurationServiceGitProperty()

Creates an instance of ConfigurationServiceGitProperty class.

Method Summary

Modifier and Type Method and Description
static ConfigurationServiceGitProperty fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceGitProperty from the JsonReader.

List<ConfigurationServiceGitRepository> repositories()

Get the repositories property: Repositories of Application Configuration Service git property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigurationServiceGitProperty withRepositories(List<ConfigurationServiceGitRepository> repositories)

Set the repositories property: Repositories of Application Configuration Service git property.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceGitProperty

public ConfigurationServiceGitProperty()

Creates an instance of ConfigurationServiceGitProperty class.

Method Details

fromJson

public static ConfigurationServiceGitProperty fromJson(JsonReader jsonReader)

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.

repositories

public List repositories()

Get the repositories property: Repositories of Application Configuration Service git property.

Returns:

the repositories value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRepositories

public ConfigurationServiceGitProperty withRepositories(List repositories)

Set the repositories property: Repositories of Application Configuration Service git property.

Parameters:

repositories - the repositories value to set.

Returns:

the ConfigurationServiceGitProperty object itself.

Applies to