Partilhar via


ConfigurationServiceGitPropertyValidateResult Class

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

Implements

public final class ConfigurationServiceGitPropertyValidateResult
implements JsonSerializable<ConfigurationServiceGitPropertyValidateResult>

Validation result for configuration service settings.

Constructor Summary

Constructor Description
ConfigurationServiceGitPropertyValidateResult()

Creates an instance of ConfigurationServiceGitPropertyValidateResult class.

Method Summary

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

Reads an instance of ConfigurationServiceGitPropertyValidateResult from the JsonReader.

List<ValidationMessages> gitReposValidationResult()

Get the gitReposValidationResult property: The detail validation results.

Boolean isValid()

Get the isValid property: Indicate if the configuration service settings are valid.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigurationServiceGitPropertyValidateResult withGitReposValidationResult(List<ValidationMessages> gitReposValidationResult)

Set the gitReposValidationResult property: The detail validation results.

ConfigurationServiceGitPropertyValidateResult withIsValid(Boolean isValid)

Set the isValid property: Indicate if the configuration service settings are valid.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceGitPropertyValidateResult

public ConfigurationServiceGitPropertyValidateResult()

Creates an instance of ConfigurationServiceGitPropertyValidateResult class.

Method Details

fromJson

public static ConfigurationServiceGitPropertyValidateResult fromJson(JsonReader jsonReader)

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.

gitReposValidationResult

public List gitReposValidationResult()

Get the gitReposValidationResult property: The detail validation results.

Returns:

the gitReposValidationResult value.

isValid

public Boolean isValid()

Get the isValid property: Indicate if the configuration service settings are valid.

Returns:

the isValid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGitReposValidationResult

public ConfigurationServiceGitPropertyValidateResult withGitReposValidationResult(List gitReposValidationResult)

Set the gitReposValidationResult property: The detail validation results.

Parameters:

gitReposValidationResult - the gitReposValidationResult value to set.

Returns:

the ConfigurationServiceGitPropertyValidateResult object itself.

withIsValid

public ConfigurationServiceGitPropertyValidateResult withIsValid(Boolean isValid)

Set the isValid property: Indicate if the configuration service settings are valid.

Parameters:

isValid - the isValid value to set.

Returns:

the ConfigurationServiceGitPropertyValidateResult object itself.

Applies to