Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateInput ¶
type CreateInput struct {
// Path parameter
ID string `json:"-"` // User ID
// JSON body parameter
ListID string `json:"list_id"` // required
// contains filtered or unexported fields
}
func (*CreateInput) AccessToken ¶
func (p *CreateInput) AccessToken() string
func (*CreateInput) ParameterMap ¶
func (p *CreateInput) ParameterMap() map[string]string
func (*CreateInput) ResolveEndpoint ¶
func (p *CreateInput) ResolveEndpoint(endpointBase string) string
func (*CreateInput) SetAccessToken ¶
func (p *CreateInput) SetAccessToken(token string)
type CreateOutput ¶
type CreateOutput struct {
Data struct {
Pinned bool `json:"pinned"`
} `json:"data"`
}
func (*CreateOutput) HasPartialError ¶
func (r *CreateOutput) HasPartialError() bool
type DeleteInput ¶
type DeleteInput struct {
// Path parameter
ID string // User ID
ListID string
// contains filtered or unexported fields
}
func (*DeleteInput) AccessToken ¶
func (p *DeleteInput) AccessToken() string
func (*DeleteInput) ParameterMap ¶
func (p *DeleteInput) ParameterMap() map[string]string
func (*DeleteInput) ResolveEndpoint ¶
func (p *DeleteInput) ResolveEndpoint(endpointBase string) string
func (*DeleteInput) SetAccessToken ¶
func (p *DeleteInput) SetAccessToken(token string)
type DeleteOutput ¶
type DeleteOutput struct {
Data struct {
Pinned bool `json:"pinned"`
} `json:"data"`
}
func (*DeleteOutput) HasPartialError ¶
func (r *DeleteOutput) HasPartialError() bool
type ListInput ¶
type ListInput struct {
// Path parameter
ID string // User ID
// Query parameter
Expansions fields.ExpansionList
ListFields fields.ListFieldList
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.List `json:"data"`
Includes struct {
Users []resources.User `json:"users"`
} `json:"includes"`
}
func (*ListOutput) HasPartialError ¶
func (r *ListOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.