TransportAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. TransportAvailabilityRequest
- com.
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 Transport |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transport |
fromJson(JsonReader jsonReader)
Reads an instance of Transport |
|
Sku |
skuName()
Get the sku |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Transport |
withSkuName(SkuName skuName)
Set the sku |
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:
Returns:
Throws:
skuName
public SkuName skuName()
Get the skuName property: Type of the device.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSkuName
public TransportAvailabilityRequest withSkuName(SkuName skuName)
Set the skuName property: Type of the device.
Parameters:
Returns: