Documentation ¶
Index ¶
- type GetInput
- type GetOutput
- type ListBuyersInput
- type ListBuyersOutput
- type ListByCreatorIDsInput
- func (p *ListByCreatorIDsInput) AccessToken() string
- func (p *ListByCreatorIDsInput) Body() (io.Reader, error)
- func (p *ListByCreatorIDsInput) ParameterMap() map[string]string
- func (p *ListByCreatorIDsInput) ResolveEndpoint(endpointBase string) string
- func (p *ListByCreatorIDsInput) SetAccessToken(token string)
- type ListByCreatorIDsOutput
- type ListInput
- type ListOutput
- type ListTweetsInput
- type ListTweetsOutput
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 // required: Space ID // Query parameters Expansions fields.ExpansionList SpaceFields fields.SpaceFieldList 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.Space `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` Errors []resources.PartialError `json:"errors"` }
func (*GetOutput) HasPartialError ¶
type ListBuyersInput ¶
type ListBuyersInput struct { // Path parameter ID string // required: Space ID // 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 (*ListBuyersInput) AccessToken ¶
func (p *ListBuyersInput) AccessToken() string
func (*ListBuyersInput) ParameterMap ¶
func (p *ListBuyersInput) ParameterMap() map[string]string
func (*ListBuyersInput) ResolveEndpoint ¶
func (p *ListBuyersInput) ResolveEndpoint(endpointBase string) string
func (*ListBuyersInput) SetAccessToken ¶
func (p *ListBuyersInput) SetAccessToken(token string)
type ListBuyersOutput ¶
type ListBuyersOutput struct { Data []resources.User `json:"data"` Includes struct { Tweets []resources.Tweet `json:"tweets"` } `json:"includes"` Errors []resources.PartialError `json:"errors"` }
func (*ListBuyersOutput) HasPartialError ¶
func (r *ListBuyersOutput) HasPartialError() bool
type ListByCreatorIDsInput ¶
type ListByCreatorIDsInput struct { // Query parameters UserIDs []string // required Expansions fields.ExpansionList SpaceFields fields.SpaceFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
ListByCreatorIDsInput is struct of parameters for request GET /2/spaces/by/creator_ids
func (*ListByCreatorIDsInput) AccessToken ¶
func (p *ListByCreatorIDsInput) AccessToken() string
func (*ListByCreatorIDsInput) ParameterMap ¶
func (p *ListByCreatorIDsInput) ParameterMap() map[string]string
func (*ListByCreatorIDsInput) ResolveEndpoint ¶
func (p *ListByCreatorIDsInput) ResolveEndpoint(endpointBase string) string
func (*ListByCreatorIDsInput) SetAccessToken ¶
func (p *ListByCreatorIDsInput) SetAccessToken(token string)
type ListByCreatorIDsOutput ¶
type ListByCreatorIDsOutput struct { Data []resources.Space `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` Meta resources.SpacesLookupByCreatorsIDsMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListByCreatorIDsOutput) HasPartialError ¶
func (r *ListByCreatorIDsOutput) HasPartialError() bool
type ListInput ¶
type ListInput struct { // Query parameters IDs []string // required: Space IDs Expansions fields.ExpansionList SpaceFields fields.SpaceFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
ListInput is struct of parameters for request GET /2/spaces
func (*ListInput) AccessToken ¶
func (*ListInput) ParameterMap ¶
func (*ListInput) ResolveEndpoint ¶
func (*ListInput) SetAccessToken ¶
type ListOutput ¶
type ListOutput struct { Data []resources.Space `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` Errors []resources.PartialError `json:"errors"` }
func (*ListOutput) HasPartialError ¶
func (r *ListOutput) HasPartialError() bool
type ListTweetsInput ¶
type ListTweetsInput 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 (*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"` } `json:"includes"` Meta resources.SpacesLookupTweetsMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListTweetsOutput) HasPartialError ¶
func (r *ListTweetsOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.