Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationXML(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type AddListAccountsBadRequest
- func (o *AddListAccountsBadRequest) Code() int
- func (o *AddListAccountsBadRequest) Error() string
- func (o *AddListAccountsBadRequest) IsClientError() bool
- func (o *AddListAccountsBadRequest) IsCode(code int) bool
- func (o *AddListAccountsBadRequest) IsRedirect() bool
- func (o *AddListAccountsBadRequest) IsServerError() bool
- func (o *AddListAccountsBadRequest) IsSuccess() bool
- func (o *AddListAccountsBadRequest) String() string
- type AddListAccountsInternalServerError
- func (o *AddListAccountsInternalServerError) Code() int
- func (o *AddListAccountsInternalServerError) Error() string
- func (o *AddListAccountsInternalServerError) IsClientError() bool
- func (o *AddListAccountsInternalServerError) IsCode(code int) bool
- func (o *AddListAccountsInternalServerError) IsRedirect() bool
- func (o *AddListAccountsInternalServerError) IsServerError() bool
- func (o *AddListAccountsInternalServerError) IsSuccess() bool
- func (o *AddListAccountsInternalServerError) String() string
- type AddListAccountsNotAcceptable
- func (o *AddListAccountsNotAcceptable) Code() int
- func (o *AddListAccountsNotAcceptable) Error() string
- func (o *AddListAccountsNotAcceptable) IsClientError() bool
- func (o *AddListAccountsNotAcceptable) IsCode(code int) bool
- func (o *AddListAccountsNotAcceptable) IsRedirect() bool
- func (o *AddListAccountsNotAcceptable) IsServerError() bool
- func (o *AddListAccountsNotAcceptable) IsSuccess() bool
- func (o *AddListAccountsNotAcceptable) String() string
- type AddListAccountsNotFound
- func (o *AddListAccountsNotFound) Code() int
- func (o *AddListAccountsNotFound) Error() string
- func (o *AddListAccountsNotFound) IsClientError() bool
- func (o *AddListAccountsNotFound) IsCode(code int) bool
- func (o *AddListAccountsNotFound) IsRedirect() bool
- func (o *AddListAccountsNotFound) IsServerError() bool
- func (o *AddListAccountsNotFound) IsSuccess() bool
- func (o *AddListAccountsNotFound) String() string
- type AddListAccountsOK
- func (o *AddListAccountsOK) Code() int
- func (o *AddListAccountsOK) Error() string
- func (o *AddListAccountsOK) IsClientError() bool
- func (o *AddListAccountsOK) IsCode(code int) bool
- func (o *AddListAccountsOK) IsRedirect() bool
- func (o *AddListAccountsOK) IsServerError() bool
- func (o *AddListAccountsOK) IsSuccess() bool
- func (o *AddListAccountsOK) String() string
- type AddListAccountsParams
- func NewAddListAccountsParams() *AddListAccountsParams
- func NewAddListAccountsParamsWithContext(ctx context.Context) *AddListAccountsParams
- func NewAddListAccountsParamsWithHTTPClient(client *http.Client) *AddListAccountsParams
- func NewAddListAccountsParamsWithTimeout(timeout time.Duration) *AddListAccountsParams
- func (o *AddListAccountsParams) SetAccountIds(accountIds []string)
- func (o *AddListAccountsParams) SetContext(ctx context.Context)
- func (o *AddListAccountsParams) SetDefaults()
- func (o *AddListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *AddListAccountsParams) SetID(id string)
- func (o *AddListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *AddListAccountsParams) WithAccountIds(accountIds []string) *AddListAccountsParams
- func (o *AddListAccountsParams) WithContext(ctx context.Context) *AddListAccountsParams
- func (o *AddListAccountsParams) WithDefaults() *AddListAccountsParams
- func (o *AddListAccountsParams) WithHTTPClient(client *http.Client) *AddListAccountsParams
- func (o *AddListAccountsParams) WithID(id string) *AddListAccountsParams
- func (o *AddListAccountsParams) WithTimeout(timeout time.Duration) *AddListAccountsParams
- func (o *AddListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddListAccountsReader
- type AddListAccountsUnauthorized
- func (o *AddListAccountsUnauthorized) Code() int
- func (o *AddListAccountsUnauthorized) Error() string
- func (o *AddListAccountsUnauthorized) IsClientError() bool
- func (o *AddListAccountsUnauthorized) IsCode(code int) bool
- func (o *AddListAccountsUnauthorized) IsRedirect() bool
- func (o *AddListAccountsUnauthorized) IsServerError() bool
- func (o *AddListAccountsUnauthorized) IsSuccess() bool
- func (o *AddListAccountsUnauthorized) String() string
- type Client
- func (a *Client) AddListAccounts(params *AddListAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddListAccountsOK, error)
- func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOK, error)
- func (a *Client) ListAccounts(params *ListAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAccountsOK, error)
- func (a *Client) ListCreate(params *ListCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListCreateOK, error)
- func (a *Client) ListDelete(params *ListDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDeleteOK, error)
- func (a *Client) ListUpdate(params *ListUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUpdateOK, error)
- func (a *Client) Lists(params *ListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListsOK, error)
- func (a *Client) RemoveListAccounts(params *RemoveListAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveListAccountsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListAccountsBadRequest
- func (o *ListAccountsBadRequest) Code() int
- func (o *ListAccountsBadRequest) Error() string
- func (o *ListAccountsBadRequest) IsClientError() bool
- func (o *ListAccountsBadRequest) IsCode(code int) bool
- func (o *ListAccountsBadRequest) IsRedirect() bool
- func (o *ListAccountsBadRequest) IsServerError() bool
- func (o *ListAccountsBadRequest) IsSuccess() bool
- func (o *ListAccountsBadRequest) String() string
- type ListAccountsInternalServerError
- func (o *ListAccountsInternalServerError) Code() int
- func (o *ListAccountsInternalServerError) Error() string
- func (o *ListAccountsInternalServerError) IsClientError() bool
- func (o *ListAccountsInternalServerError) IsCode(code int) bool
- func (o *ListAccountsInternalServerError) IsRedirect() bool
- func (o *ListAccountsInternalServerError) IsServerError() bool
- func (o *ListAccountsInternalServerError) IsSuccess() bool
- func (o *ListAccountsInternalServerError) String() string
- type ListAccountsNotAcceptable
- func (o *ListAccountsNotAcceptable) Code() int
- func (o *ListAccountsNotAcceptable) Error() string
- func (o *ListAccountsNotAcceptable) IsClientError() bool
- func (o *ListAccountsNotAcceptable) IsCode(code int) bool
- func (o *ListAccountsNotAcceptable) IsRedirect() bool
- func (o *ListAccountsNotAcceptable) IsServerError() bool
- func (o *ListAccountsNotAcceptable) IsSuccess() bool
- func (o *ListAccountsNotAcceptable) String() string
- type ListAccountsNotFound
- func (o *ListAccountsNotFound) Code() int
- func (o *ListAccountsNotFound) Error() string
- func (o *ListAccountsNotFound) IsClientError() bool
- func (o *ListAccountsNotFound) IsCode(code int) bool
- func (o *ListAccountsNotFound) IsRedirect() bool
- func (o *ListAccountsNotFound) IsServerError() bool
- func (o *ListAccountsNotFound) IsSuccess() bool
- func (o *ListAccountsNotFound) String() string
- type ListAccountsOK
- func (o *ListAccountsOK) Code() int
- func (o *ListAccountsOK) Error() string
- func (o *ListAccountsOK) GetPayload() []*models.Account
- func (o *ListAccountsOK) IsClientError() bool
- func (o *ListAccountsOK) IsCode(code int) bool
- func (o *ListAccountsOK) IsRedirect() bool
- func (o *ListAccountsOK) IsServerError() bool
- func (o *ListAccountsOK) IsSuccess() bool
- func (o *ListAccountsOK) String() string
- type ListAccountsParams
- func (o *ListAccountsParams) SetContext(ctx context.Context)
- func (o *ListAccountsParams) SetDefaults()
- func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *ListAccountsParams) SetID(id string)
- func (o *ListAccountsParams) SetLimit(limit *int64)
- func (o *ListAccountsParams) SetMaxID(maxID *string)
- func (o *ListAccountsParams) SetMinID(minID *string)
- func (o *ListAccountsParams) SetSinceID(sinceID *string)
- func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
- func (o *ListAccountsParams) WithDefaults() *ListAccountsParams
- func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
- func (o *ListAccountsParams) WithID(id string) *ListAccountsParams
- func (o *ListAccountsParams) WithLimit(limit *int64) *ListAccountsParams
- func (o *ListAccountsParams) WithMaxID(maxID *string) *ListAccountsParams
- func (o *ListAccountsParams) WithMinID(minID *string) *ListAccountsParams
- func (o *ListAccountsParams) WithSinceID(sinceID *string) *ListAccountsParams
- func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
- func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccountsReader
- type ListAccountsUnauthorized
- func (o *ListAccountsUnauthorized) Code() int
- func (o *ListAccountsUnauthorized) Error() string
- func (o *ListAccountsUnauthorized) IsClientError() bool
- func (o *ListAccountsUnauthorized) IsCode(code int) bool
- func (o *ListAccountsUnauthorized) IsRedirect() bool
- func (o *ListAccountsUnauthorized) IsServerError() bool
- func (o *ListAccountsUnauthorized) IsSuccess() bool
- func (o *ListAccountsUnauthorized) String() string
- type ListBadRequest
- func (o *ListBadRequest) Code() int
- func (o *ListBadRequest) Error() string
- func (o *ListBadRequest) IsClientError() bool
- func (o *ListBadRequest) IsCode(code int) bool
- func (o *ListBadRequest) IsRedirect() bool
- func (o *ListBadRequest) IsServerError() bool
- func (o *ListBadRequest) IsSuccess() bool
- func (o *ListBadRequest) String() string
- type ListCreateBadRequest
- func (o *ListCreateBadRequest) Code() int
- func (o *ListCreateBadRequest) Error() string
- func (o *ListCreateBadRequest) IsClientError() bool
- func (o *ListCreateBadRequest) IsCode(code int) bool
- func (o *ListCreateBadRequest) IsRedirect() bool
- func (o *ListCreateBadRequest) IsServerError() bool
- func (o *ListCreateBadRequest) IsSuccess() bool
- func (o *ListCreateBadRequest) String() string
- type ListCreateForbidden
- func (o *ListCreateForbidden) Code() int
- func (o *ListCreateForbidden) Error() string
- func (o *ListCreateForbidden) IsClientError() bool
- func (o *ListCreateForbidden) IsCode(code int) bool
- func (o *ListCreateForbidden) IsRedirect() bool
- func (o *ListCreateForbidden) IsServerError() bool
- func (o *ListCreateForbidden) IsSuccess() bool
- func (o *ListCreateForbidden) String() string
- type ListCreateInternalServerError
- func (o *ListCreateInternalServerError) Code() int
- func (o *ListCreateInternalServerError) Error() string
- func (o *ListCreateInternalServerError) IsClientError() bool
- func (o *ListCreateInternalServerError) IsCode(code int) bool
- func (o *ListCreateInternalServerError) IsRedirect() bool
- func (o *ListCreateInternalServerError) IsServerError() bool
- func (o *ListCreateInternalServerError) IsSuccess() bool
- func (o *ListCreateInternalServerError) String() string
- type ListCreateNotAcceptable
- func (o *ListCreateNotAcceptable) Code() int
- func (o *ListCreateNotAcceptable) Error() string
- func (o *ListCreateNotAcceptable) IsClientError() bool
- func (o *ListCreateNotAcceptable) IsCode(code int) bool
- func (o *ListCreateNotAcceptable) IsRedirect() bool
- func (o *ListCreateNotAcceptable) IsServerError() bool
- func (o *ListCreateNotAcceptable) IsSuccess() bool
- func (o *ListCreateNotAcceptable) String() string
- type ListCreateNotFound
- func (o *ListCreateNotFound) Code() int
- func (o *ListCreateNotFound) Error() string
- func (o *ListCreateNotFound) IsClientError() bool
- func (o *ListCreateNotFound) IsCode(code int) bool
- func (o *ListCreateNotFound) IsRedirect() bool
- func (o *ListCreateNotFound) IsServerError() bool
- func (o *ListCreateNotFound) IsSuccess() bool
- func (o *ListCreateNotFound) String() string
- type ListCreateOK
- func (o *ListCreateOK) Code() int
- func (o *ListCreateOK) Error() string
- func (o *ListCreateOK) GetPayload() *models.List
- func (o *ListCreateOK) IsClientError() bool
- func (o *ListCreateOK) IsCode(code int) bool
- func (o *ListCreateOK) IsRedirect() bool
- func (o *ListCreateOK) IsServerError() bool
- func (o *ListCreateOK) IsSuccess() bool
- func (o *ListCreateOK) String() string
- type ListCreateParams
- func (o *ListCreateParams) SetContext(ctx context.Context)
- func (o *ListCreateParams) SetDefaults()
- func (o *ListCreateParams) SetHTTPClient(client *http.Client)
- func (o *ListCreateParams) SetRepliesPolicy(repliesPolicy *string)
- func (o *ListCreateParams) SetTimeout(timeout time.Duration)
- func (o *ListCreateParams) SetTitle(title string)
- func (o *ListCreateParams) WithContext(ctx context.Context) *ListCreateParams
- func (o *ListCreateParams) WithDefaults() *ListCreateParams
- func (o *ListCreateParams) WithHTTPClient(client *http.Client) *ListCreateParams
- func (o *ListCreateParams) WithRepliesPolicy(repliesPolicy *string) *ListCreateParams
- func (o *ListCreateParams) WithTimeout(timeout time.Duration) *ListCreateParams
- func (o *ListCreateParams) WithTitle(title string) *ListCreateParams
- func (o *ListCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCreateReader
- type ListCreateUnauthorized
- func (o *ListCreateUnauthorized) Code() int
- func (o *ListCreateUnauthorized) Error() string
- func (o *ListCreateUnauthorized) IsClientError() bool
- func (o *ListCreateUnauthorized) IsCode(code int) bool
- func (o *ListCreateUnauthorized) IsRedirect() bool
- func (o *ListCreateUnauthorized) IsServerError() bool
- func (o *ListCreateUnauthorized) IsSuccess() bool
- func (o *ListCreateUnauthorized) String() string
- type ListDeleteBadRequest
- func (o *ListDeleteBadRequest) Code() int
- func (o *ListDeleteBadRequest) Error() string
- func (o *ListDeleteBadRequest) IsClientError() bool
- func (o *ListDeleteBadRequest) IsCode(code int) bool
- func (o *ListDeleteBadRequest) IsRedirect() bool
- func (o *ListDeleteBadRequest) IsServerError() bool
- func (o *ListDeleteBadRequest) IsSuccess() bool
- func (o *ListDeleteBadRequest) String() string
- type ListDeleteInternalServerError
- func (o *ListDeleteInternalServerError) Code() int
- func (o *ListDeleteInternalServerError) Error() string
- func (o *ListDeleteInternalServerError) IsClientError() bool
- func (o *ListDeleteInternalServerError) IsCode(code int) bool
- func (o *ListDeleteInternalServerError) IsRedirect() bool
- func (o *ListDeleteInternalServerError) IsServerError() bool
- func (o *ListDeleteInternalServerError) IsSuccess() bool
- func (o *ListDeleteInternalServerError) String() string
- type ListDeleteNotAcceptable
- func (o *ListDeleteNotAcceptable) Code() int
- func (o *ListDeleteNotAcceptable) Error() string
- func (o *ListDeleteNotAcceptable) IsClientError() bool
- func (o *ListDeleteNotAcceptable) IsCode(code int) bool
- func (o *ListDeleteNotAcceptable) IsRedirect() bool
- func (o *ListDeleteNotAcceptable) IsServerError() bool
- func (o *ListDeleteNotAcceptable) IsSuccess() bool
- func (o *ListDeleteNotAcceptable) String() string
- type ListDeleteNotFound
- func (o *ListDeleteNotFound) Code() int
- func (o *ListDeleteNotFound) Error() string
- func (o *ListDeleteNotFound) IsClientError() bool
- func (o *ListDeleteNotFound) IsCode(code int) bool
- func (o *ListDeleteNotFound) IsRedirect() bool
- func (o *ListDeleteNotFound) IsServerError() bool
- func (o *ListDeleteNotFound) IsSuccess() bool
- func (o *ListDeleteNotFound) String() string
- type ListDeleteOK
- func (o *ListDeleteOK) Code() int
- func (o *ListDeleteOK) Error() string
- func (o *ListDeleteOK) IsClientError() bool
- func (o *ListDeleteOK) IsCode(code int) bool
- func (o *ListDeleteOK) IsRedirect() bool
- func (o *ListDeleteOK) IsServerError() bool
- func (o *ListDeleteOK) IsSuccess() bool
- func (o *ListDeleteOK) String() string
- type ListDeleteParams
- func (o *ListDeleteParams) SetContext(ctx context.Context)
- func (o *ListDeleteParams) SetDefaults()
- func (o *ListDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ListDeleteParams) SetID(id string)
- func (o *ListDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ListDeleteParams) WithContext(ctx context.Context) *ListDeleteParams
- func (o *ListDeleteParams) WithDefaults() *ListDeleteParams
- func (o *ListDeleteParams) WithHTTPClient(client *http.Client) *ListDeleteParams
- func (o *ListDeleteParams) WithID(id string) *ListDeleteParams
- func (o *ListDeleteParams) WithTimeout(timeout time.Duration) *ListDeleteParams
- func (o *ListDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDeleteReader
- type ListDeleteUnauthorized
- func (o *ListDeleteUnauthorized) Code() int
- func (o *ListDeleteUnauthorized) Error() string
- func (o *ListDeleteUnauthorized) IsClientError() bool
- func (o *ListDeleteUnauthorized) IsCode(code int) bool
- func (o *ListDeleteUnauthorized) IsRedirect() bool
- func (o *ListDeleteUnauthorized) IsServerError() bool
- func (o *ListDeleteUnauthorized) IsSuccess() bool
- func (o *ListDeleteUnauthorized) String() string
- type ListInternalServerError
- func (o *ListInternalServerError) Code() int
- func (o *ListInternalServerError) Error() string
- func (o *ListInternalServerError) IsClientError() bool
- func (o *ListInternalServerError) IsCode(code int) bool
- func (o *ListInternalServerError) IsRedirect() bool
- func (o *ListInternalServerError) IsServerError() bool
- func (o *ListInternalServerError) IsSuccess() bool
- func (o *ListInternalServerError) String() string
- type ListNotAcceptable
- func (o *ListNotAcceptable) Code() int
- func (o *ListNotAcceptable) Error() string
- func (o *ListNotAcceptable) IsClientError() bool
- func (o *ListNotAcceptable) IsCode(code int) bool
- func (o *ListNotAcceptable) IsRedirect() bool
- func (o *ListNotAcceptable) IsServerError() bool
- func (o *ListNotAcceptable) IsSuccess() bool
- func (o *ListNotAcceptable) String() string
- type ListNotFound
- func (o *ListNotFound) Code() int
- func (o *ListNotFound) Error() string
- func (o *ListNotFound) IsClientError() bool
- func (o *ListNotFound) IsCode(code int) bool
- func (o *ListNotFound) IsRedirect() bool
- func (o *ListNotFound) IsServerError() bool
- func (o *ListNotFound) IsSuccess() bool
- func (o *ListNotFound) String() string
- type ListOK
- func (o *ListOK) Code() int
- func (o *ListOK) Error() string
- func (o *ListOK) GetPayload() *models.List
- func (o *ListOK) IsClientError() bool
- func (o *ListOK) IsCode(code int) bool
- func (o *ListOK) IsRedirect() bool
- func (o *ListOK) IsServerError() bool
- func (o *ListOK) IsSuccess() bool
- func (o *ListOK) String() string
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetDefaults()
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetID(id string)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithDefaults() *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithID(id string) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReader
- type ListUnauthorized
- func (o *ListUnauthorized) Code() int
- func (o *ListUnauthorized) Error() string
- func (o *ListUnauthorized) IsClientError() bool
- func (o *ListUnauthorized) IsCode(code int) bool
- func (o *ListUnauthorized) IsRedirect() bool
- func (o *ListUnauthorized) IsServerError() bool
- func (o *ListUnauthorized) IsSuccess() bool
- func (o *ListUnauthorized) String() string
- type ListUpdateBadRequest
- func (o *ListUpdateBadRequest) Code() int
- func (o *ListUpdateBadRequest) Error() string
- func (o *ListUpdateBadRequest) IsClientError() bool
- func (o *ListUpdateBadRequest) IsCode(code int) bool
- func (o *ListUpdateBadRequest) IsRedirect() bool
- func (o *ListUpdateBadRequest) IsServerError() bool
- func (o *ListUpdateBadRequest) IsSuccess() bool
- func (o *ListUpdateBadRequest) String() string
- type ListUpdateForbidden
- func (o *ListUpdateForbidden) Code() int
- func (o *ListUpdateForbidden) Error() string
- func (o *ListUpdateForbidden) IsClientError() bool
- func (o *ListUpdateForbidden) IsCode(code int) bool
- func (o *ListUpdateForbidden) IsRedirect() bool
- func (o *ListUpdateForbidden) IsServerError() bool
- func (o *ListUpdateForbidden) IsSuccess() bool
- func (o *ListUpdateForbidden) String() string
- type ListUpdateInternalServerError
- func (o *ListUpdateInternalServerError) Code() int
- func (o *ListUpdateInternalServerError) Error() string
- func (o *ListUpdateInternalServerError) IsClientError() bool
- func (o *ListUpdateInternalServerError) IsCode(code int) bool
- func (o *ListUpdateInternalServerError) IsRedirect() bool
- func (o *ListUpdateInternalServerError) IsServerError() bool
- func (o *ListUpdateInternalServerError) IsSuccess() bool
- func (o *ListUpdateInternalServerError) String() string
- type ListUpdateNotAcceptable
- func (o *ListUpdateNotAcceptable) Code() int
- func (o *ListUpdateNotAcceptable) Error() string
- func (o *ListUpdateNotAcceptable) IsClientError() bool
- func (o *ListUpdateNotAcceptable) IsCode(code int) bool
- func (o *ListUpdateNotAcceptable) IsRedirect() bool
- func (o *ListUpdateNotAcceptable) IsServerError() bool
- func (o *ListUpdateNotAcceptable) IsSuccess() bool
- func (o *ListUpdateNotAcceptable) String() string
- type ListUpdateNotFound
- func (o *ListUpdateNotFound) Code() int
- func (o *ListUpdateNotFound) Error() string
- func (o *ListUpdateNotFound) IsClientError() bool
- func (o *ListUpdateNotFound) IsCode(code int) bool
- func (o *ListUpdateNotFound) IsRedirect() bool
- func (o *ListUpdateNotFound) IsServerError() bool
- func (o *ListUpdateNotFound) IsSuccess() bool
- func (o *ListUpdateNotFound) String() string
- type ListUpdateOK
- func (o *ListUpdateOK) Code() int
- func (o *ListUpdateOK) Error() string
- func (o *ListUpdateOK) GetPayload() *models.List
- func (o *ListUpdateOK) IsClientError() bool
- func (o *ListUpdateOK) IsCode(code int) bool
- func (o *ListUpdateOK) IsRedirect() bool
- func (o *ListUpdateOK) IsServerError() bool
- func (o *ListUpdateOK) IsSuccess() bool
- func (o *ListUpdateOK) String() string
- type ListUpdateParams
- func (o *ListUpdateParams) SetContext(ctx context.Context)
- func (o *ListUpdateParams) SetDefaults()
- func (o *ListUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ListUpdateParams) SetID(id string)
- func (o *ListUpdateParams) SetRepliesPolicy(repliesPolicy *string)
- func (o *ListUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ListUpdateParams) SetTitle(title *string)
- func (o *ListUpdateParams) WithContext(ctx context.Context) *ListUpdateParams
- func (o *ListUpdateParams) WithDefaults() *ListUpdateParams
- func (o *ListUpdateParams) WithHTTPClient(client *http.Client) *ListUpdateParams
- func (o *ListUpdateParams) WithID(id string) *ListUpdateParams
- func (o *ListUpdateParams) WithRepliesPolicy(repliesPolicy *string) *ListUpdateParams
- func (o *ListUpdateParams) WithTimeout(timeout time.Duration) *ListUpdateParams
- func (o *ListUpdateParams) WithTitle(title *string) *ListUpdateParams
- func (o *ListUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUpdateReader
- type ListUpdateUnauthorized
- func (o *ListUpdateUnauthorized) Code() int
- func (o *ListUpdateUnauthorized) Error() string
- func (o *ListUpdateUnauthorized) IsClientError() bool
- func (o *ListUpdateUnauthorized) IsCode(code int) bool
- func (o *ListUpdateUnauthorized) IsRedirect() bool
- func (o *ListUpdateUnauthorized) IsServerError() bool
- func (o *ListUpdateUnauthorized) IsSuccess() bool
- func (o *ListUpdateUnauthorized) String() string
- type ListsBadRequest
- func (o *ListsBadRequest) Code() int
- func (o *ListsBadRequest) Error() string
- func (o *ListsBadRequest) IsClientError() bool
- func (o *ListsBadRequest) IsCode(code int) bool
- func (o *ListsBadRequest) IsRedirect() bool
- func (o *ListsBadRequest) IsServerError() bool
- func (o *ListsBadRequest) IsSuccess() bool
- func (o *ListsBadRequest) String() string
- type ListsInternalServerError
- func (o *ListsInternalServerError) Code() int
- func (o *ListsInternalServerError) Error() string
- func (o *ListsInternalServerError) IsClientError() bool
- func (o *ListsInternalServerError) IsCode(code int) bool
- func (o *ListsInternalServerError) IsRedirect() bool
- func (o *ListsInternalServerError) IsServerError() bool
- func (o *ListsInternalServerError) IsSuccess() bool
- func (o *ListsInternalServerError) String() string
- type ListsNotAcceptable
- func (o *ListsNotAcceptable) Code() int
- func (o *ListsNotAcceptable) Error() string
- func (o *ListsNotAcceptable) IsClientError() bool
- func (o *ListsNotAcceptable) IsCode(code int) bool
- func (o *ListsNotAcceptable) IsRedirect() bool
- func (o *ListsNotAcceptable) IsServerError() bool
- func (o *ListsNotAcceptable) IsSuccess() bool
- func (o *ListsNotAcceptable) String() string
- type ListsNotFound
- func (o *ListsNotFound) Code() int
- func (o *ListsNotFound) Error() string
- func (o *ListsNotFound) IsClientError() bool
- func (o *ListsNotFound) IsCode(code int) bool
- func (o *ListsNotFound) IsRedirect() bool
- func (o *ListsNotFound) IsServerError() bool
- func (o *ListsNotFound) IsSuccess() bool
- func (o *ListsNotFound) String() string
- type ListsOK
- func (o *ListsOK) Code() int
- func (o *ListsOK) Error() string
- func (o *ListsOK) GetPayload() []*models.List
- func (o *ListsOK) IsClientError() bool
- func (o *ListsOK) IsCode(code int) bool
- func (o *ListsOK) IsRedirect() bool
- func (o *ListsOK) IsServerError() bool
- func (o *ListsOK) IsSuccess() bool
- func (o *ListsOK) String() string
- type ListsParams
- func (o *ListsParams) SetContext(ctx context.Context)
- func (o *ListsParams) SetDefaults()
- func (o *ListsParams) SetHTTPClient(client *http.Client)
- func (o *ListsParams) SetTimeout(timeout time.Duration)
- func (o *ListsParams) WithContext(ctx context.Context) *ListsParams
- func (o *ListsParams) WithDefaults() *ListsParams
- func (o *ListsParams) WithHTTPClient(client *http.Client) *ListsParams
- func (o *ListsParams) WithTimeout(timeout time.Duration) *ListsParams
- func (o *ListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListsReader
- type ListsUnauthorized
- func (o *ListsUnauthorized) Code() int
- func (o *ListsUnauthorized) Error() string
- func (o *ListsUnauthorized) IsClientError() bool
- func (o *ListsUnauthorized) IsCode(code int) bool
- func (o *ListsUnauthorized) IsRedirect() bool
- func (o *ListsUnauthorized) IsServerError() bool
- func (o *ListsUnauthorized) IsSuccess() bool
- func (o *ListsUnauthorized) String() string
- type RemoveListAccountsBadRequest
- func (o *RemoveListAccountsBadRequest) Code() int
- func (o *RemoveListAccountsBadRequest) Error() string
- func (o *RemoveListAccountsBadRequest) IsClientError() bool
- func (o *RemoveListAccountsBadRequest) IsCode(code int) bool
- func (o *RemoveListAccountsBadRequest) IsRedirect() bool
- func (o *RemoveListAccountsBadRequest) IsServerError() bool
- func (o *RemoveListAccountsBadRequest) IsSuccess() bool
- func (o *RemoveListAccountsBadRequest) String() string
- type RemoveListAccountsInternalServerError
- func (o *RemoveListAccountsInternalServerError) Code() int
- func (o *RemoveListAccountsInternalServerError) Error() string
- func (o *RemoveListAccountsInternalServerError) IsClientError() bool
- func (o *RemoveListAccountsInternalServerError) IsCode(code int) bool
- func (o *RemoveListAccountsInternalServerError) IsRedirect() bool
- func (o *RemoveListAccountsInternalServerError) IsServerError() bool
- func (o *RemoveListAccountsInternalServerError) IsSuccess() bool
- func (o *RemoveListAccountsInternalServerError) String() string
- type RemoveListAccountsNotAcceptable
- func (o *RemoveListAccountsNotAcceptable) Code() int
- func (o *RemoveListAccountsNotAcceptable) Error() string
- func (o *RemoveListAccountsNotAcceptable) IsClientError() bool
- func (o *RemoveListAccountsNotAcceptable) IsCode(code int) bool
- func (o *RemoveListAccountsNotAcceptable) IsRedirect() bool
- func (o *RemoveListAccountsNotAcceptable) IsServerError() bool
- func (o *RemoveListAccountsNotAcceptable) IsSuccess() bool
- func (o *RemoveListAccountsNotAcceptable) String() string
- type RemoveListAccountsNotFound
- func (o *RemoveListAccountsNotFound) Code() int
- func (o *RemoveListAccountsNotFound) Error() string
- func (o *RemoveListAccountsNotFound) IsClientError() bool
- func (o *RemoveListAccountsNotFound) IsCode(code int) bool
- func (o *RemoveListAccountsNotFound) IsRedirect() bool
- func (o *RemoveListAccountsNotFound) IsServerError() bool
- func (o *RemoveListAccountsNotFound) IsSuccess() bool
- func (o *RemoveListAccountsNotFound) String() string
- type RemoveListAccountsOK
- func (o *RemoveListAccountsOK) Code() int
- func (o *RemoveListAccountsOK) Error() string
- func (o *RemoveListAccountsOK) IsClientError() bool
- func (o *RemoveListAccountsOK) IsCode(code int) bool
- func (o *RemoveListAccountsOK) IsRedirect() bool
- func (o *RemoveListAccountsOK) IsServerError() bool
- func (o *RemoveListAccountsOK) IsSuccess() bool
- func (o *RemoveListAccountsOK) String() string
- type RemoveListAccountsParams
- func NewRemoveListAccountsParams() *RemoveListAccountsParams
- func NewRemoveListAccountsParamsWithContext(ctx context.Context) *RemoveListAccountsParams
- func NewRemoveListAccountsParamsWithHTTPClient(client *http.Client) *RemoveListAccountsParams
- func NewRemoveListAccountsParamsWithTimeout(timeout time.Duration) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) SetAccountIds(accountIds []string)
- func (o *RemoveListAccountsParams) SetContext(ctx context.Context)
- func (o *RemoveListAccountsParams) SetDefaults()
- func (o *RemoveListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *RemoveListAccountsParams) SetID(id string)
- func (o *RemoveListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *RemoveListAccountsParams) WithAccountIds(accountIds []string) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WithContext(ctx context.Context) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WithDefaults() *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WithHTTPClient(client *http.Client) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WithID(id string) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WithTimeout(timeout time.Duration) *RemoveListAccountsParams
- func (o *RemoveListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveListAccountsReader
- type RemoveListAccountsUnauthorized
- func (o *RemoveListAccountsUnauthorized) Code() int
- func (o *RemoveListAccountsUnauthorized) Error() string
- func (o *RemoveListAccountsUnauthorized) IsClientError() bool
- func (o *RemoveListAccountsUnauthorized) IsCode(code int) bool
- func (o *RemoveListAccountsUnauthorized) IsRedirect() bool
- func (o *RemoveListAccountsUnauthorized) IsServerError() bool
- func (o *RemoveListAccountsUnauthorized) IsSuccess() bool
- func (o *RemoveListAccountsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationXML ¶
func WithContentTypeApplicationXML(r *runtime.ClientOperation)
WithContentTypeApplicationXML sets the Content-Type header to "application/xml".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type AddListAccountsBadRequest ¶
type AddListAccountsBadRequest struct { }
AddListAccountsBadRequest describes a response with status code 400, with default header values.
bad request
func NewAddListAccountsBadRequest ¶
func NewAddListAccountsBadRequest() *AddListAccountsBadRequest
NewAddListAccountsBadRequest creates a AddListAccountsBadRequest with default headers values
func (*AddListAccountsBadRequest) Code ¶
func (o *AddListAccountsBadRequest) Code() int
Code gets the status code for the add list accounts bad request response
func (*AddListAccountsBadRequest) Error ¶
func (o *AddListAccountsBadRequest) Error() string
func (*AddListAccountsBadRequest) IsClientError ¶
func (o *AddListAccountsBadRequest) IsClientError() bool
IsClientError returns true when this add list accounts bad request response has a 4xx status code
func (*AddListAccountsBadRequest) IsCode ¶
func (o *AddListAccountsBadRequest) IsCode(code int) bool
IsCode returns true when this add list accounts bad request response a status code equal to that given
func (*AddListAccountsBadRequest) IsRedirect ¶
func (o *AddListAccountsBadRequest) IsRedirect() bool
IsRedirect returns true when this add list accounts bad request response has a 3xx status code
func (*AddListAccountsBadRequest) IsServerError ¶
func (o *AddListAccountsBadRequest) IsServerError() bool
IsServerError returns true when this add list accounts bad request response has a 5xx status code
func (*AddListAccountsBadRequest) IsSuccess ¶
func (o *AddListAccountsBadRequest) IsSuccess() bool
IsSuccess returns true when this add list accounts bad request response has a 2xx status code
func (*AddListAccountsBadRequest) String ¶
func (o *AddListAccountsBadRequest) String() string
type AddListAccountsInternalServerError ¶
type AddListAccountsInternalServerError struct { }
AddListAccountsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAddListAccountsInternalServerError ¶
func NewAddListAccountsInternalServerError() *AddListAccountsInternalServerError
NewAddListAccountsInternalServerError creates a AddListAccountsInternalServerError with default headers values
func (*AddListAccountsInternalServerError) Code ¶
func (o *AddListAccountsInternalServerError) Code() int
Code gets the status code for the add list accounts internal server error response
func (*AddListAccountsInternalServerError) Error ¶
func (o *AddListAccountsInternalServerError) Error() string
func (*AddListAccountsInternalServerError) IsClientError ¶
func (o *AddListAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this add list accounts internal server error response has a 4xx status code
func (*AddListAccountsInternalServerError) IsCode ¶
func (o *AddListAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this add list accounts internal server error response a status code equal to that given
func (*AddListAccountsInternalServerError) IsRedirect ¶
func (o *AddListAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this add list accounts internal server error response has a 3xx status code
func (*AddListAccountsInternalServerError) IsServerError ¶
func (o *AddListAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this add list accounts internal server error response has a 5xx status code
func (*AddListAccountsInternalServerError) IsSuccess ¶
func (o *AddListAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this add list accounts internal server error response has a 2xx status code
func (*AddListAccountsInternalServerError) String ¶
func (o *AddListAccountsInternalServerError) String() string
type AddListAccountsNotAcceptable ¶
type AddListAccountsNotAcceptable struct { }
AddListAccountsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAddListAccountsNotAcceptable ¶
func NewAddListAccountsNotAcceptable() *AddListAccountsNotAcceptable
NewAddListAccountsNotAcceptable creates a AddListAccountsNotAcceptable with default headers values
func (*AddListAccountsNotAcceptable) Code ¶
func (o *AddListAccountsNotAcceptable) Code() int
Code gets the status code for the add list accounts not acceptable response
func (*AddListAccountsNotAcceptable) Error ¶
func (o *AddListAccountsNotAcceptable) Error() string
func (*AddListAccountsNotAcceptable) IsClientError ¶
func (o *AddListAccountsNotAcceptable) IsClientError() bool
IsClientError returns true when this add list accounts not acceptable response has a 4xx status code
func (*AddListAccountsNotAcceptable) IsCode ¶
func (o *AddListAccountsNotAcceptable) IsCode(code int) bool
IsCode returns true when this add list accounts not acceptable response a status code equal to that given
func (*AddListAccountsNotAcceptable) IsRedirect ¶
func (o *AddListAccountsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this add list accounts not acceptable response has a 3xx status code
func (*AddListAccountsNotAcceptable) IsServerError ¶
func (o *AddListAccountsNotAcceptable) IsServerError() bool
IsServerError returns true when this add list accounts not acceptable response has a 5xx status code
func (*AddListAccountsNotAcceptable) IsSuccess ¶
func (o *AddListAccountsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this add list accounts not acceptable response has a 2xx status code
func (*AddListAccountsNotAcceptable) String ¶
func (o *AddListAccountsNotAcceptable) String() string
type AddListAccountsNotFound ¶
type AddListAccountsNotFound struct { }
AddListAccountsNotFound describes a response with status code 404, with default header values.
not found
func NewAddListAccountsNotFound ¶
func NewAddListAccountsNotFound() *AddListAccountsNotFound
NewAddListAccountsNotFound creates a AddListAccountsNotFound with default headers values
func (*AddListAccountsNotFound) Code ¶
func (o *AddListAccountsNotFound) Code() int
Code gets the status code for the add list accounts not found response
func (*AddListAccountsNotFound) Error ¶
func (o *AddListAccountsNotFound) Error() string
func (*AddListAccountsNotFound) IsClientError ¶
func (o *AddListAccountsNotFound) IsClientError() bool
IsClientError returns true when this add list accounts not found response has a 4xx status code
func (*AddListAccountsNotFound) IsCode ¶
func (o *AddListAccountsNotFound) IsCode(code int) bool
IsCode returns true when this add list accounts not found response a status code equal to that given
func (*AddListAccountsNotFound) IsRedirect ¶
func (o *AddListAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this add list accounts not found response has a 3xx status code
func (*AddListAccountsNotFound) IsServerError ¶
func (o *AddListAccountsNotFound) IsServerError() bool
IsServerError returns true when this add list accounts not found response has a 5xx status code
func (*AddListAccountsNotFound) IsSuccess ¶
func (o *AddListAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this add list accounts not found response has a 2xx status code
func (*AddListAccountsNotFound) String ¶
func (o *AddListAccountsNotFound) String() string
type AddListAccountsOK ¶
type AddListAccountsOK struct { }
AddListAccountsOK describes a response with status code 200, with default header values.
list accounts updated
func NewAddListAccountsOK ¶
func NewAddListAccountsOK() *AddListAccountsOK
NewAddListAccountsOK creates a AddListAccountsOK with default headers values
func (*AddListAccountsOK) Code ¶
func (o *AddListAccountsOK) Code() int
Code gets the status code for the add list accounts o k response
func (*AddListAccountsOK) Error ¶
func (o *AddListAccountsOK) Error() string
func (*AddListAccountsOK) IsClientError ¶
func (o *AddListAccountsOK) IsClientError() bool
IsClientError returns true when this add list accounts o k response has a 4xx status code
func (*AddListAccountsOK) IsCode ¶
func (o *AddListAccountsOK) IsCode(code int) bool
IsCode returns true when this add list accounts o k response a status code equal to that given
func (*AddListAccountsOK) IsRedirect ¶
func (o *AddListAccountsOK) IsRedirect() bool
IsRedirect returns true when this add list accounts o k response has a 3xx status code
func (*AddListAccountsOK) IsServerError ¶
func (o *AddListAccountsOK) IsServerError() bool
IsServerError returns true when this add list accounts o k response has a 5xx status code
func (*AddListAccountsOK) IsSuccess ¶
func (o *AddListAccountsOK) IsSuccess() bool
IsSuccess returns true when this add list accounts o k response has a 2xx status code
func (*AddListAccountsOK) String ¶
func (o *AddListAccountsOK) String() string
type AddListAccountsParams ¶
type AddListAccountsParams struct { /* AccountIds. Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows. */ AccountIds []string /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddListAccountsParams contains all the parameters to send to the API endpoint
for the add list accounts operation. Typically these are written to a http.Request.
func NewAddListAccountsParams ¶
func NewAddListAccountsParams() *AddListAccountsParams
NewAddListAccountsParams creates a new AddListAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddListAccountsParamsWithContext ¶
func NewAddListAccountsParamsWithContext(ctx context.Context) *AddListAccountsParams
NewAddListAccountsParamsWithContext creates a new AddListAccountsParams object with the ability to set a context for a request.
func NewAddListAccountsParamsWithHTTPClient ¶
func NewAddListAccountsParamsWithHTTPClient(client *http.Client) *AddListAccountsParams
NewAddListAccountsParamsWithHTTPClient creates a new AddListAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewAddListAccountsParamsWithTimeout ¶
func NewAddListAccountsParamsWithTimeout(timeout time.Duration) *AddListAccountsParams
NewAddListAccountsParamsWithTimeout creates a new AddListAccountsParams object with the ability to set a timeout on a request.
func (*AddListAccountsParams) SetAccountIds ¶
func (o *AddListAccountsParams) SetAccountIds(accountIds []string)
SetAccountIds adds the accountIds to the add list accounts params
func (*AddListAccountsParams) SetContext ¶
func (o *AddListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the add list accounts params
func (*AddListAccountsParams) SetDefaults ¶
func (o *AddListAccountsParams) SetDefaults()
SetDefaults hydrates default values in the add list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*AddListAccountsParams) SetHTTPClient ¶
func (o *AddListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add list accounts params
func (*AddListAccountsParams) SetID ¶
func (o *AddListAccountsParams) SetID(id string)
SetID adds the id to the add list accounts params
func (*AddListAccountsParams) SetTimeout ¶
func (o *AddListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add list accounts params
func (*AddListAccountsParams) WithAccountIds ¶
func (o *AddListAccountsParams) WithAccountIds(accountIds []string) *AddListAccountsParams
WithAccountIds adds the accountIds to the add list accounts params
func (*AddListAccountsParams) WithContext ¶
func (o *AddListAccountsParams) WithContext(ctx context.Context) *AddListAccountsParams
WithContext adds the context to the add list accounts params
func (*AddListAccountsParams) WithDefaults ¶
func (o *AddListAccountsParams) WithDefaults() *AddListAccountsParams
WithDefaults hydrates default values in the add list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*AddListAccountsParams) WithHTTPClient ¶
func (o *AddListAccountsParams) WithHTTPClient(client *http.Client) *AddListAccountsParams
WithHTTPClient adds the HTTPClient to the add list accounts params
func (*AddListAccountsParams) WithID ¶
func (o *AddListAccountsParams) WithID(id string) *AddListAccountsParams
WithID adds the id to the add list accounts params
func (*AddListAccountsParams) WithTimeout ¶
func (o *AddListAccountsParams) WithTimeout(timeout time.Duration) *AddListAccountsParams
WithTimeout adds the timeout to the add list accounts params
func (*AddListAccountsParams) WriteToRequest ¶
func (o *AddListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddListAccountsReader ¶
type AddListAccountsReader struct {
// contains filtered or unexported fields
}
AddListAccountsReader is a Reader for the AddListAccounts structure.
func (*AddListAccountsReader) ReadResponse ¶
func (o *AddListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddListAccountsUnauthorized ¶
type AddListAccountsUnauthorized struct { }
AddListAccountsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAddListAccountsUnauthorized ¶
func NewAddListAccountsUnauthorized() *AddListAccountsUnauthorized
NewAddListAccountsUnauthorized creates a AddListAccountsUnauthorized with default headers values
func (*AddListAccountsUnauthorized) Code ¶
func (o *AddListAccountsUnauthorized) Code() int
Code gets the status code for the add list accounts unauthorized response
func (*AddListAccountsUnauthorized) Error ¶
func (o *AddListAccountsUnauthorized) Error() string
func (*AddListAccountsUnauthorized) IsClientError ¶
func (o *AddListAccountsUnauthorized) IsClientError() bool
IsClientError returns true when this add list accounts unauthorized response has a 4xx status code
func (*AddListAccountsUnauthorized) IsCode ¶
func (o *AddListAccountsUnauthorized) IsCode(code int) bool
IsCode returns true when this add list accounts unauthorized response a status code equal to that given
func (*AddListAccountsUnauthorized) IsRedirect ¶
func (o *AddListAccountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this add list accounts unauthorized response has a 3xx status code
func (*AddListAccountsUnauthorized) IsServerError ¶
func (o *AddListAccountsUnauthorized) IsServerError() bool
IsServerError returns true when this add list accounts unauthorized response has a 5xx status code
func (*AddListAccountsUnauthorized) IsSuccess ¶
func (o *AddListAccountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this add list accounts unauthorized response has a 2xx status code
func (*AddListAccountsUnauthorized) String ¶
func (o *AddListAccountsUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for lists API
func (*Client) AddListAccounts ¶
func (a *Client) AddListAccounts(params *AddListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddListAccountsOK, error)
AddListAccounts adds one or more accounts to the given list
func (*Client) List ¶
func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error)
List gets a single list with the given ID
func (*Client) ListAccounts ¶
func (a *Client) ListAccounts(params *ListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountsOK, error)
ListAccounts pages through accounts in this list The returned Link header can be used to generate the previous and next queries when scrolling up or down a timeline.
Example:
``` <https://example.org/api/v1/list/01H0W619198FX7J54NF7EH1NG2/accounts?limit=20&max_id=01FC3GSQ8A3MMJ43BPZSGEG29M>; rel="next", <https://example.org/api/v1/list/01H0W619198FX7J54NF7EH1NG2/accounts?limit=20&min_id=01FC3KJW2GYXSDDRA6RWNDM46M>; rel="prev" ````
func (*Client) ListCreate ¶
func (a *Client) ListCreate(params *ListCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCreateOK, error)
ListCreate creates a new list
func (*Client) ListDelete ¶
func (a *Client) ListDelete(params *ListDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDeleteOK, error)
ListDelete deletes a single list with the given ID
func (*Client) ListUpdate ¶
func (a *Client) ListUpdate(params *ListUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUpdateOK, error)
ListUpdate updates an existing list
func (*Client) Lists ¶
func (a *Client) Lists(params *ListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListsOK, error)
Lists gets all lists for owned by authorized user
func (*Client) RemoveListAccounts ¶
func (a *Client) RemoveListAccounts(params *RemoveListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveListAccountsOK, error)
RemoveListAccounts removes one or more accounts from the given list
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface { AddListAccounts(params *AddListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddListAccountsOK, error) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error) ListAccounts(params *ListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAccountsOK, error) ListCreate(params *ListCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCreateOK, error) ListDelete(params *ListDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDeleteOK, error) ListUpdate(params *ListUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUpdateOK, error) Lists(params *ListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListsOK, error) RemoveListAccounts(params *RemoveListAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveListAccountsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new lists API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new lists API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new lists API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type ListAccountsBadRequest ¶
type ListAccountsBadRequest struct { }
ListAccountsBadRequest describes a response with status code 400, with default header values.
bad request
func NewListAccountsBadRequest ¶
func NewListAccountsBadRequest() *ListAccountsBadRequest
NewListAccountsBadRequest creates a ListAccountsBadRequest with default headers values
func (*ListAccountsBadRequest) Code ¶
func (o *ListAccountsBadRequest) Code() int
Code gets the status code for the list accounts bad request response
func (*ListAccountsBadRequest) Error ¶
func (o *ListAccountsBadRequest) Error() string
func (*ListAccountsBadRequest) IsClientError ¶
func (o *ListAccountsBadRequest) IsClientError() bool
IsClientError returns true when this list accounts bad request response has a 4xx status code
func (*ListAccountsBadRequest) IsCode ¶
func (o *ListAccountsBadRequest) IsCode(code int) bool
IsCode returns true when this list accounts bad request response a status code equal to that given
func (*ListAccountsBadRequest) IsRedirect ¶
func (o *ListAccountsBadRequest) IsRedirect() bool
IsRedirect returns true when this list accounts bad request response has a 3xx status code
func (*ListAccountsBadRequest) IsServerError ¶
func (o *ListAccountsBadRequest) IsServerError() bool
IsServerError returns true when this list accounts bad request response has a 5xx status code
func (*ListAccountsBadRequest) IsSuccess ¶
func (o *ListAccountsBadRequest) IsSuccess() bool
IsSuccess returns true when this list accounts bad request response has a 2xx status code
func (*ListAccountsBadRequest) String ¶
func (o *ListAccountsBadRequest) String() string
type ListAccountsInternalServerError ¶
type ListAccountsInternalServerError struct { }
ListAccountsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListAccountsInternalServerError ¶
func NewListAccountsInternalServerError() *ListAccountsInternalServerError
NewListAccountsInternalServerError creates a ListAccountsInternalServerError with default headers values
func (*ListAccountsInternalServerError) Code ¶
func (o *ListAccountsInternalServerError) Code() int
Code gets the status code for the list accounts internal server error response
func (*ListAccountsInternalServerError) Error ¶
func (o *ListAccountsInternalServerError) Error() string
func (*ListAccountsInternalServerError) IsClientError ¶
func (o *ListAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this list accounts internal server error response has a 4xx status code
func (*ListAccountsInternalServerError) IsCode ¶
func (o *ListAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this list accounts internal server error response a status code equal to that given
func (*ListAccountsInternalServerError) IsRedirect ¶
func (o *ListAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list accounts internal server error response has a 3xx status code
func (*ListAccountsInternalServerError) IsServerError ¶
func (o *ListAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this list accounts internal server error response has a 5xx status code
func (*ListAccountsInternalServerError) IsSuccess ¶
func (o *ListAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list accounts internal server error response has a 2xx status code
func (*ListAccountsInternalServerError) String ¶
func (o *ListAccountsInternalServerError) String() string
type ListAccountsNotAcceptable ¶
type ListAccountsNotAcceptable struct { }
ListAccountsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListAccountsNotAcceptable ¶
func NewListAccountsNotAcceptable() *ListAccountsNotAcceptable
NewListAccountsNotAcceptable creates a ListAccountsNotAcceptable with default headers values
func (*ListAccountsNotAcceptable) Code ¶
func (o *ListAccountsNotAcceptable) Code() int
Code gets the status code for the list accounts not acceptable response
func (*ListAccountsNotAcceptable) Error ¶
func (o *ListAccountsNotAcceptable) Error() string
func (*ListAccountsNotAcceptable) IsClientError ¶
func (o *ListAccountsNotAcceptable) IsClientError() bool
IsClientError returns true when this list accounts not acceptable response has a 4xx status code
func (*ListAccountsNotAcceptable) IsCode ¶
func (o *ListAccountsNotAcceptable) IsCode(code int) bool
IsCode returns true when this list accounts not acceptable response a status code equal to that given
func (*ListAccountsNotAcceptable) IsRedirect ¶
func (o *ListAccountsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this list accounts not acceptable response has a 3xx status code
func (*ListAccountsNotAcceptable) IsServerError ¶
func (o *ListAccountsNotAcceptable) IsServerError() bool
IsServerError returns true when this list accounts not acceptable response has a 5xx status code
func (*ListAccountsNotAcceptable) IsSuccess ¶
func (o *ListAccountsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this list accounts not acceptable response has a 2xx status code
func (*ListAccountsNotAcceptable) String ¶
func (o *ListAccountsNotAcceptable) String() string
type ListAccountsNotFound ¶
type ListAccountsNotFound struct { }
ListAccountsNotFound describes a response with status code 404, with default header values.
not found
func NewListAccountsNotFound ¶
func NewListAccountsNotFound() *ListAccountsNotFound
NewListAccountsNotFound creates a ListAccountsNotFound with default headers values
func (*ListAccountsNotFound) Code ¶
func (o *ListAccountsNotFound) Code() int
Code gets the status code for the list accounts not found response
func (*ListAccountsNotFound) Error ¶
func (o *ListAccountsNotFound) Error() string
func (*ListAccountsNotFound) IsClientError ¶
func (o *ListAccountsNotFound) IsClientError() bool
IsClientError returns true when this list accounts not found response has a 4xx status code
func (*ListAccountsNotFound) IsCode ¶
func (o *ListAccountsNotFound) IsCode(code int) bool
IsCode returns true when this list accounts not found response a status code equal to that given
func (*ListAccountsNotFound) IsRedirect ¶
func (o *ListAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this list accounts not found response has a 3xx status code
func (*ListAccountsNotFound) IsServerError ¶
func (o *ListAccountsNotFound) IsServerError() bool
IsServerError returns true when this list accounts not found response has a 5xx status code
func (*ListAccountsNotFound) IsSuccess ¶
func (o *ListAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this list accounts not found response has a 2xx status code
func (*ListAccountsNotFound) String ¶
func (o *ListAccountsNotFound) String() string
type ListAccountsOK ¶
type ListAccountsOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.Account }
ListAccountsOK describes a response with status code 200, with default header values.
Array of accounts.
func NewListAccountsOK ¶
func NewListAccountsOK() *ListAccountsOK
NewListAccountsOK creates a ListAccountsOK with default headers values
func (*ListAccountsOK) Code ¶
func (o *ListAccountsOK) Code() int
Code gets the status code for the list accounts o k response
func (*ListAccountsOK) Error ¶
func (o *ListAccountsOK) Error() string
func (*ListAccountsOK) GetPayload ¶
func (o *ListAccountsOK) GetPayload() []*models.Account
func (*ListAccountsOK) IsClientError ¶
func (o *ListAccountsOK) IsClientError() bool
IsClientError returns true when this list accounts o k response has a 4xx status code
func (*ListAccountsOK) IsCode ¶
func (o *ListAccountsOK) IsCode(code int) bool
IsCode returns true when this list accounts o k response a status code equal to that given
func (*ListAccountsOK) IsRedirect ¶
func (o *ListAccountsOK) IsRedirect() bool
IsRedirect returns true when this list accounts o k response has a 3xx status code
func (*ListAccountsOK) IsServerError ¶
func (o *ListAccountsOK) IsServerError() bool
IsServerError returns true when this list accounts o k response has a 5xx status code
func (*ListAccountsOK) IsSuccess ¶
func (o *ListAccountsOK) IsSuccess() bool
IsSuccess returns true when this list accounts o k response has a 2xx status code
func (*ListAccountsOK) String ¶
func (o *ListAccountsOK) String() string
type ListAccountsParams ¶
type ListAccountsParams struct { /* ID. ID of the list */ ID string /* Limit. Number of accounts to return. If set to 0 explicitly, all accounts in the list will be returned, and pagination headers will not be used. This is a workaround for Mastodon API peculiarities: https://docs.joinmastodon.org/methods/lists/#query-parameters. Default: 40 */ Limit *int64 /* MaxID. Return only list entries *OLDER* than the given max ID. The account from the list entry with the specified ID will not be included in the response. */ MaxID *string /* MinID. Return only list entries *IMMEDIATELY NEWER* than the given min ID. The account from the list entry with the specified ID will not be included in the response. */ MinID *string /* SinceID. Return only list entries *NEWER* than the given since ID. The account from the list entry with the specified ID will not be included in the response. */ SinceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAccountsParams contains all the parameters to send to the API endpoint
for the list accounts operation. Typically these are written to a http.Request.
func NewListAccountsParams ¶
func NewListAccountsParams() *ListAccountsParams
NewListAccountsParams creates a new ListAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListAccountsParamsWithContext ¶
func NewListAccountsParamsWithContext(ctx context.Context) *ListAccountsParams
NewListAccountsParamsWithContext creates a new ListAccountsParams object with the ability to set a context for a request.
func NewListAccountsParamsWithHTTPClient ¶
func NewListAccountsParamsWithHTTPClient(client *http.Client) *ListAccountsParams
NewListAccountsParamsWithHTTPClient creates a new ListAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewListAccountsParamsWithTimeout ¶
func NewListAccountsParamsWithTimeout(timeout time.Duration) *ListAccountsParams
NewListAccountsParamsWithTimeout creates a new ListAccountsParams object with the ability to set a timeout on a request.
func (*ListAccountsParams) SetContext ¶
func (o *ListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the list accounts params
func (*ListAccountsParams) SetDefaults ¶
func (o *ListAccountsParams) SetDefaults()
SetDefaults hydrates default values in the list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccountsParams) SetHTTPClient ¶
func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) SetID ¶
func (o *ListAccountsParams) SetID(id string)
SetID adds the id to the list accounts params
func (*ListAccountsParams) SetLimit ¶
func (o *ListAccountsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list accounts params
func (*ListAccountsParams) SetMaxID ¶
func (o *ListAccountsParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the list accounts params
func (*ListAccountsParams) SetMinID ¶
func (o *ListAccountsParams) SetMinID(minID *string)
SetMinID adds the minId to the list accounts params
func (*ListAccountsParams) SetSinceID ¶
func (o *ListAccountsParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the list accounts params
func (*ListAccountsParams) SetTimeout ¶
func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WithContext ¶
func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
WithContext adds the context to the list accounts params
func (*ListAccountsParams) WithDefaults ¶
func (o *ListAccountsParams) WithDefaults() *ListAccountsParams
WithDefaults hydrates default values in the list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*ListAccountsParams) WithHTTPClient ¶
func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
WithHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) WithID ¶
func (o *ListAccountsParams) WithID(id string) *ListAccountsParams
WithID adds the id to the list accounts params
func (*ListAccountsParams) WithLimit ¶
func (o *ListAccountsParams) WithLimit(limit *int64) *ListAccountsParams
WithLimit adds the limit to the list accounts params
func (*ListAccountsParams) WithMaxID ¶
func (o *ListAccountsParams) WithMaxID(maxID *string) *ListAccountsParams
WithMaxID adds the maxID to the list accounts params
func (*ListAccountsParams) WithMinID ¶
func (o *ListAccountsParams) WithMinID(minID *string) *ListAccountsParams
WithMinID adds the minID to the list accounts params
func (*ListAccountsParams) WithSinceID ¶
func (o *ListAccountsParams) WithSinceID(sinceID *string) *ListAccountsParams
WithSinceID adds the sinceID to the list accounts params
func (*ListAccountsParams) WithTimeout ¶
func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
WithTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WriteToRequest ¶
func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAccountsReader ¶
type ListAccountsReader struct {
// contains filtered or unexported fields
}
ListAccountsReader is a Reader for the ListAccounts structure.
func (*ListAccountsReader) ReadResponse ¶
func (o *ListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAccountsUnauthorized ¶
type ListAccountsUnauthorized struct { }
ListAccountsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListAccountsUnauthorized ¶
func NewListAccountsUnauthorized() *ListAccountsUnauthorized
NewListAccountsUnauthorized creates a ListAccountsUnauthorized with default headers values
func (*ListAccountsUnauthorized) Code ¶
func (o *ListAccountsUnauthorized) Code() int
Code gets the status code for the list accounts unauthorized response
func (*ListAccountsUnauthorized) Error ¶
func (o *ListAccountsUnauthorized) Error() string
func (*ListAccountsUnauthorized) IsClientError ¶
func (o *ListAccountsUnauthorized) IsClientError() bool
IsClientError returns true when this list accounts unauthorized response has a 4xx status code
func (*ListAccountsUnauthorized) IsCode ¶
func (o *ListAccountsUnauthorized) IsCode(code int) bool
IsCode returns true when this list accounts unauthorized response a status code equal to that given
func (*ListAccountsUnauthorized) IsRedirect ¶
func (o *ListAccountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list accounts unauthorized response has a 3xx status code
func (*ListAccountsUnauthorized) IsServerError ¶
func (o *ListAccountsUnauthorized) IsServerError() bool
IsServerError returns true when this list accounts unauthorized response has a 5xx status code
func (*ListAccountsUnauthorized) IsSuccess ¶
func (o *ListAccountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list accounts unauthorized response has a 2xx status code
func (*ListAccountsUnauthorized) String ¶
func (o *ListAccountsUnauthorized) String() string
type ListBadRequest ¶
type ListBadRequest struct { }
ListBadRequest describes a response with status code 400, with default header values.
bad request
func NewListBadRequest ¶
func NewListBadRequest() *ListBadRequest
NewListBadRequest creates a ListBadRequest with default headers values
func (*ListBadRequest) Code ¶
func (o *ListBadRequest) Code() int
Code gets the status code for the list bad request response
func (*ListBadRequest) Error ¶
func (o *ListBadRequest) Error() string
func (*ListBadRequest) IsClientError ¶
func (o *ListBadRequest) IsClientError() bool
IsClientError returns true when this list bad request response has a 4xx status code
func (*ListBadRequest) IsCode ¶
func (o *ListBadRequest) IsCode(code int) bool
IsCode returns true when this list bad request response a status code equal to that given
func (*ListBadRequest) IsRedirect ¶
func (o *ListBadRequest) IsRedirect() bool
IsRedirect returns true when this list bad request response has a 3xx status code
func (*ListBadRequest) IsServerError ¶
func (o *ListBadRequest) IsServerError() bool
IsServerError returns true when this list bad request response has a 5xx status code
func (*ListBadRequest) IsSuccess ¶
func (o *ListBadRequest) IsSuccess() bool
IsSuccess returns true when this list bad request response has a 2xx status code
func (*ListBadRequest) String ¶
func (o *ListBadRequest) String() string
type ListCreateBadRequest ¶
type ListCreateBadRequest struct { }
ListCreateBadRequest describes a response with status code 400, with default header values.
bad request
func NewListCreateBadRequest ¶
func NewListCreateBadRequest() *ListCreateBadRequest
NewListCreateBadRequest creates a ListCreateBadRequest with default headers values
func (*ListCreateBadRequest) Code ¶
func (o *ListCreateBadRequest) Code() int
Code gets the status code for the list create bad request response
func (*ListCreateBadRequest) Error ¶
func (o *ListCreateBadRequest) Error() string
func (*ListCreateBadRequest) IsClientError ¶
func (o *ListCreateBadRequest) IsClientError() bool
IsClientError returns true when this list create bad request response has a 4xx status code
func (*ListCreateBadRequest) IsCode ¶
func (o *ListCreateBadRequest) IsCode(code int) bool
IsCode returns true when this list create bad request response a status code equal to that given
func (*ListCreateBadRequest) IsRedirect ¶
func (o *ListCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this list create bad request response has a 3xx status code
func (*ListCreateBadRequest) IsServerError ¶
func (o *ListCreateBadRequest) IsServerError() bool
IsServerError returns true when this list create bad request response has a 5xx status code
func (*ListCreateBadRequest) IsSuccess ¶
func (o *ListCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this list create bad request response has a 2xx status code
func (*ListCreateBadRequest) String ¶
func (o *ListCreateBadRequest) String() string
type ListCreateForbidden ¶
type ListCreateForbidden struct { }
ListCreateForbidden describes a response with status code 403, with default header values.
forbidden
func NewListCreateForbidden ¶
func NewListCreateForbidden() *ListCreateForbidden
NewListCreateForbidden creates a ListCreateForbidden with default headers values
func (*ListCreateForbidden) Code ¶
func (o *ListCreateForbidden) Code() int
Code gets the status code for the list create forbidden response
func (*ListCreateForbidden) Error ¶
func (o *ListCreateForbidden) Error() string
func (*ListCreateForbidden) IsClientError ¶
func (o *ListCreateForbidden) IsClientError() bool
IsClientError returns true when this list create forbidden response has a 4xx status code
func (*ListCreateForbidden) IsCode ¶
func (o *ListCreateForbidden) IsCode(code int) bool
IsCode returns true when this list create forbidden response a status code equal to that given
func (*ListCreateForbidden) IsRedirect ¶
func (o *ListCreateForbidden) IsRedirect() bool
IsRedirect returns true when this list create forbidden response has a 3xx status code
func (*ListCreateForbidden) IsServerError ¶
func (o *ListCreateForbidden) IsServerError() bool
IsServerError returns true when this list create forbidden response has a 5xx status code
func (*ListCreateForbidden) IsSuccess ¶
func (o *ListCreateForbidden) IsSuccess() bool
IsSuccess returns true when this list create forbidden response has a 2xx status code
func (*ListCreateForbidden) String ¶
func (o *ListCreateForbidden) String() string
type ListCreateInternalServerError ¶
type ListCreateInternalServerError struct { }
ListCreateInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListCreateInternalServerError ¶
func NewListCreateInternalServerError() *ListCreateInternalServerError
NewListCreateInternalServerError creates a ListCreateInternalServerError with default headers values
func (*ListCreateInternalServerError) Code ¶
func (o *ListCreateInternalServerError) Code() int
Code gets the status code for the list create internal server error response
func (*ListCreateInternalServerError) Error ¶
func (o *ListCreateInternalServerError) Error() string
func (*ListCreateInternalServerError) IsClientError ¶
func (o *ListCreateInternalServerError) IsClientError() bool
IsClientError returns true when this list create internal server error response has a 4xx status code
func (*ListCreateInternalServerError) IsCode ¶
func (o *ListCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this list create internal server error response a status code equal to that given
func (*ListCreateInternalServerError) IsRedirect ¶
func (o *ListCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this list create internal server error response has a 3xx status code
func (*ListCreateInternalServerError) IsServerError ¶
func (o *ListCreateInternalServerError) IsServerError() bool
IsServerError returns true when this list create internal server error response has a 5xx status code
func (*ListCreateInternalServerError) IsSuccess ¶
func (o *ListCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this list create internal server error response has a 2xx status code
func (*ListCreateInternalServerError) String ¶
func (o *ListCreateInternalServerError) String() string
type ListCreateNotAcceptable ¶
type ListCreateNotAcceptable struct { }
ListCreateNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListCreateNotAcceptable ¶
func NewListCreateNotAcceptable() *ListCreateNotAcceptable
NewListCreateNotAcceptable creates a ListCreateNotAcceptable with default headers values
func (*ListCreateNotAcceptable) Code ¶
func (o *ListCreateNotAcceptable) Code() int
Code gets the status code for the list create not acceptable response
func (*ListCreateNotAcceptable) Error ¶
func (o *ListCreateNotAcceptable) Error() string
func (*ListCreateNotAcceptable) IsClientError ¶
func (o *ListCreateNotAcceptable) IsClientError() bool
IsClientError returns true when this list create not acceptable response has a 4xx status code
func (*ListCreateNotAcceptable) IsCode ¶
func (o *ListCreateNotAcceptable) IsCode(code int) bool
IsCode returns true when this list create not acceptable response a status code equal to that given
func (*ListCreateNotAcceptable) IsRedirect ¶
func (o *ListCreateNotAcceptable) IsRedirect() bool
IsRedirect returns true when this list create not acceptable response has a 3xx status code
func (*ListCreateNotAcceptable) IsServerError ¶
func (o *ListCreateNotAcceptable) IsServerError() bool
IsServerError returns true when this list create not acceptable response has a 5xx status code
func (*ListCreateNotAcceptable) IsSuccess ¶
func (o *ListCreateNotAcceptable) IsSuccess() bool
IsSuccess returns true when this list create not acceptable response has a 2xx status code
func (*ListCreateNotAcceptable) String ¶
func (o *ListCreateNotAcceptable) String() string
type ListCreateNotFound ¶
type ListCreateNotFound struct { }
ListCreateNotFound describes a response with status code 404, with default header values.
not found
func NewListCreateNotFound ¶
func NewListCreateNotFound() *ListCreateNotFound
NewListCreateNotFound creates a ListCreateNotFound with default headers values
func (*ListCreateNotFound) Code ¶
func (o *ListCreateNotFound) Code() int
Code gets the status code for the list create not found response
func (*ListCreateNotFound) Error ¶
func (o *ListCreateNotFound) Error() string
func (*ListCreateNotFound) IsClientError ¶
func (o *ListCreateNotFound) IsClientError() bool
IsClientError returns true when this list create not found response has a 4xx status code
func (*ListCreateNotFound) IsCode ¶
func (o *ListCreateNotFound) IsCode(code int) bool
IsCode returns true when this list create not found response a status code equal to that given
func (*ListCreateNotFound) IsRedirect ¶
func (o *ListCreateNotFound) IsRedirect() bool
IsRedirect returns true when this list create not found response has a 3xx status code
func (*ListCreateNotFound) IsServerError ¶
func (o *ListCreateNotFound) IsServerError() bool
IsServerError returns true when this list create not found response has a 5xx status code
func (*ListCreateNotFound) IsSuccess ¶
func (o *ListCreateNotFound) IsSuccess() bool
IsSuccess returns true when this list create not found response has a 2xx status code
func (*ListCreateNotFound) String ¶
func (o *ListCreateNotFound) String() string
type ListCreateOK ¶
ListCreateOK describes a response with status code 200, with default header values.
The newly created list.
func NewListCreateOK ¶
func NewListCreateOK() *ListCreateOK
NewListCreateOK creates a ListCreateOK with default headers values
func (*ListCreateOK) Code ¶
func (o *ListCreateOK) Code() int
Code gets the status code for the list create o k response
func (*ListCreateOK) Error ¶
func (o *ListCreateOK) Error() string
func (*ListCreateOK) GetPayload ¶
func (o *ListCreateOK) GetPayload() *models.List
func (*ListCreateOK) IsClientError ¶
func (o *ListCreateOK) IsClientError() bool
IsClientError returns true when this list create o k response has a 4xx status code
func (*ListCreateOK) IsCode ¶
func (o *ListCreateOK) IsCode(code int) bool
IsCode returns true when this list create o k response a status code equal to that given
func (*ListCreateOK) IsRedirect ¶
func (o *ListCreateOK) IsRedirect() bool
IsRedirect returns true when this list create o k response has a 3xx status code
func (*ListCreateOK) IsServerError ¶
func (o *ListCreateOK) IsServerError() bool
IsServerError returns true when this list create o k response has a 5xx status code
func (*ListCreateOK) IsSuccess ¶
func (o *ListCreateOK) IsSuccess() bool
IsSuccess returns true when this list create o k response has a 2xx status code
func (*ListCreateOK) String ¶
func (o *ListCreateOK) String() string
type ListCreateParams ¶
type ListCreateParams struct { /* RepliesPolicy. RepliesPolicy for this list. followed = Show replies to any followed user list = Show replies to members of the list none = Show replies to no one Sample: list Default: "list" */ RepliesPolicy *string /* Title. Title of this list. Sample: Cool People */ Title string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCreateParams contains all the parameters to send to the API endpoint
for the list create operation. Typically these are written to a http.Request.
func NewListCreateParams ¶
func NewListCreateParams() *ListCreateParams
NewListCreateParams creates a new ListCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListCreateParamsWithContext ¶
func NewListCreateParamsWithContext(ctx context.Context) *ListCreateParams
NewListCreateParamsWithContext creates a new ListCreateParams object with the ability to set a context for a request.
func NewListCreateParamsWithHTTPClient ¶
func NewListCreateParamsWithHTTPClient(client *http.Client) *ListCreateParams
NewListCreateParamsWithHTTPClient creates a new ListCreateParams object with the ability to set a custom HTTPClient for a request.
func NewListCreateParamsWithTimeout ¶
func NewListCreateParamsWithTimeout(timeout time.Duration) *ListCreateParams
NewListCreateParamsWithTimeout creates a new ListCreateParams object with the ability to set a timeout on a request.
func (*ListCreateParams) SetContext ¶
func (o *ListCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the list create params
func (*ListCreateParams) SetDefaults ¶
func (o *ListCreateParams) SetDefaults()
SetDefaults hydrates default values in the list create params (not the query body).
All values with no default are reset to their zero value.
func (*ListCreateParams) SetHTTPClient ¶
func (o *ListCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list create params
func (*ListCreateParams) SetRepliesPolicy ¶
func (o *ListCreateParams) SetRepliesPolicy(repliesPolicy *string)
SetRepliesPolicy adds the repliesPolicy to the list create params
func (*ListCreateParams) SetTimeout ¶
func (o *ListCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list create params
func (*ListCreateParams) SetTitle ¶
func (o *ListCreateParams) SetTitle(title string)
SetTitle adds the title to the list create params
func (*ListCreateParams) WithContext ¶
func (o *ListCreateParams) WithContext(ctx context.Context) *ListCreateParams
WithContext adds the context to the list create params
func (*ListCreateParams) WithDefaults ¶
func (o *ListCreateParams) WithDefaults() *ListCreateParams
WithDefaults hydrates default values in the list create params (not the query body).
All values with no default are reset to their zero value.
func (*ListCreateParams) WithHTTPClient ¶
func (o *ListCreateParams) WithHTTPClient(client *http.Client) *ListCreateParams
WithHTTPClient adds the HTTPClient to the list create params
func (*ListCreateParams) WithRepliesPolicy ¶
func (o *ListCreateParams) WithRepliesPolicy(repliesPolicy *string) *ListCreateParams
WithRepliesPolicy adds the repliesPolicy to the list create params
func (*ListCreateParams) WithTimeout ¶
func (o *ListCreateParams) WithTimeout(timeout time.Duration) *ListCreateParams
WithTimeout adds the timeout to the list create params
func (*ListCreateParams) WithTitle ¶
func (o *ListCreateParams) WithTitle(title string) *ListCreateParams
WithTitle adds the title to the list create params
func (*ListCreateParams) WriteToRequest ¶
func (o *ListCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCreateReader ¶
type ListCreateReader struct {
// contains filtered or unexported fields
}
ListCreateReader is a Reader for the ListCreate structure.
func (*ListCreateReader) ReadResponse ¶
func (o *ListCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCreateUnauthorized ¶
type ListCreateUnauthorized struct { }
ListCreateUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListCreateUnauthorized ¶
func NewListCreateUnauthorized() *ListCreateUnauthorized
NewListCreateUnauthorized creates a ListCreateUnauthorized with default headers values
func (*ListCreateUnauthorized) Code ¶
func (o *ListCreateUnauthorized) Code() int
Code gets the status code for the list create unauthorized response
func (*ListCreateUnauthorized) Error ¶
func (o *ListCreateUnauthorized) Error() string
func (*ListCreateUnauthorized) IsClientError ¶
func (o *ListCreateUnauthorized) IsClientError() bool
IsClientError returns true when this list create unauthorized response has a 4xx status code
func (*ListCreateUnauthorized) IsCode ¶
func (o *ListCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this list create unauthorized response a status code equal to that given
func (*ListCreateUnauthorized) IsRedirect ¶
func (o *ListCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this list create unauthorized response has a 3xx status code
func (*ListCreateUnauthorized) IsServerError ¶
func (o *ListCreateUnauthorized) IsServerError() bool
IsServerError returns true when this list create unauthorized response has a 5xx status code
func (*ListCreateUnauthorized) IsSuccess ¶
func (o *ListCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this list create unauthorized response has a 2xx status code
func (*ListCreateUnauthorized) String ¶
func (o *ListCreateUnauthorized) String() string
type ListDeleteBadRequest ¶
type ListDeleteBadRequest struct { }
ListDeleteBadRequest describes a response with status code 400, with default header values.
bad request
func NewListDeleteBadRequest ¶
func NewListDeleteBadRequest() *ListDeleteBadRequest
NewListDeleteBadRequest creates a ListDeleteBadRequest with default headers values
func (*ListDeleteBadRequest) Code ¶
func (o *ListDeleteBadRequest) Code() int
Code gets the status code for the list delete bad request response
func (*ListDeleteBadRequest) Error ¶
func (o *ListDeleteBadRequest) Error() string
func (*ListDeleteBadRequest) IsClientError ¶
func (o *ListDeleteBadRequest) IsClientError() bool
IsClientError returns true when this list delete bad request response has a 4xx status code
func (*ListDeleteBadRequest) IsCode ¶
func (o *ListDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this list delete bad request response a status code equal to that given
func (*ListDeleteBadRequest) IsRedirect ¶
func (o *ListDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this list delete bad request response has a 3xx status code
func (*ListDeleteBadRequest) IsServerError ¶
func (o *ListDeleteBadRequest) IsServerError() bool
IsServerError returns true when this list delete bad request response has a 5xx status code
func (*ListDeleteBadRequest) IsSuccess ¶
func (o *ListDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this list delete bad request response has a 2xx status code
func (*ListDeleteBadRequest) String ¶
func (o *ListDeleteBadRequest) String() string
type ListDeleteInternalServerError ¶
type ListDeleteInternalServerError struct { }
ListDeleteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListDeleteInternalServerError ¶
func NewListDeleteInternalServerError() *ListDeleteInternalServerError
NewListDeleteInternalServerError creates a ListDeleteInternalServerError with default headers values
func (*ListDeleteInternalServerError) Code ¶
func (o *ListDeleteInternalServerError) Code() int
Code gets the status code for the list delete internal server error response
func (*ListDeleteInternalServerError) Error ¶
func (o *ListDeleteInternalServerError) Error() string
func (*ListDeleteInternalServerError) IsClientError ¶
func (o *ListDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this list delete internal server error response has a 4xx status code
func (*ListDeleteInternalServerError) IsCode ¶
func (o *ListDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this list delete internal server error response a status code equal to that given
func (*ListDeleteInternalServerError) IsRedirect ¶
func (o *ListDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this list delete internal server error response has a 3xx status code
func (*ListDeleteInternalServerError) IsServerError ¶
func (o *ListDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this list delete internal server error response has a 5xx status code
func (*ListDeleteInternalServerError) IsSuccess ¶
func (o *ListDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this list delete internal server error response has a 2xx status code
func (*ListDeleteInternalServerError) String ¶
func (o *ListDeleteInternalServerError) String() string
type ListDeleteNotAcceptable ¶
type ListDeleteNotAcceptable struct { }
ListDeleteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListDeleteNotAcceptable ¶
func NewListDeleteNotAcceptable() *ListDeleteNotAcceptable
NewListDeleteNotAcceptable creates a ListDeleteNotAcceptable with default headers values
func (*ListDeleteNotAcceptable) Code ¶
func (o *ListDeleteNotAcceptable) Code() int
Code gets the status code for the list delete not acceptable response
func (*ListDeleteNotAcceptable) Error ¶
func (o *ListDeleteNotAcceptable) Error() string
func (*ListDeleteNotAcceptable) IsClientError ¶
func (o *ListDeleteNotAcceptable) IsClientError() bool
IsClientError returns true when this list delete not acceptable response has a 4xx status code
func (*ListDeleteNotAcceptable) IsCode ¶
func (o *ListDeleteNotAcceptable) IsCode(code int) bool
IsCode returns true when this list delete not acceptable response a status code equal to that given
func (*ListDeleteNotAcceptable) IsRedirect ¶
func (o *ListDeleteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this list delete not acceptable response has a 3xx status code
func (*ListDeleteNotAcceptable) IsServerError ¶
func (o *ListDeleteNotAcceptable) IsServerError() bool
IsServerError returns true when this list delete not acceptable response has a 5xx status code
func (*ListDeleteNotAcceptable) IsSuccess ¶
func (o *ListDeleteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this list delete not acceptable response has a 2xx status code
func (*ListDeleteNotAcceptable) String ¶
func (o *ListDeleteNotAcceptable) String() string
type ListDeleteNotFound ¶
type ListDeleteNotFound struct { }
ListDeleteNotFound describes a response with status code 404, with default header values.
not found
func NewListDeleteNotFound ¶
func NewListDeleteNotFound() *ListDeleteNotFound
NewListDeleteNotFound creates a ListDeleteNotFound with default headers values
func (*ListDeleteNotFound) Code ¶
func (o *ListDeleteNotFound) Code() int
Code gets the status code for the list delete not found response
func (*ListDeleteNotFound) Error ¶
func (o *ListDeleteNotFound) Error() string
func (*ListDeleteNotFound) IsClientError ¶
func (o *ListDeleteNotFound) IsClientError() bool
IsClientError returns true when this list delete not found response has a 4xx status code
func (*ListDeleteNotFound) IsCode ¶
func (o *ListDeleteNotFound) IsCode(code int) bool
IsCode returns true when this list delete not found response a status code equal to that given
func (*ListDeleteNotFound) IsRedirect ¶
func (o *ListDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this list delete not found response has a 3xx status code
func (*ListDeleteNotFound) IsServerError ¶
func (o *ListDeleteNotFound) IsServerError() bool
IsServerError returns true when this list delete not found response has a 5xx status code
func (*ListDeleteNotFound) IsSuccess ¶
func (o *ListDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this list delete not found response has a 2xx status code
func (*ListDeleteNotFound) String ¶
func (o *ListDeleteNotFound) String() string
type ListDeleteOK ¶
type ListDeleteOK struct { }
ListDeleteOK describes a response with status code 200, with default header values.
list deleted
func NewListDeleteOK ¶
func NewListDeleteOK() *ListDeleteOK
NewListDeleteOK creates a ListDeleteOK with default headers values
func (*ListDeleteOK) Code ¶
func (o *ListDeleteOK) Code() int
Code gets the status code for the list delete o k response
func (*ListDeleteOK) Error ¶
func (o *ListDeleteOK) Error() string
func (*ListDeleteOK) IsClientError ¶
func (o *ListDeleteOK) IsClientError() bool
IsClientError returns true when this list delete o k response has a 4xx status code
func (*ListDeleteOK) IsCode ¶
func (o *ListDeleteOK) IsCode(code int) bool
IsCode returns true when this list delete o k response a status code equal to that given
func (*ListDeleteOK) IsRedirect ¶
func (o *ListDeleteOK) IsRedirect() bool
IsRedirect returns true when this list delete o k response has a 3xx status code
func (*ListDeleteOK) IsServerError ¶
func (o *ListDeleteOK) IsServerError() bool
IsServerError returns true when this list delete o k response has a 5xx status code
func (*ListDeleteOK) IsSuccess ¶
func (o *ListDeleteOK) IsSuccess() bool
IsSuccess returns true when this list delete o k response has a 2xx status code
func (*ListDeleteOK) String ¶
func (o *ListDeleteOK) String() string
type ListDeleteParams ¶
type ListDeleteParams struct { /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDeleteParams contains all the parameters to send to the API endpoint
for the list delete operation. Typically these are written to a http.Request.
func NewListDeleteParams ¶
func NewListDeleteParams() *ListDeleteParams
NewListDeleteParams creates a new ListDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDeleteParamsWithContext ¶
func NewListDeleteParamsWithContext(ctx context.Context) *ListDeleteParams
NewListDeleteParamsWithContext creates a new ListDeleteParams object with the ability to set a context for a request.
func NewListDeleteParamsWithHTTPClient ¶
func NewListDeleteParamsWithHTTPClient(client *http.Client) *ListDeleteParams
NewListDeleteParamsWithHTTPClient creates a new ListDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewListDeleteParamsWithTimeout ¶
func NewListDeleteParamsWithTimeout(timeout time.Duration) *ListDeleteParams
NewListDeleteParamsWithTimeout creates a new ListDeleteParams object with the ability to set a timeout on a request.
func (*ListDeleteParams) SetContext ¶
func (o *ListDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the list delete params
func (*ListDeleteParams) SetDefaults ¶
func (o *ListDeleteParams) SetDefaults()
SetDefaults hydrates default values in the list delete params (not the query body).
All values with no default are reset to their zero value.
func (*ListDeleteParams) SetHTTPClient ¶
func (o *ListDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list delete params
func (*ListDeleteParams) SetID ¶
func (o *ListDeleteParams) SetID(id string)
SetID adds the id to the list delete params
func (*ListDeleteParams) SetTimeout ¶
func (o *ListDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list delete params
func (*ListDeleteParams) WithContext ¶
func (o *ListDeleteParams) WithContext(ctx context.Context) *ListDeleteParams
WithContext adds the context to the list delete params
func (*ListDeleteParams) WithDefaults ¶
func (o *ListDeleteParams) WithDefaults() *ListDeleteParams
WithDefaults hydrates default values in the list delete params (not the query body).
All values with no default are reset to their zero value.
func (*ListDeleteParams) WithHTTPClient ¶
func (o *ListDeleteParams) WithHTTPClient(client *http.Client) *ListDeleteParams
WithHTTPClient adds the HTTPClient to the list delete params
func (*ListDeleteParams) WithID ¶
func (o *ListDeleteParams) WithID(id string) *ListDeleteParams
WithID adds the id to the list delete params
func (*ListDeleteParams) WithTimeout ¶
func (o *ListDeleteParams) WithTimeout(timeout time.Duration) *ListDeleteParams
WithTimeout adds the timeout to the list delete params
func (*ListDeleteParams) WriteToRequest ¶
func (o *ListDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDeleteReader ¶
type ListDeleteReader struct {
// contains filtered or unexported fields
}
ListDeleteReader is a Reader for the ListDelete structure.
func (*ListDeleteReader) ReadResponse ¶
func (o *ListDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDeleteUnauthorized ¶
type ListDeleteUnauthorized struct { }
ListDeleteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListDeleteUnauthorized ¶
func NewListDeleteUnauthorized() *ListDeleteUnauthorized
NewListDeleteUnauthorized creates a ListDeleteUnauthorized with default headers values
func (*ListDeleteUnauthorized) Code ¶
func (o *ListDeleteUnauthorized) Code() int
Code gets the status code for the list delete unauthorized response
func (*ListDeleteUnauthorized) Error ¶
func (o *ListDeleteUnauthorized) Error() string
func (*ListDeleteUnauthorized) IsClientError ¶
func (o *ListDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this list delete unauthorized response has a 4xx status code
func (*ListDeleteUnauthorized) IsCode ¶
func (o *ListDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this list delete unauthorized response a status code equal to that given
func (*ListDeleteUnauthorized) IsRedirect ¶
func (o *ListDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this list delete unauthorized response has a 3xx status code
func (*ListDeleteUnauthorized) IsServerError ¶
func (o *ListDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this list delete unauthorized response has a 5xx status code
func (*ListDeleteUnauthorized) IsSuccess ¶
func (o *ListDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this list delete unauthorized response has a 2xx status code
func (*ListDeleteUnauthorized) String ¶
func (o *ListDeleteUnauthorized) String() string
type ListInternalServerError ¶
type ListInternalServerError struct { }
ListInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListInternalServerError ¶
func NewListInternalServerError() *ListInternalServerError
NewListInternalServerError creates a ListInternalServerError with default headers values
func (*ListInternalServerError) Code ¶
func (o *ListInternalServerError) Code() int
Code gets the status code for the list internal server error response
func (*ListInternalServerError) Error ¶
func (o *ListInternalServerError) Error() string
func (*ListInternalServerError) IsClientError ¶
func (o *ListInternalServerError) IsClientError() bool
IsClientError returns true when this list internal server error response has a 4xx status code
func (*ListInternalServerError) IsCode ¶
func (o *ListInternalServerError) IsCode(code int) bool
IsCode returns true when this list internal server error response a status code equal to that given
func (*ListInternalServerError) IsRedirect ¶
func (o *ListInternalServerError) IsRedirect() bool
IsRedirect returns true when this list internal server error response has a 3xx status code
func (*ListInternalServerError) IsServerError ¶
func (o *ListInternalServerError) IsServerError() bool
IsServerError returns true when this list internal server error response has a 5xx status code
func (*ListInternalServerError) IsSuccess ¶
func (o *ListInternalServerError) IsSuccess() bool
IsSuccess returns true when this list internal server error response has a 2xx status code
func (*ListInternalServerError) String ¶
func (o *ListInternalServerError) String() string
type ListNotAcceptable ¶
type ListNotAcceptable struct { }
ListNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListNotAcceptable ¶
func NewListNotAcceptable() *ListNotAcceptable
NewListNotAcceptable creates a ListNotAcceptable with default headers values
func (*ListNotAcceptable) Code ¶
func (o *ListNotAcceptable) Code() int
Code gets the status code for the list not acceptable response
func (*ListNotAcceptable) Error ¶
func (o *ListNotAcceptable) Error() string
func (*ListNotAcceptable) IsClientError ¶
func (o *ListNotAcceptable) IsClientError() bool
IsClientError returns true when this list not acceptable response has a 4xx status code
func (*ListNotAcceptable) IsCode ¶
func (o *ListNotAcceptable) IsCode(code int) bool
IsCode returns true when this list not acceptable response a status code equal to that given
func (*ListNotAcceptable) IsRedirect ¶
func (o *ListNotAcceptable) IsRedirect() bool
IsRedirect returns true when this list not acceptable response has a 3xx status code
func (*ListNotAcceptable) IsServerError ¶
func (o *ListNotAcceptable) IsServerError() bool
IsServerError returns true when this list not acceptable response has a 5xx status code
func (*ListNotAcceptable) IsSuccess ¶
func (o *ListNotAcceptable) IsSuccess() bool
IsSuccess returns true when this list not acceptable response has a 2xx status code
func (*ListNotAcceptable) String ¶
func (o *ListNotAcceptable) String() string
type ListNotFound ¶
type ListNotFound struct { }
ListNotFound describes a response with status code 404, with default header values.
not found
func NewListNotFound ¶
func NewListNotFound() *ListNotFound
NewListNotFound creates a ListNotFound with default headers values
func (*ListNotFound) Code ¶
func (o *ListNotFound) Code() int
Code gets the status code for the list not found response
func (*ListNotFound) Error ¶
func (o *ListNotFound) Error() string
func (*ListNotFound) IsClientError ¶
func (o *ListNotFound) IsClientError() bool
IsClientError returns true when this list not found response has a 4xx status code
func (*ListNotFound) IsCode ¶
func (o *ListNotFound) IsCode(code int) bool
IsCode returns true when this list not found response a status code equal to that given
func (*ListNotFound) IsRedirect ¶
func (o *ListNotFound) IsRedirect() bool
IsRedirect returns true when this list not found response has a 3xx status code
func (*ListNotFound) IsServerError ¶
func (o *ListNotFound) IsServerError() bool
IsServerError returns true when this list not found response has a 5xx status code
func (*ListNotFound) IsSuccess ¶
func (o *ListNotFound) IsSuccess() bool
IsSuccess returns true when this list not found response has a 2xx status code
func (*ListNotFound) String ¶
func (o *ListNotFound) String() string
type ListOK ¶
ListOK describes a response with status code 200, with default header values.
Requested list.
func (*ListOK) GetPayload ¶
func (*ListOK) IsClientError ¶
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶
IsServerError returns true when this list o k response has a 5xx status code
type ListParams ¶
type ListParams struct { /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListParams contains all the parameters to send to the API endpoint
for the list operation. Typically these are written to a http.Request.
func NewListParams ¶
func NewListParams() *ListParams
NewListParams creates a new ListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with the ability to set a context for a request.
func NewListParamsWithHTTPClient ¶
func NewListParamsWithHTTPClient(client *http.Client) *ListParams
NewListParamsWithHTTPClient creates a new ListParams object with the ability to set a custom HTTPClient for a request.
func NewListParamsWithTimeout ¶
func NewListParamsWithTimeout(timeout time.Duration) *ListParams
NewListParamsWithTimeout creates a new ListParams object with the ability to set a timeout on a request.
func (*ListParams) SetContext ¶
func (o *ListParams) SetContext(ctx context.Context)
SetContext adds the context to the list params
func (*ListParams) SetDefaults ¶
func (o *ListParams) SetDefaults()
SetDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) SetHTTPClient ¶
func (o *ListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list params
func (*ListParams) SetID ¶
func (o *ListParams) SetID(id string)
SetID adds the id to the list params
func (*ListParams) SetTimeout ¶
func (o *ListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list params
func (*ListParams) WithContext ¶
func (o *ListParams) WithContext(ctx context.Context) *ListParams
WithContext adds the context to the list params
func (*ListParams) WithDefaults ¶
func (o *ListParams) WithDefaults() *ListParams
WithDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) WithHTTPClient ¶
func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
WithHTTPClient adds the HTTPClient to the list params
func (*ListParams) WithID ¶
func (o *ListParams) WithID(id string) *ListParams
WithID adds the id to the list params
func (*ListParams) WithTimeout ¶
func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
WithTimeout adds the timeout to the list params
func (*ListParams) WriteToRequest ¶
func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListReader ¶
type ListReader struct {
// contains filtered or unexported fields
}
ListReader is a Reader for the List structure.
func (*ListReader) ReadResponse ¶
func (o *ListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUnauthorized ¶
type ListUnauthorized struct { }
ListUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListUnauthorized ¶
func NewListUnauthorized() *ListUnauthorized
NewListUnauthorized creates a ListUnauthorized with default headers values
func (*ListUnauthorized) Code ¶
func (o *ListUnauthorized) Code() int
Code gets the status code for the list unauthorized response
func (*ListUnauthorized) Error ¶
func (o *ListUnauthorized) Error() string
func (*ListUnauthorized) IsClientError ¶
func (o *ListUnauthorized) IsClientError() bool
IsClientError returns true when this list unauthorized response has a 4xx status code
func (*ListUnauthorized) IsCode ¶
func (o *ListUnauthorized) IsCode(code int) bool
IsCode returns true when this list unauthorized response a status code equal to that given
func (*ListUnauthorized) IsRedirect ¶
func (o *ListUnauthorized) IsRedirect() bool
IsRedirect returns true when this list unauthorized response has a 3xx status code
func (*ListUnauthorized) IsServerError ¶
func (o *ListUnauthorized) IsServerError() bool
IsServerError returns true when this list unauthorized response has a 5xx status code
func (*ListUnauthorized) IsSuccess ¶
func (o *ListUnauthorized) IsSuccess() bool
IsSuccess returns true when this list unauthorized response has a 2xx status code
func (*ListUnauthorized) String ¶
func (o *ListUnauthorized) String() string
type ListUpdateBadRequest ¶
type ListUpdateBadRequest struct { }
ListUpdateBadRequest describes a response with status code 400, with default header values.
bad request
func NewListUpdateBadRequest ¶
func NewListUpdateBadRequest() *ListUpdateBadRequest
NewListUpdateBadRequest creates a ListUpdateBadRequest with default headers values
func (*ListUpdateBadRequest) Code ¶
func (o *ListUpdateBadRequest) Code() int
Code gets the status code for the list update bad request response
func (*ListUpdateBadRequest) Error ¶
func (o *ListUpdateBadRequest) Error() string
func (*ListUpdateBadRequest) IsClientError ¶
func (o *ListUpdateBadRequest) IsClientError() bool
IsClientError returns true when this list update bad request response has a 4xx status code
func (*ListUpdateBadRequest) IsCode ¶
func (o *ListUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this list update bad request response a status code equal to that given
func (*ListUpdateBadRequest) IsRedirect ¶
func (o *ListUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this list update bad request response has a 3xx status code
func (*ListUpdateBadRequest) IsServerError ¶
func (o *ListUpdateBadRequest) IsServerError() bool
IsServerError returns true when this list update bad request response has a 5xx status code
func (*ListUpdateBadRequest) IsSuccess ¶
func (o *ListUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this list update bad request response has a 2xx status code
func (*ListUpdateBadRequest) String ¶
func (o *ListUpdateBadRequest) String() string
type ListUpdateForbidden ¶
type ListUpdateForbidden struct { }
ListUpdateForbidden describes a response with status code 403, with default header values.
forbidden
func NewListUpdateForbidden ¶
func NewListUpdateForbidden() *ListUpdateForbidden
NewListUpdateForbidden creates a ListUpdateForbidden with default headers values
func (*ListUpdateForbidden) Code ¶
func (o *ListUpdateForbidden) Code() int
Code gets the status code for the list update forbidden response
func (*ListUpdateForbidden) Error ¶
func (o *ListUpdateForbidden) Error() string
func (*ListUpdateForbidden) IsClientError ¶
func (o *ListUpdateForbidden) IsClientError() bool
IsClientError returns true when this list update forbidden response has a 4xx status code
func (*ListUpdateForbidden) IsCode ¶
func (o *ListUpdateForbidden) IsCode(code int) bool
IsCode returns true when this list update forbidden response a status code equal to that given
func (*ListUpdateForbidden) IsRedirect ¶
func (o *ListUpdateForbidden) IsRedirect() bool
IsRedirect returns true when this list update forbidden response has a 3xx status code
func (*ListUpdateForbidden) IsServerError ¶
func (o *ListUpdateForbidden) IsServerError() bool
IsServerError returns true when this list update forbidden response has a 5xx status code
func (*ListUpdateForbidden) IsSuccess ¶
func (o *ListUpdateForbidden) IsSuccess() bool
IsSuccess returns true when this list update forbidden response has a 2xx status code
func (*ListUpdateForbidden) String ¶
func (o *ListUpdateForbidden) String() string
type ListUpdateInternalServerError ¶
type ListUpdateInternalServerError struct { }
ListUpdateInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListUpdateInternalServerError ¶
func NewListUpdateInternalServerError() *ListUpdateInternalServerError
NewListUpdateInternalServerError creates a ListUpdateInternalServerError with default headers values
func (*ListUpdateInternalServerError) Code ¶
func (o *ListUpdateInternalServerError) Code() int
Code gets the status code for the list update internal server error response
func (*ListUpdateInternalServerError) Error ¶
func (o *ListUpdateInternalServerError) Error() string
func (*ListUpdateInternalServerError) IsClientError ¶
func (o *ListUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this list update internal server error response has a 4xx status code
func (*ListUpdateInternalServerError) IsCode ¶
func (o *ListUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this list update internal server error response a status code equal to that given
func (*ListUpdateInternalServerError) IsRedirect ¶
func (o *ListUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this list update internal server error response has a 3xx status code
func (*ListUpdateInternalServerError) IsServerError ¶
func (o *ListUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this list update internal server error response has a 5xx status code
func (*ListUpdateInternalServerError) IsSuccess ¶
func (o *ListUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this list update internal server error response has a 2xx status code
func (*ListUpdateInternalServerError) String ¶
func (o *ListUpdateInternalServerError) String() string
type ListUpdateNotAcceptable ¶
type ListUpdateNotAcceptable struct { }
ListUpdateNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListUpdateNotAcceptable ¶
func NewListUpdateNotAcceptable() *ListUpdateNotAcceptable
NewListUpdateNotAcceptable creates a ListUpdateNotAcceptable with default headers values
func (*ListUpdateNotAcceptable) Code ¶
func (o *ListUpdateNotAcceptable) Code() int
Code gets the status code for the list update not acceptable response
func (*ListUpdateNotAcceptable) Error ¶
func (o *ListUpdateNotAcceptable) Error() string
func (*ListUpdateNotAcceptable) IsClientError ¶
func (o *ListUpdateNotAcceptable) IsClientError() bool
IsClientError returns true when this list update not acceptable response has a 4xx status code
func (*ListUpdateNotAcceptable) IsCode ¶
func (o *ListUpdateNotAcceptable) IsCode(code int) bool
IsCode returns true when this list update not acceptable response a status code equal to that given
func (*ListUpdateNotAcceptable) IsRedirect ¶
func (o *ListUpdateNotAcceptable) IsRedirect() bool
IsRedirect returns true when this list update not acceptable response has a 3xx status code
func (*ListUpdateNotAcceptable) IsServerError ¶
func (o *ListUpdateNotAcceptable) IsServerError() bool
IsServerError returns true when this list update not acceptable response has a 5xx status code
func (*ListUpdateNotAcceptable) IsSuccess ¶
func (o *ListUpdateNotAcceptable) IsSuccess() bool
IsSuccess returns true when this list update not acceptable response has a 2xx status code
func (*ListUpdateNotAcceptable) String ¶
func (o *ListUpdateNotAcceptable) String() string
type ListUpdateNotFound ¶
type ListUpdateNotFound struct { }
ListUpdateNotFound describes a response with status code 404, with default header values.
not found
func NewListUpdateNotFound ¶
func NewListUpdateNotFound() *ListUpdateNotFound
NewListUpdateNotFound creates a ListUpdateNotFound with default headers values
func (*ListUpdateNotFound) Code ¶
func (o *ListUpdateNotFound) Code() int
Code gets the status code for the list update not found response
func (*ListUpdateNotFound) Error ¶
func (o *ListUpdateNotFound) Error() string
func (*ListUpdateNotFound) IsClientError ¶
func (o *ListUpdateNotFound) IsClientError() bool
IsClientError returns true when this list update not found response has a 4xx status code
func (*ListUpdateNotFound) IsCode ¶
func (o *ListUpdateNotFound) IsCode(code int) bool
IsCode returns true when this list update not found response a status code equal to that given
func (*ListUpdateNotFound) IsRedirect ¶
func (o *ListUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this list update not found response has a 3xx status code
func (*ListUpdateNotFound) IsServerError ¶
func (o *ListUpdateNotFound) IsServerError() bool
IsServerError returns true when this list update not found response has a 5xx status code
func (*ListUpdateNotFound) IsSuccess ¶
func (o *ListUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this list update not found response has a 2xx status code
func (*ListUpdateNotFound) String ¶
func (o *ListUpdateNotFound) String() string
type ListUpdateOK ¶
ListUpdateOK describes a response with status code 200, with default header values.
The newly updated list.
func NewListUpdateOK ¶
func NewListUpdateOK() *ListUpdateOK
NewListUpdateOK creates a ListUpdateOK with default headers values
func (*ListUpdateOK) Code ¶
func (o *ListUpdateOK) Code() int
Code gets the status code for the list update o k response
func (*ListUpdateOK) Error ¶
func (o *ListUpdateOK) Error() string
func (*ListUpdateOK) GetPayload ¶
func (o *ListUpdateOK) GetPayload() *models.List
func (*ListUpdateOK) IsClientError ¶
func (o *ListUpdateOK) IsClientError() bool
IsClientError returns true when this list update o k response has a 4xx status code
func (*ListUpdateOK) IsCode ¶
func (o *ListUpdateOK) IsCode(code int) bool
IsCode returns true when this list update o k response a status code equal to that given
func (*ListUpdateOK) IsRedirect ¶
func (o *ListUpdateOK) IsRedirect() bool
IsRedirect returns true when this list update o k response has a 3xx status code
func (*ListUpdateOK) IsServerError ¶
func (o *ListUpdateOK) IsServerError() bool
IsServerError returns true when this list update o k response has a 5xx status code
func (*ListUpdateOK) IsSuccess ¶
func (o *ListUpdateOK) IsSuccess() bool
IsSuccess returns true when this list update o k response has a 2xx status code
func (*ListUpdateOK) String ¶
func (o *ListUpdateOK) String() string
type ListUpdateParams ¶
type ListUpdateParams struct { /* ID. ID of the list */ ID string /* RepliesPolicy. RepliesPolicy for this list. followed = Show replies to any followed user list = Show replies to members of the list none = Show replies to no one Sample: list */ RepliesPolicy *string /* Title. Title of this list. Sample: Cool People */ Title *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUpdateParams contains all the parameters to send to the API endpoint
for the list update operation. Typically these are written to a http.Request.
func NewListUpdateParams ¶
func NewListUpdateParams() *ListUpdateParams
NewListUpdateParams creates a new ListUpdateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUpdateParamsWithContext ¶
func NewListUpdateParamsWithContext(ctx context.Context) *ListUpdateParams
NewListUpdateParamsWithContext creates a new ListUpdateParams object with the ability to set a context for a request.
func NewListUpdateParamsWithHTTPClient ¶
func NewListUpdateParamsWithHTTPClient(client *http.Client) *ListUpdateParams
NewListUpdateParamsWithHTTPClient creates a new ListUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewListUpdateParamsWithTimeout ¶
func NewListUpdateParamsWithTimeout(timeout time.Duration) *ListUpdateParams
NewListUpdateParamsWithTimeout creates a new ListUpdateParams object with the ability to set a timeout on a request.
func (*ListUpdateParams) SetContext ¶
func (o *ListUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the list update params
func (*ListUpdateParams) SetDefaults ¶
func (o *ListUpdateParams) SetDefaults()
SetDefaults hydrates default values in the list update params (not the query body).
All values with no default are reset to their zero value.
func (*ListUpdateParams) SetHTTPClient ¶
func (o *ListUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list update params
func (*ListUpdateParams) SetID ¶
func (o *ListUpdateParams) SetID(id string)
SetID adds the id to the list update params
func (*ListUpdateParams) SetRepliesPolicy ¶
func (o *ListUpdateParams) SetRepliesPolicy(repliesPolicy *string)
SetRepliesPolicy adds the repliesPolicy to the list update params
func (*ListUpdateParams) SetTimeout ¶
func (o *ListUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list update params
func (*ListUpdateParams) SetTitle ¶
func (o *ListUpdateParams) SetTitle(title *string)
SetTitle adds the title to the list update params
func (*ListUpdateParams) WithContext ¶
func (o *ListUpdateParams) WithContext(ctx context.Context) *ListUpdateParams
WithContext adds the context to the list update params
func (*ListUpdateParams) WithDefaults ¶
func (o *ListUpdateParams) WithDefaults() *ListUpdateParams
WithDefaults hydrates default values in the list update params (not the query body).
All values with no default are reset to their zero value.
func (*ListUpdateParams) WithHTTPClient ¶
func (o *ListUpdateParams) WithHTTPClient(client *http.Client) *ListUpdateParams
WithHTTPClient adds the HTTPClient to the list update params
func (*ListUpdateParams) WithID ¶
func (o *ListUpdateParams) WithID(id string) *ListUpdateParams
WithID adds the id to the list update params
func (*ListUpdateParams) WithRepliesPolicy ¶
func (o *ListUpdateParams) WithRepliesPolicy(repliesPolicy *string) *ListUpdateParams
WithRepliesPolicy adds the repliesPolicy to the list update params
func (*ListUpdateParams) WithTimeout ¶
func (o *ListUpdateParams) WithTimeout(timeout time.Duration) *ListUpdateParams
WithTimeout adds the timeout to the list update params
func (*ListUpdateParams) WithTitle ¶
func (o *ListUpdateParams) WithTitle(title *string) *ListUpdateParams
WithTitle adds the title to the list update params
func (*ListUpdateParams) WriteToRequest ¶
func (o *ListUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUpdateReader ¶
type ListUpdateReader struct {
// contains filtered or unexported fields
}
ListUpdateReader is a Reader for the ListUpdate structure.
func (*ListUpdateReader) ReadResponse ¶
func (o *ListUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUpdateUnauthorized ¶
type ListUpdateUnauthorized struct { }
ListUpdateUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListUpdateUnauthorized ¶
func NewListUpdateUnauthorized() *ListUpdateUnauthorized
NewListUpdateUnauthorized creates a ListUpdateUnauthorized with default headers values
func (*ListUpdateUnauthorized) Code ¶
func (o *ListUpdateUnauthorized) Code() int
Code gets the status code for the list update unauthorized response
func (*ListUpdateUnauthorized) Error ¶
func (o *ListUpdateUnauthorized) Error() string
func (*ListUpdateUnauthorized) IsClientError ¶
func (o *ListUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this list update unauthorized response has a 4xx status code
func (*ListUpdateUnauthorized) IsCode ¶
func (o *ListUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this list update unauthorized response a status code equal to that given
func (*ListUpdateUnauthorized) IsRedirect ¶
func (o *ListUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this list update unauthorized response has a 3xx status code
func (*ListUpdateUnauthorized) IsServerError ¶
func (o *ListUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this list update unauthorized response has a 5xx status code
func (*ListUpdateUnauthorized) IsSuccess ¶
func (o *ListUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this list update unauthorized response has a 2xx status code
func (*ListUpdateUnauthorized) String ¶
func (o *ListUpdateUnauthorized) String() string
type ListsBadRequest ¶
type ListsBadRequest struct { }
ListsBadRequest describes a response with status code 400, with default header values.
bad request
func NewListsBadRequest ¶
func NewListsBadRequest() *ListsBadRequest
NewListsBadRequest creates a ListsBadRequest with default headers values
func (*ListsBadRequest) Code ¶
func (o *ListsBadRequest) Code() int
Code gets the status code for the lists bad request response
func (*ListsBadRequest) Error ¶
func (o *ListsBadRequest) Error() string
func (*ListsBadRequest) IsClientError ¶
func (o *ListsBadRequest) IsClientError() bool
IsClientError returns true when this lists bad request response has a 4xx status code
func (*ListsBadRequest) IsCode ¶
func (o *ListsBadRequest) IsCode(code int) bool
IsCode returns true when this lists bad request response a status code equal to that given
func (*ListsBadRequest) IsRedirect ¶
func (o *ListsBadRequest) IsRedirect() bool
IsRedirect returns true when this lists bad request response has a 3xx status code
func (*ListsBadRequest) IsServerError ¶
func (o *ListsBadRequest) IsServerError() bool
IsServerError returns true when this lists bad request response has a 5xx status code
func (*ListsBadRequest) IsSuccess ¶
func (o *ListsBadRequest) IsSuccess() bool
IsSuccess returns true when this lists bad request response has a 2xx status code
func (*ListsBadRequest) String ¶
func (o *ListsBadRequest) String() string
type ListsInternalServerError ¶
type ListsInternalServerError struct { }
ListsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListsInternalServerError ¶
func NewListsInternalServerError() *ListsInternalServerError
NewListsInternalServerError creates a ListsInternalServerError with default headers values
func (*ListsInternalServerError) Code ¶
func (o *ListsInternalServerError) Code() int
Code gets the status code for the lists internal server error response
func (*ListsInternalServerError) Error ¶
func (o *ListsInternalServerError) Error() string
func (*ListsInternalServerError) IsClientError ¶
func (o *ListsInternalServerError) IsClientError() bool
IsClientError returns true when this lists internal server error response has a 4xx status code
func (*ListsInternalServerError) IsCode ¶
func (o *ListsInternalServerError) IsCode(code int) bool
IsCode returns true when this lists internal server error response a status code equal to that given
func (*ListsInternalServerError) IsRedirect ¶
func (o *ListsInternalServerError) IsRedirect() bool
IsRedirect returns true when this lists internal server error response has a 3xx status code
func (*ListsInternalServerError) IsServerError ¶
func (o *ListsInternalServerError) IsServerError() bool
IsServerError returns true when this lists internal server error response has a 5xx status code
func (*ListsInternalServerError) IsSuccess ¶
func (o *ListsInternalServerError) IsSuccess() bool
IsSuccess returns true when this lists internal server error response has a 2xx status code
func (*ListsInternalServerError) String ¶
func (o *ListsInternalServerError) String() string
type ListsNotAcceptable ¶
type ListsNotAcceptable struct { }
ListsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewListsNotAcceptable ¶
func NewListsNotAcceptable() *ListsNotAcceptable
NewListsNotAcceptable creates a ListsNotAcceptable with default headers values
func (*ListsNotAcceptable) Code ¶
func (o *ListsNotAcceptable) Code() int
Code gets the status code for the lists not acceptable response
func (*ListsNotAcceptable) Error ¶
func (o *ListsNotAcceptable) Error() string
func (*ListsNotAcceptable) IsClientError ¶
func (o *ListsNotAcceptable) IsClientError() bool
IsClientError returns true when this lists not acceptable response has a 4xx status code
func (*ListsNotAcceptable) IsCode ¶
func (o *ListsNotAcceptable) IsCode(code int) bool
IsCode returns true when this lists not acceptable response a status code equal to that given
func (*ListsNotAcceptable) IsRedirect ¶
func (o *ListsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this lists not acceptable response has a 3xx status code
func (*ListsNotAcceptable) IsServerError ¶
func (o *ListsNotAcceptable) IsServerError() bool
IsServerError returns true when this lists not acceptable response has a 5xx status code
func (*ListsNotAcceptable) IsSuccess ¶
func (o *ListsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this lists not acceptable response has a 2xx status code
func (*ListsNotAcceptable) String ¶
func (o *ListsNotAcceptable) String() string
type ListsNotFound ¶
type ListsNotFound struct { }
ListsNotFound describes a response with status code 404, with default header values.
not found
func NewListsNotFound ¶
func NewListsNotFound() *ListsNotFound
NewListsNotFound creates a ListsNotFound with default headers values
func (*ListsNotFound) Code ¶
func (o *ListsNotFound) Code() int
Code gets the status code for the lists not found response
func (*ListsNotFound) Error ¶
func (o *ListsNotFound) Error() string
func (*ListsNotFound) IsClientError ¶
func (o *ListsNotFound) IsClientError() bool
IsClientError returns true when this lists not found response has a 4xx status code
func (*ListsNotFound) IsCode ¶
func (o *ListsNotFound) IsCode(code int) bool
IsCode returns true when this lists not found response a status code equal to that given
func (*ListsNotFound) IsRedirect ¶
func (o *ListsNotFound) IsRedirect() bool
IsRedirect returns true when this lists not found response has a 3xx status code
func (*ListsNotFound) IsServerError ¶
func (o *ListsNotFound) IsServerError() bool
IsServerError returns true when this lists not found response has a 5xx status code
func (*ListsNotFound) IsSuccess ¶
func (o *ListsNotFound) IsSuccess() bool
IsSuccess returns true when this lists not found response has a 2xx status code
func (*ListsNotFound) String ¶
func (o *ListsNotFound) String() string
type ListsOK ¶
ListsOK describes a response with status code 200, with default header values.
Array of all lists owned by the requesting user.
func NewListsOK ¶
func NewListsOK() *ListsOK
NewListsOK creates a ListsOK with default headers values
func (*ListsOK) GetPayload ¶
func (*ListsOK) IsClientError ¶
IsClientError returns true when this lists o k response has a 4xx status code
func (*ListsOK) IsCode ¶
IsCode returns true when this lists o k response a status code equal to that given
func (*ListsOK) IsRedirect ¶
IsRedirect returns true when this lists o k response has a 3xx status code
func (*ListsOK) IsServerError ¶
IsServerError returns true when this lists o k response has a 5xx status code
type ListsParams ¶
type ListsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListsParams contains all the parameters to send to the API endpoint
for the lists operation. Typically these are written to a http.Request.
func NewListsParams ¶
func NewListsParams() *ListsParams
NewListsParams creates a new ListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListsParamsWithContext ¶
func NewListsParamsWithContext(ctx context.Context) *ListsParams
NewListsParamsWithContext creates a new ListsParams object with the ability to set a context for a request.
func NewListsParamsWithHTTPClient ¶
func NewListsParamsWithHTTPClient(client *http.Client) *ListsParams
NewListsParamsWithHTTPClient creates a new ListsParams object with the ability to set a custom HTTPClient for a request.
func NewListsParamsWithTimeout ¶
func NewListsParamsWithTimeout(timeout time.Duration) *ListsParams
NewListsParamsWithTimeout creates a new ListsParams object with the ability to set a timeout on a request.
func (*ListsParams) SetContext ¶
func (o *ListsParams) SetContext(ctx context.Context)
SetContext adds the context to the lists params
func (*ListsParams) SetDefaults ¶
func (o *ListsParams) SetDefaults()
SetDefaults hydrates default values in the lists params (not the query body).
All values with no default are reset to their zero value.
func (*ListsParams) SetHTTPClient ¶
func (o *ListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lists params
func (*ListsParams) SetTimeout ¶
func (o *ListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lists params
func (*ListsParams) WithContext ¶
func (o *ListsParams) WithContext(ctx context.Context) *ListsParams
WithContext adds the context to the lists params
func (*ListsParams) WithDefaults ¶
func (o *ListsParams) WithDefaults() *ListsParams
WithDefaults hydrates default values in the lists params (not the query body).
All values with no default are reset to their zero value.
func (*ListsParams) WithHTTPClient ¶
func (o *ListsParams) WithHTTPClient(client *http.Client) *ListsParams
WithHTTPClient adds the HTTPClient to the lists params
func (*ListsParams) WithTimeout ¶
func (o *ListsParams) WithTimeout(timeout time.Duration) *ListsParams
WithTimeout adds the timeout to the lists params
func (*ListsParams) WriteToRequest ¶
func (o *ListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListsReader ¶
type ListsReader struct {
// contains filtered or unexported fields
}
ListsReader is a Reader for the Lists structure.
func (*ListsReader) ReadResponse ¶
func (o *ListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListsUnauthorized ¶
type ListsUnauthorized struct { }
ListsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListsUnauthorized ¶
func NewListsUnauthorized() *ListsUnauthorized
NewListsUnauthorized creates a ListsUnauthorized with default headers values
func (*ListsUnauthorized) Code ¶
func (o *ListsUnauthorized) Code() int
Code gets the status code for the lists unauthorized response
func (*ListsUnauthorized) Error ¶
func (o *ListsUnauthorized) Error() string
func (*ListsUnauthorized) IsClientError ¶
func (o *ListsUnauthorized) IsClientError() bool
IsClientError returns true when this lists unauthorized response has a 4xx status code
func (*ListsUnauthorized) IsCode ¶
func (o *ListsUnauthorized) IsCode(code int) bool
IsCode returns true when this lists unauthorized response a status code equal to that given
func (*ListsUnauthorized) IsRedirect ¶
func (o *ListsUnauthorized) IsRedirect() bool
IsRedirect returns true when this lists unauthorized response has a 3xx status code
func (*ListsUnauthorized) IsServerError ¶
func (o *ListsUnauthorized) IsServerError() bool
IsServerError returns true when this lists unauthorized response has a 5xx status code
func (*ListsUnauthorized) IsSuccess ¶
func (o *ListsUnauthorized) IsSuccess() bool
IsSuccess returns true when this lists unauthorized response has a 2xx status code
func (*ListsUnauthorized) String ¶
func (o *ListsUnauthorized) String() string
type RemoveListAccountsBadRequest ¶
type RemoveListAccountsBadRequest struct { }
RemoveListAccountsBadRequest describes a response with status code 400, with default header values.
bad request
func NewRemoveListAccountsBadRequest ¶
func NewRemoveListAccountsBadRequest() *RemoveListAccountsBadRequest
NewRemoveListAccountsBadRequest creates a RemoveListAccountsBadRequest with default headers values
func (*RemoveListAccountsBadRequest) Code ¶
func (o *RemoveListAccountsBadRequest) Code() int
Code gets the status code for the remove list accounts bad request response
func (*RemoveListAccountsBadRequest) Error ¶
func (o *RemoveListAccountsBadRequest) Error() string
func (*RemoveListAccountsBadRequest) IsClientError ¶
func (o *RemoveListAccountsBadRequest) IsClientError() bool
IsClientError returns true when this remove list accounts bad request response has a 4xx status code
func (*RemoveListAccountsBadRequest) IsCode ¶
func (o *RemoveListAccountsBadRequest) IsCode(code int) bool
IsCode returns true when this remove list accounts bad request response a status code equal to that given
func (*RemoveListAccountsBadRequest) IsRedirect ¶
func (o *RemoveListAccountsBadRequest) IsRedirect() bool
IsRedirect returns true when this remove list accounts bad request response has a 3xx status code
func (*RemoveListAccountsBadRequest) IsServerError ¶
func (o *RemoveListAccountsBadRequest) IsServerError() bool
IsServerError returns true when this remove list accounts bad request response has a 5xx status code
func (*RemoveListAccountsBadRequest) IsSuccess ¶
func (o *RemoveListAccountsBadRequest) IsSuccess() bool
IsSuccess returns true when this remove list accounts bad request response has a 2xx status code
func (*RemoveListAccountsBadRequest) String ¶
func (o *RemoveListAccountsBadRequest) String() string
type RemoveListAccountsInternalServerError ¶
type RemoveListAccountsInternalServerError struct { }
RemoveListAccountsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewRemoveListAccountsInternalServerError ¶
func NewRemoveListAccountsInternalServerError() *RemoveListAccountsInternalServerError
NewRemoveListAccountsInternalServerError creates a RemoveListAccountsInternalServerError with default headers values
func (*RemoveListAccountsInternalServerError) Code ¶
func (o *RemoveListAccountsInternalServerError) Code() int
Code gets the status code for the remove list accounts internal server error response
func (*RemoveListAccountsInternalServerError) Error ¶
func (o *RemoveListAccountsInternalServerError) Error() string
func (*RemoveListAccountsInternalServerError) IsClientError ¶
func (o *RemoveListAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this remove list accounts internal server error response has a 4xx status code
func (*RemoveListAccountsInternalServerError) IsCode ¶
func (o *RemoveListAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this remove list accounts internal server error response a status code equal to that given
func (*RemoveListAccountsInternalServerError) IsRedirect ¶
func (o *RemoveListAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove list accounts internal server error response has a 3xx status code
func (*RemoveListAccountsInternalServerError) IsServerError ¶
func (o *RemoveListAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this remove list accounts internal server error response has a 5xx status code
func (*RemoveListAccountsInternalServerError) IsSuccess ¶
func (o *RemoveListAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove list accounts internal server error response has a 2xx status code
func (*RemoveListAccountsInternalServerError) String ¶
func (o *RemoveListAccountsInternalServerError) String() string
type RemoveListAccountsNotAcceptable ¶
type RemoveListAccountsNotAcceptable struct { }
RemoveListAccountsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewRemoveListAccountsNotAcceptable ¶
func NewRemoveListAccountsNotAcceptable() *RemoveListAccountsNotAcceptable
NewRemoveListAccountsNotAcceptable creates a RemoveListAccountsNotAcceptable with default headers values
func (*RemoveListAccountsNotAcceptable) Code ¶
func (o *RemoveListAccountsNotAcceptable) Code() int
Code gets the status code for the remove list accounts not acceptable response
func (*RemoveListAccountsNotAcceptable) Error ¶
func (o *RemoveListAccountsNotAcceptable) Error() string
func (*RemoveListAccountsNotAcceptable) IsClientError ¶
func (o *RemoveListAccountsNotAcceptable) IsClientError() bool
IsClientError returns true when this remove list accounts not acceptable response has a 4xx status code
func (*RemoveListAccountsNotAcceptable) IsCode ¶
func (o *RemoveListAccountsNotAcceptable) IsCode(code int) bool
IsCode returns true when this remove list accounts not acceptable response a status code equal to that given
func (*RemoveListAccountsNotAcceptable) IsRedirect ¶
func (o *RemoveListAccountsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this remove list accounts not acceptable response has a 3xx status code
func (*RemoveListAccountsNotAcceptable) IsServerError ¶
func (o *RemoveListAccountsNotAcceptable) IsServerError() bool
IsServerError returns true when this remove list accounts not acceptable response has a 5xx status code
func (*RemoveListAccountsNotAcceptable) IsSuccess ¶
func (o *RemoveListAccountsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this remove list accounts not acceptable response has a 2xx status code
func (*RemoveListAccountsNotAcceptable) String ¶
func (o *RemoveListAccountsNotAcceptable) String() string
type RemoveListAccountsNotFound ¶
type RemoveListAccountsNotFound struct { }
RemoveListAccountsNotFound describes a response with status code 404, with default header values.
not found
func NewRemoveListAccountsNotFound ¶
func NewRemoveListAccountsNotFound() *RemoveListAccountsNotFound
NewRemoveListAccountsNotFound creates a RemoveListAccountsNotFound with default headers values
func (*RemoveListAccountsNotFound) Code ¶
func (o *RemoveListAccountsNotFound) Code() int
Code gets the status code for the remove list accounts not found response
func (*RemoveListAccountsNotFound) Error ¶
func (o *RemoveListAccountsNotFound) Error() string
func (*RemoveListAccountsNotFound) IsClientError ¶
func (o *RemoveListAccountsNotFound) IsClientError() bool
IsClientError returns true when this remove list accounts not found response has a 4xx status code
func (*RemoveListAccountsNotFound) IsCode ¶
func (o *RemoveListAccountsNotFound) IsCode(code int) bool
IsCode returns true when this remove list accounts not found response a status code equal to that given
func (*RemoveListAccountsNotFound) IsRedirect ¶
func (o *RemoveListAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this remove list accounts not found response has a 3xx status code
func (*RemoveListAccountsNotFound) IsServerError ¶
func (o *RemoveListAccountsNotFound) IsServerError() bool
IsServerError returns true when this remove list accounts not found response has a 5xx status code
func (*RemoveListAccountsNotFound) IsSuccess ¶
func (o *RemoveListAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this remove list accounts not found response has a 2xx status code
func (*RemoveListAccountsNotFound) String ¶
func (o *RemoveListAccountsNotFound) String() string
type RemoveListAccountsOK ¶
type RemoveListAccountsOK struct { }
RemoveListAccountsOK describes a response with status code 200, with default header values.
list accounts updated
func NewRemoveListAccountsOK ¶
func NewRemoveListAccountsOK() *RemoveListAccountsOK
NewRemoveListAccountsOK creates a RemoveListAccountsOK with default headers values
func (*RemoveListAccountsOK) Code ¶
func (o *RemoveListAccountsOK) Code() int
Code gets the status code for the remove list accounts o k response
func (*RemoveListAccountsOK) Error ¶
func (o *RemoveListAccountsOK) Error() string
func (*RemoveListAccountsOK) IsClientError ¶
func (o *RemoveListAccountsOK) IsClientError() bool
IsClientError returns true when this remove list accounts o k response has a 4xx status code
func (*RemoveListAccountsOK) IsCode ¶
func (o *RemoveListAccountsOK) IsCode(code int) bool
IsCode returns true when this remove list accounts o k response a status code equal to that given
func (*RemoveListAccountsOK) IsRedirect ¶
func (o *RemoveListAccountsOK) IsRedirect() bool
IsRedirect returns true when this remove list accounts o k response has a 3xx status code
func (*RemoveListAccountsOK) IsServerError ¶
func (o *RemoveListAccountsOK) IsServerError() bool
IsServerError returns true when this remove list accounts o k response has a 5xx status code
func (*RemoveListAccountsOK) IsSuccess ¶
func (o *RemoveListAccountsOK) IsSuccess() bool
IsSuccess returns true when this remove list accounts o k response has a 2xx status code
func (*RemoveListAccountsOK) String ¶
func (o *RemoveListAccountsOK) String() string
type RemoveListAccountsParams ¶
type RemoveListAccountsParams struct { /* AccountIds. Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows. */ AccountIds []string /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveListAccountsParams contains all the parameters to send to the API endpoint
for the remove list accounts operation. Typically these are written to a http.Request.
func NewRemoveListAccountsParams ¶
func NewRemoveListAccountsParams() *RemoveListAccountsParams
NewRemoveListAccountsParams creates a new RemoveListAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveListAccountsParamsWithContext ¶
func NewRemoveListAccountsParamsWithContext(ctx context.Context) *RemoveListAccountsParams
NewRemoveListAccountsParamsWithContext creates a new RemoveListAccountsParams object with the ability to set a context for a request.
func NewRemoveListAccountsParamsWithHTTPClient ¶
func NewRemoveListAccountsParamsWithHTTPClient(client *http.Client) *RemoveListAccountsParams
NewRemoveListAccountsParamsWithHTTPClient creates a new RemoveListAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveListAccountsParamsWithTimeout ¶
func NewRemoveListAccountsParamsWithTimeout(timeout time.Duration) *RemoveListAccountsParams
NewRemoveListAccountsParamsWithTimeout creates a new RemoveListAccountsParams object with the ability to set a timeout on a request.
func (*RemoveListAccountsParams) SetAccountIds ¶
func (o *RemoveListAccountsParams) SetAccountIds(accountIds []string)
SetAccountIds adds the accountIds to the remove list accounts params
func (*RemoveListAccountsParams) SetContext ¶
func (o *RemoveListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the remove list accounts params
func (*RemoveListAccountsParams) SetDefaults ¶
func (o *RemoveListAccountsParams) SetDefaults()
SetDefaults hydrates default values in the remove list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveListAccountsParams) SetHTTPClient ¶
func (o *RemoveListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove list accounts params
func (*RemoveListAccountsParams) SetID ¶
func (o *RemoveListAccountsParams) SetID(id string)
SetID adds the id to the remove list accounts params
func (*RemoveListAccountsParams) SetTimeout ¶
func (o *RemoveListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove list accounts params
func (*RemoveListAccountsParams) WithAccountIds ¶
func (o *RemoveListAccountsParams) WithAccountIds(accountIds []string) *RemoveListAccountsParams
WithAccountIds adds the accountIds to the remove list accounts params
func (*RemoveListAccountsParams) WithContext ¶
func (o *RemoveListAccountsParams) WithContext(ctx context.Context) *RemoveListAccountsParams
WithContext adds the context to the remove list accounts params
func (*RemoveListAccountsParams) WithDefaults ¶
func (o *RemoveListAccountsParams) WithDefaults() *RemoveListAccountsParams
WithDefaults hydrates default values in the remove list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveListAccountsParams) WithHTTPClient ¶
func (o *RemoveListAccountsParams) WithHTTPClient(client *http.Client) *RemoveListAccountsParams
WithHTTPClient adds the HTTPClient to the remove list accounts params
func (*RemoveListAccountsParams) WithID ¶
func (o *RemoveListAccountsParams) WithID(id string) *RemoveListAccountsParams
WithID adds the id to the remove list accounts params
func (*RemoveListAccountsParams) WithTimeout ¶
func (o *RemoveListAccountsParams) WithTimeout(timeout time.Duration) *RemoveListAccountsParams
WithTimeout adds the timeout to the remove list accounts params
func (*RemoveListAccountsParams) WriteToRequest ¶
func (o *RemoveListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveListAccountsReader ¶
type RemoveListAccountsReader struct {
// contains filtered or unexported fields
}
RemoveListAccountsReader is a Reader for the RemoveListAccounts structure.
func (*RemoveListAccountsReader) ReadResponse ¶
func (o *RemoveListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveListAccountsUnauthorized ¶
type RemoveListAccountsUnauthorized struct { }
RemoveListAccountsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRemoveListAccountsUnauthorized ¶
func NewRemoveListAccountsUnauthorized() *RemoveListAccountsUnauthorized
NewRemoveListAccountsUnauthorized creates a RemoveListAccountsUnauthorized with default headers values
func (*RemoveListAccountsUnauthorized) Code ¶
func (o *RemoveListAccountsUnauthorized) Code() int
Code gets the status code for the remove list accounts unauthorized response
func (*RemoveListAccountsUnauthorized) Error ¶
func (o *RemoveListAccountsUnauthorized) Error() string
func (*RemoveListAccountsUnauthorized) IsClientError ¶
func (o *RemoveListAccountsUnauthorized) IsClientError() bool
IsClientError returns true when this remove list accounts unauthorized response has a 4xx status code
func (*RemoveListAccountsUnauthorized) IsCode ¶
func (o *RemoveListAccountsUnauthorized) IsCode(code int) bool
IsCode returns true when this remove list accounts unauthorized response a status code equal to that given
func (*RemoveListAccountsUnauthorized) IsRedirect ¶
func (o *RemoveListAccountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove list accounts unauthorized response has a 3xx status code
func (*RemoveListAccountsUnauthorized) IsServerError ¶
func (o *RemoveListAccountsUnauthorized) IsServerError() bool
IsServerError returns true when this remove list accounts unauthorized response has a 5xx status code
func (*RemoveListAccountsUnauthorized) IsSuccess ¶
func (o *RemoveListAccountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove list accounts unauthorized response has a 2xx status code
func (*RemoveListAccountsUnauthorized) String ¶
func (o *RemoveListAccountsUnauthorized) String() string
Source Files
¶
- add_list_accounts_parameters.go
- add_list_accounts_responses.go
- list_accounts_parameters.go
- list_accounts_responses.go
- list_create_parameters.go
- list_create_responses.go
- list_delete_parameters.go
- list_delete_responses.go
- list_parameters.go
- list_responses.go
- list_update_parameters.go
- list_update_responses.go
- lists_client.go
- lists_parameters.go
- lists_responses.go
- remove_list_accounts_parameters.go
- remove_list_accounts_responses.go