SubscriptionIsAllowedToCreateJobValidationResponseProperties Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ValidationInputResponse - com.
azure. resourcemanager. databox. models. SubscriptionIsAllowedToCreateJobValidationResponseProperties
- com.
- com.
public final class SubscriptionIsAllowedToCreateJobValidationResponseProperties
extends ValidationInputResponse
Properties of subscription permission to create job validation response.
Constructor Summary
| Constructor | Description |
|---|---|
| SubscriptionIsAllowedToCreateJobValidationResponseProperties() |
Creates an instance of Subscription |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cloud |
error()
Get the error property: Error code and message of validation response. |
|
static
Subscription |
fromJson(JsonReader jsonReader)
Reads an instance of Subscription |
|
Validation |
status()
Get the status property: Validation status of subscription permission to create job. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Validation |
validationType()
Get the validation |
Methods inherited from ValidationInputResponse
Methods inherited from java.lang.Object
Constructor Details
SubscriptionIsAllowedToCreateJobValidationResponseProperties
public SubscriptionIsAllowedToCreateJobValidationResponseProperties()
Creates an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties class.
Method Details
error
public CloudError error()
Get the error property: Error code and message of validation response.
Overrides:
SubscriptionIsAllowedToCreateJobValidationResponseProperties.error()Returns:
fromJson
public static SubscriptionIsAllowedToCreateJobValidationResponseProperties fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionIsAllowedToCreateJobValidationResponseProperties from the JsonReader.
Parameters:
Returns:
Throws:
status
public ValidationStatus status()
Get the status property: Validation status of subscription permission to create job.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SubscriptionIsAllowedToCreateJobValidationResponseProperties.toJson(JsonWriter jsonWriter)Parameters:
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: