Documentation ¶
Index ¶
- Variables
- type ListFollowsDeleteParams
- func (p *ListFollowsDeleteParams) AccessToken() string
- func (p *ListFollowsDeleteParams) Body() (io.Reader, error)
- func (p *ListFollowsDeleteParams) ParameterMap() map[string]string
- func (p *ListFollowsDeleteParams) ResolveEndpoint(endpointBase string) string
- func (p *ListFollowsDeleteParams) SetAccessToken(token string)
- type ListFollowsDeleteResponse
- type ListFollowsFollowedListsMaxResults
- type ListFollowsFollowedListsParams
- func (p *ListFollowsFollowedListsParams) AccessToken() string
- func (p *ListFollowsFollowedListsParams) Body() (io.Reader, error)
- func (p *ListFollowsFollowedListsParams) ParameterMap() map[string]string
- func (p *ListFollowsFollowedListsParams) ResolveEndpoint(endpointBase string) string
- func (p *ListFollowsFollowedListsParams) SetAccessToken(token string)
- type ListFollowsFollowedListsResponse
- type ListFollowsFollowersMaxResults
- type ListFollowsFollowersParams
- func (p *ListFollowsFollowersParams) AccessToken() string
- func (p *ListFollowsFollowersParams) Body() (io.Reader, error)
- func (p *ListFollowsFollowersParams) ParameterMap() map[string]string
- func (p *ListFollowsFollowersParams) ResolveEndpoint(endpointBase string) string
- func (p *ListFollowsFollowersParams) SetAccessToken(token string)
- type ListFollowsFollowersResponse
- type ListFollowsPostParams
- func (p *ListFollowsPostParams) AccessToken() string
- func (p *ListFollowsPostParams) Body() (io.Reader, error)
- func (p *ListFollowsPostParams) ParameterMap() map[string]string
- func (p *ListFollowsPostParams) ResolveEndpoint(endpointBase string) string
- func (p *ListFollowsPostParams) SetAccessToken(token string)
- type ListFollowsPostResponse
- type ListLookupIDParams
- type ListLookupIDResponse
- type ListLookupOwnedListsMaxResults
- type ListLookupOwnedListsParams
- func (p *ListLookupOwnedListsParams) AccessToken() string
- func (p *ListLookupOwnedListsParams) Body() (io.Reader, error)
- func (p *ListLookupOwnedListsParams) ParameterMap() map[string]string
- func (p *ListLookupOwnedListsParams) ResolveEndpoint(endpointBase string) string
- func (p *ListLookupOwnedListsParams) SetAccessToken(token string)
- type ListLookupOwnedListsResponse
- type ListMembersDeleteParams
- func (p *ListMembersDeleteParams) AccessToken() string
- func (p *ListMembersDeleteParams) Body() (io.Reader, error)
- func (p *ListMembersDeleteParams) ParameterMap() map[string]string
- func (p *ListMembersDeleteParams) ResolveEndpoint(endpointBase string) string
- func (p *ListMembersDeleteParams) SetAccessToken(token string)
- type ListMembersDeleteResponse
- type ListMembersGetMaxResults
- type ListMembersGetParams
- func (p *ListMembersGetParams) AccessToken() string
- func (p *ListMembersGetParams) Body() (io.Reader, error)
- func (p *ListMembersGetParams) ParameterMap() map[string]string
- func (p *ListMembersGetParams) ResolveEndpoint(endpointBase string) string
- func (p *ListMembersGetParams) SetAccessToken(token string)
- type ListMembersGetResponse
- type ListMembersListMembershipsMaxResults
- type ListMembersListMembershipsParams
- func (p *ListMembersListMembershipsParams) AccessToken() string
- func (p *ListMembersListMembershipsParams) Body() (io.Reader, error)
- func (p *ListMembersListMembershipsParams) ParameterMap() map[string]string
- func (p *ListMembersListMembershipsParams) ResolveEndpoint(endpointBase string) string
- func (p *ListMembersListMembershipsParams) SetAccessToken(token string)
- type ListMembersListMembershipsResponse
- type ListMembersPostParams
- func (p *ListMembersPostParams) AccessToken() string
- func (p *ListMembersPostParams) Body() (io.Reader, error)
- func (p *ListMembersPostParams) ParameterMap() map[string]string
- func (p *ListMembersPostParams) ResolveEndpoint(endpointBase string) string
- func (p *ListMembersPostParams) SetAccessToken(token string)
- type ListMembersPostResponse
- type ListTweetsLookupMaxResults
- type ListTweetsLookupParams
- func (p *ListTweetsLookupParams) AccessToken() string
- func (p *ListTweetsLookupParams) Body() (io.Reader, error)
- func (p *ListTweetsLookupParams) ParameterMap() map[string]string
- func (p *ListTweetsLookupParams) ResolveEndpoint(endpointBase string) string
- func (p *ListTweetsLookupParams) SetAccessToken(token string)
- type ListTweetsLookupResponse
- type ManageListsDeleteParams
- func (p *ManageListsDeleteParams) AccessToken() string
- func (p *ManageListsDeleteParams) Body() (io.Reader, error)
- func (p *ManageListsDeleteParams) ParameterMap() map[string]string
- func (p *ManageListsDeleteParams) ResolveEndpoint(endpointBase string) string
- func (p *ManageListsDeleteParams) SetAccessToken(token string)
- type ManageListsDeleteResponse
- type ManageListsPostParams
- func (p *ManageListsPostParams) AccessToken() string
- func (p *ManageListsPostParams) Body() (io.Reader, error)
- func (p *ManageListsPostParams) ParameterMap() map[string]string
- func (p *ManageListsPostParams) ResolveEndpoint(endpointBase string) string
- func (p *ManageListsPostParams) SetAccessToken(token string)
- type ManageListsPostResponse
- type ManageListsPutParams
- func (p *ManageListsPutParams) AccessToken() string
- func (p *ManageListsPutParams) Body() (io.Reader, error)
- func (p *ManageListsPutParams) ParameterMap() map[string]string
- func (p *ManageListsPutParams) ResolveEndpoint(endpointBase string) string
- func (p *ManageListsPutParams) SetAccessToken(token string)
- type ManageListsPutResponse
- type PinnedListsDeleteParams
- func (p *PinnedListsDeleteParams) AccessToken() string
- func (p *PinnedListsDeleteParams) Body() (io.Reader, error)
- func (p *PinnedListsDeleteParams) ParameterMap() map[string]string
- func (p *PinnedListsDeleteParams) ResolveEndpoint(endpointBase string) string
- func (p *PinnedListsDeleteParams) SetAccessToken(token string)
- type PinnedListsDeleteResponse
- type PinnedListsGetParams
- func (p *PinnedListsGetParams) AccessToken() string
- func (p *PinnedListsGetParams) Body() (io.Reader, error)
- func (p *PinnedListsGetParams) ParameterMap() map[string]string
- func (p *PinnedListsGetParams) ResolveEndpoint(endpointBase string) string
- func (p *PinnedListsGetParams) SetAccessToken(token string)
- type PinnedListsGetResponse
- type PinnedListsPostParams
- func (p *PinnedListsPostParams) AccessToken() string
- func (p *PinnedListsPostParams) Body() (io.Reader, error)
- func (p *PinnedListsPostParams) ParameterMap() map[string]string
- func (p *PinnedListsPostParams) ResolveEndpoint(endpointBase string) string
- func (p *PinnedListsPostParams) SetAccessToken(token string)
- type PinnedListsPostResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ListFollowsFollowedListsQueryParams = map[string]struct{}{
"max_results": {},
"pagination_token": {},
"expansions": {},
"list.fields": {},
"user.fields": {},
}
View Source
var ListFollowsFollowersQueryParams = map[string]struct{}{
"max_results": {},
"pagination_token": {},
"expansions": {},
"tweet.fields": {},
"user.fields": {},
}
View Source
var ListLookupIDQueryParams = map[string]struct{}{
"expansions": {},
"list.fields": {},
"user.fields": {},
}
View Source
var ListLookupOwnedListsQueryParams = map[string]struct{}{
"expansions": {},
"list.fields": {},
"user.fields": {},
"max_results": {},
"pagination_token": {},
}
View Source
var ListMembersListMembershipsQueryParams = map[string]struct{}{
"max_results": {},
"pagination_token": {},
"expansions": {},
"list.fields": {},
"user.fields": {},
}
View Source
var ListTweetsLookupQueryParams = map[string]struct{}{
"max_results": {},
"pagination_token": {},
"expansions": {},
"tweet.fields": {},
"user.fields": {},
}
View Source
var PinnedListsGetQueryParams = map[string]struct{}{
"expansions": {},
"list.fields": {},
"user.fields": {},
}
Functions ¶
This section is empty.
Types ¶
type ListFollowsDeleteParams ¶
type ListFollowsDeleteParams struct { // Path parameter ID string // User ID ListID string // contains filtered or unexported fields }
func (*ListFollowsDeleteParams) AccessToken ¶
func (p *ListFollowsDeleteParams) AccessToken() string
func (*ListFollowsDeleteParams) ParameterMap ¶
func (p *ListFollowsDeleteParams) ParameterMap() map[string]string
func (*ListFollowsDeleteParams) ResolveEndpoint ¶
func (p *ListFollowsDeleteParams) ResolveEndpoint(endpointBase string) string
func (*ListFollowsDeleteParams) SetAccessToken ¶
func (p *ListFollowsDeleteParams) SetAccessToken(token string)
type ListFollowsDeleteResponse ¶
type ListFollowsDeleteResponse struct { Data struct { Following bool `json:"following"` } `json:"data"` }
func (*ListFollowsDeleteResponse) HasPartialError ¶
func (r *ListFollowsDeleteResponse) HasPartialError() bool
type ListFollowsFollowedListsMaxResults ¶
type ListFollowsFollowedListsMaxResults int
func (ListFollowsFollowedListsMaxResults) String ¶
func (m ListFollowsFollowedListsMaxResults) String() string
func (ListFollowsFollowedListsMaxResults) Valid ¶
func (m ListFollowsFollowedListsMaxResults) Valid() bool
type ListFollowsFollowedListsParams ¶
type ListFollowsFollowedListsParams struct { // Path parameter ID string // User ID // Query parameters MaxResults ListFollowsFollowedListsMaxResults PaginationToken string Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListFollowsFollowedListsParams) AccessToken ¶
func (p *ListFollowsFollowedListsParams) AccessToken() string
func (*ListFollowsFollowedListsParams) Body ¶
func (p *ListFollowsFollowedListsParams) Body() (io.Reader, error)
func (*ListFollowsFollowedListsParams) ParameterMap ¶
func (p *ListFollowsFollowedListsParams) ParameterMap() map[string]string
func (*ListFollowsFollowedListsParams) ResolveEndpoint ¶
func (p *ListFollowsFollowedListsParams) ResolveEndpoint(endpointBase string) string
func (*ListFollowsFollowedListsParams) SetAccessToken ¶
func (p *ListFollowsFollowedListsParams) SetAccessToken(token string)
type ListFollowsFollowedListsResponse ¶
type ListFollowsFollowedListsResponse struct { Data []resources.List `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` Meta resources.ListFollowsFollowedListsMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListFollowsFollowedListsResponse) HasPartialError ¶
func (r *ListFollowsFollowedListsResponse) HasPartialError() bool
type ListFollowsFollowersMaxResults ¶
type ListFollowsFollowersMaxResults int
func (ListFollowsFollowersMaxResults) String ¶
func (m ListFollowsFollowersMaxResults) String() string
func (ListFollowsFollowersMaxResults) Valid ¶
func (m ListFollowsFollowersMaxResults) Valid() bool
type ListFollowsFollowersParams ¶
type ListFollowsFollowersParams struct { // Path parameter ID string // List ID // Query parameters MaxResults ListFollowsFollowersMaxResults PaginationToken string Expansions fields.ExpansionList TweetFields fields.TweetFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListFollowsFollowersParams) AccessToken ¶
func (p *ListFollowsFollowersParams) AccessToken() string
func (*ListFollowsFollowersParams) Body ¶
func (p *ListFollowsFollowersParams) Body() (io.Reader, error)
func (*ListFollowsFollowersParams) ParameterMap ¶
func (p *ListFollowsFollowersParams) ParameterMap() map[string]string
func (*ListFollowsFollowersParams) ResolveEndpoint ¶
func (p *ListFollowsFollowersParams) ResolveEndpoint(endpointBase string) string
func (*ListFollowsFollowersParams) SetAccessToken ¶
func (p *ListFollowsFollowersParams) SetAccessToken(token string)
type ListFollowsFollowersResponse ¶
type ListFollowsFollowersResponse struct { Data []resources.User `json:"data"` Includes struct { Tweets []resources.Tweet `json:"tweets"` } `json:"includes"` Meta resources.ListFollowsFollowersMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListFollowsFollowersResponse) HasPartialError ¶
func (r *ListFollowsFollowersResponse) HasPartialError() bool
type ListFollowsPostParams ¶
type ListFollowsPostParams struct { // Path parameter ID string `json:"-"` // User ID // JSON body parameter ListID *string `json:"list_id,omitempty"` // contains filtered or unexported fields }
func (*ListFollowsPostParams) AccessToken ¶
func (p *ListFollowsPostParams) AccessToken() string
func (*ListFollowsPostParams) ParameterMap ¶
func (p *ListFollowsPostParams) ParameterMap() map[string]string
func (*ListFollowsPostParams) ResolveEndpoint ¶
func (p *ListFollowsPostParams) ResolveEndpoint(endpointBase string) string
func (*ListFollowsPostParams) SetAccessToken ¶
func (p *ListFollowsPostParams) SetAccessToken(token string)
type ListFollowsPostResponse ¶
type ListFollowsPostResponse struct { Data struct { Following bool `json:"following"` } `json:"data"` }
func (*ListFollowsPostResponse) HasPartialError ¶
func (r *ListFollowsPostResponse) HasPartialError() bool
type ListLookupIDParams ¶
type ListLookupIDParams struct { // Path parameter ID string // Query parameters Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListLookupIDParams) AccessToken ¶
func (p *ListLookupIDParams) AccessToken() string
func (*ListLookupIDParams) ParameterMap ¶
func (p *ListLookupIDParams) ParameterMap() map[string]string
func (*ListLookupIDParams) ResolveEndpoint ¶
func (p *ListLookupIDParams) ResolveEndpoint(endpointBase string) string
func (*ListLookupIDParams) SetAccessToken ¶
func (p *ListLookupIDParams) SetAccessToken(token string)
type ListLookupIDResponse ¶
type ListLookupIDResponse struct { Data resources.List `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes,omitempty"` Errors []resources.PartialError `json:"errors,omitempty"` }
func (*ListLookupIDResponse) HasPartialError ¶
func (r *ListLookupIDResponse) HasPartialError() bool
type ListLookupOwnedListsMaxResults ¶
type ListLookupOwnedListsMaxResults int
func (ListLookupOwnedListsMaxResults) String ¶
func (m ListLookupOwnedListsMaxResults) String() string
func (ListLookupOwnedListsMaxResults) Valid ¶
func (m ListLookupOwnedListsMaxResults) Valid() bool
type ListLookupOwnedListsParams ¶
type ListLookupOwnedListsParams struct { // Path parameter ID string // User ID // Query parameters Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList MaxResults ListLookupOwnedListsMaxResults PaginationToken string // contains filtered or unexported fields }
func (*ListLookupOwnedListsParams) AccessToken ¶
func (p *ListLookupOwnedListsParams) AccessToken() string
func (*ListLookupOwnedListsParams) Body ¶
func (p *ListLookupOwnedListsParams) Body() (io.Reader, error)
func (*ListLookupOwnedListsParams) ParameterMap ¶
func (p *ListLookupOwnedListsParams) ParameterMap() map[string]string
func (*ListLookupOwnedListsParams) ResolveEndpoint ¶
func (p *ListLookupOwnedListsParams) ResolveEndpoint(endpointBase string) string
func (*ListLookupOwnedListsParams) SetAccessToken ¶
func (p *ListLookupOwnedListsParams) SetAccessToken(token string)
type ListLookupOwnedListsResponse ¶
type ListLookupOwnedListsResponse struct { Data []resources.List `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes,omitempty"` Meta resources.ListLookupOwnedListsMeta Errors []resources.PartialError `json:"errors,omitempty"` }
func (*ListLookupOwnedListsResponse) HasPartialError ¶
func (r *ListLookupOwnedListsResponse) HasPartialError() bool
type ListMembersDeleteParams ¶
type ListMembersDeleteParams struct { // Path parameter ID string // List ID UserID string // contains filtered or unexported fields }
func (*ListMembersDeleteParams) AccessToken ¶
func (p *ListMembersDeleteParams) AccessToken() string
func (*ListMembersDeleteParams) ParameterMap ¶
func (p *ListMembersDeleteParams) ParameterMap() map[string]string
func (*ListMembersDeleteParams) ResolveEndpoint ¶
func (p *ListMembersDeleteParams) ResolveEndpoint(endpointBase string) string
func (*ListMembersDeleteParams) SetAccessToken ¶
func (p *ListMembersDeleteParams) SetAccessToken(token string)
type ListMembersDeleteResponse ¶
type ListMembersDeleteResponse struct { Data struct { IsMember bool `json:"is_member"` } `json:"data"` }
func (*ListMembersDeleteResponse) HasPartialError ¶
func (r *ListMembersDeleteResponse) HasPartialError() bool
type ListMembersGetMaxResults ¶
type ListMembersGetMaxResults int
func (ListMembersGetMaxResults) String ¶
func (m ListMembersGetMaxResults) String() string
func (ListMembersGetMaxResults) Valid ¶
func (m ListMembersGetMaxResults) Valid() bool
type ListMembersGetParams ¶
type ListMembersGetParams struct { // Path parameter ID string // List ID // Query parameters Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList MaxResults ListMembersGetMaxResults PaginationToken string // contains filtered or unexported fields }
func (*ListMembersGetParams) AccessToken ¶
func (p *ListMembersGetParams) AccessToken() string
func (*ListMembersGetParams) ParameterMap ¶
func (p *ListMembersGetParams) ParameterMap() map[string]string
func (*ListMembersGetParams) ResolveEndpoint ¶
func (p *ListMembersGetParams) ResolveEndpoint(endpointBase string) string
func (*ListMembersGetParams) SetAccessToken ¶
func (p *ListMembersGetParams) SetAccessToken(token string)
type ListMembersGetResponse ¶
type ListMembersGetResponse struct { Data []resources.User `json:"data"` Includes struct { Tweets []resources.Tweet `json:"tweets"` } `json:"includes"` Meta resources.ListMembersGetMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListMembersGetResponse) HasPartialError ¶
func (r *ListMembersGetResponse) HasPartialError() bool
type ListMembersListMembershipsMaxResults ¶
type ListMembersListMembershipsMaxResults int
func (ListMembersListMembershipsMaxResults) String ¶
func (m ListMembersListMembershipsMaxResults) String() string
func (ListMembersListMembershipsMaxResults) Valid ¶
func (m ListMembersListMembershipsMaxResults) Valid() bool
type ListMembersListMembershipsParams ¶
type ListMembersListMembershipsParams struct { // Path parameter ID string // User ID // Query parameters MaxResults ListMembersListMembershipsMaxResults PaginationToken string Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListMembersListMembershipsParams) AccessToken ¶
func (p *ListMembersListMembershipsParams) AccessToken() string
func (*ListMembersListMembershipsParams) Body ¶
func (p *ListMembersListMembershipsParams) Body() (io.Reader, error)
func (*ListMembersListMembershipsParams) ParameterMap ¶
func (p *ListMembersListMembershipsParams) ParameterMap() map[string]string
func (*ListMembersListMembershipsParams) ResolveEndpoint ¶
func (p *ListMembersListMembershipsParams) ResolveEndpoint(endpointBase string) string
func (*ListMembersListMembershipsParams) SetAccessToken ¶
func (p *ListMembersListMembershipsParams) SetAccessToken(token string)
type ListMembersListMembershipsResponse ¶
type ListMembersListMembershipsResponse struct { Data []resources.List `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` Meta resources.ListMembersListMembershipsMeta `json:"meta"` Errors []resources.PartialError `json:"errors"` }
func (*ListMembersListMembershipsResponse) HasPartialError ¶
func (r *ListMembersListMembershipsResponse) HasPartialError() bool
type ListMembersPostParams ¶
type ListMembersPostParams struct { // Path parameter ID string `json:"-"` // List ID // JSON body parameter UserID *string `json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ListMembersPostParams) AccessToken ¶
func (p *ListMembersPostParams) AccessToken() string
func (*ListMembersPostParams) ParameterMap ¶
func (p *ListMembersPostParams) ParameterMap() map[string]string
func (*ListMembersPostParams) ResolveEndpoint ¶
func (p *ListMembersPostParams) ResolveEndpoint(endpointBase string) string
func (*ListMembersPostParams) SetAccessToken ¶
func (p *ListMembersPostParams) SetAccessToken(token string)
type ListMembersPostResponse ¶
type ListMembersPostResponse struct { Data struct { IsMember bool `json:"is_member"` } `json:"data"` }
func (*ListMembersPostResponse) HasPartialError ¶
func (r *ListMembersPostResponse) HasPartialError() bool
type ListTweetsLookupMaxResults ¶
type ListTweetsLookupMaxResults int
func (ListTweetsLookupMaxResults) String ¶
func (m ListTweetsLookupMaxResults) String() string
func (ListTweetsLookupMaxResults) Valid ¶
func (m ListTweetsLookupMaxResults) Valid() bool
type ListTweetsLookupParams ¶
type ListTweetsLookupParams struct { // Path parameter ID string // List ID // Query parameters MaxResults ListTweetsLookupMaxResults PaginationToken string Expansions fields.ExpansionList TweetFields fields.TweetFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*ListTweetsLookupParams) AccessToken ¶
func (p *ListTweetsLookupParams) AccessToken() string
func (*ListTweetsLookupParams) ParameterMap ¶
func (p *ListTweetsLookupParams) ParameterMap() map[string]string
func (*ListTweetsLookupParams) ResolveEndpoint ¶
func (p *ListTweetsLookupParams) ResolveEndpoint(endpointBase string) string
func (*ListTweetsLookupParams) SetAccessToken ¶
func (p *ListTweetsLookupParams) SetAccessToken(token string)
type ListTweetsLookupResponse ¶
type ListTweetsLookupResponse 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 (*ListTweetsLookupResponse) HasPartialError ¶
func (r *ListTweetsLookupResponse) HasPartialError() bool
type ManageListsDeleteParams ¶
type ManageListsDeleteParams struct { // Path parameter ID string // List ID // contains filtered or unexported fields }
func (*ManageListsDeleteParams) AccessToken ¶
func (p *ManageListsDeleteParams) AccessToken() string
func (*ManageListsDeleteParams) ParameterMap ¶
func (p *ManageListsDeleteParams) ParameterMap() map[string]string
func (*ManageListsDeleteParams) ResolveEndpoint ¶
func (p *ManageListsDeleteParams) ResolveEndpoint(endpointBase string) string
func (*ManageListsDeleteParams) SetAccessToken ¶
func (p *ManageListsDeleteParams) SetAccessToken(token string)
type ManageListsDeleteResponse ¶
type ManageListsDeleteResponse struct { Data struct { Deleted bool `json:"deleted"` } `json:"data"` }
func (*ManageListsDeleteResponse) HasPartialError ¶
func (r *ManageListsDeleteResponse) HasPartialError() bool
type ManageListsPostParams ¶
type ManageListsPostParams struct { // JSON body parameter Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Private *bool `json:"private,omitempty"` // contains filtered or unexported fields }
func (*ManageListsPostParams) AccessToken ¶
func (p *ManageListsPostParams) AccessToken() string
func (*ManageListsPostParams) ParameterMap ¶
func (p *ManageListsPostParams) ParameterMap() map[string]string
func (*ManageListsPostParams) ResolveEndpoint ¶
func (p *ManageListsPostParams) ResolveEndpoint(endpointBase string) string
func (*ManageListsPostParams) SetAccessToken ¶
func (p *ManageListsPostParams) SetAccessToken(token string)
type ManageListsPostResponse ¶
type ManageListsPostResponse struct { Data struct { ID string `json:"id"` Name string `json:"name"` } `json:"data"` }
func (*ManageListsPostResponse) HasPartialError ¶
func (r *ManageListsPostResponse) HasPartialError() bool
type ManageListsPutParams ¶
type ManageListsPutParams struct { // Path parameter ID string `json:"-"` // List ID // JSON body parameter Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Private *bool `json:"private,omitempty"` // contains filtered or unexported fields }
func (*ManageListsPutParams) AccessToken ¶
func (p *ManageListsPutParams) AccessToken() string
func (*ManageListsPutParams) ParameterMap ¶
func (p *ManageListsPutParams) ParameterMap() map[string]string
func (*ManageListsPutParams) ResolveEndpoint ¶
func (p *ManageListsPutParams) ResolveEndpoint(endpointBase string) string
func (*ManageListsPutParams) SetAccessToken ¶
func (p *ManageListsPutParams) SetAccessToken(token string)
type ManageListsPutResponse ¶
type ManageListsPutResponse struct {
Updated bool `json:"updated"`
}
func (*ManageListsPutResponse) HasPartialError ¶
func (r *ManageListsPutResponse) HasPartialError() bool
type PinnedListsDeleteParams ¶
type PinnedListsDeleteParams struct { // Path parameter ID string // User ID ListID string // contains filtered or unexported fields }
func (*PinnedListsDeleteParams) AccessToken ¶
func (p *PinnedListsDeleteParams) AccessToken() string
func (*PinnedListsDeleteParams) ParameterMap ¶
func (p *PinnedListsDeleteParams) ParameterMap() map[string]string
func (*PinnedListsDeleteParams) ResolveEndpoint ¶
func (p *PinnedListsDeleteParams) ResolveEndpoint(endpointBase string) string
func (*PinnedListsDeleteParams) SetAccessToken ¶
func (p *PinnedListsDeleteParams) SetAccessToken(token string)
type PinnedListsDeleteResponse ¶
type PinnedListsDeleteResponse struct { Data struct { Pinned bool `json:"pinned"` } `json:"data"` }
func (*PinnedListsDeleteResponse) HasPartialError ¶
func (r *PinnedListsDeleteResponse) HasPartialError() bool
type PinnedListsGetParams ¶
type PinnedListsGetParams struct { // Path parameter ID string // User ID // Query parameter Expansions fields.ExpansionList ListFields fields.ListFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*PinnedListsGetParams) AccessToken ¶
func (p *PinnedListsGetParams) AccessToken() string
func (*PinnedListsGetParams) ParameterMap ¶
func (p *PinnedListsGetParams) ParameterMap() map[string]string
func (*PinnedListsGetParams) ResolveEndpoint ¶
func (p *PinnedListsGetParams) ResolveEndpoint(endpointBase string) string
func (*PinnedListsGetParams) SetAccessToken ¶
func (p *PinnedListsGetParams) SetAccessToken(token string)
type PinnedListsGetResponse ¶
type PinnedListsGetResponse struct { Data []resources.List `json:"data"` Includes struct { Users []resources.User `json:"users"` } `json:"includes"` }
func (*PinnedListsGetResponse) HasPartialError ¶
func (r *PinnedListsGetResponse) HasPartialError() bool
type PinnedListsPostParams ¶
type PinnedListsPostParams struct { // Path parameter ID string `json:"-"` // User ID // JSON body parameter ListID *string `json:"list_id,omitempty"` // contains filtered or unexported fields }
func (*PinnedListsPostParams) AccessToken ¶
func (p *PinnedListsPostParams) AccessToken() string
func (*PinnedListsPostParams) ParameterMap ¶
func (p *PinnedListsPostParams) ParameterMap() map[string]string
func (*PinnedListsPostParams) ResolveEndpoint ¶
func (p *PinnedListsPostParams) ResolveEndpoint(endpointBase string) string
func (*PinnedListsPostParams) SetAccessToken ¶
func (p *PinnedListsPostParams) SetAccessToken(token string)
type PinnedListsPostResponse ¶
type PinnedListsPostResponse struct { Data struct { Pinned bool `json:"pinned"` } `json:"data"` }
func (*PinnedListsPostResponse) HasPartialError ¶
func (r *PinnedListsPostResponse) HasPartialError() bool
Source Files ¶
- list_follows_parameter.go
- list_follows_response.go
- list_lookup_parameter.go
- list_lookup_response.go
- list_members_parameter.go
- list_members_response.go
- list_tweets_lookup_parameter.go
- list_tweets_lookup_response.go
- manage_lists_parameter.go
- manage_lists_response.go
- pinned_lists_parameter.go
- pinned_lists_response.go
Click to show internal directories.
Click to hide internal directories.