Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListAllInput ¶
type ListAllInput struct { // Path parameters Query string StartTime *time.Time EndTime *time.Time SinceID string UntilID string Granularity TweetCountsGranularity NextToken string // contains filtered or unexported fields }
func (*ListAllInput) AccessToken ¶
func (p *ListAllInput) AccessToken() string
func (*ListAllInput) ParameterMap ¶
func (p *ListAllInput) ParameterMap() map[string]string
func (*ListAllInput) ResolveEndpoint ¶
func (p *ListAllInput) ResolveEndpoint(endpointBase string) string
func (*ListAllInput) SetAccessToken ¶
func (p *ListAllInput) SetAccessToken(token string)
type ListAllOutput ¶
type ListAllOutput struct { Data []resources.TweetCount `json:"data"` Meta resources.TweetCountAllMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListAllOutput) HasPartialError ¶
func (r *ListAllOutput) HasPartialError() bool
type ListRecentInput ¶
type ListRecentInput struct { // Path parameters Query string StartTime *time.Time EndTime *time.Time SinceID string UntilID string Granularity TweetCountsGranularity // contains filtered or unexported fields }
func (*ListRecentInput) AccessToken ¶
func (p *ListRecentInput) AccessToken() string
func (*ListRecentInput) ParameterMap ¶
func (p *ListRecentInput) ParameterMap() map[string]string
func (*ListRecentInput) ResolveEndpoint ¶
func (p *ListRecentInput) ResolveEndpoint(endpointBase string) string
func (*ListRecentInput) SetAccessToken ¶
func (p *ListRecentInput) SetAccessToken(token string)
type ListRecentOutput ¶
type ListRecentOutput struct { Data []resources.TweetCount `json:"data"` Meta resources.TweetCountRecentMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListRecentOutput) HasPartialError ¶
func (r *ListRecentOutput) HasPartialError() bool
type TweetCountsGranularity ¶
type TweetCountsGranularity string
const ( TweetCountsGranularityMinute TweetCountsGranularity = "minute" TweetCountsGranularityHour TweetCountsGranularity = "hour" // default TweetCountsGranularityDay TweetCountsGranularity = "day" )
func (TweetCountsGranularity) String ¶
func (g TweetCountsGranularity) String() string
func (TweetCountsGranularity) Valid ¶
func (g TweetCountsGranularity) Valid() bool
Click to show internal directories.
Click to hide internal directories.