Share via


SubscriptionIsAllowedToCreateJobValidationResponseProperties Class

public final class SubscriptionIsAllowedToCreateJobValidationResponseProperties
extends ValidationInputResponse

Properties of subscription permission to create job validation response.

Constructor Summary

Constructor Description
SubscriptionIsAllowedToCreateJobValidationResponseProperties()

Creates an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties class.

Method Summary

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

Reads an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties from the JsonReader.

ValidationStatus status()

Get the status property: Validation status of subscription permission to create job.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation response.

Methods inherited from ValidationInputResponse

Methods inherited from java.lang.Object

Constructor Details

SubscriptionIsAllowedToCreateJobValidationResponseProperties

public SubscriptionIsAllowedToCreateJobValidationResponseProperties()

Creates an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties class.

Method Details

fromJson

public static SubscriptionIsAllowedToCreateJobValidationResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties 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 SubscriptionIsAllowedToCreateJobValidationResponseProperties.

status

public ValidationStatus status()

Get the status property: Validation status of subscription permission to create job.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SubscriptionIsAllowedToCreateJobValidationResponseProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

SubscriptionIsAllowedToCreateJobValidationResponseProperties.validate()

validationType

public ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation response.

Overrides:

SubscriptionIsAllowedToCreateJobValidationResponseProperties.validationType()

Returns:

the validationType value.

Applies to