다음을 통해 공유


ProductDimensions Class

Definition

Dimensions of a configuration.

public class ProductDimensions : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EdgeOrder.Models.ProductDimensions>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EdgeOrder.Models.ProductDimensions>
public class ProductDimensions
type ProductDimensions = class
    interface IJsonModel<ProductDimensions>
    interface IPersistableModel<ProductDimensions>
type ProductDimensions = class
Public Class ProductDimensions
Implements IJsonModel(Of ProductDimensions), IPersistableModel(Of ProductDimensions)
Public Class ProductDimensions
Inheritance
ProductDimensions
Implements

Properties

Depth

Depth of the device.

Height

Height of the device.

Length

Length of the device.

LengthHeightUnit

Unit for the dimensions of length, height and width.

Weight

Weight of the device.

WeightUnit

Unit for the dimensions of weight.

Width

Width of the device.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ProductDimensions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ProductDimensions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProductDimensions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProductDimensions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ProductDimensions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to