Share via


RemoveParticipantsOptions Class

Definition

Request payload for removing participants from a conversation.

public class RemoveParticipantsOptions : System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.RemoveParticipantsOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.RemoveParticipantsOptions>
type RemoveParticipantsOptions = class
    interface IJsonModel<RemoveParticipantsOptions>
    interface IPersistableModel<RemoveParticipantsOptions>
Public Class RemoveParticipantsOptions
Implements IJsonModel(Of RemoveParticipantsOptions), IPersistableModel(Of RemoveParticipantsOptions)
Inheritance
RemoveParticipantsOptions
Implements

Constructors

RemoveParticipantsOptions(IEnumerable<String>)

Initializes a new instance of RemoveParticipantsOptions.

Properties

ParticipantIds

The participant IDs to remove.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RemoveParticipantsOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RemoveParticipantsOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RemoveParticipantsOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RemoveParticipantsOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RemoveParticipantsOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to