Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListInput ¶
type ListInput struct {
// Path parameter
ID string // List ID
// Query parameters
MaxResults ListMaxResults
PaginationToken string
Expansions fields.ExpansionList
TweetFields fields.TweetFieldList
UserFields fields.UserFieldList
}
func (*ListInput) ContentType ¶
func (*ListInput) ParameterMap ¶
func (*ListInput) ResolveEndpoint ¶
type ListMaxResults ¶
type ListMaxResults int
func (ListMaxResults) String ¶
func (m ListMaxResults) String() string
func (ListMaxResults) Valid ¶
func (m ListMaxResults) Valid() bool
type ListOutput ¶
type ListOutput struct {
Data []resources.Tweet `json:"data"`
Includes struct {
Users []resources.User `json:"users"`
Tweets []resources.Tweet `json:"tweets"`
} `json:"includes"`
Meta resources.ListTweetsLookupMeta `json:"meta"`
Errors []resources.PartialError `json:"errors"`
}
func (*ListOutput) HasPartialError ¶
func (r *ListOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.