Documentation
¶
Index ¶
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
}
func (*ListMentionsInput) Body ¶
func (p *ListMentionsInput) Body() io.Reader
func (*ListMentionsInput) ContentType ¶
func (p *ListMentionsInput) ContentType() string
func (*ListMentionsInput) ParameterMap ¶
func (p *ListMentionsInput) ParameterMap() map[string]string
func (*ListMentionsInput) ResolveEndpoint ¶
func (p *ListMentionsInput) ResolveEndpoint(endpointBase string) 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
}
func (*ListReverseChronologicalInput) Body ¶
func (p *ListReverseChronologicalInput) Body() io.Reader
func (*ListReverseChronologicalInput) ContentType ¶
func (p *ListReverseChronologicalInput) ContentType() string
func (*ListReverseChronologicalInput) ParameterMap ¶
func (p *ListReverseChronologicalInput) ParameterMap() map[string]string
func (*ListReverseChronologicalInput) ResolveEndpoint ¶
func (p *ListReverseChronologicalInput) ResolveEndpoint(endpointBase string) 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
}
func (*ListTweetsInput) Body ¶
func (p *ListTweetsInput) Body() io.Reader
func (*ListTweetsInput) ContentType ¶
func (p *ListTweetsInput) ContentType() string
func (*ListTweetsInput) ParameterMap ¶
func (p *ListTweetsInput) ParameterMap() map[string]string
func (*ListTweetsInput) ResolveEndpoint ¶
func (p *ListTweetsInput) ResolveEndpoint(endpointBase string) 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.