Documentation ¶
Index ¶
- type ListMaxResults
- type ListMentionsInput
- type ListMentionsOutput
- type ListReverseChronologicalInput
- func (p *ListReverseChronologicalInput) AccessToken() string
- func (p *ListReverseChronologicalInput) Body() (io.Reader, error)
- func (p *ListReverseChronologicalInput) ParameterMap() map[string]string
- func (p *ListReverseChronologicalInput) ResolveEndpoint(endpointBase string) string
- func (p *ListReverseChronologicalInput) SetAccessToken(token string)
- type ListReverseChronologicalOutput
- type ListTweetsInput
- type ListTweetsOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListMaxResults ¶
type ListMaxResults int
func (ListMaxResults) String ¶
func (m ListMaxResults) String() string
func (ListMaxResults) Valid ¶
func (m ListMaxResults) Valid() bool
type ListMentionsInput ¶
type ListMentionsInput struct { // Path parameter ID string // Query parameters StartTime *time.Time EndTime *time.Time SinceID string UntilID string Exclude fields.ExcludeList Expansions fields.ExpansionList MediaFields fields.MediaFieldList PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList TweetFields fields.TweetFieldList UserFields fields.UserFieldList PaginationToken string MaxResults ListMaxResults // contains filtered or unexported fields }
func (*ListMentionsInput) AccessToken ¶
func (p *ListMentionsInput) AccessToken() string
func (*ListMentionsInput) ParameterMap ¶
func (p *ListMentionsInput) ParameterMap() map[string]string
func (*ListMentionsInput) ResolveEndpoint ¶
func (p *ListMentionsInput) ResolveEndpoint(endpointBase string) string
func (*ListMentionsInput) SetAccessToken ¶
func (p *ListMentionsInput) SetAccessToken(token string)
type ListMentionsOutput ¶
type ListMentionsOutput struct { Data []resources.Tweet `json:"data"` Includes struct { Users []resources.User `json:"users,omitempty"` Tweets []resources.Tweet `json:"tweets,omitempty"` Places []resources.Place `json:"places,omitempty"` Media []resources.Media `json:"media,omitempty"` Polls []resources.Poll `json:"polls,omitempty"` } `json:"includes,omitempty"` Meta resources.TweetTimelineMeta `json:"meta"` Errors []resources.PartialError `json:"errors,omitempty"` }
func (*ListMentionsOutput) HasPartialError ¶
func (r *ListMentionsOutput) HasPartialError() bool
type ListReverseChronologicalInput ¶
type ListReverseChronologicalInput struct { // Path parameter ID string // Query parameters EndTime *time.Time Exclude fields.ExcludeList Expansions fields.ExpansionList MaxResults ListMaxResults MediaFields fields.MediaFieldList PaginationToken string PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList SinceID string StartTime *time.Time TweetFields fields.TweetFieldList UntilID string UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListReverseChronologicalInput) AccessToken ¶
func (p *ListReverseChronologicalInput) AccessToken() string
func (*ListReverseChronologicalInput) Body ¶
func (p *ListReverseChronologicalInput) Body() (io.Reader, error)
func (*ListReverseChronologicalInput) ParameterMap ¶
func (p *ListReverseChronologicalInput) ParameterMap() map[string]string
func (*ListReverseChronologicalInput) ResolveEndpoint ¶
func (p *ListReverseChronologicalInput) ResolveEndpoint(endpointBase string) string
func (*ListReverseChronologicalInput) SetAccessToken ¶
func (p *ListReverseChronologicalInput) SetAccessToken(token string)
type ListReverseChronologicalOutput ¶
type ListReverseChronologicalOutput struct { Data []resources.Tweet `json:"data"` Includes struct { Users []resources.User `json:"users,omitempty"` Tweets []resources.Tweet `json:"tweets,omitempty"` Places []resources.Place `json:"places,omitempty"` Media []resources.Media `json:"media,omitempty"` Polls []resources.Poll `json:"polls,omitempty"` } `json:"includes,omitempty"` Meta resources.TweetTimelineMeta `json:"meta"` Errors []resources.PartialError `json:"errors,omitempty"` }
func (*ListReverseChronologicalOutput) HasPartialError ¶
func (r *ListReverseChronologicalOutput) HasPartialError() bool
type ListTweetsInput ¶
type ListTweetsInput struct { // Path parameter ID string // Query parameters StartTime *time.Time EndTime *time.Time SinceID string UntilID string Exclude fields.ExcludeList Expansions fields.ExpansionList MediaFields fields.MediaFieldList PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList TweetFields fields.TweetFieldList UserFields fields.UserFieldList PaginationToken string MaxResults ListMaxResults // contains filtered or unexported fields }
func (*ListTweetsInput) AccessToken ¶
func (p *ListTweetsInput) AccessToken() string
func (*ListTweetsInput) ParameterMap ¶
func (p *ListTweetsInput) ParameterMap() map[string]string
func (*ListTweetsInput) ResolveEndpoint ¶
func (p *ListTweetsInput) ResolveEndpoint(endpointBase string) string
func (*ListTweetsInput) SetAccessToken ¶
func (p *ListTweetsInput) SetAccessToken(token string)
type ListTweetsOutput ¶
type ListTweetsOutput struct { Data []resources.Tweet `json:"data"` Includes struct { Users []resources.User `json:"users,omitempty"` Tweets []resources.Tweet `json:"tweets,omitempty"` Places []resources.Place `json:"places,omitempty"` Media []resources.Media `json:"media,omitempty"` Polls []resources.Poll `json:"polls,omitempty"` } `json:"includes,omitempty"` Meta resources.TweetTimelineMeta `json:"meta"` Errors []resources.PartialError `json:"errors,omitempty"` }
func (*ListTweetsOutput) HasPartialError ¶
func (r *ListTweetsOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.