次の方法で共有


CreateOrderLimitForSubscriptionValidationRequest Class

public final class CreateOrderLimitForSubscriptionValidationRequest
extends ValidationInputRequest

Request to validate create order limit for current subscription.

Constructor Summary

Constructor Description
CreateOrderLimitForSubscriptionValidationRequest()

Creates an instance of CreateOrderLimitForSubscriptionValidationRequest class.

Method Summary

Modifier and Type Method and Description
SkuName deviceType()

Get the deviceType property: Device type to be used for the job.

static CreateOrderLimitForSubscriptionValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of CreateOrderLimitForSubscriptionValidationRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ValidationInputDiscriminator validationType()

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

CreateOrderLimitForSubscriptionValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type to be used for the job.

Methods inherited from ValidationInputRequest

Methods inherited from java.lang.Object

Constructor Details

CreateOrderLimitForSubscriptionValidationRequest

public CreateOrderLimitForSubscriptionValidationRequest()

Creates an instance of CreateOrderLimitForSubscriptionValidationRequest class.

Method Details

deviceType

public SkuName deviceType()

Get the deviceType property: Device type to be used for the job.

Returns:

the deviceType value.

fromJson

public static CreateOrderLimitForSubscriptionValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of CreateOrderLimitForSubscriptionValidationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CreateOrderLimitForSubscriptionValidationRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CreateOrderLimitForSubscriptionValidationRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CreateOrderLimitForSubscriptionValidationRequest.validate()

validationType

public ValidationInputDiscriminator validationType()

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

Overrides:

CreateOrderLimitForSubscriptionValidationRequest.validationType()

Returns:

the validationType value.

withDeviceType

public CreateOrderLimitForSubscriptionValidationRequest withDeviceType(SkuName deviceType)

Set the deviceType property: Device type to be used for the job.

Parameters:

deviceType - the deviceType value to set.

Returns:

the CreateOrderLimitForSubscriptionValidationRequest object itself.

Applies to