Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetInput ¶
type GetInput struct { // Path parameter ID string // Query parameters Expansions fields.ExpansionList MediaFields fields.MediaFieldList PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList TweetFields fields.TweetFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*GetInput) AccessToken ¶
func (*GetInput) ParameterMap ¶
func (*GetInput) ResolveEndpoint ¶
func (*GetInput) SetAccessToken ¶
type GetOutput ¶
type GetOutput 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"` Errors []resources.PartialError `json:"errors"` }
func (*GetOutput) HasPartialError ¶
type ListInput ¶
type ListInput struct { // Query parameters IDs []string Expansions fields.ExpansionList MediaFields fields.MediaFieldList PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList TweetFields fields.TweetFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListInput) AccessToken ¶
func (*ListInput) ParameterMap ¶
func (*ListInput) ResolveEndpoint ¶
func (*ListInput) SetAccessToken ¶
type ListOutput ¶
type ListOutput 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"` Errors []resources.PartialError `json:"errors"` }
func (*ListOutput) HasPartialError ¶
func (r *ListOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.