Condividi tramite


TransportPreferences Class

Definition

Preferences related to the shipment logistics of the sku.

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

Constructors

TransportPreferences(TransportShipmentType)

Initializes a new instance of TransportPreferences.

Properties

IsUpdated

Read only property which indicates whether transport preferences has been updated or not after device is prepared.

PreferredShipmentType

Indicates Shipment Logistics type that the customer preferred.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TransportPreferences>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TransportPreferences>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TransportPreferences>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TransportPreferences>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TransportPreferences>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to