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

This is the action which customers can specify to indicate that the server call agent should accept the call. The media is hosted by the server call agent More...

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

Public Member Functions

 Answer ()
 
override void Validate ()
 

Static Public Attributes

static readonly IEnumerable< ModalityTypeDefaultAcceptModalityTypes = new ModalityType[] { ModalityType.Audio }
 

Properties

IEnumerable< ModalityTypeAcceptModalityTypes [get, set]
 The modality types the application will accept. If none are specified, audio-only is assumed. More...
 
string Action [get, set]
 The type of action. Various concrete action classes specify their name. This is used to deserialize a list of actions from JSON to their respective concrete classes. More...
 
bool IsStandaloneAction [get]
 Flag to indicate whether this action must not be specified along with any other actions. More...
 
string OperationId [get, set]
 An operation Id needs to be specified by customer so that they can correlate outcome to the action. This becomes necessary when multiple actions are specified in one response body More...
 

Detailed Description

This is the action which customers can specify to indicate that the server call agent should accept the call. The media is hosted by the server call agent

Definition at line 13 of file Answer.cs.

Constructor & Destructor Documentation

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

Definition at line 44 of file Answer.cs.

Member Function Documentation

override void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Answer.Validate ( )
inlinevirtual

Reimplemented from Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase.

Definition at line 49 of file Answer.cs.

Member Data Documentation

readonly IEnumerable<ModalityType> Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Answer.DefaultAcceptModalityTypes = new ModalityType[] { ModalityType.Audio }
static

Definition at line 15 of file Answer.cs.

Property Documentation

IEnumerable<ModalityType> Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Answer.AcceptModalityTypes
getset

The modality types the application will accept. If none are specified, audio-only is assumed.

Definition at line 25 of file Answer.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase.Action
getsetinherited

The type of action. Various concrete action classes specify their name. This is used to deserialize a list of actions from JSON to their respective concrete classes.

Definition at line 40 of file ActionBase.cs.

bool Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase.IsStandaloneAction
getinherited

Flag to indicate whether this action must not be specified along with any other actions.

Definition at line 46 of file ActionBase.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase.OperationId
getsetinherited

An operation Id needs to be specified by customer so that they can correlate outcome to the action. This becomes necessary when multiple actions are specified in one response body

Note: this is the first serialized field since it has the lowest order. By default Json.net starts ordering from -1.

Definition at line 33 of file ActionBase.cs.


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