Udostępnij za pośrednictwem


UserInfo Class

Definition

User Information to be passed to partners.

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

Constructors

UserInfo()

Initializes a new instance of UserInfo.

Properties

CompanyInfo

Company information of the user to be passed to partners.

CompanyName

Company name of the user.

EmailAddress

Email of the user used by Elastic for contacting them if needed.

FirstName

First name of the user.

LastName

Last name of the user.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UserInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to