Dimensions Class
- java.
lang. Object - com.
azure. resourcemanager. edgeorder. models. Dimensions
- com.
Implements
public final class Dimensions
implements JsonSerializable<Dimensions>
Dimensions of a configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| Dimensions() |
Creates an instance of Dimensions class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
depth()
Get the depth property: Depth of the device. |
| static Dimensions |
fromJson(JsonReader jsonReader)
Reads an instance of Dimensions from the Json |
| Double |
height()
Get the height property: Height of the device. |
| Double |
length()
Get the length property: Length of the device. |
|
Length |
lengthHeightUnit()
Get the length |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Double |
weight()
Get the weight property: Weight of the device. |
|
Weight |
weightUnit()
Get the weight |
| Double |
width()
Get the width property: Width of the device. |
Methods inherited from java.lang.Object
Constructor Details
Dimensions
public Dimensions()
Creates an instance of Dimensions class.
Method Details
depth
public Double depth()
Get the depth property: Depth of the device.
Returns:
fromJson
public static Dimensions fromJson(JsonReader jsonReader)
Reads an instance of Dimensions from the JsonReader.
Parameters:
Returns:
Throws:
height
public Double height()
Get the height property: Height of the device.
Returns:
length
public Double length()
Get the length property: Length of the device.
Returns:
lengthHeightUnit
public LengthHeightUnit lengthHeightUnit()
Get the lengthHeightUnit property: Unit for the dimensions of length, height and width.
Returns:
toJson
validate
public void validate()
Validates the instance.
weight
public Double weight()
Get the weight property: Weight of the device.
Returns:
weightUnit
public WeightMeasurementUnit weightUnit()
Get the weightUnit property: Unit for the dimensions of weight.
Returns:
width
public Double width()
Get the width property: Width of the device.
Returns: