Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification Class Reference

Message type for notifying agents that a user has added or removed them. More...

Inheritance diagram for Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification:

Public Member Functions

 AgentContactNotification ()
 
void Validate ()
 

Static Public Member Functions

static string GetMessageType (string json)
 

Public Attributes

const string ActionKey = "action"
 
const string ContactAddAction = "add"
 
const string ContactRemoveAction = "remove"
 
const string FromHeaderKey = "from"
 
const string LcidKey = "fromUserLcid"
 
const string MessageTypeHeaderKey = "type"
 
const string ToHeaderKey = "to"
 
const string TypeName = "AgentContactNotification"
 
const string UserDisplayNameKey = "fromUserDisplayName"
 

Static Public Attributes

static readonly ContentType JsonContentType = new ContentType("application/json")
 

Protected Member Functions

override void ValidateInternal ()
 

Static Protected Member Functions

static void ValidateMri (string value, string name)
 
static void VerifyPropertyExists (string value, string name)
 

Properties

string Action [get, set]
 
string DisplayName [get, set]
 
string From [get, set]
 
int Lcid [get, set]
 
string MessageType [get, set]
 
string To [get, set]
 

Detailed Description

Message type for notifying agents that a user has added or removed them.

Definition at line 10 of file AgentContactNotification.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.AgentContactNotification ( )
inline

Definition at line 19 of file AgentContactNotification.cs.

Member Function Documentation

static string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.GetMessageType ( string  json)
inlinestaticinherited

Definition at line 59 of file BaseMessage.cs.

void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.Validate ( )
inlineinherited

Definition at line 51 of file BaseMessage.cs.

override void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.ValidateInternal ( )
inlineprotectedvirtual
static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.ValidateMri ( string  value,
string  name 
)
inlinestaticprotectedinherited

Definition at line 80 of file BaseMessage.cs.

static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.VerifyPropertyExists ( string  value,
string  name 
)
inlinestaticprotectedinherited

Definition at line 75 of file BaseMessage.cs.

Member Data Documentation

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.ActionKey = "action"

Definition at line 15 of file AgentContactNotification.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.ContactAddAction = "add"

Definition at line 16 of file AgentContactNotification.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.ContactRemoveAction = "remove"

Definition at line 17 of file AgentContactNotification.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.FromHeaderKey = "from"
inherited

Definition at line 33 of file BaseMessage.cs.

readonly ContentType Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.JsonContentType = new ContentType("application/json")
staticinherited

Definition at line 31 of file BaseMessage.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.LcidKey = "fromUserLcid"

Definition at line 14 of file AgentContactNotification.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.MessageTypeHeaderKey = "type"
inherited

Definition at line 34 of file BaseMessage.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.ToHeaderKey = "to"
inherited

Definition at line 32 of file BaseMessage.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.TypeName = "AgentContactNotification"

Definition at line 12 of file AgentContactNotification.cs.

const string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.UserDisplayNameKey = "fromUserDisplayName"

Definition at line 13 of file AgentContactNotification.cs.

Property Documentation

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.Action
getset

Definition at line 31 of file AgentContactNotification.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.DisplayName
getset

Definition at line 25 of file AgentContactNotification.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.From
getsetinherited

Definition at line 49 of file BaseMessage.cs.

int Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.AgentContactNotification.Lcid
getset

Definition at line 28 of file AgentContactNotification.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.MessageType
getsetinherited

Definition at line 43 of file BaseMessage.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.BaseMessage.To
getsetinherited

Definition at line 46 of file BaseMessage.cs.


The documentation for this class was generated from the following file: