lists

package
v0.0.0-...-6bd88e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: AGPL-3.0-or-later Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the add list accounts internal server error response

func (*AddListAccountsInternalServerError) Error

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

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

IsSuccess returns true when this add list accounts internal server error response has a 2xx status code

func (*AddListAccountsInternalServerError) 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

Code gets the status code for the add list accounts not acceptable response

func (*AddListAccountsNotAcceptable) Error

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

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

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

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 (*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

Code gets the status code for the list accounts internal server error response

func (*ListAccountsInternalServerError) Error

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

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

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

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

Code gets the status code for the list create internal server error response

func (*ListCreateInternalServerError) Error

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

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

type ListCreateOK struct {
	Payload *models.List
}

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

Code gets the status code for the list delete internal server error response

func (*ListDeleteInternalServerError) Error

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

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

type ListOK struct {
	Payload *models.List
}

ListOK describes a response with status code 200, with default header values.

Requested list.

func NewListOK

func NewListOK() *ListOK

NewListOK creates a ListOK with default headers values

func (*ListOK) Code

func (o *ListOK) Code() int

Code gets the status code for the list o k response

func (*ListOK) Error

func (o *ListOK) Error() string

func (*ListOK) GetPayload

func (o *ListOK) GetPayload() *models.List

func (*ListOK) IsClientError

func (o *ListOK) IsClientError() bool

IsClientError returns true when this list o k response has a 4xx status code

func (*ListOK) IsCode

func (o *ListOK) IsCode(code int) bool

IsCode returns true when this list o k response a status code equal to that given

func (*ListOK) IsRedirect

func (o *ListOK) IsRedirect() bool

IsRedirect returns true when this list o k response has a 3xx status code

func (*ListOK) IsServerError

func (o *ListOK) IsServerError() bool

IsServerError returns true when this list o k response has a 5xx status code

func (*ListOK) IsSuccess

func (o *ListOK) IsSuccess() bool

IsSuccess returns true when this list o k response has a 2xx status code

func (*ListOK) String

func (o *ListOK) String() string

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

Code gets the status code for the list update internal server error response

func (*ListUpdateInternalServerError) Error

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

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

type ListUpdateOK struct {
	Payload *models.List
}

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

type ListsOK struct {
	Payload []*models.List
}

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) Code

func (o *ListsOK) Code() int

Code gets the status code for the lists o k response

func (*ListsOK) Error

func (o *ListsOK) Error() string

func (*ListsOK) GetPayload

func (o *ListsOK) GetPayload() []*models.List

func (*ListsOK) IsClientError

func (o *ListsOK) IsClientError() bool

IsClientError returns true when this lists o k response has a 4xx status code

func (*ListsOK) IsCode

func (o *ListsOK) IsCode(code int) bool

IsCode returns true when this lists o k response a status code equal to that given

func (*ListsOK) IsRedirect

func (o *ListsOK) IsRedirect() bool

IsRedirect returns true when this lists o k response has a 3xx status code

func (*ListsOK) IsServerError

func (o *ListsOK) IsServerError() bool

IsServerError returns true when this lists o k response has a 5xx status code

func (*ListsOK) IsSuccess

func (o *ListsOK) IsSuccess() bool

IsSuccess returns true when this lists o k response has a 2xx status code

func (*ListsOK) String

func (o *ListsOK) String() string

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

Code gets the status code for the remove list accounts bad request response

func (*RemoveListAccountsBadRequest) Error

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

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

Code gets the status code for the remove list accounts internal server error response

func (*RemoveListAccountsInternalServerError) Error

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

IsCode returns true when this remove list accounts internal server error response a status code equal to that given

func (*RemoveListAccountsInternalServerError) IsRedirect

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

IsSuccess returns true when this remove list accounts internal server error response has a 2xx status code

func (*RemoveListAccountsInternalServerError) 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

Code gets the status code for the remove list accounts not acceptable response

func (*RemoveListAccountsNotAcceptable) Error

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

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 (*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

WithContext adds the context to the remove list accounts params

func (*RemoveListAccountsParams) WithDefaults

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

WithID adds the id to the remove list accounts params

func (*RemoveListAccountsParams) WithTimeout

WithTimeout adds the timeout to the remove list accounts params

func (*RemoveListAccountsParams) WriteToRequest

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

Code gets the status code for the remove list accounts unauthorized response

func (*RemoveListAccountsUnauthorized) Error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL