CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Protected Member Functions | Properties | List of all members
CoreTweet.Streaming.WarningMessage Class Reference

Represents a warning message. More...

Inheritance diagram for CoreTweet.Streaming.WarningMessage:
CoreTweet.Streaming.TimestampMessage CoreTweet.Streaming.StreamingMessage CoreTweet.Core.CoreBase

Protected Member Functions

override MessageType GetMessageType ()
 Gets the type of the message. More...
 

Properties

string Code [get, set]
 Gets or sets the warning code. More...
 
string Message [get, set]
 Gets or sets the warning message. More...
 
int? PercentFull [get, set]
 Gets or sets the percentage of the stall messages More...
 
long? UserId [get, set]
 Gets or sets the target user ID. More...
 
- Properties inherited from CoreTweet.Streaming.TimestampMessage
DateTimeOffset Timestamp [get, set]
 Gets or sets the timestamp. More...
 
- Properties inherited from CoreTweet.Streaming.StreamingMessage
string Json [get, set]
 Gets or sets the raw JSON. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Streaming.StreamingMessage
static StreamingMessage Parse (string x)
 Converts the JSON to a StreamingMessage object. More...
 
- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 
- Public Attributes inherited from CoreTweet.Streaming.StreamingMessage
MessageType Type => this.GetMessageType()
 Gets the type of the message. More...
 

Detailed Description

Represents a warning message.

Member Function Documentation

◆ GetMessageType()

override MessageType CoreTweet.Streaming.WarningMessage.GetMessageType ( )
inlineprotectedvirtual

Gets the type of the message.

Returns
The type of the message.

Implements CoreTweet.Streaming.StreamingMessage.

Property Documentation

◆ Code

string CoreTweet.Streaming.WarningMessage.Code
getset

Gets or sets the warning code.

◆ Message

string CoreTweet.Streaming.WarningMessage.Message
getset

Gets or sets the warning message.

◆ PercentFull

int? CoreTweet.Streaming.WarningMessage.PercentFull
getset

Gets or sets the percentage of the stall messages

◆ UserId

long? CoreTweet.Streaming.WarningMessage.UserId
getset

Gets or sets the target user ID.


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