Class Response
Inheritance
System.Object
Response
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syn.Bot.Oscova
Assembly: Syn.Bot.dll
Syntax
[DataContract(Name = "response")]
public class Response
Constructors
Response()
Declaration
public Response()
Fields
Empty
Declaration
public static readonly Response Empty
Field Value
Type | Description |
---|---|
Response |
Properties
Format
Declaration
[DataMember(Name = "format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Hint
Declaration
[DataMember(Name = "hint")]
public string Hint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Messages
Declaration
[DataMember(Name = "messages")]
public MessageCollection Messages { get; }
Property Value
Type | Description |
---|---|
MessageCollection |
Priority
Declaration
[DataMember(Name = "priority")]
public ResponsePriority Priority { get; set; }
Property Value
Type | Description |
---|---|
ResponsePriority |
Text
Declaration
[DataMember(Name = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Declaration
[DataMember(Name = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Serialize()
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String |