Delen via


ContactInfo Class

Definition

Contact Info.

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

Constructors

ContactInfo(String, String)

Initializes a new instance of ContactInfo.

Properties

ContactName

Contact name of the person.

Mobile

Mobile number of the contact person.

Phone

Phone number of the contact person.

PhoneExtension

Phone extension number of the contact person.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContactInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContactInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContactInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContactInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContactInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to