次の方法で共有


TransportAvailabilityRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.TransportAvailabilityRequest

Implements

public final class TransportAvailabilityRequest
implements JsonSerializable<TransportAvailabilityRequest>

Request body to get the transport availability for given sku.

Constructor Summary

Constructor Description
TransportAvailabilityRequest()

Creates an instance of TransportAvailabilityRequest class.

Method Summary

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

Reads an instance of TransportAvailabilityRequest from the JsonReader.

SkuName skuName()

Get the skuName property: Type of the device.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TransportAvailabilityRequest withSkuName(SkuName skuName)

Set the skuName property: Type of the device.

Methods inherited from java.lang.Object

Constructor Details

TransportAvailabilityRequest

public TransportAvailabilityRequest()

Creates an instance of TransportAvailabilityRequest class.

Method Details

fromJson

public static TransportAvailabilityRequest fromJson(JsonReader jsonReader)

Reads an instance of TransportAvailabilityRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

skuName

public SkuName skuName()

Get the skuName property: Type of the device.

Returns:

the skuName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSkuName

public TransportAvailabilityRequest withSkuName(SkuName skuName)

Set the skuName property: Type of the device.

Parameters:

skuName - the skuName value to set.

Returns:

the TransportAvailabilityRequest object itself.

Applies to