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

Represents a collection of Tweet counts. More...

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

Public Member Functions

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

Public Attributes

CountPeriod 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 PremiumSearchCountResult. More...
 

Properties

string Next [get, set]
 Gets or sets the next token of the response. More...
 
int TotalCount [get, set]
 
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 Tweet counts.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<CountPeriod> CoreTweet.PremiumSearchCountResult.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.PremiumSearchCountResult.Count => this.results.Count

Gets the number of elements actually contained in the PremiumSearchCountResult.

◆ this[int index]

CountPeriod CoreTweet.PremiumSearchCountResult.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.PremiumSearchCountResult.Json
getset

Gets or sets the JSON of the response.

◆ Next

string CoreTweet.PremiumSearchCountResult.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.PremiumSearchCountResult.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.PremiumSearchCountResult.RequestParameters
getset

◆ TotalCount

int CoreTweet.PremiumSearchCountResult.TotalCount
getset

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