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

Represents a collection of Tweets. More...

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

Public Member Functions

IEnumerator< StatusGetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 

Public Attributes

Status this[int index] => this.results[index]
 Gets the element at the specified index. More...
 
int Count => this.results.Count
 Gets the number of elements actually contained in the PremiumSearchResult. More...
 

Properties

string Next [get, set]
 Gets or sets the next token of the response. More...
 
RequestParameters RequestParameters [get, set]
 
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 a collection of Tweets.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<Status> CoreTweet.PremiumSearchResult.GetEnumerator ( )

Returns an enumerator that iterates through a collection.

Returns
An IEnumerator object that can be used to iterate through the collection.

Member Data Documentation

◆ Count

int CoreTweet.PremiumSearchResult.Count => this.results.Count

Gets the number of elements actually contained in the PremiumSearchResult.

◆ this[int index]

Status CoreTweet.PremiumSearchResult.this[int index] => this.results[index]

Gets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
Returns
The element at the specified index.

Property Documentation

◆ Json

string CoreTweet.PremiumSearchResult.Json
getset

Gets or sets the JSON of the response.

◆ Next

string CoreTweet.PremiumSearchResult.Next
getset

Gets or sets the next token of the response.

This property can be used in a subsequent request to retrieve the next portion of the matching Tweets for that query.

◆ RateLimit

RateLimit CoreTweet.PremiumSearchResult.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.

◆ RequestParameters

RequestParameters CoreTweet.PremiumSearchResult.RequestParameters
getset

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