CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | Properties | List of all members
CoreTweet.StringResponse Class Reference

Represents the Twitter Terms of Service. More...

Inheritance diagram for CoreTweet.StringResponse:
CoreTweet.Core.CoreBase CoreTweet.Core.ITwitterResponse

Public Member Functions

override string ToString ()
 Returns the ID of this instance. More...
 

Public Attributes

string Value => this.privacy ?? this.tos
 Gets or sets the value of response. More...
 

Properties

RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 
- Properties inherited from CoreTweet.Core.ITwitterResponse
RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 

Additional Inherited Members

- 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)
 

Detailed Description

Represents the Twitter Terms of Service.

Member Function Documentation

◆ ToString()

override string CoreTweet.StringResponse.ToString ( )
inline

Returns the ID of this instance.

Returns
The ID of this instance.

Member Data Documentation

◆ Value

string CoreTweet.StringResponse.Value => this.privacy ?? this.tos

Gets or sets the value of response.

Property Documentation

◆ Json

string CoreTweet.StringResponse.Json
getset

Gets or sets the JSON of the response.

◆ RateLimit

RateLimit CoreTweet.StringResponse.RateLimit
getset

Gets or sets the rate limit of the response.

This property will always be null when obtained from (most of) the POST endpoints, unless the rate is explicitly stated in the Twitter official documentation.


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