accounts

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: AGPL-3.0 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".

func WithContentTypeMultipartFormData

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type AccountAliasBadRequest

type AccountAliasBadRequest struct {
}

AccountAliasBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountAliasBadRequest

func NewAccountAliasBadRequest() *AccountAliasBadRequest

NewAccountAliasBadRequest creates a AccountAliasBadRequest with default headers values

func (*AccountAliasBadRequest) Code

func (o *AccountAliasBadRequest) Code() int

Code gets the status code for the account alias bad request response

func (*AccountAliasBadRequest) Error

func (o *AccountAliasBadRequest) Error() string

func (*AccountAliasBadRequest) IsClientError

func (o *AccountAliasBadRequest) IsClientError() bool

IsClientError returns true when this account alias bad request response has a 4xx status code

func (*AccountAliasBadRequest) IsCode

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

IsCode returns true when this account alias bad request response a status code equal to that given

func (*AccountAliasBadRequest) IsRedirect

func (o *AccountAliasBadRequest) IsRedirect() bool

IsRedirect returns true when this account alias bad request response has a 3xx status code

func (*AccountAliasBadRequest) IsServerError

func (o *AccountAliasBadRequest) IsServerError() bool

IsServerError returns true when this account alias bad request response has a 5xx status code

func (*AccountAliasBadRequest) IsSuccess

func (o *AccountAliasBadRequest) IsSuccess() bool

IsSuccess returns true when this account alias bad request response has a 2xx status code

func (*AccountAliasBadRequest) String

func (o *AccountAliasBadRequest) String() string

type AccountAliasInternalServerError

type AccountAliasInternalServerError struct {
}

AccountAliasInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountAliasInternalServerError

func NewAccountAliasInternalServerError() *AccountAliasInternalServerError

NewAccountAliasInternalServerError creates a AccountAliasInternalServerError with default headers values

func (*AccountAliasInternalServerError) Code

Code gets the status code for the account alias internal server error response

func (*AccountAliasInternalServerError) Error

func (*AccountAliasInternalServerError) IsClientError

func (o *AccountAliasInternalServerError) IsClientError() bool

IsClientError returns true when this account alias internal server error response has a 4xx status code

func (*AccountAliasInternalServerError) IsCode

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

IsCode returns true when this account alias internal server error response a status code equal to that given

func (*AccountAliasInternalServerError) IsRedirect

func (o *AccountAliasInternalServerError) IsRedirect() bool

IsRedirect returns true when this account alias internal server error response has a 3xx status code

func (*AccountAliasInternalServerError) IsServerError

func (o *AccountAliasInternalServerError) IsServerError() bool

IsServerError returns true when this account alias internal server error response has a 5xx status code

func (*AccountAliasInternalServerError) IsSuccess

func (o *AccountAliasInternalServerError) IsSuccess() bool

IsSuccess returns true when this account alias internal server error response has a 2xx status code

func (*AccountAliasInternalServerError) String

type AccountAliasNotAcceptable

type AccountAliasNotAcceptable struct {
}

AccountAliasNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountAliasNotAcceptable

func NewAccountAliasNotAcceptable() *AccountAliasNotAcceptable

NewAccountAliasNotAcceptable creates a AccountAliasNotAcceptable with default headers values

func (*AccountAliasNotAcceptable) Code

func (o *AccountAliasNotAcceptable) Code() int

Code gets the status code for the account alias not acceptable response

func (*AccountAliasNotAcceptable) Error

func (o *AccountAliasNotAcceptable) Error() string

func (*AccountAliasNotAcceptable) IsClientError

func (o *AccountAliasNotAcceptable) IsClientError() bool

IsClientError returns true when this account alias not acceptable response has a 4xx status code

func (*AccountAliasNotAcceptable) IsCode

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

IsCode returns true when this account alias not acceptable response a status code equal to that given

func (*AccountAliasNotAcceptable) IsRedirect

func (o *AccountAliasNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account alias not acceptable response has a 3xx status code

func (*AccountAliasNotAcceptable) IsServerError

func (o *AccountAliasNotAcceptable) IsServerError() bool

IsServerError returns true when this account alias not acceptable response has a 5xx status code

func (*AccountAliasNotAcceptable) IsSuccess

func (o *AccountAliasNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account alias not acceptable response has a 2xx status code

func (*AccountAliasNotAcceptable) String

func (o *AccountAliasNotAcceptable) String() string

type AccountAliasNotFound

type AccountAliasNotFound struct {
}

AccountAliasNotFound describes a response with status code 404, with default header values.

not found

func NewAccountAliasNotFound

func NewAccountAliasNotFound() *AccountAliasNotFound

NewAccountAliasNotFound creates a AccountAliasNotFound with default headers values

func (*AccountAliasNotFound) Code

func (o *AccountAliasNotFound) Code() int

Code gets the status code for the account alias not found response

func (*AccountAliasNotFound) Error

func (o *AccountAliasNotFound) Error() string

func (*AccountAliasNotFound) IsClientError

func (o *AccountAliasNotFound) IsClientError() bool

IsClientError returns true when this account alias not found response has a 4xx status code

func (*AccountAliasNotFound) IsCode

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

IsCode returns true when this account alias not found response a status code equal to that given

func (*AccountAliasNotFound) IsRedirect

func (o *AccountAliasNotFound) IsRedirect() bool

IsRedirect returns true when this account alias not found response has a 3xx status code

func (*AccountAliasNotFound) IsServerError

func (o *AccountAliasNotFound) IsServerError() bool

IsServerError returns true when this account alias not found response has a 5xx status code

func (*AccountAliasNotFound) IsSuccess

func (o *AccountAliasNotFound) IsSuccess() bool

IsSuccess returns true when this account alias not found response has a 2xx status code

func (*AccountAliasNotFound) String

func (o *AccountAliasNotFound) String() string

type AccountAliasOK

type AccountAliasOK struct {
	Payload *models.Account
}

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

The newly updated account.

func NewAccountAliasOK

func NewAccountAliasOK() *AccountAliasOK

NewAccountAliasOK creates a AccountAliasOK with default headers values

func (*AccountAliasOK) Code

func (o *AccountAliasOK) Code() int

Code gets the status code for the account alias o k response

func (*AccountAliasOK) Error

func (o *AccountAliasOK) Error() string

func (*AccountAliasOK) GetPayload

func (o *AccountAliasOK) GetPayload() *models.Account

func (*AccountAliasOK) IsClientError

func (o *AccountAliasOK) IsClientError() bool

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

func (*AccountAliasOK) IsCode

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

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

func (*AccountAliasOK) IsRedirect

func (o *AccountAliasOK) IsRedirect() bool

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

func (*AccountAliasOK) IsServerError

func (o *AccountAliasOK) IsServerError() bool

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

func (*AccountAliasOK) IsSuccess

func (o *AccountAliasOK) IsSuccess() bool

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

func (*AccountAliasOK) String

func (o *AccountAliasOK) String() string

type AccountAliasParams

type AccountAliasParams struct {

	/* AlsoKnownAsUris.

	     ActivityPub URI/IDs of target accounts to which this account is being aliased. Eg., `["https://example.org/users/some_account"]`.
	Use an empty array to unset alsoKnownAs, clearing the aliases.
	*/
	AlsoKnownAsUris string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountAliasParams contains all the parameters to send to the API endpoint

for the account alias operation.

Typically these are written to a http.Request.

func NewAccountAliasParams

func NewAccountAliasParams() *AccountAliasParams

NewAccountAliasParams creates a new AccountAliasParams 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 NewAccountAliasParamsWithContext

func NewAccountAliasParamsWithContext(ctx context.Context) *AccountAliasParams

NewAccountAliasParamsWithContext creates a new AccountAliasParams object with the ability to set a context for a request.

func NewAccountAliasParamsWithHTTPClient

func NewAccountAliasParamsWithHTTPClient(client *http.Client) *AccountAliasParams

NewAccountAliasParamsWithHTTPClient creates a new AccountAliasParams object with the ability to set a custom HTTPClient for a request.

func NewAccountAliasParamsWithTimeout

func NewAccountAliasParamsWithTimeout(timeout time.Duration) *AccountAliasParams

NewAccountAliasParamsWithTimeout creates a new AccountAliasParams object with the ability to set a timeout on a request.

func (*AccountAliasParams) SetAlsoKnownAsUris

func (o *AccountAliasParams) SetAlsoKnownAsUris(alsoKnownAsUris string)

SetAlsoKnownAsUris adds the alsoKnownAsUris to the account alias params

func (*AccountAliasParams) SetContext

func (o *AccountAliasParams) SetContext(ctx context.Context)

SetContext adds the context to the account alias params

func (*AccountAliasParams) SetDefaults

func (o *AccountAliasParams) SetDefaults()

SetDefaults hydrates default values in the account alias params (not the query body).

All values with no default are reset to their zero value.

func (*AccountAliasParams) SetHTTPClient

func (o *AccountAliasParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account alias params

func (*AccountAliasParams) SetTimeout

func (o *AccountAliasParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account alias params

func (*AccountAliasParams) WithAlsoKnownAsUris

func (o *AccountAliasParams) WithAlsoKnownAsUris(alsoKnownAsUris string) *AccountAliasParams

WithAlsoKnownAsUris adds the alsoKnownAsUris to the account alias params

func (*AccountAliasParams) WithContext

WithContext adds the context to the account alias params

func (*AccountAliasParams) WithDefaults

func (o *AccountAliasParams) WithDefaults() *AccountAliasParams

WithDefaults hydrates default values in the account alias params (not the query body).

All values with no default are reset to their zero value.

func (*AccountAliasParams) WithHTTPClient

func (o *AccountAliasParams) WithHTTPClient(client *http.Client) *AccountAliasParams

WithHTTPClient adds the HTTPClient to the account alias params

func (*AccountAliasParams) WithTimeout

func (o *AccountAliasParams) WithTimeout(timeout time.Duration) *AccountAliasParams

WithTimeout adds the timeout to the account alias params

func (*AccountAliasParams) WriteToRequest

func (o *AccountAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountAliasReader

type AccountAliasReader struct {
	// contains filtered or unexported fields
}

AccountAliasReader is a Reader for the AccountAlias structure.

func (*AccountAliasReader) ReadResponse

func (o *AccountAliasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountAliasUnauthorized

type AccountAliasUnauthorized struct {
}

AccountAliasUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountAliasUnauthorized

func NewAccountAliasUnauthorized() *AccountAliasUnauthorized

NewAccountAliasUnauthorized creates a AccountAliasUnauthorized with default headers values

func (*AccountAliasUnauthorized) Code

func (o *AccountAliasUnauthorized) Code() int

Code gets the status code for the account alias unauthorized response

func (*AccountAliasUnauthorized) Error

func (o *AccountAliasUnauthorized) Error() string

func (*AccountAliasUnauthorized) IsClientError

func (o *AccountAliasUnauthorized) IsClientError() bool

IsClientError returns true when this account alias unauthorized response has a 4xx status code

func (*AccountAliasUnauthorized) IsCode

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

IsCode returns true when this account alias unauthorized response a status code equal to that given

func (*AccountAliasUnauthorized) IsRedirect

func (o *AccountAliasUnauthorized) IsRedirect() bool

IsRedirect returns true when this account alias unauthorized response has a 3xx status code

func (*AccountAliasUnauthorized) IsServerError

func (o *AccountAliasUnauthorized) IsServerError() bool

IsServerError returns true when this account alias unauthorized response has a 5xx status code

func (*AccountAliasUnauthorized) IsSuccess

func (o *AccountAliasUnauthorized) IsSuccess() bool

IsSuccess returns true when this account alias unauthorized response has a 2xx status code

func (*AccountAliasUnauthorized) String

func (o *AccountAliasUnauthorized) String() string

type AccountAliasUnprocessableEntity

type AccountAliasUnprocessableEntity struct {
}

AccountAliasUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable. Check the response body for more details.

func NewAccountAliasUnprocessableEntity

func NewAccountAliasUnprocessableEntity() *AccountAliasUnprocessableEntity

NewAccountAliasUnprocessableEntity creates a AccountAliasUnprocessableEntity with default headers values

func (*AccountAliasUnprocessableEntity) Code

Code gets the status code for the account alias unprocessable entity response

func (*AccountAliasUnprocessableEntity) Error

func (*AccountAliasUnprocessableEntity) IsClientError

func (o *AccountAliasUnprocessableEntity) IsClientError() bool

IsClientError returns true when this account alias unprocessable entity response has a 4xx status code

func (*AccountAliasUnprocessableEntity) IsCode

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

IsCode returns true when this account alias unprocessable entity response a status code equal to that given

func (*AccountAliasUnprocessableEntity) IsRedirect

func (o *AccountAliasUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this account alias unprocessable entity response has a 3xx status code

func (*AccountAliasUnprocessableEntity) IsServerError

func (o *AccountAliasUnprocessableEntity) IsServerError() bool

IsServerError returns true when this account alias unprocessable entity response has a 5xx status code

func (*AccountAliasUnprocessableEntity) IsSuccess

func (o *AccountAliasUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this account alias unprocessable entity response has a 2xx status code

func (*AccountAliasUnprocessableEntity) String

type AccountAvatarDeleteBadRequest

type AccountAvatarDeleteBadRequest struct {
}

AccountAvatarDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountAvatarDeleteBadRequest

func NewAccountAvatarDeleteBadRequest() *AccountAvatarDeleteBadRequest

NewAccountAvatarDeleteBadRequest creates a AccountAvatarDeleteBadRequest with default headers values

func (*AccountAvatarDeleteBadRequest) Code

Code gets the status code for the account avatar delete bad request response

func (*AccountAvatarDeleteBadRequest) Error

func (*AccountAvatarDeleteBadRequest) IsClientError

func (o *AccountAvatarDeleteBadRequest) IsClientError() bool

IsClientError returns true when this account avatar delete bad request response has a 4xx status code

func (*AccountAvatarDeleteBadRequest) IsCode

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

IsCode returns true when this account avatar delete bad request response a status code equal to that given

func (*AccountAvatarDeleteBadRequest) IsRedirect

func (o *AccountAvatarDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this account avatar delete bad request response has a 3xx status code

func (*AccountAvatarDeleteBadRequest) IsServerError

func (o *AccountAvatarDeleteBadRequest) IsServerError() bool

IsServerError returns true when this account avatar delete bad request response has a 5xx status code

func (*AccountAvatarDeleteBadRequest) IsSuccess

func (o *AccountAvatarDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this account avatar delete bad request response has a 2xx status code

func (*AccountAvatarDeleteBadRequest) String

type AccountAvatarDeleteForbidden

type AccountAvatarDeleteForbidden struct {
}

AccountAvatarDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewAccountAvatarDeleteForbidden

func NewAccountAvatarDeleteForbidden() *AccountAvatarDeleteForbidden

NewAccountAvatarDeleteForbidden creates a AccountAvatarDeleteForbidden with default headers values

func (*AccountAvatarDeleteForbidden) Code

Code gets the status code for the account avatar delete forbidden response

func (*AccountAvatarDeleteForbidden) Error

func (*AccountAvatarDeleteForbidden) IsClientError

func (o *AccountAvatarDeleteForbidden) IsClientError() bool

IsClientError returns true when this account avatar delete forbidden response has a 4xx status code

func (*AccountAvatarDeleteForbidden) IsCode

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

IsCode returns true when this account avatar delete forbidden response a status code equal to that given

func (*AccountAvatarDeleteForbidden) IsRedirect

func (o *AccountAvatarDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this account avatar delete forbidden response has a 3xx status code

func (*AccountAvatarDeleteForbidden) IsServerError

func (o *AccountAvatarDeleteForbidden) IsServerError() bool

IsServerError returns true when this account avatar delete forbidden response has a 5xx status code

func (*AccountAvatarDeleteForbidden) IsSuccess

func (o *AccountAvatarDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this account avatar delete forbidden response has a 2xx status code

func (*AccountAvatarDeleteForbidden) String

type AccountAvatarDeleteInternalServerError

type AccountAvatarDeleteInternalServerError struct {
}

AccountAvatarDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountAvatarDeleteInternalServerError

func NewAccountAvatarDeleteInternalServerError() *AccountAvatarDeleteInternalServerError

NewAccountAvatarDeleteInternalServerError creates a AccountAvatarDeleteInternalServerError with default headers values

func (*AccountAvatarDeleteInternalServerError) Code

Code gets the status code for the account avatar delete internal server error response

func (*AccountAvatarDeleteInternalServerError) Error

func (*AccountAvatarDeleteInternalServerError) IsClientError

func (o *AccountAvatarDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this account avatar delete internal server error response has a 4xx status code

func (*AccountAvatarDeleteInternalServerError) IsCode

IsCode returns true when this account avatar delete internal server error response a status code equal to that given

func (*AccountAvatarDeleteInternalServerError) IsRedirect

IsRedirect returns true when this account avatar delete internal server error response has a 3xx status code

func (*AccountAvatarDeleteInternalServerError) IsServerError

func (o *AccountAvatarDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this account avatar delete internal server error response has a 5xx status code

func (*AccountAvatarDeleteInternalServerError) IsSuccess

IsSuccess returns true when this account avatar delete internal server error response has a 2xx status code

func (*AccountAvatarDeleteInternalServerError) String

type AccountAvatarDeleteNotAcceptable

type AccountAvatarDeleteNotAcceptable struct {
}

AccountAvatarDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountAvatarDeleteNotAcceptable

func NewAccountAvatarDeleteNotAcceptable() *AccountAvatarDeleteNotAcceptable

NewAccountAvatarDeleteNotAcceptable creates a AccountAvatarDeleteNotAcceptable with default headers values

func (*AccountAvatarDeleteNotAcceptable) Code

Code gets the status code for the account avatar delete not acceptable response

func (*AccountAvatarDeleteNotAcceptable) Error

func (*AccountAvatarDeleteNotAcceptable) IsClientError

func (o *AccountAvatarDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this account avatar delete not acceptable response has a 4xx status code

func (*AccountAvatarDeleteNotAcceptable) IsCode

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

IsCode returns true when this account avatar delete not acceptable response a status code equal to that given

func (*AccountAvatarDeleteNotAcceptable) IsRedirect

func (o *AccountAvatarDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account avatar delete not acceptable response has a 3xx status code

func (*AccountAvatarDeleteNotAcceptable) IsServerError

func (o *AccountAvatarDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this account avatar delete not acceptable response has a 5xx status code

func (*AccountAvatarDeleteNotAcceptable) IsSuccess

func (o *AccountAvatarDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account avatar delete not acceptable response has a 2xx status code

func (*AccountAvatarDeleteNotAcceptable) String

type AccountAvatarDeleteOK

type AccountAvatarDeleteOK struct {
	Payload *models.Account
}

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

The updated account, including profile source information.

func NewAccountAvatarDeleteOK

func NewAccountAvatarDeleteOK() *AccountAvatarDeleteOK

NewAccountAvatarDeleteOK creates a AccountAvatarDeleteOK with default headers values

func (*AccountAvatarDeleteOK) Code

func (o *AccountAvatarDeleteOK) Code() int

Code gets the status code for the account avatar delete o k response

func (*AccountAvatarDeleteOK) Error

func (o *AccountAvatarDeleteOK) Error() string

func (*AccountAvatarDeleteOK) GetPayload

func (o *AccountAvatarDeleteOK) GetPayload() *models.Account

func (*AccountAvatarDeleteOK) IsClientError

func (o *AccountAvatarDeleteOK) IsClientError() bool

IsClientError returns true when this account avatar delete o k response has a 4xx status code

func (*AccountAvatarDeleteOK) IsCode

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

IsCode returns true when this account avatar delete o k response a status code equal to that given

func (*AccountAvatarDeleteOK) IsRedirect

func (o *AccountAvatarDeleteOK) IsRedirect() bool

IsRedirect returns true when this account avatar delete o k response has a 3xx status code

func (*AccountAvatarDeleteOK) IsServerError

func (o *AccountAvatarDeleteOK) IsServerError() bool

IsServerError returns true when this account avatar delete o k response has a 5xx status code

func (*AccountAvatarDeleteOK) IsSuccess

func (o *AccountAvatarDeleteOK) IsSuccess() bool

IsSuccess returns true when this account avatar delete o k response has a 2xx status code

func (*AccountAvatarDeleteOK) String

func (o *AccountAvatarDeleteOK) String() string

type AccountAvatarDeleteParams

type AccountAvatarDeleteParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountAvatarDeleteParams contains all the parameters to send to the API endpoint

for the account avatar delete operation.

Typically these are written to a http.Request.

func NewAccountAvatarDeleteParams

func NewAccountAvatarDeleteParams() *AccountAvatarDeleteParams

NewAccountAvatarDeleteParams creates a new AccountAvatarDeleteParams 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 NewAccountAvatarDeleteParamsWithContext

func NewAccountAvatarDeleteParamsWithContext(ctx context.Context) *AccountAvatarDeleteParams

NewAccountAvatarDeleteParamsWithContext creates a new AccountAvatarDeleteParams object with the ability to set a context for a request.

func NewAccountAvatarDeleteParamsWithHTTPClient

func NewAccountAvatarDeleteParamsWithHTTPClient(client *http.Client) *AccountAvatarDeleteParams

NewAccountAvatarDeleteParamsWithHTTPClient creates a new AccountAvatarDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountAvatarDeleteParamsWithTimeout

func NewAccountAvatarDeleteParamsWithTimeout(timeout time.Duration) *AccountAvatarDeleteParams

NewAccountAvatarDeleteParamsWithTimeout creates a new AccountAvatarDeleteParams object with the ability to set a timeout on a request.

func (*AccountAvatarDeleteParams) SetContext

func (o *AccountAvatarDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the account avatar delete params

func (*AccountAvatarDeleteParams) SetDefaults

func (o *AccountAvatarDeleteParams) SetDefaults()

SetDefaults hydrates default values in the account avatar delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountAvatarDeleteParams) SetHTTPClient

func (o *AccountAvatarDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account avatar delete params

func (*AccountAvatarDeleteParams) SetTimeout

func (o *AccountAvatarDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account avatar delete params

func (*AccountAvatarDeleteParams) WithContext

WithContext adds the context to the account avatar delete params

func (*AccountAvatarDeleteParams) WithDefaults

WithDefaults hydrates default values in the account avatar delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountAvatarDeleteParams) WithHTTPClient

func (o *AccountAvatarDeleteParams) WithHTTPClient(client *http.Client) *AccountAvatarDeleteParams

WithHTTPClient adds the HTTPClient to the account avatar delete params

func (*AccountAvatarDeleteParams) WithTimeout

WithTimeout adds the timeout to the account avatar delete params

func (*AccountAvatarDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountAvatarDeleteReader

type AccountAvatarDeleteReader struct {
	// contains filtered or unexported fields
}

AccountAvatarDeleteReader is a Reader for the AccountAvatarDelete structure.

func (*AccountAvatarDeleteReader) ReadResponse

func (o *AccountAvatarDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountAvatarDeleteUnauthorized

type AccountAvatarDeleteUnauthorized struct {
}

AccountAvatarDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountAvatarDeleteUnauthorized

func NewAccountAvatarDeleteUnauthorized() *AccountAvatarDeleteUnauthorized

NewAccountAvatarDeleteUnauthorized creates a AccountAvatarDeleteUnauthorized with default headers values

func (*AccountAvatarDeleteUnauthorized) Code

Code gets the status code for the account avatar delete unauthorized response

func (*AccountAvatarDeleteUnauthorized) Error

func (*AccountAvatarDeleteUnauthorized) IsClientError

func (o *AccountAvatarDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this account avatar delete unauthorized response has a 4xx status code

func (*AccountAvatarDeleteUnauthorized) IsCode

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

IsCode returns true when this account avatar delete unauthorized response a status code equal to that given

func (*AccountAvatarDeleteUnauthorized) IsRedirect

func (o *AccountAvatarDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account avatar delete unauthorized response has a 3xx status code

func (*AccountAvatarDeleteUnauthorized) IsServerError

func (o *AccountAvatarDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this account avatar delete unauthorized response has a 5xx status code

func (*AccountAvatarDeleteUnauthorized) IsSuccess

func (o *AccountAvatarDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account avatar delete unauthorized response has a 2xx status code

func (*AccountAvatarDeleteUnauthorized) String

type AccountBlockBadRequest

type AccountBlockBadRequest struct {
}

AccountBlockBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountBlockBadRequest

func NewAccountBlockBadRequest() *AccountBlockBadRequest

NewAccountBlockBadRequest creates a AccountBlockBadRequest with default headers values

func (*AccountBlockBadRequest) Code

func (o *AccountBlockBadRequest) Code() int

Code gets the status code for the account block bad request response

func (*AccountBlockBadRequest) Error

func (o *AccountBlockBadRequest) Error() string

func (*AccountBlockBadRequest) IsClientError

func (o *AccountBlockBadRequest) IsClientError() bool

IsClientError returns true when this account block bad request response has a 4xx status code

func (*AccountBlockBadRequest) IsCode

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

IsCode returns true when this account block bad request response a status code equal to that given

func (*AccountBlockBadRequest) IsRedirect

func (o *AccountBlockBadRequest) IsRedirect() bool

IsRedirect returns true when this account block bad request response has a 3xx status code

func (*AccountBlockBadRequest) IsServerError

func (o *AccountBlockBadRequest) IsServerError() bool

IsServerError returns true when this account block bad request response has a 5xx status code

func (*AccountBlockBadRequest) IsSuccess

func (o *AccountBlockBadRequest) IsSuccess() bool

IsSuccess returns true when this account block bad request response has a 2xx status code

func (*AccountBlockBadRequest) String

func (o *AccountBlockBadRequest) String() string

type AccountBlockInternalServerError

type AccountBlockInternalServerError struct {
}

AccountBlockInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountBlockInternalServerError

func NewAccountBlockInternalServerError() *AccountBlockInternalServerError

NewAccountBlockInternalServerError creates a AccountBlockInternalServerError with default headers values

func (*AccountBlockInternalServerError) Code

Code gets the status code for the account block internal server error response

func (*AccountBlockInternalServerError) Error

func (*AccountBlockInternalServerError) IsClientError

func (o *AccountBlockInternalServerError) IsClientError() bool

IsClientError returns true when this account block internal server error response has a 4xx status code

func (*AccountBlockInternalServerError) IsCode

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

IsCode returns true when this account block internal server error response a status code equal to that given

func (*AccountBlockInternalServerError) IsRedirect

func (o *AccountBlockInternalServerError) IsRedirect() bool

IsRedirect returns true when this account block internal server error response has a 3xx status code

func (*AccountBlockInternalServerError) IsServerError

func (o *AccountBlockInternalServerError) IsServerError() bool

IsServerError returns true when this account block internal server error response has a 5xx status code

func (*AccountBlockInternalServerError) IsSuccess

func (o *AccountBlockInternalServerError) IsSuccess() bool

IsSuccess returns true when this account block internal server error response has a 2xx status code

func (*AccountBlockInternalServerError) String

type AccountBlockNotAcceptable

type AccountBlockNotAcceptable struct {
}

AccountBlockNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountBlockNotAcceptable

func NewAccountBlockNotAcceptable() *AccountBlockNotAcceptable

NewAccountBlockNotAcceptable creates a AccountBlockNotAcceptable with default headers values

func (*AccountBlockNotAcceptable) Code

func (o *AccountBlockNotAcceptable) Code() int

Code gets the status code for the account block not acceptable response

func (*AccountBlockNotAcceptable) Error

func (o *AccountBlockNotAcceptable) Error() string

func (*AccountBlockNotAcceptable) IsClientError

func (o *AccountBlockNotAcceptable) IsClientError() bool

IsClientError returns true when this account block not acceptable response has a 4xx status code

func (*AccountBlockNotAcceptable) IsCode

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

IsCode returns true when this account block not acceptable response a status code equal to that given

func (*AccountBlockNotAcceptable) IsRedirect

func (o *AccountBlockNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account block not acceptable response has a 3xx status code

func (*AccountBlockNotAcceptable) IsServerError

func (o *AccountBlockNotAcceptable) IsServerError() bool

IsServerError returns true when this account block not acceptable response has a 5xx status code

func (*AccountBlockNotAcceptable) IsSuccess

func (o *AccountBlockNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account block not acceptable response has a 2xx status code

func (*AccountBlockNotAcceptable) String

func (o *AccountBlockNotAcceptable) String() string

type AccountBlockNotFound

type AccountBlockNotFound struct {
}

AccountBlockNotFound describes a response with status code 404, with default header values.

not found

func NewAccountBlockNotFound

func NewAccountBlockNotFound() *AccountBlockNotFound

NewAccountBlockNotFound creates a AccountBlockNotFound with default headers values

func (*AccountBlockNotFound) Code

func (o *AccountBlockNotFound) Code() int

Code gets the status code for the account block not found response

func (*AccountBlockNotFound) Error

func (o *AccountBlockNotFound) Error() string

func (*AccountBlockNotFound) IsClientError

func (o *AccountBlockNotFound) IsClientError() bool

IsClientError returns true when this account block not found response has a 4xx status code

func (*AccountBlockNotFound) IsCode

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

IsCode returns true when this account block not found response a status code equal to that given

func (*AccountBlockNotFound) IsRedirect

func (o *AccountBlockNotFound) IsRedirect() bool

IsRedirect returns true when this account block not found response has a 3xx status code

func (*AccountBlockNotFound) IsServerError

func (o *AccountBlockNotFound) IsServerError() bool

IsServerError returns true when this account block not found response has a 5xx status code

func (*AccountBlockNotFound) IsSuccess

func (o *AccountBlockNotFound) IsSuccess() bool

IsSuccess returns true when this account block not found response has a 2xx status code

func (*AccountBlockNotFound) String

func (o *AccountBlockNotFound) String() string

type AccountBlockOK

type AccountBlockOK struct {
	Payload *models.Relationship
}

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

Your relationship to the account.

func NewAccountBlockOK

func NewAccountBlockOK() *AccountBlockOK

NewAccountBlockOK creates a AccountBlockOK with default headers values

func (*AccountBlockOK) Code

func (o *AccountBlockOK) Code() int

Code gets the status code for the account block o k response

func (*AccountBlockOK) Error

func (o *AccountBlockOK) Error() string

func (*AccountBlockOK) GetPayload

func (o *AccountBlockOK) GetPayload() *models.Relationship

func (*AccountBlockOK) IsClientError

func (o *AccountBlockOK) IsClientError() bool

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

func (*AccountBlockOK) IsCode

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

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

func (*AccountBlockOK) IsRedirect

func (o *AccountBlockOK) IsRedirect() bool

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

func (*AccountBlockOK) IsServerError

func (o *AccountBlockOK) IsServerError() bool

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

func (*AccountBlockOK) IsSuccess

func (o *AccountBlockOK) IsSuccess() bool

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

func (*AccountBlockOK) String

func (o *AccountBlockOK) String() string

type AccountBlockParams

type AccountBlockParams struct {

	/* ID.

	   The id of the account to block.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountBlockParams contains all the parameters to send to the API endpoint

for the account block operation.

Typically these are written to a http.Request.

func NewAccountBlockParams

func NewAccountBlockParams() *AccountBlockParams

NewAccountBlockParams creates a new AccountBlockParams 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 NewAccountBlockParamsWithContext

func NewAccountBlockParamsWithContext(ctx context.Context) *AccountBlockParams

NewAccountBlockParamsWithContext creates a new AccountBlockParams object with the ability to set a context for a request.

func NewAccountBlockParamsWithHTTPClient

func NewAccountBlockParamsWithHTTPClient(client *http.Client) *AccountBlockParams

NewAccountBlockParamsWithHTTPClient creates a new AccountBlockParams object with the ability to set a custom HTTPClient for a request.

func NewAccountBlockParamsWithTimeout

func NewAccountBlockParamsWithTimeout(timeout time.Duration) *AccountBlockParams

NewAccountBlockParamsWithTimeout creates a new AccountBlockParams object with the ability to set a timeout on a request.

func (*AccountBlockParams) SetContext

func (o *AccountBlockParams) SetContext(ctx context.Context)

SetContext adds the context to the account block params

func (*AccountBlockParams) SetDefaults

func (o *AccountBlockParams) SetDefaults()

SetDefaults hydrates default values in the account block params (not the query body).

All values with no default are reset to their zero value.

func (*AccountBlockParams) SetHTTPClient

func (o *AccountBlockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account block params

func (*AccountBlockParams) SetID

func (o *AccountBlockParams) SetID(id string)

SetID adds the id to the account block params

func (*AccountBlockParams) SetTimeout

func (o *AccountBlockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account block params

func (*AccountBlockParams) WithContext

WithContext adds the context to the account block params

func (*AccountBlockParams) WithDefaults

func (o *AccountBlockParams) WithDefaults() *AccountBlockParams

WithDefaults hydrates default values in the account block params (not the query body).

All values with no default are reset to their zero value.

func (*AccountBlockParams) WithHTTPClient

func (o *AccountBlockParams) WithHTTPClient(client *http.Client) *AccountBlockParams

WithHTTPClient adds the HTTPClient to the account block params

func (*AccountBlockParams) WithID

WithID adds the id to the account block params

func (*AccountBlockParams) WithTimeout

func (o *AccountBlockParams) WithTimeout(timeout time.Duration) *AccountBlockParams

WithTimeout adds the timeout to the account block params

func (*AccountBlockParams) WriteToRequest

func (o *AccountBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountBlockReader

type AccountBlockReader struct {
	// contains filtered or unexported fields
}

AccountBlockReader is a Reader for the AccountBlock structure.

func (*AccountBlockReader) ReadResponse

func (o *AccountBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountBlockUnauthorized

type AccountBlockUnauthorized struct {
}

AccountBlockUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountBlockUnauthorized

func NewAccountBlockUnauthorized() *AccountBlockUnauthorized

NewAccountBlockUnauthorized creates a AccountBlockUnauthorized with default headers values

func (*AccountBlockUnauthorized) Code

func (o *AccountBlockUnauthorized) Code() int

Code gets the status code for the account block unauthorized response

func (*AccountBlockUnauthorized) Error

func (o *AccountBlockUnauthorized) Error() string

func (*AccountBlockUnauthorized) IsClientError

func (o *AccountBlockUnauthorized) IsClientError() bool

IsClientError returns true when this account block unauthorized response has a 4xx status code

func (*AccountBlockUnauthorized) IsCode

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

IsCode returns true when this account block unauthorized response a status code equal to that given

func (*AccountBlockUnauthorized) IsRedirect

func (o *AccountBlockUnauthorized) IsRedirect() bool

IsRedirect returns true when this account block unauthorized response has a 3xx status code

func (*AccountBlockUnauthorized) IsServerError

func (o *AccountBlockUnauthorized) IsServerError() bool

IsServerError returns true when this account block unauthorized response has a 5xx status code

func (*AccountBlockUnauthorized) IsSuccess

func (o *AccountBlockUnauthorized) IsSuccess() bool

IsSuccess returns true when this account block unauthorized response has a 2xx status code

func (*AccountBlockUnauthorized) String

func (o *AccountBlockUnauthorized) String() string

type AccountCreateBadRequest

type AccountCreateBadRequest struct {
}

AccountCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountCreateBadRequest

func NewAccountCreateBadRequest() *AccountCreateBadRequest

NewAccountCreateBadRequest creates a AccountCreateBadRequest with default headers values

func (*AccountCreateBadRequest) Code

func (o *AccountCreateBadRequest) Code() int

Code gets the status code for the account create bad request response

func (*AccountCreateBadRequest) Error

func (o *AccountCreateBadRequest) Error() string

func (*AccountCreateBadRequest) IsClientError

func (o *AccountCreateBadRequest) IsClientError() bool

IsClientError returns true when this account create bad request response has a 4xx status code

func (*AccountCreateBadRequest) IsCode

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

IsCode returns true when this account create bad request response a status code equal to that given

func (*AccountCreateBadRequest) IsRedirect

func (o *AccountCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this account create bad request response has a 3xx status code

func (*AccountCreateBadRequest) IsServerError

func (o *AccountCreateBadRequest) IsServerError() bool

IsServerError returns true when this account create bad request response has a 5xx status code

func (*AccountCreateBadRequest) IsSuccess

func (o *AccountCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this account create bad request response has a 2xx status code

func (*AccountCreateBadRequest) String

func (o *AccountCreateBadRequest) String() string

type AccountCreateInternalServerError

type AccountCreateInternalServerError struct {
}

AccountCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountCreateInternalServerError

func NewAccountCreateInternalServerError() *AccountCreateInternalServerError

NewAccountCreateInternalServerError creates a AccountCreateInternalServerError with default headers values

func (*AccountCreateInternalServerError) Code

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

func (*AccountCreateInternalServerError) Error

func (*AccountCreateInternalServerError) IsClientError

func (o *AccountCreateInternalServerError) IsClientError() bool

IsClientError returns true when this account create internal server error response has a 4xx status code

func (*AccountCreateInternalServerError) IsCode

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

IsCode returns true when this account create internal server error response a status code equal to that given

func (*AccountCreateInternalServerError) IsRedirect

func (o *AccountCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this account create internal server error response has a 3xx status code

func (*AccountCreateInternalServerError) IsServerError

func (o *AccountCreateInternalServerError) IsServerError() bool

IsServerError returns true when this account create internal server error response has a 5xx status code

func (*AccountCreateInternalServerError) IsSuccess

func (o *AccountCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this account create internal server error response has a 2xx status code

func (*AccountCreateInternalServerError) String

type AccountCreateNotAcceptable

type AccountCreateNotAcceptable struct {
}

AccountCreateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountCreateNotAcceptable

func NewAccountCreateNotAcceptable() *AccountCreateNotAcceptable

NewAccountCreateNotAcceptable creates a AccountCreateNotAcceptable with default headers values

func (*AccountCreateNotAcceptable) Code

func (o *AccountCreateNotAcceptable) Code() int

Code gets the status code for the account create not acceptable response

func (*AccountCreateNotAcceptable) Error

func (*AccountCreateNotAcceptable) IsClientError

func (o *AccountCreateNotAcceptable) IsClientError() bool

IsClientError returns true when this account create not acceptable response has a 4xx status code

func (*AccountCreateNotAcceptable) IsCode

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

IsCode returns true when this account create not acceptable response a status code equal to that given

func (*AccountCreateNotAcceptable) IsRedirect

func (o *AccountCreateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account create not acceptable response has a 3xx status code

func (*AccountCreateNotAcceptable) IsServerError

func (o *AccountCreateNotAcceptable) IsServerError() bool

IsServerError returns true when this account create not acceptable response has a 5xx status code

func (*AccountCreateNotAcceptable) IsSuccess

func (o *AccountCreateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account create not acceptable response has a 2xx status code

func (*AccountCreateNotAcceptable) String

func (o *AccountCreateNotAcceptable) String() string

type AccountCreateNotFound

type AccountCreateNotFound struct {
}

AccountCreateNotFound describes a response with status code 404, with default header values.

not found

func NewAccountCreateNotFound

func NewAccountCreateNotFound() *AccountCreateNotFound

NewAccountCreateNotFound creates a AccountCreateNotFound with default headers values

func (*AccountCreateNotFound) Code

func (o *AccountCreateNotFound) Code() int

Code gets the status code for the account create not found response

func (*AccountCreateNotFound) Error

func (o *AccountCreateNotFound) Error() string

func (*AccountCreateNotFound) IsClientError

func (o *AccountCreateNotFound) IsClientError() bool

IsClientError returns true when this account create not found response has a 4xx status code

func (*AccountCreateNotFound) IsCode

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

IsCode returns true when this account create not found response a status code equal to that given

func (*AccountCreateNotFound) IsRedirect

func (o *AccountCreateNotFound) IsRedirect() bool

IsRedirect returns true when this account create not found response has a 3xx status code

func (*AccountCreateNotFound) IsServerError

func (o *AccountCreateNotFound) IsServerError() bool

IsServerError returns true when this account create not found response has a 5xx status code

func (*AccountCreateNotFound) IsSuccess

func (o *AccountCreateNotFound) IsSuccess() bool

IsSuccess returns true when this account create not found response has a 2xx status code

func (*AccountCreateNotFound) String

func (o *AccountCreateNotFound) String() string

type AccountCreateOK

type AccountCreateOK struct {
	Payload *models.Token
}

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

An OAuth2 access token for the newly-created account.

func NewAccountCreateOK

func NewAccountCreateOK() *AccountCreateOK

NewAccountCreateOK creates a AccountCreateOK with default headers values

func (*AccountCreateOK) Code

func (o *AccountCreateOK) Code() int

Code gets the status code for the account create o k response

func (*AccountCreateOK) Error

func (o *AccountCreateOK) Error() string

func (*AccountCreateOK) GetPayload

func (o *AccountCreateOK) GetPayload() *models.Token

func (*AccountCreateOK) IsClientError

func (o *AccountCreateOK) IsClientError() bool

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

func (*AccountCreateOK) IsCode

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

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

func (*AccountCreateOK) IsRedirect

func (o *AccountCreateOK) IsRedirect() bool

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

func (*AccountCreateOK) IsServerError

func (o *AccountCreateOK) IsServerError() bool

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

func (*AccountCreateOK) IsSuccess

func (o *AccountCreateOK) IsSuccess() bool

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

func (*AccountCreateOK) String

func (o *AccountCreateOK) String() string

type AccountCreateParams

type AccountCreateParams struct {

	/* Agreement.

	   The user agrees to the terms, conditions, and policies of the instance.
	*/
	Agreement *bool

	/* Email.

	   The email address to be used for login.
	*/
	Email *string

	/* Locale.

	   The language of the confirmation email that will be sent.
	*/
	Locale *string

	/* Password.

	   The password to be used for login. This will be hashed before storage.
	*/
	Password *string

	/* Reason.

	   Text that will be reviewed by moderators if registrations require manual approval.
	*/
	Reason *string

	/* Username.

	   The desired username for the account.
	*/
	Username *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountCreateParams contains all the parameters to send to the API endpoint

for the account create operation.

Typically these are written to a http.Request.

func NewAccountCreateParams

func NewAccountCreateParams() *AccountCreateParams

NewAccountCreateParams creates a new AccountCreateParams 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 NewAccountCreateParamsWithContext

func NewAccountCreateParamsWithContext(ctx context.Context) *AccountCreateParams

NewAccountCreateParamsWithContext creates a new AccountCreateParams object with the ability to set a context for a request.

func NewAccountCreateParamsWithHTTPClient

func NewAccountCreateParamsWithHTTPClient(client *http.Client) *AccountCreateParams

NewAccountCreateParamsWithHTTPClient creates a new AccountCreateParams object with the ability to set a custom HTTPClient for a request.

func NewAccountCreateParamsWithTimeout

func NewAccountCreateParamsWithTimeout(timeout time.Duration) *AccountCreateParams

NewAccountCreateParamsWithTimeout creates a new AccountCreateParams object with the ability to set a timeout on a request.

func (*AccountCreateParams) SetAgreement

func (o *AccountCreateParams) SetAgreement(agreement *bool)

SetAgreement adds the agreement to the account create params

func (*AccountCreateParams) SetContext

func (o *AccountCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the account create params

func (*AccountCreateParams) SetDefaults

func (o *AccountCreateParams) SetDefaults()

SetDefaults hydrates default values in the account create params (not the query body).

All values with no default are reset to their zero value.

func (*AccountCreateParams) SetEmail

func (o *AccountCreateParams) SetEmail(email *string)

SetEmail adds the email to the account create params

func (*AccountCreateParams) SetHTTPClient

func (o *AccountCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account create params

func (*AccountCreateParams) SetLocale

func (o *AccountCreateParams) SetLocale(locale *string)

SetLocale adds the locale to the account create params

func (*AccountCreateParams) SetPassword

func (o *AccountCreateParams) SetPassword(password *string)

SetPassword adds the password to the account create params

func (*AccountCreateParams) SetReason

func (o *AccountCreateParams) SetReason(reason *string)

SetReason adds the reason to the account create params

func (*AccountCreateParams) SetTimeout

func (o *AccountCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account create params

func (*AccountCreateParams) SetUsername

func (o *AccountCreateParams) SetUsername(username *string)

SetUsername adds the username to the account create params

func (*AccountCreateParams) WithAgreement

func (o *AccountCreateParams) WithAgreement(agreement *bool) *AccountCreateParams

WithAgreement adds the agreement to the account create params

func (*AccountCreateParams) WithContext

WithContext adds the context to the account create params

func (*AccountCreateParams) WithDefaults

func (o *AccountCreateParams) WithDefaults() *AccountCreateParams

WithDefaults hydrates default values in the account create params (not the query body).

All values with no default are reset to their zero value.

func (*AccountCreateParams) WithEmail

func (o *AccountCreateParams) WithEmail(email *string) *AccountCreateParams

WithEmail adds the email to the account create params

func (*AccountCreateParams) WithHTTPClient

func (o *AccountCreateParams) WithHTTPClient(client *http.Client) *AccountCreateParams

WithHTTPClient adds the HTTPClient to the account create params

func (*AccountCreateParams) WithLocale

func (o *AccountCreateParams) WithLocale(locale *string) *AccountCreateParams

WithLocale adds the locale to the account create params

func (*AccountCreateParams) WithPassword

func (o *AccountCreateParams) WithPassword(password *string) *AccountCreateParams

WithPassword adds the password to the account create params

func (*AccountCreateParams) WithReason

func (o *AccountCreateParams) WithReason(reason *string) *AccountCreateParams

WithReason adds the reason to the account create params

func (*AccountCreateParams) WithTimeout

func (o *AccountCreateParams) WithTimeout(timeout time.Duration) *AccountCreateParams

WithTimeout adds the timeout to the account create params

func (*AccountCreateParams) WithUsername

func (o *AccountCreateParams) WithUsername(username *string) *AccountCreateParams

WithUsername adds the username to the account create params

func (*AccountCreateParams) WriteToRequest

func (o *AccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountCreateReader

type AccountCreateReader struct {
	// contains filtered or unexported fields
}

AccountCreateReader is a Reader for the AccountCreate structure.

func (*AccountCreateReader) ReadResponse

func (o *AccountCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountCreateUnauthorized

type AccountCreateUnauthorized struct {
}

AccountCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountCreateUnauthorized

func NewAccountCreateUnauthorized() *AccountCreateUnauthorized

NewAccountCreateUnauthorized creates a AccountCreateUnauthorized with default headers values

func (*AccountCreateUnauthorized) Code

func (o *AccountCreateUnauthorized) Code() int

Code gets the status code for the account create unauthorized response

func (*AccountCreateUnauthorized) Error

func (o *AccountCreateUnauthorized) Error() string

func (*AccountCreateUnauthorized) IsClientError

func (o *AccountCreateUnauthorized) IsClientError() bool

IsClientError returns true when this account create unauthorized response has a 4xx status code

func (*AccountCreateUnauthorized) IsCode

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

IsCode returns true when this account create unauthorized response a status code equal to that given

func (*AccountCreateUnauthorized) IsRedirect

func (o *AccountCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this account create unauthorized response has a 3xx status code

func (*AccountCreateUnauthorized) IsServerError

func (o *AccountCreateUnauthorized) IsServerError() bool

IsServerError returns true when this account create unauthorized response has a 5xx status code

func (*AccountCreateUnauthorized) IsSuccess

func (o *AccountCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this account create unauthorized response has a 2xx status code

func (*AccountCreateUnauthorized) String

func (o *AccountCreateUnauthorized) String() string

type AccountCreateUnprocessableEntity

type AccountCreateUnprocessableEntity struct {
}

AccountCreateUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable. Your account creation request cannot be processed because either too many accounts have been created on this instance in the last 24h, or the pending account backlog is full.

func NewAccountCreateUnprocessableEntity

func NewAccountCreateUnprocessableEntity() *AccountCreateUnprocessableEntity

NewAccountCreateUnprocessableEntity creates a AccountCreateUnprocessableEntity with default headers values

func (*AccountCreateUnprocessableEntity) Code

Code gets the status code for the account create unprocessable entity response

func (*AccountCreateUnprocessableEntity) Error

func (*AccountCreateUnprocessableEntity) IsClientError

func (o *AccountCreateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this account create unprocessable entity response has a 4xx status code

func (*AccountCreateUnprocessableEntity) IsCode

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

IsCode returns true when this account create unprocessable entity response a status code equal to that given

func (*AccountCreateUnprocessableEntity) IsRedirect

func (o *AccountCreateUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this account create unprocessable entity response has a 3xx status code

func (*AccountCreateUnprocessableEntity) IsServerError

func (o *AccountCreateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this account create unprocessable entity response has a 5xx status code

func (*AccountCreateUnprocessableEntity) IsSuccess

func (o *AccountCreateUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this account create unprocessable entity response has a 2xx status code

func (*AccountCreateUnprocessableEntity) String

type AccountDeleteAccepted

type AccountDeleteAccepted struct {
}

AccountDeleteAccepted describes a response with status code 202, with default header values.

The account deletion has been accepted and the account will be deleted.

func NewAccountDeleteAccepted

func NewAccountDeleteAccepted() *AccountDeleteAccepted

NewAccountDeleteAccepted creates a AccountDeleteAccepted with default headers values

func (*AccountDeleteAccepted) Code

func (o *AccountDeleteAccepted) Code() int

Code gets the status code for the account delete accepted response

func (*AccountDeleteAccepted) Error

func (o *AccountDeleteAccepted) Error() string

func (*AccountDeleteAccepted) IsClientError

func (o *AccountDeleteAccepted) IsClientError() bool

IsClientError returns true when this account delete accepted response has a 4xx status code

func (*AccountDeleteAccepted) IsCode

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

IsCode returns true when this account delete accepted response a status code equal to that given

func (*AccountDeleteAccepted) IsRedirect

func (o *AccountDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this account delete accepted response has a 3xx status code

func (*AccountDeleteAccepted) IsServerError

func (o *AccountDeleteAccepted) IsServerError() bool

IsServerError returns true when this account delete accepted response has a 5xx status code

func (*AccountDeleteAccepted) IsSuccess

func (o *AccountDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this account delete accepted response has a 2xx status code

func (*AccountDeleteAccepted) String

func (o *AccountDeleteAccepted) String() string

type AccountDeleteBadRequest

type AccountDeleteBadRequest struct {
}

AccountDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountDeleteBadRequest

func NewAccountDeleteBadRequest() *AccountDeleteBadRequest

NewAccountDeleteBadRequest creates a AccountDeleteBadRequest with default headers values

func (*AccountDeleteBadRequest) Code

func (o *AccountDeleteBadRequest) Code() int

Code gets the status code for the account delete bad request response

func (*AccountDeleteBadRequest) Error

func (o *AccountDeleteBadRequest) Error() string

func (*AccountDeleteBadRequest) IsClientError

func (o *AccountDeleteBadRequest) IsClientError() bool

IsClientError returns true when this account delete bad request response has a 4xx status code

func (*AccountDeleteBadRequest) IsCode

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

IsCode returns true when this account delete bad request response a status code equal to that given

func (*AccountDeleteBadRequest) IsRedirect

func (o *AccountDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this account delete bad request response has a 3xx status code

func (*AccountDeleteBadRequest) IsServerError

func (o *AccountDeleteBadRequest) IsServerError() bool

IsServerError returns true when this account delete bad request response has a 5xx status code

func (*AccountDeleteBadRequest) IsSuccess

func (o *AccountDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this account delete bad request response has a 2xx status code

func (*AccountDeleteBadRequest) String

func (o *AccountDeleteBadRequest) String() string

type AccountDeleteInternalServerError

type AccountDeleteInternalServerError struct {
}

AccountDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountDeleteInternalServerError

func NewAccountDeleteInternalServerError() *AccountDeleteInternalServerError

NewAccountDeleteInternalServerError creates a AccountDeleteInternalServerError with default headers values

func (*AccountDeleteInternalServerError) Code

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

func (*AccountDeleteInternalServerError) Error

func (*AccountDeleteInternalServerError) IsClientError

func (o *AccountDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this account delete internal server error response has a 4xx status code

func (*AccountDeleteInternalServerError) IsCode

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

IsCode returns true when this account delete internal server error response a status code equal to that given

func (*AccountDeleteInternalServerError) IsRedirect

func (o *AccountDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this account delete internal server error response has a 3xx status code

func (*AccountDeleteInternalServerError) IsServerError

func (o *AccountDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this account delete internal server error response has a 5xx status code

func (*AccountDeleteInternalServerError) IsSuccess

func (o *AccountDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this account delete internal server error response has a 2xx status code

func (*AccountDeleteInternalServerError) String

type AccountDeleteNotAcceptable

type AccountDeleteNotAcceptable struct {
}

AccountDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountDeleteNotAcceptable

func NewAccountDeleteNotAcceptable() *AccountDeleteNotAcceptable

NewAccountDeleteNotAcceptable creates a AccountDeleteNotAcceptable with default headers values

func (*AccountDeleteNotAcceptable) Code

func (o *AccountDeleteNotAcceptable) Code() int

Code gets the status code for the account delete not acceptable response

func (*AccountDeleteNotAcceptable) Error

func (*AccountDeleteNotAcceptable) IsClientError

func (o *AccountDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this account delete not acceptable response has a 4xx status code

func (*AccountDeleteNotAcceptable) IsCode

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

IsCode returns true when this account delete not acceptable response a status code equal to that given

func (*AccountDeleteNotAcceptable) IsRedirect

func (o *AccountDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account delete not acceptable response has a 3xx status code

func (*AccountDeleteNotAcceptable) IsServerError

func (o *AccountDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this account delete not acceptable response has a 5xx status code

func (*AccountDeleteNotAcceptable) IsSuccess

func (o *AccountDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account delete not acceptable response has a 2xx status code

func (*AccountDeleteNotAcceptable) String

func (o *AccountDeleteNotAcceptable) String() string

type AccountDeleteNotFound

type AccountDeleteNotFound struct {
}

AccountDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewAccountDeleteNotFound

func NewAccountDeleteNotFound() *AccountDeleteNotFound

NewAccountDeleteNotFound creates a AccountDeleteNotFound with default headers values

func (*AccountDeleteNotFound) Code

func (o *AccountDeleteNotFound) Code() int

Code gets the status code for the account delete not found response

func (*AccountDeleteNotFound) Error

func (o *AccountDeleteNotFound) Error() string

func (*AccountDeleteNotFound) IsClientError

func (o *AccountDeleteNotFound) IsClientError() bool

IsClientError returns true when this account delete not found response has a 4xx status code

func (*AccountDeleteNotFound) IsCode

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

IsCode returns true when this account delete not found response a status code equal to that given

func (*AccountDeleteNotFound) IsRedirect

func (o *AccountDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this account delete not found response has a 3xx status code

func (*AccountDeleteNotFound) IsServerError

func (o *AccountDeleteNotFound) IsServerError() bool

IsServerError returns true when this account delete not found response has a 5xx status code

func (*AccountDeleteNotFound) IsSuccess

func (o *AccountDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this account delete not found response has a 2xx status code

func (*AccountDeleteNotFound) String

func (o *AccountDeleteNotFound) String() string

type AccountDeleteParams

type AccountDeleteParams struct {

	/* Password.

	   Password of the account user, for confirmation.
	*/
	Password string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountDeleteParams contains all the parameters to send to the API endpoint

for the account delete operation.

Typically these are written to a http.Request.

func NewAccountDeleteParams

func NewAccountDeleteParams() *AccountDeleteParams

NewAccountDeleteParams creates a new AccountDeleteParams 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 NewAccountDeleteParamsWithContext

func NewAccountDeleteParamsWithContext(ctx context.Context) *AccountDeleteParams

NewAccountDeleteParamsWithContext creates a new AccountDeleteParams object with the ability to set a context for a request.

func NewAccountDeleteParamsWithHTTPClient

func NewAccountDeleteParamsWithHTTPClient(client *http.Client) *AccountDeleteParams

NewAccountDeleteParamsWithHTTPClient creates a new AccountDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountDeleteParamsWithTimeout

func NewAccountDeleteParamsWithTimeout(timeout time.Duration) *AccountDeleteParams

NewAccountDeleteParamsWithTimeout creates a new AccountDeleteParams object with the ability to set a timeout on a request.

func (*AccountDeleteParams) SetContext

func (o *AccountDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the account delete params

func (*AccountDeleteParams) SetDefaults

func (o *AccountDeleteParams) SetDefaults()

SetDefaults hydrates default values in the account delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountDeleteParams) SetHTTPClient

func (o *AccountDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account delete params

func (*AccountDeleteParams) SetPassword

func (o *AccountDeleteParams) SetPassword(password string)

SetPassword adds the password to the account delete params

func (*AccountDeleteParams) SetTimeout

func (o *AccountDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account delete params

func (*AccountDeleteParams) WithContext

WithContext adds the context to the account delete params

func (*AccountDeleteParams) WithDefaults

func (o *AccountDeleteParams) WithDefaults() *AccountDeleteParams

WithDefaults hydrates default values in the account delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountDeleteParams) WithHTTPClient

func (o *AccountDeleteParams) WithHTTPClient(client *http.Client) *AccountDeleteParams

WithHTTPClient adds the HTTPClient to the account delete params

func (*AccountDeleteParams) WithPassword

func (o *AccountDeleteParams) WithPassword(password string) *AccountDeleteParams

WithPassword adds the password to the account delete params

func (*AccountDeleteParams) WithTimeout

func (o *AccountDeleteParams) WithTimeout(timeout time.Duration) *AccountDeleteParams

WithTimeout adds the timeout to the account delete params

func (*AccountDeleteParams) WriteToRequest

func (o *AccountDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountDeleteReader

type AccountDeleteReader struct {
	// contains filtered or unexported fields
}

AccountDeleteReader is a Reader for the AccountDelete structure.

func (*AccountDeleteReader) ReadResponse

func (o *AccountDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountDeleteUnauthorized

type AccountDeleteUnauthorized struct {
}

AccountDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountDeleteUnauthorized

func NewAccountDeleteUnauthorized() *AccountDeleteUnauthorized

NewAccountDeleteUnauthorized creates a AccountDeleteUnauthorized with default headers values

func (*AccountDeleteUnauthorized) Code

func (o *AccountDeleteUnauthorized) Code() int

Code gets the status code for the account delete unauthorized response

func (*AccountDeleteUnauthorized) Error

func (o *AccountDeleteUnauthorized) Error() string

func (*AccountDeleteUnauthorized) IsClientError

func (o *AccountDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this account delete unauthorized response has a 4xx status code

func (*AccountDeleteUnauthorized) IsCode

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

IsCode returns true when this account delete unauthorized response a status code equal to that given

func (*AccountDeleteUnauthorized) IsRedirect

func (o *AccountDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account delete unauthorized response has a 3xx status code

func (*AccountDeleteUnauthorized) IsServerError

func (o *AccountDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this account delete unauthorized response has a 5xx status code

func (*AccountDeleteUnauthorized) IsSuccess

func (o *AccountDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account delete unauthorized response has a 2xx status code

func (*AccountDeleteUnauthorized) String

func (o *AccountDeleteUnauthorized) String() string

type AccountFollowBadRequest

type AccountFollowBadRequest struct {
}

AccountFollowBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountFollowBadRequest

func NewAccountFollowBadRequest() *AccountFollowBadRequest

NewAccountFollowBadRequest creates a AccountFollowBadRequest with default headers values

func (*AccountFollowBadRequest) Code

func (o *AccountFollowBadRequest) Code() int

Code gets the status code for the account follow bad request response

func (*AccountFollowBadRequest) Error

func (o *AccountFollowBadRequest) Error() string

func (*AccountFollowBadRequest) IsClientError

func (o *AccountFollowBadRequest) IsClientError() bool

IsClientError returns true when this account follow bad request response has a 4xx status code

func (*AccountFollowBadRequest) IsCode

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

IsCode returns true when this account follow bad request response a status code equal to that given

func (*AccountFollowBadRequest) IsRedirect

func (o *AccountFollowBadRequest) IsRedirect() bool

IsRedirect returns true when this account follow bad request response has a 3xx status code

func (*AccountFollowBadRequest) IsServerError

func (o *AccountFollowBadRequest) IsServerError() bool

IsServerError returns true when this account follow bad request response has a 5xx status code

func (*AccountFollowBadRequest) IsSuccess

func (o *AccountFollowBadRequest) IsSuccess() bool

IsSuccess returns true when this account follow bad request response has a 2xx status code

func (*AccountFollowBadRequest) String

func (o *AccountFollowBadRequest) String() string

type AccountFollowInternalServerError

type AccountFollowInternalServerError struct {
}

AccountFollowInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountFollowInternalServerError

func NewAccountFollowInternalServerError() *AccountFollowInternalServerError

NewAccountFollowInternalServerError creates a AccountFollowInternalServerError with default headers values

func (*AccountFollowInternalServerError) Code

Code gets the status code for the account follow internal server error response

func (*AccountFollowInternalServerError) Error

func (*AccountFollowInternalServerError) IsClientError

func (o *AccountFollowInternalServerError) IsClientError() bool

IsClientError returns true when this account follow internal server error response has a 4xx status code

func (*AccountFollowInternalServerError) IsCode

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

IsCode returns true when this account follow internal server error response a status code equal to that given

func (*AccountFollowInternalServerError) IsRedirect

func (o *AccountFollowInternalServerError) IsRedirect() bool

IsRedirect returns true when this account follow internal server error response has a 3xx status code

func (*AccountFollowInternalServerError) IsServerError

func (o *AccountFollowInternalServerError) IsServerError() bool

IsServerError returns true when this account follow internal server error response has a 5xx status code

func (*AccountFollowInternalServerError) IsSuccess

func (o *AccountFollowInternalServerError) IsSuccess() bool

IsSuccess returns true when this account follow internal server error response has a 2xx status code

func (*AccountFollowInternalServerError) String

type AccountFollowNotAcceptable

type AccountFollowNotAcceptable struct {
}

AccountFollowNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountFollowNotAcceptable

func NewAccountFollowNotAcceptable() *AccountFollowNotAcceptable

NewAccountFollowNotAcceptable creates a AccountFollowNotAcceptable with default headers values

func (*AccountFollowNotAcceptable) Code

func (o *AccountFollowNotAcceptable) Code() int

Code gets the status code for the account follow not acceptable response

func (*AccountFollowNotAcceptable) Error

func (*AccountFollowNotAcceptable) IsClientError

func (o *AccountFollowNotAcceptable) IsClientError() bool

IsClientError returns true when this account follow not acceptable response has a 4xx status code

func (*AccountFollowNotAcceptable) IsCode

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

IsCode returns true when this account follow not acceptable response a status code equal to that given

func (*AccountFollowNotAcceptable) IsRedirect

func (o *AccountFollowNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account follow not acceptable response has a 3xx status code

func (*AccountFollowNotAcceptable) IsServerError

func (o *AccountFollowNotAcceptable) IsServerError() bool

IsServerError returns true when this account follow not acceptable response has a 5xx status code

func (*AccountFollowNotAcceptable) IsSuccess

func (o *AccountFollowNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account follow not acceptable response has a 2xx status code

func (*AccountFollowNotAcceptable) String

func (o *AccountFollowNotAcceptable) String() string

type AccountFollowNotFound

type AccountFollowNotFound struct {
}

AccountFollowNotFound describes a response with status code 404, with default header values.

not found

func NewAccountFollowNotFound

func NewAccountFollowNotFound() *AccountFollowNotFound

NewAccountFollowNotFound creates a AccountFollowNotFound with default headers values

func (*AccountFollowNotFound) Code

func (o *AccountFollowNotFound) Code() int

Code gets the status code for the account follow not found response

func (*AccountFollowNotFound) Error

func (o *AccountFollowNotFound) Error() string

func (*AccountFollowNotFound) IsClientError

func (o *AccountFollowNotFound) IsClientError() bool

IsClientError returns true when this account follow not found response has a 4xx status code

func (*AccountFollowNotFound) IsCode

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

IsCode returns true when this account follow not found response a status code equal to that given

func (*AccountFollowNotFound) IsRedirect

func (o *AccountFollowNotFound) IsRedirect() bool

IsRedirect returns true when this account follow not found response has a 3xx status code

func (*AccountFollowNotFound) IsServerError

func (o *AccountFollowNotFound) IsServerError() bool

IsServerError returns true when this account follow not found response has a 5xx status code

func (*AccountFollowNotFound) IsSuccess

func (o *AccountFollowNotFound) IsSuccess() bool

IsSuccess returns true when this account follow not found response has a 2xx status code

func (*AccountFollowNotFound) String

func (o *AccountFollowNotFound) String() string

type AccountFollowOK

type AccountFollowOK struct {
	Payload *models.Relationship
}

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

Your relationship to this account.

func NewAccountFollowOK

func NewAccountFollowOK() *AccountFollowOK

NewAccountFollowOK creates a AccountFollowOK with default headers values

func (*AccountFollowOK) Code

func (o *AccountFollowOK) Code() int

Code gets the status code for the account follow o k response

func (*AccountFollowOK) Error

func (o *AccountFollowOK) Error() string

func (*AccountFollowOK) GetPayload

func (o *AccountFollowOK) GetPayload() *models.Relationship

func (*AccountFollowOK) IsClientError

func (o *AccountFollowOK) IsClientError() bool

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

func (*AccountFollowOK) IsCode

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

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

func (*AccountFollowOK) IsRedirect

func (o *AccountFollowOK) IsRedirect() bool

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

func (*AccountFollowOK) IsServerError

func (o *AccountFollowOK) IsServerError() bool

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

func (*AccountFollowOK) IsSuccess

func (o *AccountFollowOK) IsSuccess() bool

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

func (*AccountFollowOK) String

func (o *AccountFollowOK) String() string

type AccountFollowParams

type AccountFollowParams struct {

	/* ID.

	   ID of the account to follow.
	*/
	ID string

	/* Notify.

	   Notify when this account posts.
	*/
	Notify *bool

	/* Reblogs.

	   Show reblogs from this account.

	   Default: true
	*/
	Reblogs *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountFollowParams contains all the parameters to send to the API endpoint

for the account follow operation.

Typically these are written to a http.Request.

func NewAccountFollowParams

func NewAccountFollowParams() *AccountFollowParams

NewAccountFollowParams creates a new AccountFollowParams 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 NewAccountFollowParamsWithContext

func NewAccountFollowParamsWithContext(ctx context.Context) *AccountFollowParams

NewAccountFollowParamsWithContext creates a new AccountFollowParams object with the ability to set a context for a request.

func NewAccountFollowParamsWithHTTPClient

func NewAccountFollowParamsWithHTTPClient(client *http.Client) *AccountFollowParams

NewAccountFollowParamsWithHTTPClient creates a new AccountFollowParams object with the ability to set a custom HTTPClient for a request.

func NewAccountFollowParamsWithTimeout

func NewAccountFollowParamsWithTimeout(timeout time.Duration) *AccountFollowParams

NewAccountFollowParamsWithTimeout creates a new AccountFollowParams object with the ability to set a timeout on a request.

func (*AccountFollowParams) SetContext

func (o *AccountFollowParams) SetContext(ctx context.Context)

SetContext adds the context to the account follow params

func (*AccountFollowParams) SetDefaults

func (o *AccountFollowParams) SetDefaults()

SetDefaults hydrates default values in the account follow params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowParams) SetHTTPClient

func (o *AccountFollowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account follow params

func (*AccountFollowParams) SetID

func (o *AccountFollowParams) SetID(id string)

SetID adds the id to the account follow params

func (*AccountFollowParams) SetNotify

func (o *AccountFollowParams) SetNotify(notify *bool)

SetNotify adds the notify to the account follow params

func (*AccountFollowParams) SetReblogs

func (o *AccountFollowParams) SetReblogs(reblogs *bool)

SetReblogs adds the reblogs to the account follow params

func (*AccountFollowParams) SetTimeout

func (o *AccountFollowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account follow params

func (*AccountFollowParams) WithContext

WithContext adds the context to the account follow params

func (*AccountFollowParams) WithDefaults

func (o *AccountFollowParams) WithDefaults() *AccountFollowParams

WithDefaults hydrates default values in the account follow params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowParams) WithHTTPClient

func (o *AccountFollowParams) WithHTTPClient(client *http.Client) *AccountFollowParams

WithHTTPClient adds the HTTPClient to the account follow params

func (*AccountFollowParams) WithID

WithID adds the id to the account follow params

func (*AccountFollowParams) WithNotify

func (o *AccountFollowParams) WithNotify(notify *bool) *AccountFollowParams

WithNotify adds the notify to the account follow params

func (*AccountFollowParams) WithReblogs

func (o *AccountFollowParams) WithReblogs(reblogs *bool) *AccountFollowParams

WithReblogs adds the reblogs to the account follow params

func (*AccountFollowParams) WithTimeout

func (o *AccountFollowParams) WithTimeout(timeout time.Duration) *AccountFollowParams

WithTimeout adds the timeout to the account follow params

func (*AccountFollowParams) WriteToRequest

func (o *AccountFollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountFollowReader

type AccountFollowReader struct {
	// contains filtered or unexported fields
}

AccountFollowReader is a Reader for the AccountFollow structure.

func (*AccountFollowReader) ReadResponse

func (o *AccountFollowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountFollowUnauthorized

type AccountFollowUnauthorized struct {
}

AccountFollowUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountFollowUnauthorized

func NewAccountFollowUnauthorized() *AccountFollowUnauthorized

NewAccountFollowUnauthorized creates a AccountFollowUnauthorized with default headers values

func (*AccountFollowUnauthorized) Code

func (o *AccountFollowUnauthorized) Code() int

Code gets the status code for the account follow unauthorized response

func (*AccountFollowUnauthorized) Error

func (o *AccountFollowUnauthorized) Error() string

func (*AccountFollowUnauthorized) IsClientError

func (o *AccountFollowUnauthorized) IsClientError() bool

IsClientError returns true when this account follow unauthorized response has a 4xx status code

func (*AccountFollowUnauthorized) IsCode

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

IsCode returns true when this account follow unauthorized response a status code equal to that given

func (*AccountFollowUnauthorized) IsRedirect

func (o *AccountFollowUnauthorized) IsRedirect() bool

IsRedirect returns true when this account follow unauthorized response has a 3xx status code

func (*AccountFollowUnauthorized) IsServerError

func (o *AccountFollowUnauthorized) IsServerError() bool

IsServerError returns true when this account follow unauthorized response has a 5xx status code

func (*AccountFollowUnauthorized) IsSuccess

func (o *AccountFollowUnauthorized) IsSuccess() bool

IsSuccess returns true when this account follow unauthorized response has a 2xx status code

func (*AccountFollowUnauthorized) String

func (o *AccountFollowUnauthorized) String() string

type AccountFollowersBadRequest

type AccountFollowersBadRequest struct {
}

AccountFollowersBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountFollowersBadRequest

func NewAccountFollowersBadRequest() *AccountFollowersBadRequest

NewAccountFollowersBadRequest creates a AccountFollowersBadRequest with default headers values

func (*AccountFollowersBadRequest) Code

func (o *AccountFollowersBadRequest) Code() int

Code gets the status code for the account followers bad request response

func (*AccountFollowersBadRequest) Error

func (*AccountFollowersBadRequest) IsClientError

func (o *AccountFollowersBadRequest) IsClientError() bool

IsClientError returns true when this account followers bad request response has a 4xx status code

func (*AccountFollowersBadRequest) IsCode

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

IsCode returns true when this account followers bad request response a status code equal to that given

func (*AccountFollowersBadRequest) IsRedirect

func (o *AccountFollowersBadRequest) IsRedirect() bool

IsRedirect returns true when this account followers bad request response has a 3xx status code

func (*AccountFollowersBadRequest) IsServerError

func (o *AccountFollowersBadRequest) IsServerError() bool

IsServerError returns true when this account followers bad request response has a 5xx status code

func (*AccountFollowersBadRequest) IsSuccess

func (o *AccountFollowersBadRequest) IsSuccess() bool

IsSuccess returns true when this account followers bad request response has a 2xx status code

func (*AccountFollowersBadRequest) String

func (o *AccountFollowersBadRequest) String() string

type AccountFollowersInternalServerError

type AccountFollowersInternalServerError struct {
}

AccountFollowersInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountFollowersInternalServerError

func NewAccountFollowersInternalServerError() *AccountFollowersInternalServerError

NewAccountFollowersInternalServerError creates a AccountFollowersInternalServerError with default headers values

func (*AccountFollowersInternalServerError) Code

Code gets the status code for the account followers internal server error response

func (*AccountFollowersInternalServerError) Error

func (*AccountFollowersInternalServerError) IsClientError

func (o *AccountFollowersInternalServerError) IsClientError() bool

IsClientError returns true when this account followers internal server error response has a 4xx status code

func (*AccountFollowersInternalServerError) IsCode

IsCode returns true when this account followers internal server error response a status code equal to that given

func (*AccountFollowersInternalServerError) IsRedirect

func (o *AccountFollowersInternalServerError) IsRedirect() bool

IsRedirect returns true when this account followers internal server error response has a 3xx status code

func (*AccountFollowersInternalServerError) IsServerError

func (o *AccountFollowersInternalServerError) IsServerError() bool

IsServerError returns true when this account followers internal server error response has a 5xx status code

func (*AccountFollowersInternalServerError) IsSuccess

IsSuccess returns true when this account followers internal server error response has a 2xx status code

func (*AccountFollowersInternalServerError) String

type AccountFollowersNotAcceptable

type AccountFollowersNotAcceptable struct {
}

AccountFollowersNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountFollowersNotAcceptable

func NewAccountFollowersNotAcceptable() *AccountFollowersNotAcceptable

NewAccountFollowersNotAcceptable creates a AccountFollowersNotAcceptable with default headers values

func (*AccountFollowersNotAcceptable) Code

Code gets the status code for the account followers not acceptable response

func (*AccountFollowersNotAcceptable) Error

func (*AccountFollowersNotAcceptable) IsClientError

func (o *AccountFollowersNotAcceptable) IsClientError() bool

IsClientError returns true when this account followers not acceptable response has a 4xx status code

func (*AccountFollowersNotAcceptable) IsCode

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

IsCode returns true when this account followers not acceptable response a status code equal to that given

func (*AccountFollowersNotAcceptable) IsRedirect

func (o *AccountFollowersNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account followers not acceptable response has a 3xx status code

func (*AccountFollowersNotAcceptable) IsServerError

func (o *AccountFollowersNotAcceptable) IsServerError() bool

IsServerError returns true when this account followers not acceptable response has a 5xx status code

func (*AccountFollowersNotAcceptable) IsSuccess

func (o *AccountFollowersNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account followers not acceptable response has a 2xx status code

func (*AccountFollowersNotAcceptable) String

type AccountFollowersNotFound

type AccountFollowersNotFound struct {
}

AccountFollowersNotFound describes a response with status code 404, with default header values.

not found

func NewAccountFollowersNotFound

func NewAccountFollowersNotFound() *AccountFollowersNotFound

NewAccountFollowersNotFound creates a AccountFollowersNotFound with default headers values

func (*AccountFollowersNotFound) Code

func (o *AccountFollowersNotFound) Code() int

Code gets the status code for the account followers not found response

func (*AccountFollowersNotFound) Error

func (o *AccountFollowersNotFound) Error() string

func (*AccountFollowersNotFound) IsClientError

func (o *AccountFollowersNotFound) IsClientError() bool

IsClientError returns true when this account followers not found response has a 4xx status code

func (*AccountFollowersNotFound) IsCode

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

IsCode returns true when this account followers not found response a status code equal to that given

func (*AccountFollowersNotFound) IsRedirect

func (o *AccountFollowersNotFound) IsRedirect() bool

IsRedirect returns true when this account followers not found response has a 3xx status code

func (*AccountFollowersNotFound) IsServerError

func (o *AccountFollowersNotFound) IsServerError() bool

IsServerError returns true when this account followers not found response has a 5xx status code

func (*AccountFollowersNotFound) IsSuccess

func (o *AccountFollowersNotFound) IsSuccess() bool

IsSuccess returns true when this account followers not found response has a 2xx status code

func (*AccountFollowersNotFound) String

func (o *AccountFollowersNotFound) String() string

type AccountFollowersOK

type AccountFollowersOK struct {

	/* Links to the next and previous queries.
	 */
	Link string

	Payload []*models.Account
}

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

Array of accounts that follow this account.

func NewAccountFollowersOK

func NewAccountFollowersOK() *AccountFollowersOK

NewAccountFollowersOK creates a AccountFollowersOK with default headers values

func (*AccountFollowersOK) Code

func (o *AccountFollowersOK) Code() int

Code gets the status code for the account followers o k response

func (*AccountFollowersOK) Error

func (o *AccountFollowersOK) Error() string

func (*AccountFollowersOK) GetPayload

func (o *AccountFollowersOK) GetPayload() []*models.Account

func (*AccountFollowersOK) IsClientError

func (o *AccountFollowersOK) IsClientError() bool

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

func (*AccountFollowersOK) IsCode

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

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

func (*AccountFollowersOK) IsRedirect

func (o *AccountFollowersOK) IsRedirect() bool

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

func (*AccountFollowersOK) IsServerError

func (o *AccountFollowersOK) IsServerError() bool

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

func (*AccountFollowersOK) IsSuccess

func (o *AccountFollowersOK) IsSuccess() bool

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

func (*AccountFollowersOK) String

func (o *AccountFollowersOK) String() string

type AccountFollowersParams

type AccountFollowersParams struct {

	/* ID.

	   Account ID.
	*/
	ID string

	/* Limit.

	   Number of follower accounts to return.

	   Default: 40
	*/
	Limit *int64

	/* MaxID.

	   Return only follower accounts *OLDER* than the given max ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	MaxID *string

	/* MinID.

	   Return only follower accounts *IMMEDIATELY NEWER* than the given min ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	MinID *string

	/* SinceID.

	   Return only follower accounts *NEWER* than the given since ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	SinceID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountFollowersParams contains all the parameters to send to the API endpoint

for the account followers operation.

Typically these are written to a http.Request.

func NewAccountFollowersParams

func NewAccountFollowersParams() *AccountFollowersParams

NewAccountFollowersParams creates a new AccountFollowersParams 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 NewAccountFollowersParamsWithContext

func NewAccountFollowersParamsWithContext(ctx context.Context) *AccountFollowersParams

NewAccountFollowersParamsWithContext creates a new AccountFollowersParams object with the ability to set a context for a request.

func NewAccountFollowersParamsWithHTTPClient

func NewAccountFollowersParamsWithHTTPClient(client *http.Client) *AccountFollowersParams

NewAccountFollowersParamsWithHTTPClient creates a new AccountFollowersParams object with the ability to set a custom HTTPClient for a request.

func NewAccountFollowersParamsWithTimeout

func NewAccountFollowersParamsWithTimeout(timeout time.Duration) *AccountFollowersParams

NewAccountFollowersParamsWithTimeout creates a new AccountFollowersParams object with the ability to set a timeout on a request.

func (*AccountFollowersParams) SetContext

func (o *AccountFollowersParams) SetContext(ctx context.Context)

SetContext adds the context to the account followers params

func (*AccountFollowersParams) SetDefaults

func (o *AccountFollowersParams) SetDefaults()

SetDefaults hydrates default values in the account followers params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowersParams) SetHTTPClient

func (o *AccountFollowersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account followers params

func (*AccountFollowersParams) SetID

func (o *AccountFollowersParams) SetID(id string)

SetID adds the id to the account followers params

func (*AccountFollowersParams) SetLimit

func (o *AccountFollowersParams) SetLimit(limit *int64)

SetLimit adds the limit to the account followers params

func (*AccountFollowersParams) SetMaxID

func (o *AccountFollowersParams) SetMaxID(maxID *string)

SetMaxID adds the maxId to the account followers params

func (*AccountFollowersParams) SetMinID

func (o *AccountFollowersParams) SetMinID(minID *string)

SetMinID adds the minId to the account followers params

func (*AccountFollowersParams) SetSinceID

func (o *AccountFollowersParams) SetSinceID(sinceID *string)

SetSinceID adds the sinceId to the account followers params

func (*AccountFollowersParams) SetTimeout

func (o *AccountFollowersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account followers params

func (*AccountFollowersParams) WithContext

WithContext adds the context to the account followers params

func (*AccountFollowersParams) WithDefaults

WithDefaults hydrates default values in the account followers params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowersParams) WithHTTPClient

func (o *AccountFollowersParams) WithHTTPClient(client *http.Client) *AccountFollowersParams

WithHTTPClient adds the HTTPClient to the account followers params

func (*AccountFollowersParams) WithID

WithID adds the id to the account followers params

func (*AccountFollowersParams) WithLimit

func (o *AccountFollowersParams) WithLimit(limit *int64) *AccountFollowersParams

WithLimit adds the limit to the account followers params

func (*AccountFollowersParams) WithMaxID

WithMaxID adds the maxID to the account followers params

func (*AccountFollowersParams) WithMinID

WithMinID adds the minID to the account followers params

func (*AccountFollowersParams) WithSinceID

func (o *AccountFollowersParams) WithSinceID(sinceID *string) *AccountFollowersParams

WithSinceID adds the sinceID to the account followers params

func (*AccountFollowersParams) WithTimeout

WithTimeout adds the timeout to the account followers params

func (*AccountFollowersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountFollowersReader

type AccountFollowersReader struct {
	// contains filtered or unexported fields
}

AccountFollowersReader is a Reader for the AccountFollowers structure.

func (*AccountFollowersReader) ReadResponse

func (o *AccountFollowersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountFollowersUnauthorized

type AccountFollowersUnauthorized struct {
}

AccountFollowersUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountFollowersUnauthorized

func NewAccountFollowersUnauthorized() *AccountFollowersUnauthorized

NewAccountFollowersUnauthorized creates a AccountFollowersUnauthorized with default headers values

func (*AccountFollowersUnauthorized) Code

Code gets the status code for the account followers unauthorized response

func (*AccountFollowersUnauthorized) Error

func (*AccountFollowersUnauthorized) IsClientError

func (o *AccountFollowersUnauthorized) IsClientError() bool

IsClientError returns true when this account followers unauthorized response has a 4xx status code

func (*AccountFollowersUnauthorized) IsCode

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

IsCode returns true when this account followers unauthorized response a status code equal to that given

func (*AccountFollowersUnauthorized) IsRedirect

func (o *AccountFollowersUnauthorized) IsRedirect() bool

IsRedirect returns true when this account followers unauthorized response has a 3xx status code

func (*AccountFollowersUnauthorized) IsServerError

func (o *AccountFollowersUnauthorized) IsServerError() bool

IsServerError returns true when this account followers unauthorized response has a 5xx status code

func (*AccountFollowersUnauthorized) IsSuccess

func (o *AccountFollowersUnauthorized) IsSuccess() bool

IsSuccess returns true when this account followers unauthorized response has a 2xx status code

func (*AccountFollowersUnauthorized) String

type AccountFollowingBadRequest

type AccountFollowingBadRequest struct {
}

AccountFollowingBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountFollowingBadRequest

func NewAccountFollowingBadRequest() *AccountFollowingBadRequest

NewAccountFollowingBadRequest creates a AccountFollowingBadRequest with default headers values

func (*AccountFollowingBadRequest) Code

func (o *AccountFollowingBadRequest) Code() int

Code gets the status code for the account following bad request response

func (*AccountFollowingBadRequest) Error

func (*AccountFollowingBadRequest) IsClientError

func (o *AccountFollowingBadRequest) IsClientError() bool

IsClientError returns true when this account following bad request response has a 4xx status code

func (*AccountFollowingBadRequest) IsCode

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

IsCode returns true when this account following bad request response a status code equal to that given

func (*AccountFollowingBadRequest) IsRedirect

func (o *AccountFollowingBadRequest) IsRedirect() bool

IsRedirect returns true when this account following bad request response has a 3xx status code

func (*AccountFollowingBadRequest) IsServerError

func (o *AccountFollowingBadRequest) IsServerError() bool

IsServerError returns true when this account following bad request response has a 5xx status code

func (*AccountFollowingBadRequest) IsSuccess

func (o *AccountFollowingBadRequest) IsSuccess() bool

IsSuccess returns true when this account following bad request response has a 2xx status code

func (*AccountFollowingBadRequest) String

func (o *AccountFollowingBadRequest) String() string

type AccountFollowingInternalServerError

type AccountFollowingInternalServerError struct {
}

AccountFollowingInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountFollowingInternalServerError

func NewAccountFollowingInternalServerError() *AccountFollowingInternalServerError

NewAccountFollowingInternalServerError creates a AccountFollowingInternalServerError with default headers values

func (*AccountFollowingInternalServerError) Code

Code gets the status code for the account following internal server error response

func (*AccountFollowingInternalServerError) Error

func (*AccountFollowingInternalServerError) IsClientError

func (o *AccountFollowingInternalServerError) IsClientError() bool

IsClientError returns true when this account following internal server error response has a 4xx status code

func (*AccountFollowingInternalServerError) IsCode

IsCode returns true when this account following internal server error response a status code equal to that given

func (*AccountFollowingInternalServerError) IsRedirect

func (o *AccountFollowingInternalServerError) IsRedirect() bool

IsRedirect returns true when this account following internal server error response has a 3xx status code

func (*AccountFollowingInternalServerError) IsServerError

func (o *AccountFollowingInternalServerError) IsServerError() bool

IsServerError returns true when this account following internal server error response has a 5xx status code

func (*AccountFollowingInternalServerError) IsSuccess

IsSuccess returns true when this account following internal server error response has a 2xx status code

func (*AccountFollowingInternalServerError) String

type AccountFollowingNotAcceptable

type AccountFollowingNotAcceptable struct {
}

AccountFollowingNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountFollowingNotAcceptable

func NewAccountFollowingNotAcceptable() *AccountFollowingNotAcceptable

NewAccountFollowingNotAcceptable creates a AccountFollowingNotAcceptable with default headers values

func (*AccountFollowingNotAcceptable) Code

Code gets the status code for the account following not acceptable response

func (*AccountFollowingNotAcceptable) Error

func (*AccountFollowingNotAcceptable) IsClientError

func (o *AccountFollowingNotAcceptable) IsClientError() bool

IsClientError returns true when this account following not acceptable response has a 4xx status code

func (*AccountFollowingNotAcceptable) IsCode

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

IsCode returns true when this account following not acceptable response a status code equal to that given

func (*AccountFollowingNotAcceptable) IsRedirect

func (o *AccountFollowingNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account following not acceptable response has a 3xx status code

func (*AccountFollowingNotAcceptable) IsServerError

func (o *AccountFollowingNotAcceptable) IsServerError() bool

IsServerError returns true when this account following not acceptable response has a 5xx status code

func (*AccountFollowingNotAcceptable) IsSuccess

func (o *AccountFollowingNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account following not acceptable response has a 2xx status code

func (*AccountFollowingNotAcceptable) String

type AccountFollowingNotFound

type AccountFollowingNotFound struct {
}

AccountFollowingNotFound describes a response with status code 404, with default header values.

not found

func NewAccountFollowingNotFound

func NewAccountFollowingNotFound() *AccountFollowingNotFound

NewAccountFollowingNotFound creates a AccountFollowingNotFound with default headers values

func (*AccountFollowingNotFound) Code

func (o *AccountFollowingNotFound) Code() int

Code gets the status code for the account following not found response

func (*AccountFollowingNotFound) Error

func (o *AccountFollowingNotFound) Error() string

func (*AccountFollowingNotFound) IsClientError

func (o *AccountFollowingNotFound) IsClientError() bool

IsClientError returns true when this account following not found response has a 4xx status code

func (*AccountFollowingNotFound) IsCode

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

IsCode returns true when this account following not found response a status code equal to that given

func (*AccountFollowingNotFound) IsRedirect

func (o *AccountFollowingNotFound) IsRedirect() bool

IsRedirect returns true when this account following not found response has a 3xx status code

func (*AccountFollowingNotFound) IsServerError

func (o *AccountFollowingNotFound) IsServerError() bool

IsServerError returns true when this account following not found response has a 5xx status code

func (*AccountFollowingNotFound) IsSuccess

func (o *AccountFollowingNotFound) IsSuccess() bool

IsSuccess returns true when this account following not found response has a 2xx status code

func (*AccountFollowingNotFound) String

func (o *AccountFollowingNotFound) String() string

type AccountFollowingOK

type AccountFollowingOK struct {

	/* Links to the next and previous queries.
	 */
	Link string

	Payload []*models.Account
}

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

Array of accounts that are followed by this account.

func NewAccountFollowingOK

func NewAccountFollowingOK() *AccountFollowingOK

NewAccountFollowingOK creates a AccountFollowingOK with default headers values

func (*AccountFollowingOK) Code

func (o *AccountFollowingOK) Code() int

Code gets the status code for the account following o k response

func (*AccountFollowingOK) Error

func (o *AccountFollowingOK) Error() string

func (*AccountFollowingOK) GetPayload

func (o *AccountFollowingOK) GetPayload() []*models.Account

func (*AccountFollowingOK) IsClientError

func (o *AccountFollowingOK) IsClientError() bool

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

func (*AccountFollowingOK) IsCode

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

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

func (*AccountFollowingOK) IsRedirect

func (o *AccountFollowingOK) IsRedirect() bool

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

func (*AccountFollowingOK) IsServerError

func (o *AccountFollowingOK) IsServerError() bool

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

func (*AccountFollowingOK) IsSuccess

func (o *AccountFollowingOK) IsSuccess() bool

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

func (*AccountFollowingOK) String

func (o *AccountFollowingOK) String() string

type AccountFollowingParams

type AccountFollowingParams struct {

	/* ID.

	   Account ID.
	*/
	ID string

	/* Limit.

	   Number of following accounts to return.

	   Default: 40
	*/
	Limit *int64

	/* MaxID.

	   Return only following accounts *OLDER* than the given max ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	MaxID *string

	/* MinID.

	   Return only following accounts *IMMEDIATELY NEWER* than the given min ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	MinID *string

	/* SinceID.

	   Return only following accounts *NEWER* than the given since ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts.
	*/
	SinceID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountFollowingParams contains all the parameters to send to the API endpoint

for the account following operation.

Typically these are written to a http.Request.

func NewAccountFollowingParams

func NewAccountFollowingParams() *AccountFollowingParams

NewAccountFollowingParams creates a new AccountFollowingParams 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 NewAccountFollowingParamsWithContext

func NewAccountFollowingParamsWithContext(ctx context.Context) *AccountFollowingParams

NewAccountFollowingParamsWithContext creates a new AccountFollowingParams object with the ability to set a context for a request.

func NewAccountFollowingParamsWithHTTPClient

func NewAccountFollowingParamsWithHTTPClient(client *http.Client) *AccountFollowingParams

NewAccountFollowingParamsWithHTTPClient creates a new AccountFollowingParams object with the ability to set a custom HTTPClient for a request.

func NewAccountFollowingParamsWithTimeout

func NewAccountFollowingParamsWithTimeout(timeout time.Duration) *AccountFollowingParams

NewAccountFollowingParamsWithTimeout creates a new AccountFollowingParams object with the ability to set a timeout on a request.

func (*AccountFollowingParams) SetContext

func (o *AccountFollowingParams) SetContext(ctx context.Context)

SetContext adds the context to the account following params

func (*AccountFollowingParams) SetDefaults

func (o *AccountFollowingParams) SetDefaults()

SetDefaults hydrates default values in the account following params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowingParams) SetHTTPClient

func (o *AccountFollowingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account following params

func (*AccountFollowingParams) SetID

func (o *AccountFollowingParams) SetID(id string)

SetID adds the id to the account following params

func (*AccountFollowingParams) SetLimit

func (o *AccountFollowingParams) SetLimit(limit *int64)

SetLimit adds the limit to the account following params

func (*AccountFollowingParams) SetMaxID

func (o *AccountFollowingParams) SetMaxID(maxID *string)

SetMaxID adds the maxId to the account following params

func (*AccountFollowingParams) SetMinID

func (o *AccountFollowingParams) SetMinID(minID *string)

SetMinID adds the minId to the account following params

func (*AccountFollowingParams) SetSinceID

func (o *AccountFollowingParams) SetSinceID(sinceID *string)

SetSinceID adds the sinceId to the account following params

func (*AccountFollowingParams) SetTimeout

func (o *AccountFollowingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account following params

func (*AccountFollowingParams) WithContext

WithContext adds the context to the account following params

func (*AccountFollowingParams) WithDefaults

WithDefaults hydrates default values in the account following params (not the query body).

All values with no default are reset to their zero value.

func (*AccountFollowingParams) WithHTTPClient

func (o *AccountFollowingParams) WithHTTPClient(client *http.Client) *AccountFollowingParams

WithHTTPClient adds the HTTPClient to the account following params

func (*AccountFollowingParams) WithID

WithID adds the id to the account following params

func (*AccountFollowingParams) WithLimit

func (o *AccountFollowingParams) WithLimit(limit *int64) *AccountFollowingParams

WithLimit adds the limit to the account following params

func (*AccountFollowingParams) WithMaxID

WithMaxID adds the maxID to the account following params

func (*AccountFollowingParams) WithMinID

WithMinID adds the minID to the account following params

func (*AccountFollowingParams) WithSinceID

func (o *AccountFollowingParams) WithSinceID(sinceID *string) *AccountFollowingParams

WithSinceID adds the sinceID to the account following params

func (*AccountFollowingParams) WithTimeout

WithTimeout adds the timeout to the account following params

func (*AccountFollowingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountFollowingReader

type AccountFollowingReader struct {
	// contains filtered or unexported fields
}

AccountFollowingReader is a Reader for the AccountFollowing structure.

func (*AccountFollowingReader) ReadResponse

func (o *AccountFollowingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountFollowingUnauthorized

type AccountFollowingUnauthorized struct {
}

AccountFollowingUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountFollowingUnauthorized

func NewAccountFollowingUnauthorized() *AccountFollowingUnauthorized

NewAccountFollowingUnauthorized creates a AccountFollowingUnauthorized with default headers values

func (*AccountFollowingUnauthorized) Code

Code gets the status code for the account following unauthorized response

func (*AccountFollowingUnauthorized) Error

func (*AccountFollowingUnauthorized) IsClientError

func (o *AccountFollowingUnauthorized) IsClientError() bool

IsClientError returns true when this account following unauthorized response has a 4xx status code

func (*AccountFollowingUnauthorized) IsCode

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

IsCode returns true when this account following unauthorized response a status code equal to that given

func (*AccountFollowingUnauthorized) IsRedirect

func (o *AccountFollowingUnauthorized) IsRedirect() bool

IsRedirect returns true when this account following unauthorized response has a 3xx status code

func (*AccountFollowingUnauthorized) IsServerError

func (o *AccountFollowingUnauthorized) IsServerError() bool

IsServerError returns true when this account following unauthorized response has a 5xx status code

func (*AccountFollowingUnauthorized) IsSuccess

func (o *AccountFollowingUnauthorized) IsSuccess() bool

IsSuccess returns true when this account following unauthorized response has a 2xx status code

func (*AccountFollowingUnauthorized) String

type AccountGetBadRequest

type AccountGetBadRequest struct {
}

AccountGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountGetBadRequest

func NewAccountGetBadRequest() *AccountGetBadRequest

NewAccountGetBadRequest creates a AccountGetBadRequest with default headers values

func (*AccountGetBadRequest) Code

func (o *AccountGetBadRequest) Code() int

Code gets the status code for the account get bad request response

func (*AccountGetBadRequest) Error

func (o *AccountGetBadRequest) Error() string

func (*AccountGetBadRequest) IsClientError

func (o *AccountGetBadRequest) IsClientError() bool

IsClientError returns true when this account get bad request response has a 4xx status code

func (*AccountGetBadRequest) IsCode

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

IsCode returns true when this account get bad request response a status code equal to that given

func (*AccountGetBadRequest) IsRedirect

func (o *AccountGetBadRequest) IsRedirect() bool

IsRedirect returns true when this account get bad request response has a 3xx status code

func (*AccountGetBadRequest) IsServerError

func (o *AccountGetBadRequest) IsServerError() bool

IsServerError returns true when this account get bad request response has a 5xx status code

func (*AccountGetBadRequest) IsSuccess

func (o *AccountGetBadRequest) IsSuccess() bool

IsSuccess returns true when this account get bad request response has a 2xx status code

func (*AccountGetBadRequest) String

func (o *AccountGetBadRequest) String() string

type AccountGetInternalServerError

type AccountGetInternalServerError struct {
}

AccountGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountGetInternalServerError

func NewAccountGetInternalServerError() *AccountGetInternalServerError

NewAccountGetInternalServerError creates a AccountGetInternalServerError with default headers values

func (*AccountGetInternalServerError) Code

Code gets the status code for the account get internal server error response

func (*AccountGetInternalServerError) Error

func (*AccountGetInternalServerError) IsClientError

func (o *AccountGetInternalServerError) IsClientError() bool

IsClientError returns true when this account get internal server error response has a 4xx status code

func (*AccountGetInternalServerError) IsCode

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

IsCode returns true when this account get internal server error response a status code equal to that given

func (*AccountGetInternalServerError) IsRedirect

func (o *AccountGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this account get internal server error response has a 3xx status code

func (*AccountGetInternalServerError) IsServerError

func (o *AccountGetInternalServerError) IsServerError() bool

IsServerError returns true when this account get internal server error response has a 5xx status code

func (*AccountGetInternalServerError) IsSuccess

func (o *AccountGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this account get internal server error response has a 2xx status code

func (*AccountGetInternalServerError) String

type AccountGetNotAcceptable

type AccountGetNotAcceptable struct {
}

AccountGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountGetNotAcceptable

func NewAccountGetNotAcceptable() *AccountGetNotAcceptable

NewAccountGetNotAcceptable creates a AccountGetNotAcceptable with default headers values

func (*AccountGetNotAcceptable) Code

func (o *AccountGetNotAcceptable) Code() int

Code gets the status code for the account get not acceptable response

func (*AccountGetNotAcceptable) Error

func (o *AccountGetNotAcceptable) Error() string

func (*AccountGetNotAcceptable) IsClientError

func (o *AccountGetNotAcceptable) IsClientError() bool

IsClientError returns true when this account get not acceptable response has a 4xx status code

func (*AccountGetNotAcceptable) IsCode

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

IsCode returns true when this account get not acceptable response a status code equal to that given

func (*AccountGetNotAcceptable) IsRedirect

func (o *AccountGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account get not acceptable response has a 3xx status code

func (*AccountGetNotAcceptable) IsServerError

func (o *AccountGetNotAcceptable) IsServerError() bool

IsServerError returns true when this account get not acceptable response has a 5xx status code

func (*AccountGetNotAcceptable) IsSuccess

func (o *AccountGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account get not acceptable response has a 2xx status code

func (*AccountGetNotAcceptable) String

func (o *AccountGetNotAcceptable) String() string

type AccountGetNotFound

type AccountGetNotFound struct {
}

AccountGetNotFound describes a response with status code 404, with default header values.

not found

func NewAccountGetNotFound

func NewAccountGetNotFound() *AccountGetNotFound

NewAccountGetNotFound creates a AccountGetNotFound with default headers values

func (*AccountGetNotFound) Code

func (o *AccountGetNotFound) Code() int

Code gets the status code for the account get not found response

func (*AccountGetNotFound) Error

func (o *AccountGetNotFound) Error() string

func (*AccountGetNotFound) IsClientError

func (o *AccountGetNotFound) IsClientError() bool

IsClientError returns true when this account get not found response has a 4xx status code

func (*AccountGetNotFound) IsCode

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

IsCode returns true when this account get not found response a status code equal to that given

func (*AccountGetNotFound) IsRedirect

func (o *AccountGetNotFound) IsRedirect() bool

IsRedirect returns true when this account get not found response has a 3xx status code

func (*AccountGetNotFound) IsServerError

func (o *AccountGetNotFound) IsServerError() bool

IsServerError returns true when this account get not found response has a 5xx status code

func (*AccountGetNotFound) IsSuccess

func (o *AccountGetNotFound) IsSuccess() bool

IsSuccess returns true when this account get not found response has a 2xx status code

func (*AccountGetNotFound) String

func (o *AccountGetNotFound) String() string

type AccountGetOK

type AccountGetOK struct {
	Payload *models.Account
}

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

The requested account.

func NewAccountGetOK

func NewAccountGetOK() *AccountGetOK

NewAccountGetOK creates a AccountGetOK with default headers values

func (*AccountGetOK) Code

func (o *AccountGetOK) Code() int

Code gets the status code for the account get o k response

func (*AccountGetOK) Error

func (o *AccountGetOK) Error() string

func (*AccountGetOK) GetPayload

func (o *AccountGetOK) GetPayload() *models.Account

func (*AccountGetOK) IsClientError

func (o *AccountGetOK) IsClientError() bool

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

func (*AccountGetOK) IsCode

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

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

func (*AccountGetOK) IsRedirect

func (o *AccountGetOK) IsRedirect() bool

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

func (*AccountGetOK) IsServerError

func (o *AccountGetOK) IsServerError() bool

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

func (*AccountGetOK) IsSuccess

func (o *AccountGetOK) IsSuccess() bool

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

func (*AccountGetOK) String

func (o *AccountGetOK) String() string

type AccountGetParams

type AccountGetParams struct {

	/* ID.

	   The id of the requested account.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountGetParams contains all the parameters to send to the API endpoint

for the account get operation.

Typically these are written to a http.Request.

func NewAccountGetParams

func NewAccountGetParams() *AccountGetParams

NewAccountGetParams creates a new AccountGetParams 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 NewAccountGetParamsWithContext

func NewAccountGetParamsWithContext(ctx context.Context) *AccountGetParams

NewAccountGetParamsWithContext creates a new AccountGetParams object with the ability to set a context for a request.

func NewAccountGetParamsWithHTTPClient

func NewAccountGetParamsWithHTTPClient(client *http.Client) *AccountGetParams

NewAccountGetParamsWithHTTPClient creates a new AccountGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountGetParamsWithTimeout

func NewAccountGetParamsWithTimeout(timeout time.Duration) *AccountGetParams

NewAccountGetParamsWithTimeout creates a new AccountGetParams object with the ability to set a timeout on a request.

func (*AccountGetParams) SetContext

func (o *AccountGetParams) SetContext(ctx context.Context)

SetContext adds the context to the account get params

func (*AccountGetParams) SetDefaults

func (o *AccountGetParams) SetDefaults()

SetDefaults hydrates default values in the account get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountGetParams) SetHTTPClient

func (o *AccountGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account get params

func (*AccountGetParams) SetID

func (o *AccountGetParams) SetID(id string)

SetID adds the id to the account get params

func (*AccountGetParams) SetTimeout

func (o *AccountGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account get params

func (*AccountGetParams) WithContext

func (o *AccountGetParams) WithContext(ctx context.Context) *AccountGetParams

WithContext adds the context to the account get params

func (*AccountGetParams) WithDefaults

func (o *AccountGetParams) WithDefaults() *AccountGetParams

WithDefaults hydrates default values in the account get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountGetParams) WithHTTPClient

func (o *AccountGetParams) WithHTTPClient(client *http.Client) *AccountGetParams

WithHTTPClient adds the HTTPClient to the account get params

func (*AccountGetParams) WithID

func (o *AccountGetParams) WithID(id string) *AccountGetParams

WithID adds the id to the account get params

func (*AccountGetParams) WithTimeout

func (o *AccountGetParams) WithTimeout(timeout time.Duration) *AccountGetParams

WithTimeout adds the timeout to the account get params

func (*AccountGetParams) WriteToRequest

func (o *AccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountGetReader

type AccountGetReader struct {
	// contains filtered or unexported fields
}

AccountGetReader is a Reader for the AccountGet structure.

func (*AccountGetReader) ReadResponse

func (o *AccountGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountGetUnauthorized

type AccountGetUnauthorized struct {
}

AccountGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountGetUnauthorized

func NewAccountGetUnauthorized() *AccountGetUnauthorized

NewAccountGetUnauthorized creates a AccountGetUnauthorized with default headers values

func (*AccountGetUnauthorized) Code

func (o *AccountGetUnauthorized) Code() int

Code gets the status code for the account get unauthorized response

func (*AccountGetUnauthorized) Error

func (o *AccountGetUnauthorized) Error() string

func (*AccountGetUnauthorized) IsClientError

func (o *AccountGetUnauthorized) IsClientError() bool

IsClientError returns true when this account get unauthorized response has a 4xx status code

func (*AccountGetUnauthorized) IsCode

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

IsCode returns true when this account get unauthorized response a status code equal to that given

func (*AccountGetUnauthorized) IsRedirect

func (o *AccountGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this account get unauthorized response has a 3xx status code

func (*AccountGetUnauthorized) IsServerError

func (o *AccountGetUnauthorized) IsServerError() bool

IsServerError returns true when this account get unauthorized response has a 5xx status code

func (*AccountGetUnauthorized) IsSuccess

func (o *AccountGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this account get unauthorized response has a 2xx status code

func (*AccountGetUnauthorized) String

func (o *AccountGetUnauthorized) String() string

type AccountHeaderDeleteBadRequest

type AccountHeaderDeleteBadRequest struct {
}

AccountHeaderDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountHeaderDeleteBadRequest

func NewAccountHeaderDeleteBadRequest() *AccountHeaderDeleteBadRequest

NewAccountHeaderDeleteBadRequest creates a AccountHeaderDeleteBadRequest with default headers values

func (*AccountHeaderDeleteBadRequest) Code

Code gets the status code for the account header delete bad request response

func (*AccountHeaderDeleteBadRequest) Error

func (*AccountHeaderDeleteBadRequest) IsClientError

func (o *AccountHeaderDeleteBadRequest) IsClientError() bool

IsClientError returns true when this account header delete bad request response has a 4xx status code

func (*AccountHeaderDeleteBadRequest) IsCode

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

IsCode returns true when this account header delete bad request response a status code equal to that given

func (*AccountHeaderDeleteBadRequest) IsRedirect

func (o *AccountHeaderDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this account header delete bad request response has a 3xx status code

func (*AccountHeaderDeleteBadRequest) IsServerError

func (o *AccountHeaderDeleteBadRequest) IsServerError() bool

IsServerError returns true when this account header delete bad request response has a 5xx status code

func (*AccountHeaderDeleteBadRequest) IsSuccess

func (o *AccountHeaderDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this account header delete bad request response has a 2xx status code

func (*AccountHeaderDeleteBadRequest) String

type AccountHeaderDeleteForbidden

type AccountHeaderDeleteForbidden struct {
}

AccountHeaderDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewAccountHeaderDeleteForbidden

func NewAccountHeaderDeleteForbidden() *AccountHeaderDeleteForbidden

NewAccountHeaderDeleteForbidden creates a AccountHeaderDeleteForbidden with default headers values

func (*AccountHeaderDeleteForbidden) Code

Code gets the status code for the account header delete forbidden response

func (*AccountHeaderDeleteForbidden) Error

func (*AccountHeaderDeleteForbidden) IsClientError

func (o *AccountHeaderDeleteForbidden) IsClientError() bool

IsClientError returns true when this account header delete forbidden response has a 4xx status code

func (*AccountHeaderDeleteForbidden) IsCode

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

IsCode returns true when this account header delete forbidden response a status code equal to that given

func (*AccountHeaderDeleteForbidden) IsRedirect

func (o *AccountHeaderDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this account header delete forbidden response has a 3xx status code

func (*AccountHeaderDeleteForbidden) IsServerError

func (o *AccountHeaderDeleteForbidden) IsServerError() bool

IsServerError returns true when this account header delete forbidden response has a 5xx status code

func (*AccountHeaderDeleteForbidden) IsSuccess

func (o *AccountHeaderDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this account header delete forbidden response has a 2xx status code

func (*AccountHeaderDeleteForbidden) String

type AccountHeaderDeleteInternalServerError

type AccountHeaderDeleteInternalServerError struct {
}

AccountHeaderDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountHeaderDeleteInternalServerError

func NewAccountHeaderDeleteInternalServerError() *AccountHeaderDeleteInternalServerError

NewAccountHeaderDeleteInternalServerError creates a AccountHeaderDeleteInternalServerError with default headers values

func (*AccountHeaderDeleteInternalServerError) Code

Code gets the status code for the account header delete internal server error response

func (*AccountHeaderDeleteInternalServerError) Error

func (*AccountHeaderDeleteInternalServerError) IsClientError

func (o *AccountHeaderDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this account header delete internal server error response has a 4xx status code

func (*AccountHeaderDeleteInternalServerError) IsCode

IsCode returns true when this account header delete internal server error response a status code equal to that given

func (*AccountHeaderDeleteInternalServerError) IsRedirect

IsRedirect returns true when this account header delete internal server error response has a 3xx status code

func (*AccountHeaderDeleteInternalServerError) IsServerError

func (o *AccountHeaderDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this account header delete internal server error response has a 5xx status code

func (*AccountHeaderDeleteInternalServerError) IsSuccess

IsSuccess returns true when this account header delete internal server error response has a 2xx status code

func (*AccountHeaderDeleteInternalServerError) String

type AccountHeaderDeleteNotAcceptable

type AccountHeaderDeleteNotAcceptable struct {
}

AccountHeaderDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountHeaderDeleteNotAcceptable

func NewAccountHeaderDeleteNotAcceptable() *AccountHeaderDeleteNotAcceptable

NewAccountHeaderDeleteNotAcceptable creates a AccountHeaderDeleteNotAcceptable with default headers values

func (*AccountHeaderDeleteNotAcceptable) Code

Code gets the status code for the account header delete not acceptable response

func (*AccountHeaderDeleteNotAcceptable) Error

func (*AccountHeaderDeleteNotAcceptable) IsClientError

func (o *AccountHeaderDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this account header delete not acceptable response has a 4xx status code

func (*AccountHeaderDeleteNotAcceptable) IsCode

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

IsCode returns true when this account header delete not acceptable response a status code equal to that given

func (*AccountHeaderDeleteNotAcceptable) IsRedirect

func (o *AccountHeaderDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account header delete not acceptable response has a 3xx status code

func (*AccountHeaderDeleteNotAcceptable) IsServerError

func (o *AccountHeaderDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this account header delete not acceptable response has a 5xx status code

func (*AccountHeaderDeleteNotAcceptable) IsSuccess

func (o *AccountHeaderDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account header delete not acceptable response has a 2xx status code

func (*AccountHeaderDeleteNotAcceptable) String

type AccountHeaderDeleteOK

type AccountHeaderDeleteOK struct {
	Payload *models.Account
}

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

The updated account, including profile source information.

func NewAccountHeaderDeleteOK

func NewAccountHeaderDeleteOK() *AccountHeaderDeleteOK

NewAccountHeaderDeleteOK creates a AccountHeaderDeleteOK with default headers values

func (*AccountHeaderDeleteOK) Code

func (o *AccountHeaderDeleteOK) Code() int

Code gets the status code for the account header delete o k response

func (*AccountHeaderDeleteOK) Error

func (o *AccountHeaderDeleteOK) Error() string

func (*AccountHeaderDeleteOK) GetPayload

func (o *AccountHeaderDeleteOK) GetPayload() *models.Account

func (*AccountHeaderDeleteOK) IsClientError

func (o *AccountHeaderDeleteOK) IsClientError() bool

IsClientError returns true when this account header delete o k response has a 4xx status code

func (*AccountHeaderDeleteOK) IsCode

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

IsCode returns true when this account header delete o k response a status code equal to that given

func (*AccountHeaderDeleteOK) IsRedirect

func (o *AccountHeaderDeleteOK) IsRedirect() bool

IsRedirect returns true when this account header delete o k response has a 3xx status code

func (*AccountHeaderDeleteOK) IsServerError

func (o *AccountHeaderDeleteOK) IsServerError() bool

IsServerError returns true when this account header delete o k response has a 5xx status code

func (*AccountHeaderDeleteOK) IsSuccess

func (o *AccountHeaderDeleteOK) IsSuccess() bool

IsSuccess returns true when this account header delete o k response has a 2xx status code

func (*AccountHeaderDeleteOK) String

func (o *AccountHeaderDeleteOK) String() string

type AccountHeaderDeleteParams

type AccountHeaderDeleteParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountHeaderDeleteParams contains all the parameters to send to the API endpoint

for the account header delete operation.

Typically these are written to a http.Request.

func NewAccountHeaderDeleteParams

func NewAccountHeaderDeleteParams() *AccountHeaderDeleteParams

NewAccountHeaderDeleteParams creates a new AccountHeaderDeleteParams 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 NewAccountHeaderDeleteParamsWithContext

func NewAccountHeaderDeleteParamsWithContext(ctx context.Context) *AccountHeaderDeleteParams

NewAccountHeaderDeleteParamsWithContext creates a new AccountHeaderDeleteParams object with the ability to set a context for a request.

func NewAccountHeaderDeleteParamsWithHTTPClient

func NewAccountHeaderDeleteParamsWithHTTPClient(client *http.Client) *AccountHeaderDeleteParams

NewAccountHeaderDeleteParamsWithHTTPClient creates a new AccountHeaderDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountHeaderDeleteParamsWithTimeout

func NewAccountHeaderDeleteParamsWithTimeout(timeout time.Duration) *AccountHeaderDeleteParams

NewAccountHeaderDeleteParamsWithTimeout creates a new AccountHeaderDeleteParams object with the ability to set a timeout on a request.

func (*AccountHeaderDeleteParams) SetContext

func (o *AccountHeaderDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the account header delete params

func (*AccountHeaderDeleteParams) SetDefaults

func (o *AccountHeaderDeleteParams) SetDefaults()

SetDefaults hydrates default values in the account header delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountHeaderDeleteParams) SetHTTPClient

func (o *AccountHeaderDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account header delete params

func (*AccountHeaderDeleteParams) SetTimeout

func (o *AccountHeaderDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account header delete params

func (*AccountHeaderDeleteParams) WithContext

WithContext adds the context to the account header delete params

func (*AccountHeaderDeleteParams) WithDefaults

WithDefaults hydrates default values in the account header delete params (not the query body).

All values with no default are reset to their zero value.

func (*AccountHeaderDeleteParams) WithHTTPClient

func (o *AccountHeaderDeleteParams) WithHTTPClient(client *http.Client) *AccountHeaderDeleteParams

WithHTTPClient adds the HTTPClient to the account header delete params

func (*AccountHeaderDeleteParams) WithTimeout

WithTimeout adds the timeout to the account header delete params

func (*AccountHeaderDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountHeaderDeleteReader

type AccountHeaderDeleteReader struct {
	// contains filtered or unexported fields
}

AccountHeaderDeleteReader is a Reader for the AccountHeaderDelete structure.

func (*AccountHeaderDeleteReader) ReadResponse

func (o *AccountHeaderDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountHeaderDeleteUnauthorized

type AccountHeaderDeleteUnauthorized struct {
}

AccountHeaderDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountHeaderDeleteUnauthorized

func NewAccountHeaderDeleteUnauthorized() *AccountHeaderDeleteUnauthorized

NewAccountHeaderDeleteUnauthorized creates a AccountHeaderDeleteUnauthorized with default headers values

func (*AccountHeaderDeleteUnauthorized) Code

Code gets the status code for the account header delete unauthorized response

func (*AccountHeaderDeleteUnauthorized) Error

func (*AccountHeaderDeleteUnauthorized) IsClientError

func (o *AccountHeaderDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this account header delete unauthorized response has a 4xx status code

func (*AccountHeaderDeleteUnauthorized) IsCode

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

IsCode returns true when this account header delete unauthorized response a status code equal to that given

func (*AccountHeaderDeleteUnauthorized) IsRedirect

func (o *AccountHeaderDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account header delete unauthorized response has a 3xx status code

func (*AccountHeaderDeleteUnauthorized) IsServerError

func (o *AccountHeaderDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this account header delete unauthorized response has a 5xx status code

func (*AccountHeaderDeleteUnauthorized) IsSuccess

func (o *AccountHeaderDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account header delete unauthorized response has a 2xx status code

func (*AccountHeaderDeleteUnauthorized) String

type AccountListsBadRequest

type AccountListsBadRequest struct {
}

AccountListsBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountListsBadRequest

func NewAccountListsBadRequest() *AccountListsBadRequest

NewAccountListsBadRequest creates a AccountListsBadRequest with default headers values

func (*AccountListsBadRequest) Code

func (o *AccountListsBadRequest) Code() int

Code gets the status code for the account lists bad request response

func (*AccountListsBadRequest) Error

func (o *AccountListsBadRequest) Error() string

func (*AccountListsBadRequest) IsClientError

func (o *AccountListsBadRequest) IsClientError() bool

IsClientError returns true when this account lists bad request response has a 4xx status code

func (*AccountListsBadRequest) IsCode

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

IsCode returns true when this account lists bad request response a status code equal to that given

func (*AccountListsBadRequest) IsRedirect

func (o *AccountListsBadRequest) IsRedirect() bool

IsRedirect returns true when this account lists bad request response has a 3xx status code

func (*AccountListsBadRequest) IsServerError

func (o *AccountListsBadRequest) IsServerError() bool

IsServerError returns true when this account lists bad request response has a 5xx status code

func (*AccountListsBadRequest) IsSuccess

func (o *AccountListsBadRequest) IsSuccess() bool

IsSuccess returns true when this account lists bad request response has a 2xx status code

func (*AccountListsBadRequest) String

func (o *AccountListsBadRequest) String() string

type AccountListsInternalServerError

type AccountListsInternalServerError struct {
}

AccountListsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountListsInternalServerError

func NewAccountListsInternalServerError() *AccountListsInternalServerError

NewAccountListsInternalServerError creates a AccountListsInternalServerError with default headers values

func (*AccountListsInternalServerError) Code

Code gets the status code for the account lists internal server error response

func (*AccountListsInternalServerError) Error

func (*AccountListsInternalServerError) IsClientError

func (o *AccountListsInternalServerError) IsClientError() bool

IsClientError returns true when this account lists internal server error response has a 4xx status code

func (*AccountListsInternalServerError) IsCode

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

IsCode returns true when this account lists internal server error response a status code equal to that given

func (*AccountListsInternalServerError) IsRedirect

func (o *AccountListsInternalServerError) IsRedirect() bool

IsRedirect returns true when this account lists internal server error response has a 3xx status code

func (*AccountListsInternalServerError) IsServerError

func (o *AccountListsInternalServerError) IsServerError() bool

IsServerError returns true when this account lists internal server error response has a 5xx status code

func (*AccountListsInternalServerError) IsSuccess

func (o *AccountListsInternalServerError) IsSuccess() bool

IsSuccess returns true when this account lists internal server error response has a 2xx status code

func (*AccountListsInternalServerError) String

type AccountListsNotAcceptable

type AccountListsNotAcceptable struct {
}

AccountListsNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountListsNotAcceptable

func NewAccountListsNotAcceptable() *AccountListsNotAcceptable

NewAccountListsNotAcceptable creates a AccountListsNotAcceptable with default headers values

func (*AccountListsNotAcceptable) Code

func (o *AccountListsNotAcceptable) Code() int

Code gets the status code for the account lists not acceptable response

func (*AccountListsNotAcceptable) Error

func (o *AccountListsNotAcceptable) Error() string

func (*AccountListsNotAcceptable) IsClientError

func (o *AccountListsNotAcceptable) IsClientError() bool

IsClientError returns true when this account lists not acceptable response has a 4xx status code

func (*AccountListsNotAcceptable) IsCode

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

IsCode returns true when this account lists not acceptable response a status code equal to that given

func (*AccountListsNotAcceptable) IsRedirect

func (o *AccountListsNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account lists not acceptable response has a 3xx status code

func (*AccountListsNotAcceptable) IsServerError

func (o *AccountListsNotAcceptable) IsServerError() bool

IsServerError returns true when this account lists not acceptable response has a 5xx status code

func (*AccountListsNotAcceptable) IsSuccess

func (o *AccountListsNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account lists not acceptable response has a 2xx status code

func (*AccountListsNotAcceptable) String

func (o *AccountListsNotAcceptable) String() string

type AccountListsNotFound

type AccountListsNotFound struct {
}

AccountListsNotFound describes a response with status code 404, with default header values.

not found

func NewAccountListsNotFound

func NewAccountListsNotFound() *AccountListsNotFound

NewAccountListsNotFound creates a AccountListsNotFound with default headers values

func (*AccountListsNotFound) Code

func (o *AccountListsNotFound) Code() int

Code gets the status code for the account lists not found response

func (*AccountListsNotFound) Error

func (o *AccountListsNotFound) Error() string

func (*AccountListsNotFound) IsClientError

func (o *AccountListsNotFound) IsClientError() bool

IsClientError returns true when this account lists not found response has a 4xx status code

func (*AccountListsNotFound) IsCode

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

IsCode returns true when this account lists not found response a status code equal to that given

func (*AccountListsNotFound) IsRedirect

func (o *AccountListsNotFound) IsRedirect() bool

IsRedirect returns true when this account lists not found response has a 3xx status code

func (*AccountListsNotFound) IsServerError

func (o *AccountListsNotFound) IsServerError() bool

IsServerError returns true when this account lists not found response has a 5xx status code

func (*AccountListsNotFound) IsSuccess

func (o *AccountListsNotFound) IsSuccess() bool

IsSuccess returns true when this account lists not found response has a 2xx status code

func (*AccountListsNotFound) String

func (o *AccountListsNotFound) String() string

type AccountListsOK

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

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

Array of all lists containing this account.

func NewAccountListsOK

func NewAccountListsOK() *AccountListsOK

NewAccountListsOK creates a AccountListsOK with default headers values

func (*AccountListsOK) Code

func (o *AccountListsOK) Code() int

Code gets the status code for the account lists o k response

func (*AccountListsOK) Error

func (o *AccountListsOK) Error() string

func (*AccountListsOK) GetPayload

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

func (*AccountListsOK) IsClientError

func (o *AccountListsOK) IsClientError() bool

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

func (*AccountListsOK) IsCode

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

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

func (*AccountListsOK) IsRedirect

func (o *AccountListsOK) IsRedirect() bool

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

func (*AccountListsOK) IsServerError

func (o *AccountListsOK) IsServerError() bool

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

func (*AccountListsOK) IsSuccess

func (o *AccountListsOK) IsSuccess() bool

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

func (*AccountListsOK) String

func (o *AccountListsOK) String() string

type AccountListsParams

type AccountListsParams struct {

	/* ID.

	   Account ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountListsParams contains all the parameters to send to the API endpoint

for the account lists operation.

Typically these are written to a http.Request.

func NewAccountListsParams

func NewAccountListsParams() *AccountListsParams

NewAccountListsParams creates a new AccountListsParams 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 NewAccountListsParamsWithContext

func NewAccountListsParamsWithContext(ctx context.Context) *AccountListsParams

NewAccountListsParamsWithContext creates a new AccountListsParams object with the ability to set a context for a request.

func NewAccountListsParamsWithHTTPClient

func NewAccountListsParamsWithHTTPClient(client *http.Client) *AccountListsParams

NewAccountListsParamsWithHTTPClient creates a new AccountListsParams object with the ability to set a custom HTTPClient for a request.

func NewAccountListsParamsWithTimeout

func NewAccountListsParamsWithTimeout(timeout time.Duration) *AccountListsParams

NewAccountListsParamsWithTimeout creates a new AccountListsParams object with the ability to set a timeout on a request.

func (*AccountListsParams) SetContext

func (o *AccountListsParams) SetContext(ctx context.Context)

SetContext adds the context to the account lists params

func (*AccountListsParams) SetDefaults

func (o *AccountListsParams) SetDefaults()

SetDefaults hydrates default values in the account lists params (not the query body).

All values with no default are reset to their zero value.

func (*AccountListsParams) SetHTTPClient

func (o *AccountListsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account lists params

func (*AccountListsParams) SetID

func (o *AccountListsParams) SetID(id string)

SetID adds the id to the account lists params

func (*AccountListsParams) SetTimeout

func (o *AccountListsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account lists params

func (*AccountListsParams) WithContext

WithContext adds the context to the account lists params

func (*AccountListsParams) WithDefaults

func (o *AccountListsParams) WithDefaults() *AccountListsParams

WithDefaults hydrates default values in the account lists params (not the query body).

All values with no default are reset to their zero value.

func (*AccountListsParams) WithHTTPClient

func (o *AccountListsParams) WithHTTPClient(client *http.Client) *AccountListsParams

WithHTTPClient adds the HTTPClient to the account lists params

func (*AccountListsParams) WithID

WithID adds the id to the account lists params

func (*AccountListsParams) WithTimeout

func (o *AccountListsParams) WithTimeout(timeout time.Duration) *AccountListsParams

WithTimeout adds the timeout to the account lists params

func (*AccountListsParams) WriteToRequest

func (o *AccountListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountListsReader

type AccountListsReader struct {
	// contains filtered or unexported fields
}

AccountListsReader is a Reader for the AccountLists structure.

func (*AccountListsReader) ReadResponse

func (o *AccountListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountListsUnauthorized

type AccountListsUnauthorized struct {
}

AccountListsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountListsUnauthorized

func NewAccountListsUnauthorized() *AccountListsUnauthorized

NewAccountListsUnauthorized creates a AccountListsUnauthorized with default headers values

func (*AccountListsUnauthorized) Code

func (o *AccountListsUnauthorized) Code() int

Code gets the status code for the account lists unauthorized response

func (*AccountListsUnauthorized) Error

func (o *AccountListsUnauthorized) Error() string

func (*AccountListsUnauthorized) IsClientError

func (o *AccountListsUnauthorized) IsClientError() bool

IsClientError returns true when this account lists unauthorized response has a 4xx status code

func (*AccountListsUnauthorized) IsCode

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

IsCode returns true when this account lists unauthorized response a status code equal to that given

func (*AccountListsUnauthorized) IsRedirect

func (o *AccountListsUnauthorized) IsRedirect() bool

IsRedirect returns true when this account lists unauthorized response has a 3xx status code

func (*AccountListsUnauthorized) IsServerError

func (o *AccountListsUnauthorized) IsServerError() bool

IsServerError returns true when this account lists unauthorized response has a 5xx status code

func (*AccountListsUnauthorized) IsSuccess

func (o *AccountListsUnauthorized) IsSuccess() bool

IsSuccess returns true when this account lists unauthorized response has a 2xx status code

func (*AccountListsUnauthorized) String

func (o *AccountListsUnauthorized) String() string

type AccountLookupGetBadRequest

type AccountLookupGetBadRequest struct {
}

AccountLookupGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountLookupGetBadRequest

func NewAccountLookupGetBadRequest() *AccountLookupGetBadRequest

NewAccountLookupGetBadRequest creates a AccountLookupGetBadRequest with default headers values

func (*AccountLookupGetBadRequest) Code

func (o *AccountLookupGetBadRequest) Code() int

Code gets the status code for the account lookup get bad request response

func (*AccountLookupGetBadRequest) Error

func (*AccountLookupGetBadRequest) IsClientError

func (o *AccountLookupGetBadRequest) IsClientError() bool

IsClientError returns true when this account lookup get bad request response has a 4xx status code

func (*AccountLookupGetBadRequest) IsCode

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

IsCode returns true when this account lookup get bad request response a status code equal to that given

func (*AccountLookupGetBadRequest) IsRedirect

func (o *AccountLookupGetBadRequest) IsRedirect() bool

IsRedirect returns true when this account lookup get bad request response has a 3xx status code

func (*AccountLookupGetBadRequest) IsServerError

func (o *AccountLookupGetBadRequest) IsServerError() bool

IsServerError returns true when this account lookup get bad request response has a 5xx status code

func (*AccountLookupGetBadRequest) IsSuccess

func (o *AccountLookupGetBadRequest) IsSuccess() bool

IsSuccess returns true when this account lookup get bad request response has a 2xx status code

func (*AccountLookupGetBadRequest) String

func (o *AccountLookupGetBadRequest) String() string

type AccountLookupGetInternalServerError

type AccountLookupGetInternalServerError struct {
}

AccountLookupGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountLookupGetInternalServerError

func NewAccountLookupGetInternalServerError() *AccountLookupGetInternalServerError

NewAccountLookupGetInternalServerError creates a AccountLookupGetInternalServerError with default headers values

func (*AccountLookupGetInternalServerError) Code

Code gets the status code for the account lookup get internal server error response

func (*AccountLookupGetInternalServerError) Error

func (*AccountLookupGetInternalServerError) IsClientError

func (o *AccountLookupGetInternalServerError) IsClientError() bool

IsClientError returns true when this account lookup get internal server error response has a 4xx status code

func (*AccountLookupGetInternalServerError) IsCode

IsCode returns true when this account lookup get internal server error response a status code equal to that given

func (*AccountLookupGetInternalServerError) IsRedirect

func (o *AccountLookupGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this account lookup get internal server error response has a 3xx status code

func (*AccountLookupGetInternalServerError) IsServerError

func (o *AccountLookupGetInternalServerError) IsServerError() bool

IsServerError returns true when this account lookup get internal server error response has a 5xx status code

func (*AccountLookupGetInternalServerError) IsSuccess

IsSuccess returns true when this account lookup get internal server error response has a 2xx status code

func (*AccountLookupGetInternalServerError) String

type AccountLookupGetNotAcceptable

type AccountLookupGetNotAcceptable struct {
}

AccountLookupGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountLookupGetNotAcceptable

func NewAccountLookupGetNotAcceptable() *AccountLookupGetNotAcceptable

NewAccountLookupGetNotAcceptable creates a AccountLookupGetNotAcceptable with default headers values

func (*AccountLookupGetNotAcceptable) Code

Code gets the status code for the account lookup get not acceptable response

func (*AccountLookupGetNotAcceptable) Error

func (*AccountLookupGetNotAcceptable) IsClientError

func (o *AccountLookupGetNotAcceptable) IsClientError() bool

IsClientError returns true when this account lookup get not acceptable response has a 4xx status code

func (*AccountLookupGetNotAcceptable) IsCode

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

IsCode returns true when this account lookup get not acceptable response a status code equal to that given

func (*AccountLookupGetNotAcceptable) IsRedirect

func (o *AccountLookupGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account lookup get not acceptable response has a 3xx status code

func (*AccountLookupGetNotAcceptable) IsServerError

func (o *AccountLookupGetNotAcceptable) IsServerError() bool

IsServerError returns true when this account lookup get not acceptable response has a 5xx status code

func (*AccountLookupGetNotAcceptable) IsSuccess

func (o *AccountLookupGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account lookup get not acceptable response has a 2xx status code

func (*AccountLookupGetNotAcceptable) String

type AccountLookupGetNotFound

type AccountLookupGetNotFound struct {
}

AccountLookupGetNotFound describes a response with status code 404, with default header values.

not found

func NewAccountLookupGetNotFound

func NewAccountLookupGetNotFound() *AccountLookupGetNotFound

NewAccountLookupGetNotFound creates a AccountLookupGetNotFound with default headers values

func (*AccountLookupGetNotFound) Code

func (o *AccountLookupGetNotFound) Code() int

Code gets the status code for the account lookup get not found response

func (*AccountLookupGetNotFound) Error

func (o *AccountLookupGetNotFound) Error() string

func (*AccountLookupGetNotFound) IsClientError

func (o *AccountLookupGetNotFound) IsClientError() bool

IsClientError returns true when this account lookup get not found response has a 4xx status code

func (*AccountLookupGetNotFound) IsCode

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

IsCode returns true when this account lookup get not found response a status code equal to that given

func (*AccountLookupGetNotFound) IsRedirect

func (o *AccountLookupGetNotFound) IsRedirect() bool

IsRedirect returns true when this account lookup get not found response has a 3xx status code

func (*AccountLookupGetNotFound) IsServerError

func (o *AccountLookupGetNotFound) IsServerError() bool

IsServerError returns true when this account lookup get not found response has a 5xx status code

func (*AccountLookupGetNotFound) IsSuccess

func (o *AccountLookupGetNotFound) IsSuccess() bool

IsSuccess returns true when this account lookup get not found response has a 2xx status code

func (*AccountLookupGetNotFound) String

func (o *AccountLookupGetNotFound) String() string

type AccountLookupGetOK

type AccountLookupGetOK struct {
	Payload *models.Account
}

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

Result of the lookup.

func NewAccountLookupGetOK

func NewAccountLookupGetOK() *AccountLookupGetOK

NewAccountLookupGetOK creates a AccountLookupGetOK with default headers values

func (*AccountLookupGetOK) Code

func (o *AccountLookupGetOK) Code() int

Code gets the status code for the account lookup get o k response

func (*AccountLookupGetOK) Error

func (o *AccountLookupGetOK) Error() string

func (*AccountLookupGetOK) GetPayload

func (o *AccountLookupGetOK) GetPayload() *models.Account

func (*AccountLookupGetOK) IsClientError

func (o *AccountLookupGetOK) IsClientError() bool

IsClientError returns true when this account lookup get o k response has a 4xx status code

func (*AccountLookupGetOK) IsCode

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

IsCode returns true when this account lookup get o k response a status code equal to that given

func (*AccountLookupGetOK) IsRedirect

func (o *AccountLookupGetOK) IsRedirect() bool

IsRedirect returns true when this account lookup get o k response has a 3xx status code

func (*AccountLookupGetOK) IsServerError

func (o *AccountLookupGetOK) IsServerError() bool

IsServerError returns true when this account lookup get o k response has a 5xx status code

func (*AccountLookupGetOK) IsSuccess

func (o *AccountLookupGetOK) IsSuccess() bool

IsSuccess returns true when this account lookup get o k response has a 2xx status code

func (*AccountLookupGetOK) String

func (o *AccountLookupGetOK) String() string

type AccountLookupGetParams

type AccountLookupGetParams struct {

	/* Acct.

	   The username or Webfinger address to lookup.
	*/
	Acct string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountLookupGetParams contains all the parameters to send to the API endpoint

for the account lookup get operation.

Typically these are written to a http.Request.

func NewAccountLookupGetParams

func NewAccountLookupGetParams() *AccountLookupGetParams

NewAccountLookupGetParams creates a new AccountLookupGetParams 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 NewAccountLookupGetParamsWithContext

func NewAccountLookupGetParamsWithContext(ctx context.Context) *AccountLookupGetParams

NewAccountLookupGetParamsWithContext creates a new AccountLookupGetParams object with the ability to set a context for a request.

func NewAccountLookupGetParamsWithHTTPClient

func NewAccountLookupGetParamsWithHTTPClient(client *http.Client) *AccountLookupGetParams

NewAccountLookupGetParamsWithHTTPClient creates a new AccountLookupGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountLookupGetParamsWithTimeout

func NewAccountLookupGetParamsWithTimeout(timeout time.Duration) *AccountLookupGetParams

NewAccountLookupGetParamsWithTimeout creates a new AccountLookupGetParams object with the ability to set a timeout on a request.

func (*AccountLookupGetParams) SetAcct

func (o *AccountLookupGetParams) SetAcct(acct string)

SetAcct adds the acct to the account lookup get params

func (*AccountLookupGetParams) SetContext

func (o *AccountLookupGetParams) SetContext(ctx context.Context)

SetContext adds the context to the account lookup get params

func (*AccountLookupGetParams) SetDefaults

func (o *AccountLookupGetParams) SetDefaults()

SetDefaults hydrates default values in the account lookup get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountLookupGetParams) SetHTTPClient

func (o *AccountLookupGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account lookup get params

func (*AccountLookupGetParams) SetTimeout

func (o *AccountLookupGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account lookup get params

func (*AccountLookupGetParams) WithAcct

WithAcct adds the acct to the account lookup get params

func (*AccountLookupGetParams) WithContext

WithContext adds the context to the account lookup get params

func (*AccountLookupGetParams) WithDefaults

WithDefaults hydrates default values in the account lookup get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountLookupGetParams) WithHTTPClient

func (o *AccountLookupGetParams) WithHTTPClient(client *http.Client) *AccountLookupGetParams

WithHTTPClient adds the HTTPClient to the account lookup get params

func (*AccountLookupGetParams) WithTimeout

WithTimeout adds the timeout to the account lookup get params

func (*AccountLookupGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountLookupGetReader

type AccountLookupGetReader struct {
	// contains filtered or unexported fields
}

AccountLookupGetReader is a Reader for the AccountLookupGet structure.

func (*AccountLookupGetReader) ReadResponse

func (o *AccountLookupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountLookupGetUnauthorized

type AccountLookupGetUnauthorized struct {
}

AccountLookupGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountLookupGetUnauthorized

func NewAccountLookupGetUnauthorized() *AccountLookupGetUnauthorized

NewAccountLookupGetUnauthorized creates a AccountLookupGetUnauthorized with default headers values

func (*AccountLookupGetUnauthorized) Code

Code gets the status code for the account lookup get unauthorized response

func (*AccountLookupGetUnauthorized) Error

func (*AccountLookupGetUnauthorized) IsClientError

func (o *AccountLookupGetUnauthorized) IsClientError() bool

IsClientError returns true when this account lookup get unauthorized response has a 4xx status code

func (*AccountLookupGetUnauthorized) IsCode

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

IsCode returns true when this account lookup get unauthorized response a status code equal to that given

func (*AccountLookupGetUnauthorized) IsRedirect

func (o *AccountLookupGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this account lookup get unauthorized response has a 3xx status code

func (*AccountLookupGetUnauthorized) IsServerError

func (o *AccountLookupGetUnauthorized) IsServerError() bool

IsServerError returns true when this account lookup get unauthorized response has a 5xx status code

func (*AccountLookupGetUnauthorized) IsSuccess

func (o *AccountLookupGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this account lookup get unauthorized response has a 2xx status code

func (*AccountLookupGetUnauthorized) String

type AccountMoveAccepted

type AccountMoveAccepted struct {
}

AccountMoveAccepted describes a response with status code 202, with default header values.

The account move has been accepted and the account will be moved.

func NewAccountMoveAccepted

func NewAccountMoveAccepted() *AccountMoveAccepted

NewAccountMoveAccepted creates a AccountMoveAccepted with default headers values

func (*AccountMoveAccepted) Code

func (o *AccountMoveAccepted) Code() int

Code gets the status code for the account move accepted response

func (*AccountMoveAccepted) Error

func (o *AccountMoveAccepted) Error() string

func (*AccountMoveAccepted) IsClientError

func (o *AccountMoveAccepted) IsClientError() bool

IsClientError returns true when this account move accepted response has a 4xx status code

func (*AccountMoveAccepted) IsCode

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

IsCode returns true when this account move accepted response a status code equal to that given

func (*AccountMoveAccepted) IsRedirect

func (o *AccountMoveAccepted) IsRedirect() bool

IsRedirect returns true when this account move accepted response has a 3xx status code

func (*AccountMoveAccepted) IsServerError

func (o *AccountMoveAccepted) IsServerError() bool

IsServerError returns true when this account move accepted response has a 5xx status code

func (*AccountMoveAccepted) IsSuccess

func (o *AccountMoveAccepted) IsSuccess() bool

IsSuccess returns true when this account move accepted response has a 2xx status code

func (*AccountMoveAccepted) String

func (o *AccountMoveAccepted) String() string

type AccountMoveBadRequest

type AccountMoveBadRequest struct {
}

AccountMoveBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountMoveBadRequest

func NewAccountMoveBadRequest() *AccountMoveBadRequest

NewAccountMoveBadRequest creates a AccountMoveBadRequest with default headers values

func (*AccountMoveBadRequest) Code

func (o *AccountMoveBadRequest) Code() int

Code gets the status code for the account move bad request response

func (*AccountMoveBadRequest) Error

func (o *AccountMoveBadRequest) Error() string

func (*AccountMoveBadRequest) IsClientError

func (o *AccountMoveBadRequest) IsClientError() bool

IsClientError returns true when this account move bad request response has a 4xx status code

func (*AccountMoveBadRequest) IsCode

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

IsCode returns true when this account move bad request response a status code equal to that given

func (*AccountMoveBadRequest) IsRedirect

func (o *AccountMoveBadRequest) IsRedirect() bool

IsRedirect returns true when this account move bad request response has a 3xx status code

func (*AccountMoveBadRequest) IsServerError

func (o *AccountMoveBadRequest) IsServerError() bool

IsServerError returns true when this account move bad request response has a 5xx status code

func (*AccountMoveBadRequest) IsSuccess

func (o *AccountMoveBadRequest) IsSuccess() bool

IsSuccess returns true when this account move bad request response has a 2xx status code

func (*AccountMoveBadRequest) String

func (o *AccountMoveBadRequest) String() string

type AccountMoveInternalServerError

type AccountMoveInternalServerError struct {
}

AccountMoveInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountMoveInternalServerError

func NewAccountMoveInternalServerError() *AccountMoveInternalServerError

NewAccountMoveInternalServerError creates a AccountMoveInternalServerError with default headers values

func (*AccountMoveInternalServerError) Code

Code gets the status code for the account move internal server error response

func (*AccountMoveInternalServerError) Error

func (*AccountMoveInternalServerError) IsClientError

func (o *AccountMoveInternalServerError) IsClientError() bool

IsClientError returns true when this account move internal server error response has a 4xx status code

func (*AccountMoveInternalServerError) IsCode

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

IsCode returns true when this account move internal server error response a status code equal to that given

func (*AccountMoveInternalServerError) IsRedirect

func (o *AccountMoveInternalServerError) IsRedirect() bool

IsRedirect returns true when this account move internal server error response has a 3xx status code

func (*AccountMoveInternalServerError) IsServerError

func (o *AccountMoveInternalServerError) IsServerError() bool

IsServerError returns true when this account move internal server error response has a 5xx status code

func (*AccountMoveInternalServerError) IsSuccess

func (o *AccountMoveInternalServerError) IsSuccess() bool

IsSuccess returns true when this account move internal server error response has a 2xx status code

func (*AccountMoveInternalServerError) String

type AccountMoveNotAcceptable

type AccountMoveNotAcceptable struct {
}

AccountMoveNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountMoveNotAcceptable

func NewAccountMoveNotAcceptable() *AccountMoveNotAcceptable

NewAccountMoveNotAcceptable creates a AccountMoveNotAcceptable with default headers values

func (*AccountMoveNotAcceptable) Code

func (o *AccountMoveNotAcceptable) Code() int

Code gets the status code for the account move not acceptable response

func (*AccountMoveNotAcceptable) Error

func (o *AccountMoveNotAcceptable) Error() string

func (*AccountMoveNotAcceptable) IsClientError

func (o *AccountMoveNotAcceptable) IsClientError() bool

IsClientError returns true when this account move not acceptable response has a 4xx status code

func (*AccountMoveNotAcceptable) IsCode

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

IsCode returns true when this account move not acceptable response a status code equal to that given

func (*AccountMoveNotAcceptable) IsRedirect

func (o *AccountMoveNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account move not acceptable response has a 3xx status code

func (*AccountMoveNotAcceptable) IsServerError

func (o *AccountMoveNotAcceptable) IsServerError() bool

IsServerError returns true when this account move not acceptable response has a 5xx status code

func (*AccountMoveNotAcceptable) IsSuccess

func (o *AccountMoveNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account move not acceptable response has a 2xx status code

func (*AccountMoveNotAcceptable) String

func (o *AccountMoveNotAcceptable) String() string

type AccountMoveNotFound

type AccountMoveNotFound struct {
}

AccountMoveNotFound describes a response with status code 404, with default header values.

not found

func NewAccountMoveNotFound

func NewAccountMoveNotFound() *AccountMoveNotFound

NewAccountMoveNotFound creates a AccountMoveNotFound with default headers values

func (*AccountMoveNotFound) Code

func (o *AccountMoveNotFound) Code() int

Code gets the status code for the account move not found response

func (*AccountMoveNotFound) Error

func (o *AccountMoveNotFound) Error() string

func (*AccountMoveNotFound) IsClientError

func (o *AccountMoveNotFound) IsClientError() bool

IsClientError returns true when this account move not found response has a 4xx status code

func (*AccountMoveNotFound) IsCode

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

IsCode returns true when this account move not found response a status code equal to that given

func (*AccountMoveNotFound) IsRedirect

func (o *AccountMoveNotFound) IsRedirect() bool

IsRedirect returns true when this account move not found response has a 3xx status code

func (*AccountMoveNotFound) IsServerError

func (o *AccountMoveNotFound) IsServerError() bool

IsServerError returns true when this account move not found response has a 5xx status code

func (*AccountMoveNotFound) IsSuccess

func (o *AccountMoveNotFound) IsSuccess() bool

IsSuccess returns true when this account move not found response has a 2xx status code

func (*AccountMoveNotFound) String

func (o *AccountMoveNotFound) String() string

type AccountMoveParams

type AccountMoveParams struct {

	/* MovedToURI.

	   ActivityPub URI/ID of the target account. Eg., `https://example.org/users/some_account`. The target account must be alsoKnownAs the requesting account in order for the move to be successful.
	*/
	MovedToURI string

	/* Password.

	   Password of the account user, for confirmation.
	*/
	Password string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountMoveParams contains all the parameters to send to the API endpoint

for the account move operation.

Typically these are written to a http.Request.

func NewAccountMoveParams

func NewAccountMoveParams() *AccountMoveParams

NewAccountMoveParams creates a new AccountMoveParams 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 NewAccountMoveParamsWithContext

func NewAccountMoveParamsWithContext(ctx context.Context) *AccountMoveParams

NewAccountMoveParamsWithContext creates a new AccountMoveParams object with the ability to set a context for a request.

func NewAccountMoveParamsWithHTTPClient

func NewAccountMoveParamsWithHTTPClient(client *http.Client) *AccountMoveParams

NewAccountMoveParamsWithHTTPClient creates a new AccountMoveParams object with the ability to set a custom HTTPClient for a request.

func NewAccountMoveParamsWithTimeout

func NewAccountMoveParamsWithTimeout(timeout time.Duration) *AccountMoveParams

NewAccountMoveParamsWithTimeout creates a new AccountMoveParams object with the ability to set a timeout on a request.

func (*AccountMoveParams) SetContext

func (o *AccountMoveParams) SetContext(ctx context.Context)

SetContext adds the context to the account move params

func (*AccountMoveParams) SetDefaults

func (o *AccountMoveParams) SetDefaults()

SetDefaults hydrates default values in the account move params (not the query body).

All values with no default are reset to their zero value.

func (*AccountMoveParams) SetHTTPClient

func (o *AccountMoveParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account move params

func (*AccountMoveParams) SetMovedToURI

func (o *AccountMoveParams) SetMovedToURI(movedToURI string)

SetMovedToURI adds the movedToUri to the account move params

func (*AccountMoveParams) SetPassword

func (o *AccountMoveParams) SetPassword(password string)

SetPassword adds the password to the account move params

func (*AccountMoveParams) SetTimeout

func (o *AccountMoveParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account move params

func (*AccountMoveParams) WithContext

func (o *AccountMoveParams) WithContext(ctx context.Context) *AccountMoveParams

WithContext adds the context to the account move params

func (*AccountMoveParams) WithDefaults

func (o *AccountMoveParams) WithDefaults() *AccountMoveParams

WithDefaults hydrates default values in the account move params (not the query body).

All values with no default are reset to their zero value.

func (*AccountMoveParams) WithHTTPClient

func (o *AccountMoveParams) WithHTTPClient(client *http.Client) *AccountMoveParams

WithHTTPClient adds the HTTPClient to the account move params

func (*AccountMoveParams) WithMovedToURI

func (o *AccountMoveParams) WithMovedToURI(movedToURI string) *AccountMoveParams

WithMovedToURI adds the movedToURI to the account move params

func (*AccountMoveParams) WithPassword

func (o *AccountMoveParams) WithPassword(password string) *AccountMoveParams

WithPassword adds the password to the account move params

func (*AccountMoveParams) WithTimeout

func (o *AccountMoveParams) WithTimeout(timeout time.Duration) *AccountMoveParams

WithTimeout adds the timeout to the account move params

func (*AccountMoveParams) WriteToRequest

func (o *AccountMoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountMoveReader

type AccountMoveReader struct {
	// contains filtered or unexported fields
}

AccountMoveReader is a Reader for the AccountMove structure.

func (*AccountMoveReader) ReadResponse

func (o *AccountMoveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountMoveUnauthorized

type AccountMoveUnauthorized struct {
}

AccountMoveUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountMoveUnauthorized

func NewAccountMoveUnauthorized() *AccountMoveUnauthorized

NewAccountMoveUnauthorized creates a AccountMoveUnauthorized with default headers values

func (*AccountMoveUnauthorized) Code

func (o *AccountMoveUnauthorized) Code() int

Code gets the status code for the account move unauthorized response

func (*AccountMoveUnauthorized) Error

func (o *AccountMoveUnauthorized) Error() string

func (*AccountMoveUnauthorized) IsClientError

func (o *AccountMoveUnauthorized) IsClientError() bool

IsClientError returns true when this account move unauthorized response has a 4xx status code

func (*AccountMoveUnauthorized) IsCode

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

IsCode returns true when this account move unauthorized response a status code equal to that given

func (*AccountMoveUnauthorized) IsRedirect

func (o *AccountMoveUnauthorized) IsRedirect() bool

IsRedirect returns true when this account move unauthorized response has a 3xx status code

func (*AccountMoveUnauthorized) IsServerError

func (o *AccountMoveUnauthorized) IsServerError() bool

IsServerError returns true when this account move unauthorized response has a 5xx status code

func (*AccountMoveUnauthorized) IsSuccess

func (o *AccountMoveUnauthorized) IsSuccess() bool

IsSuccess returns true when this account move unauthorized response has a 2xx status code

func (*AccountMoveUnauthorized) String

func (o *AccountMoveUnauthorized) String() string

type AccountMoveUnprocessableEntity

type AccountMoveUnprocessableEntity struct {
}

AccountMoveUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable. Check the response body for more details.

func NewAccountMoveUnprocessableEntity

func NewAccountMoveUnprocessableEntity() *AccountMoveUnprocessableEntity

NewAccountMoveUnprocessableEntity creates a AccountMoveUnprocessableEntity with default headers values

func (*AccountMoveUnprocessableEntity) Code

Code gets the status code for the account move unprocessable entity response

func (*AccountMoveUnprocessableEntity) Error

func (*AccountMoveUnprocessableEntity) IsClientError

func (o *AccountMoveUnprocessableEntity) IsClientError() bool

IsClientError returns true when this account move unprocessable entity response has a 4xx status code

func (*AccountMoveUnprocessableEntity) IsCode

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

IsCode returns true when this account move unprocessable entity response a status code equal to that given

func (*AccountMoveUnprocessableEntity) IsRedirect

func (o *AccountMoveUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this account move unprocessable entity response has a 3xx status code

func (*AccountMoveUnprocessableEntity) IsServerError

func (o *AccountMoveUnprocessableEntity) IsServerError() bool

IsServerError returns true when this account move unprocessable entity response has a 5xx status code

func (*AccountMoveUnprocessableEntity) IsSuccess

func (o *AccountMoveUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this account move unprocessable entity response has a 2xx status code

func (*AccountMoveUnprocessableEntity) String

type AccountMuteBadRequest

type AccountMuteBadRequest struct {
}

AccountMuteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountMuteBadRequest

func NewAccountMuteBadRequest() *AccountMuteBadRequest

NewAccountMuteBadRequest creates a AccountMuteBadRequest with default headers values

func (*AccountMuteBadRequest) Code

func (o *AccountMuteBadRequest) Code() int

Code gets the status code for the account mute bad request response

func (*AccountMuteBadRequest) Error

func (o *AccountMuteBadRequest) Error() string

func (*AccountMuteBadRequest) IsClientError

func (o *AccountMuteBadRequest) IsClientError() bool

IsClientError returns true when this account mute bad request response has a 4xx status code

func (*AccountMuteBadRequest) IsCode

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

IsCode returns true when this account mute bad request response a status code equal to that given

func (*AccountMuteBadRequest) IsRedirect

func (o *AccountMuteBadRequest) IsRedirect() bool

IsRedirect returns true when this account mute bad request response has a 3xx status code

func (*AccountMuteBadRequest) IsServerError

func (o *AccountMuteBadRequest) IsServerError() bool

IsServerError returns true when this account mute bad request response has a 5xx status code

func (*AccountMuteBadRequest) IsSuccess

func (o *AccountMuteBadRequest) IsSuccess() bool

IsSuccess returns true when this account mute bad request response has a 2xx status code

func (*AccountMuteBadRequest) String

func (o *AccountMuteBadRequest) String() string

type AccountMuteForbidden

type AccountMuteForbidden struct {
}

AccountMuteForbidden describes a response with status code 403, with default header values.

forbidden to moved accounts

func NewAccountMuteForbidden

func NewAccountMuteForbidden() *AccountMuteForbidden

NewAccountMuteForbidden creates a AccountMuteForbidden with default headers values

func (*AccountMuteForbidden) Code

func (o *AccountMuteForbidden) Code() int

Code gets the status code for the account mute forbidden response

func (*AccountMuteForbidden) Error

func (o *AccountMuteForbidden) Error() string

func (*AccountMuteForbidden) IsClientError

func (o *AccountMuteForbidden) IsClientError() bool

IsClientError returns true when this account mute forbidden response has a 4xx status code

func (*AccountMuteForbidden) IsCode

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

IsCode returns true when this account mute forbidden response a status code equal to that given

func (*AccountMuteForbidden) IsRedirect

func (o *AccountMuteForbidden) IsRedirect() bool

IsRedirect returns true when this account mute forbidden response has a 3xx status code

func (*AccountMuteForbidden) IsServerError

func (o *AccountMuteForbidden) IsServerError() bool

IsServerError returns true when this account mute forbidden response has a 5xx status code

func (*AccountMuteForbidden) IsSuccess

func (o *AccountMuteForbidden) IsSuccess() bool

IsSuccess returns true when this account mute forbidden response has a 2xx status code

func (*AccountMuteForbidden) String

func (o *AccountMuteForbidden) String() string

type AccountMuteInternalServerError

type AccountMuteInternalServerError struct {
}

AccountMuteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountMuteInternalServerError

func NewAccountMuteInternalServerError() *AccountMuteInternalServerError

NewAccountMuteInternalServerError creates a AccountMuteInternalServerError with default headers values

func (*AccountMuteInternalServerError) Code

Code gets the status code for the account mute internal server error response

func (*AccountMuteInternalServerError) Error

func (*AccountMuteInternalServerError) IsClientError

func (o *AccountMuteInternalServerError) IsClientError() bool

IsClientError returns true when this account mute internal server error response has a 4xx status code

func (*AccountMuteInternalServerError) IsCode

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

IsCode returns true when this account mute internal server error response a status code equal to that given

func (*AccountMuteInternalServerError) IsRedirect

func (o *AccountMuteInternalServerError) IsRedirect() bool

IsRedirect returns true when this account mute internal server error response has a 3xx status code

func (*AccountMuteInternalServerError) IsServerError

func (o *AccountMuteInternalServerError) IsServerError() bool

IsServerError returns true when this account mute internal server error response has a 5xx status code

func (*AccountMuteInternalServerError) IsSuccess

func (o *AccountMuteInternalServerError) IsSuccess() bool

IsSuccess returns true when this account mute internal server error response has a 2xx status code

func (*AccountMuteInternalServerError) String

type AccountMuteNotAcceptable

type AccountMuteNotAcceptable struct {
}

AccountMuteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountMuteNotAcceptable

func NewAccountMuteNotAcceptable() *AccountMuteNotAcceptable

NewAccountMuteNotAcceptable creates a AccountMuteNotAcceptable with default headers values

func (*AccountMuteNotAcceptable) Code

func (o *AccountMuteNotAcceptable) Code() int

Code gets the status code for the account mute not acceptable response

func (*AccountMuteNotAcceptable) Error

func (o *AccountMuteNotAcceptable) Error() string

func (*AccountMuteNotAcceptable) IsClientError

func (o *AccountMuteNotAcceptable) IsClientError() bool

IsClientError returns true when this account mute not acceptable response has a 4xx status code

func (*AccountMuteNotAcceptable) IsCode

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

IsCode returns true when this account mute not acceptable response a status code equal to that given

func (*AccountMuteNotAcceptable) IsRedirect

func (o *AccountMuteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account mute not acceptable response has a 3xx status code

func (*AccountMuteNotAcceptable) IsServerError

func (o *AccountMuteNotAcceptable) IsServerError() bool

IsServerError returns true when this account mute not acceptable response has a 5xx status code

func (*AccountMuteNotAcceptable) IsSuccess

func (o *AccountMuteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account mute not acceptable response has a 2xx status code

func (*AccountMuteNotAcceptable) String

func (o *AccountMuteNotAcceptable) String() string

type AccountMuteNotFound

type AccountMuteNotFound struct {
}

AccountMuteNotFound describes a response with status code 404, with default header values.

not found

func NewAccountMuteNotFound

func NewAccountMuteNotFound() *AccountMuteNotFound

NewAccountMuteNotFound creates a AccountMuteNotFound with default headers values

func (*AccountMuteNotFound) Code

func (o *AccountMuteNotFound) Code() int

Code gets the status code for the account mute not found response

func (*AccountMuteNotFound) Error

func (o *AccountMuteNotFound) Error() string

func (*AccountMuteNotFound) IsClientError

func (o *AccountMuteNotFound) IsClientError() bool

IsClientError returns true when this account mute not found response has a 4xx status code

func (*AccountMuteNotFound) IsCode

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

IsCode returns true when this account mute not found response a status code equal to that given

func (*AccountMuteNotFound) IsRedirect

func (o *AccountMuteNotFound) IsRedirect() bool

IsRedirect returns true when this account mute not found response has a 3xx status code

func (*AccountMuteNotFound) IsServerError

func (o *AccountMuteNotFound) IsServerError() bool

IsServerError returns true when this account mute not found response has a 5xx status code

func (*AccountMuteNotFound) IsSuccess

func (o *AccountMuteNotFound) IsSuccess() bool

IsSuccess returns true when this account mute not found response has a 2xx status code

func (*AccountMuteNotFound) String

func (o *AccountMuteNotFound) String() string

type AccountMuteOK

type AccountMuteOK struct {
	Payload *models.Relationship
}

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

Your relationship to the account.

func NewAccountMuteOK

func NewAccountMuteOK() *AccountMuteOK

NewAccountMuteOK creates a AccountMuteOK with default headers values

func (*AccountMuteOK) Code

func (o *AccountMuteOK) Code() int

Code gets the status code for the account mute o k response

func (*AccountMuteOK) Error

func (o *AccountMuteOK) Error() string

func (*AccountMuteOK) GetPayload

func (o *AccountMuteOK) GetPayload() *models.Relationship

func (*AccountMuteOK) IsClientError

func (o *AccountMuteOK) IsClientError() bool

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

func (*AccountMuteOK) IsCode

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

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

func (*AccountMuteOK) IsRedirect

func (o *AccountMuteOK) IsRedirect() bool

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

func (*AccountMuteOK) IsServerError

func (o *AccountMuteOK) IsServerError() bool

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

func (*AccountMuteOK) IsSuccess

func (o *AccountMuteOK) IsSuccess() bool

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

func (*AccountMuteOK) String

func (o *AccountMuteOK) String() string

type AccountMuteParams

type AccountMuteParams struct {

	/* Duration.

	   How long the mute should last, in seconds. If 0 or not provided, mute lasts indefinitely.
	*/
	Duration *float64

	/* ID.

	   The ID of the account to block.
	*/
	ID string

	/* Notifications.

	   Mute notifications as well as posts.
	*/
	Notifications *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountMuteParams contains all the parameters to send to the API endpoint

for the account mute operation.

Typically these are written to a http.Request.

func NewAccountMuteParams

func NewAccountMuteParams() *AccountMuteParams

NewAccountMuteParams creates a new AccountMuteParams 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 NewAccountMuteParamsWithContext

func NewAccountMuteParamsWithContext(ctx context.Context) *AccountMuteParams

NewAccountMuteParamsWithContext creates a new AccountMuteParams object with the ability to set a context for a request.

func NewAccountMuteParamsWithHTTPClient

func NewAccountMuteParamsWithHTTPClient(client *http.Client) *AccountMuteParams

NewAccountMuteParamsWithHTTPClient creates a new AccountMuteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountMuteParamsWithTimeout

func NewAccountMuteParamsWithTimeout(timeout time.Duration) *AccountMuteParams

NewAccountMuteParamsWithTimeout creates a new AccountMuteParams object with the ability to set a timeout on a request.

func (*AccountMuteParams) SetContext

func (o *AccountMuteParams) SetContext(ctx context.Context)

SetContext adds the context to the account mute params

func (*AccountMuteParams) SetDefaults

func (o *AccountMuteParams) SetDefaults()

SetDefaults hydrates default values in the account mute params (not the query body).

All values with no default are reset to their zero value.

func (*AccountMuteParams) SetDuration

func (o *AccountMuteParams) SetDuration(duration *float64)

SetDuration adds the duration to the account mute params

func (*AccountMuteParams) SetHTTPClient

func (o *AccountMuteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account mute params

func (*AccountMuteParams) SetID

func (o *AccountMuteParams) SetID(id string)

SetID adds the id to the account mute params

func (*AccountMuteParams) SetNotifications

func (o *AccountMuteParams) SetNotifications(notifications *bool)

SetNotifications adds the notifications to the account mute params

func (*AccountMuteParams) SetTimeout

func (o *AccountMuteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account mute params

func (*AccountMuteParams) WithContext

func (o *AccountMuteParams) WithContext(ctx context.Context) *AccountMuteParams

WithContext adds the context to the account mute params

func (*AccountMuteParams) WithDefaults

func (o *AccountMuteParams) WithDefaults() *AccountMuteParams

WithDefaults hydrates default values in the account mute params (not the query body).

All values with no default are reset to their zero value.

func (*AccountMuteParams) WithDuration

func (o *AccountMuteParams) WithDuration(duration *float64) *AccountMuteParams

WithDuration adds the duration to the account mute params

func (*AccountMuteParams) WithHTTPClient

func (o *AccountMuteParams) WithHTTPClient(client *http.Client) *AccountMuteParams

WithHTTPClient adds the HTTPClient to the account mute params

func (*AccountMuteParams) WithID

WithID adds the id to the account mute params

func (*AccountMuteParams) WithNotifications

func (o *AccountMuteParams) WithNotifications(notifications *bool) *AccountMuteParams

WithNotifications adds the notifications to the account mute params

func (*AccountMuteParams) WithTimeout

func (o *AccountMuteParams) WithTimeout(timeout time.Duration) *AccountMuteParams

WithTimeout adds the timeout to the account mute params

func (*AccountMuteParams) WriteToRequest

func (o *AccountMuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountMuteReader

type AccountMuteReader struct {
	// contains filtered or unexported fields
}

AccountMuteReader is a Reader for the AccountMute structure.

func (*AccountMuteReader) ReadResponse

func (o *AccountMuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountMuteUnauthorized

type AccountMuteUnauthorized struct {
}

AccountMuteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountMuteUnauthorized

func NewAccountMuteUnauthorized() *AccountMuteUnauthorized

NewAccountMuteUnauthorized creates a AccountMuteUnauthorized with default headers values

func (*AccountMuteUnauthorized) Code

func (o *AccountMuteUnauthorized) Code() int

Code gets the status code for the account mute unauthorized response

func (*AccountMuteUnauthorized) Error

func (o *AccountMuteUnauthorized) Error() string

func (*AccountMuteUnauthorized) IsClientError

func (o *AccountMuteUnauthorized) IsClientError() bool

IsClientError returns true when this account mute unauthorized response has a 4xx status code

func (*AccountMuteUnauthorized) IsCode

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

IsCode returns true when this account mute unauthorized response a status code equal to that given

func (*AccountMuteUnauthorized) IsRedirect

func (o *AccountMuteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account mute unauthorized response has a 3xx status code

func (*AccountMuteUnauthorized) IsServerError

func (o *AccountMuteUnauthorized) IsServerError() bool

IsServerError returns true when this account mute unauthorized response has a 5xx status code

func (*AccountMuteUnauthorized) IsSuccess

func (o *AccountMuteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account mute unauthorized response has a 2xx status code

func (*AccountMuteUnauthorized) String

func (o *AccountMuteUnauthorized) String() string

type AccountNoteBadRequest

type AccountNoteBadRequest struct {
}

AccountNoteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountNoteBadRequest

func NewAccountNoteBadRequest() *AccountNoteBadRequest

NewAccountNoteBadRequest creates a AccountNoteBadRequest with default headers values

func (*AccountNoteBadRequest) Code

func (o *AccountNoteBadRequest) Code() int

Code gets the status code for the account note bad request response

func (*AccountNoteBadRequest) Error

func (o *AccountNoteBadRequest) Error() string

func (*AccountNoteBadRequest) IsClientError

func (o *AccountNoteBadRequest) IsClientError() bool

IsClientError returns true when this account note bad request response has a 4xx status code

func (*AccountNoteBadRequest) IsCode

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

IsCode returns true when this account note bad request response a status code equal to that given

func (*AccountNoteBadRequest) IsRedirect

func (o *AccountNoteBadRequest) IsRedirect() bool

IsRedirect returns true when this account note bad request response has a 3xx status code

func (*AccountNoteBadRequest) IsServerError

func (o *AccountNoteBadRequest) IsServerError() bool

IsServerError returns true when this account note bad request response has a 5xx status code

func (*AccountNoteBadRequest) IsSuccess

func (o *AccountNoteBadRequest) IsSuccess() bool

IsSuccess returns true when this account note bad request response has a 2xx status code

func (*AccountNoteBadRequest) String

func (o *AccountNoteBadRequest) String() string

type AccountNoteInternalServerError

type AccountNoteInternalServerError struct {
}

AccountNoteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountNoteInternalServerError

func NewAccountNoteInternalServerError() *AccountNoteInternalServerError

NewAccountNoteInternalServerError creates a AccountNoteInternalServerError with default headers values

func (*AccountNoteInternalServerError) Code

Code gets the status code for the account note internal server error response

func (*AccountNoteInternalServerError) Error

func (*AccountNoteInternalServerError) IsClientError

func (o *AccountNoteInternalServerError) IsClientError() bool

IsClientError returns true when this account note internal server error response has a 4xx status code

func (*AccountNoteInternalServerError) IsCode

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

IsCode returns true when this account note internal server error response a status code equal to that given

func (*AccountNoteInternalServerError) IsRedirect

func (o *AccountNoteInternalServerError) IsRedirect() bool

IsRedirect returns true when this account note internal server error response has a 3xx status code

func (*AccountNoteInternalServerError) IsServerError

func (o *AccountNoteInternalServerError) IsServerError() bool

IsServerError returns true when this account note internal server error response has a 5xx status code

func (*AccountNoteInternalServerError) IsSuccess

func (o *AccountNoteInternalServerError) IsSuccess() bool

IsSuccess returns true when this account note internal server error response has a 2xx status code

func (*AccountNoteInternalServerError) String

type AccountNoteNotAcceptable

type AccountNoteNotAcceptable struct {
}

AccountNoteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountNoteNotAcceptable

func NewAccountNoteNotAcceptable() *AccountNoteNotAcceptable

NewAccountNoteNotAcceptable creates a AccountNoteNotAcceptable with default headers values

func (*AccountNoteNotAcceptable) Code

func (o *AccountNoteNotAcceptable) Code() int

Code gets the status code for the account note not acceptable response

func (*AccountNoteNotAcceptable) Error

func (o *AccountNoteNotAcceptable) Error() string

func (*AccountNoteNotAcceptable) IsClientError

func (o *AccountNoteNotAcceptable) IsClientError() bool

IsClientError returns true when this account note not acceptable response has a 4xx status code

func (*AccountNoteNotAcceptable) IsCode

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

IsCode returns true when this account note not acceptable response a status code equal to that given

func (*AccountNoteNotAcceptable) IsRedirect

func (o *AccountNoteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account note not acceptable response has a 3xx status code

func (*AccountNoteNotAcceptable) IsServerError

func (o *AccountNoteNotAcceptable) IsServerError() bool

IsServerError returns true when this account note not acceptable response has a 5xx status code

func (*AccountNoteNotAcceptable) IsSuccess

func (o *AccountNoteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account note not acceptable response has a 2xx status code

func (*AccountNoteNotAcceptable) String

func (o *AccountNoteNotAcceptable) String() string

type AccountNoteNotFound

type AccountNoteNotFound struct {
}

AccountNoteNotFound describes a response with status code 404, with default header values.

not found

func NewAccountNoteNotFound

func NewAccountNoteNotFound() *AccountNoteNotFound

NewAccountNoteNotFound creates a AccountNoteNotFound with default headers values

func (*AccountNoteNotFound) Code

func (o *AccountNoteNotFound) Code() int

Code gets the status code for the account note not found response

func (*AccountNoteNotFound) Error

func (o *AccountNoteNotFound) Error() string

func (*AccountNoteNotFound) IsClientError

func (o *AccountNoteNotFound) IsClientError() bool

IsClientError returns true when this account note not found response has a 4xx status code

func (*AccountNoteNotFound) IsCode

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

IsCode returns true when this account note not found response a status code equal to that given

func (*AccountNoteNotFound) IsRedirect

func (o *AccountNoteNotFound) IsRedirect() bool

IsRedirect returns true when this account note not found response has a 3xx status code

func (*AccountNoteNotFound) IsServerError

func (o *AccountNoteNotFound) IsServerError() bool

IsServerError returns true when this account note not found response has a 5xx status code

func (*AccountNoteNotFound) IsSuccess

func (o *AccountNoteNotFound) IsSuccess() bool

IsSuccess returns true when this account note not found response has a 2xx status code

func (*AccountNoteNotFound) String

func (o *AccountNoteNotFound) String() string

type AccountNoteOK

type AccountNoteOK struct {
	Payload *models.Relationship
}

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

Your relationship to the account.

func NewAccountNoteOK

func NewAccountNoteOK() *AccountNoteOK

NewAccountNoteOK creates a AccountNoteOK with default headers values

func (*AccountNoteOK) Code

func (o *AccountNoteOK) Code() int

Code gets the status code for the account note o k response

func (*AccountNoteOK) Error

func (o *AccountNoteOK) Error() string

func (*AccountNoteOK) GetPayload

func (o *AccountNoteOK) GetPayload() *models.Relationship

func (*AccountNoteOK) IsClientError

func (o *AccountNoteOK) IsClientError() bool

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

func (*AccountNoteOK) IsCode

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

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

func (*AccountNoteOK) IsRedirect

func (o *AccountNoteOK) IsRedirect() bool

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

func (*AccountNoteOK) IsServerError

func (o *AccountNoteOK) IsServerError() bool

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

func (*AccountNoteOK) IsSuccess

func (o *AccountNoteOK) IsSuccess() bool

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

func (*AccountNoteOK) String

func (o *AccountNoteOK) String() string

type AccountNoteParams

type AccountNoteParams struct {

	/* Comment.

	   The text of the note. Omit this parameter or send an empty string to clear the note.
	*/
	Comment *string

	/* ID.

	   The id of the account for which to set a note.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountNoteParams contains all the parameters to send to the API endpoint

for the account note operation.

Typically these are written to a http.Request.

func NewAccountNoteParams

func NewAccountNoteParams() *AccountNoteParams

NewAccountNoteParams creates a new AccountNoteParams 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 NewAccountNoteParamsWithContext

func NewAccountNoteParamsWithContext(ctx context.Context) *AccountNoteParams

NewAccountNoteParamsWithContext creates a new AccountNoteParams object with the ability to set a context for a request.

func NewAccountNoteParamsWithHTTPClient

func NewAccountNoteParamsWithHTTPClient(client *http.Client) *AccountNoteParams

NewAccountNoteParamsWithHTTPClient creates a new AccountNoteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountNoteParamsWithTimeout

func NewAccountNoteParamsWithTimeout(timeout time.Duration) *AccountNoteParams

NewAccountNoteParamsWithTimeout creates a new AccountNoteParams object with the ability to set a timeout on a request.

func (*AccountNoteParams) SetComment

func (o *AccountNoteParams) SetComment(comment *string)

SetComment adds the comment to the account note params

func (*AccountNoteParams) SetContext

func (o *AccountNoteParams) SetContext(ctx context.Context)

SetContext adds the context to the account note params

func (*AccountNoteParams) SetDefaults

func (o *AccountNoteParams) SetDefaults()

SetDefaults hydrates default values in the account note params (not the query body).

All values with no default are reset to their zero value.

func (*AccountNoteParams) SetHTTPClient

func (o *AccountNoteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account note params

func (*AccountNoteParams) SetID

func (o *AccountNoteParams) SetID(id string)

SetID adds the id to the account note params

func (*AccountNoteParams) SetTimeout

func (o *AccountNoteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account note params

func (*AccountNoteParams) WithComment

func (o *AccountNoteParams) WithComment(comment *string) *AccountNoteParams

WithComment adds the comment to the account note params

func (*AccountNoteParams) WithContext

func (o *AccountNoteParams) WithContext(ctx context.Context) *AccountNoteParams

WithContext adds the context to the account note params

func (*AccountNoteParams) WithDefaults

func (o *AccountNoteParams) WithDefaults() *AccountNoteParams

WithDefaults hydrates default values in the account note params (not the query body).

All values with no default are reset to their zero value.

func (*AccountNoteParams) WithHTTPClient

func (o *AccountNoteParams) WithHTTPClient(client *http.Client) *AccountNoteParams

WithHTTPClient adds the HTTPClient to the account note params

func (*AccountNoteParams) WithID

WithID adds the id to the account note params

func (*AccountNoteParams) WithTimeout

func (o *AccountNoteParams) WithTimeout(timeout time.Duration) *AccountNoteParams

WithTimeout adds the timeout to the account note params

func (*AccountNoteParams) WriteToRequest

func (o *AccountNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountNoteReader

type AccountNoteReader struct {
	// contains filtered or unexported fields
}

AccountNoteReader is a Reader for the AccountNote structure.

func (*AccountNoteReader) ReadResponse

func (o *AccountNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountNoteUnauthorized

type AccountNoteUnauthorized struct {
}

AccountNoteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountNoteUnauthorized

func NewAccountNoteUnauthorized() *AccountNoteUnauthorized

NewAccountNoteUnauthorized creates a AccountNoteUnauthorized with default headers values

func (*AccountNoteUnauthorized) Code

func (o *AccountNoteUnauthorized) Code() int

Code gets the status code for the account note unauthorized response

func (*AccountNoteUnauthorized) Error

func (o *AccountNoteUnauthorized) Error() string

func (*AccountNoteUnauthorized) IsClientError

func (o *AccountNoteUnauthorized) IsClientError() bool

IsClientError returns true when this account note unauthorized response has a 4xx status code

func (*AccountNoteUnauthorized) IsCode

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

IsCode returns true when this account note unauthorized response a status code equal to that given

func (*AccountNoteUnauthorized) IsRedirect

func (o *AccountNoteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account note unauthorized response has a 3xx status code

func (*AccountNoteUnauthorized) IsServerError

func (o *AccountNoteUnauthorized) IsServerError() bool

IsServerError returns true when this account note unauthorized response has a 5xx status code

func (*AccountNoteUnauthorized) IsSuccess

func (o *AccountNoteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account note unauthorized response has a 2xx status code

func (*AccountNoteUnauthorized) String

func (o *AccountNoteUnauthorized) String() string

type AccountRelationshipsBadRequest

type AccountRelationshipsBadRequest struct {
}

AccountRelationshipsBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountRelationshipsBadRequest

func NewAccountRelationshipsBadRequest() *AccountRelationshipsBadRequest

NewAccountRelationshipsBadRequest creates a AccountRelationshipsBadRequest with default headers values

func (*AccountRelationshipsBadRequest) Code

Code gets the status code for the account relationships bad request response

func (*AccountRelationshipsBadRequest) Error

func (*AccountRelationshipsBadRequest) IsClientError

func (o *AccountRelationshipsBadRequest) IsClientError() bool

IsClientError returns true when this account relationships bad request response has a 4xx status code

func (*AccountRelationshipsBadRequest) IsCode

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

IsCode returns true when this account relationships bad request response a status code equal to that given

func (*AccountRelationshipsBadRequest) IsRedirect

func (o *AccountRelationshipsBadRequest) IsRedirect() bool

IsRedirect returns true when this account relationships bad request response has a 3xx status code

func (*AccountRelationshipsBadRequest) IsServerError

func (o *AccountRelationshipsBadRequest) IsServerError() bool

IsServerError returns true when this account relationships bad request response has a 5xx status code

func (*AccountRelationshipsBadRequest) IsSuccess

func (o *AccountRelationshipsBadRequest) IsSuccess() bool

IsSuccess returns true when this account relationships bad request response has a 2xx status code

func (*AccountRelationshipsBadRequest) String

type AccountRelationshipsInternalServerError

type AccountRelationshipsInternalServerError struct {
}

AccountRelationshipsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountRelationshipsInternalServerError

func NewAccountRelationshipsInternalServerError() *AccountRelationshipsInternalServerError

NewAccountRelationshipsInternalServerError creates a AccountRelationshipsInternalServerError with default headers values

func (*AccountRelationshipsInternalServerError) Code

Code gets the status code for the account relationships internal server error response

func (*AccountRelationshipsInternalServerError) Error

func (*AccountRelationshipsInternalServerError) IsClientError

func (o *AccountRelationshipsInternalServerError) IsClientError() bool

IsClientError returns true when this account relationships internal server error response has a 4xx status code

func (*AccountRelationshipsInternalServerError) IsCode

IsCode returns true when this account relationships internal server error response a status code equal to that given

func (*AccountRelationshipsInternalServerError) IsRedirect

IsRedirect returns true when this account relationships internal server error response has a 3xx status code

func (*AccountRelationshipsInternalServerError) IsServerError

func (o *AccountRelationshipsInternalServerError) IsServerError() bool

IsServerError returns true when this account relationships internal server error response has a 5xx status code

func (*AccountRelationshipsInternalServerError) IsSuccess

IsSuccess returns true when this account relationships internal server error response has a 2xx status code

func (*AccountRelationshipsInternalServerError) String

type AccountRelationshipsNotAcceptable

type AccountRelationshipsNotAcceptable struct {
}

AccountRelationshipsNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountRelationshipsNotAcceptable

func NewAccountRelationshipsNotAcceptable() *AccountRelationshipsNotAcceptable

NewAccountRelationshipsNotAcceptable creates a AccountRelationshipsNotAcceptable with default headers values

func (*AccountRelationshipsNotAcceptable) Code

Code gets the status code for the account relationships not acceptable response

func (*AccountRelationshipsNotAcceptable) Error

func (*AccountRelationshipsNotAcceptable) IsClientError

func (o *AccountRelationshipsNotAcceptable) IsClientError() bool

IsClientError returns true when this account relationships not acceptable response has a 4xx status code

func (*AccountRelationshipsNotAcceptable) IsCode

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

IsCode returns true when this account relationships not acceptable response a status code equal to that given

func (*AccountRelationshipsNotAcceptable) IsRedirect

func (o *AccountRelationshipsNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account relationships not acceptable response has a 3xx status code

func (*AccountRelationshipsNotAcceptable) IsServerError

func (o *AccountRelationshipsNotAcceptable) IsServerError() bool

IsServerError returns true when this account relationships not acceptable response has a 5xx status code

func (*AccountRelationshipsNotAcceptable) IsSuccess

func (o *AccountRelationshipsNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account relationships not acceptable response has a 2xx status code

func (*AccountRelationshipsNotAcceptable) String

type AccountRelationshipsNotFound

type AccountRelationshipsNotFound struct {
}

AccountRelationshipsNotFound describes a response with status code 404, with default header values.

not found

func NewAccountRelationshipsNotFound

func NewAccountRelationshipsNotFound() *AccountRelationshipsNotFound

NewAccountRelationshipsNotFound creates a AccountRelationshipsNotFound with default headers values

func (*AccountRelationshipsNotFound) Code

Code gets the status code for the account relationships not found response

func (*AccountRelationshipsNotFound) Error

func (*AccountRelationshipsNotFound) IsClientError

func (o *AccountRelationshipsNotFound) IsClientError() bool

IsClientError returns true when this account relationships not found response has a 4xx status code

func (*AccountRelationshipsNotFound) IsCode

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

IsCode returns true when this account relationships not found response a status code equal to that given

func (*AccountRelationshipsNotFound) IsRedirect

func (o *AccountRelationshipsNotFound) IsRedirect() bool

IsRedirect returns true when this account relationships not found response has a 3xx status code

func (*AccountRelationshipsNotFound) IsServerError

func (o *AccountRelationshipsNotFound) IsServerError() bool

IsServerError returns true when this account relationships not found response has a 5xx status code

func (*AccountRelationshipsNotFound) IsSuccess

func (o *AccountRelationshipsNotFound) IsSuccess() bool

IsSuccess returns true when this account relationships not found response has a 2xx status code

func (*AccountRelationshipsNotFound) String

type AccountRelationshipsOK

type AccountRelationshipsOK struct {
	Payload []*models.Relationship
}

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

Array of account relationships.

func NewAccountRelationshipsOK

func NewAccountRelationshipsOK() *AccountRelationshipsOK

NewAccountRelationshipsOK creates a AccountRelationshipsOK with default headers values

func (*AccountRelationshipsOK) Code

func (o *AccountRelationshipsOK) Code() int

Code gets the status code for the account relationships o k response

func (*AccountRelationshipsOK) Error

func (o *AccountRelationshipsOK) Error() string

func (*AccountRelationshipsOK) GetPayload

func (o *AccountRelationshipsOK) GetPayload() []*models.Relationship

func (*AccountRelationshipsOK) IsClientError

func (o *AccountRelationshipsOK) IsClientError() bool

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

func (*AccountRelationshipsOK) IsCode

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

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

func (*AccountRelationshipsOK) IsRedirect

func (o *AccountRelationshipsOK) IsRedirect() bool

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

func (*AccountRelationshipsOK) IsServerError

func (o *AccountRelationshipsOK) IsServerError() bool

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

func (*AccountRelationshipsOK) IsSuccess

func (o *AccountRelationshipsOK) IsSuccess() bool

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

func (*AccountRelationshipsOK) String

func (o *AccountRelationshipsOK) String() string

type AccountRelationshipsParams

type AccountRelationshipsParams struct {

	/* ID.

	   Account IDs.
	*/
	ID []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountRelationshipsParams contains all the parameters to send to the API endpoint

for the account relationships operation.

Typically these are written to a http.Request.

func NewAccountRelationshipsParams

func NewAccountRelationshipsParams() *AccountRelationshipsParams

NewAccountRelationshipsParams creates a new AccountRelationshipsParams 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 NewAccountRelationshipsParamsWithContext

func NewAccountRelationshipsParamsWithContext(ctx context.Context) *AccountRelationshipsParams

NewAccountRelationshipsParamsWithContext creates a new AccountRelationshipsParams object with the ability to set a context for a request.

func NewAccountRelationshipsParamsWithHTTPClient

func NewAccountRelationshipsParamsWithHTTPClient(client *http.Client) *AccountRelationshipsParams

NewAccountRelationshipsParamsWithHTTPClient creates a new AccountRelationshipsParams object with the ability to set a custom HTTPClient for a request.

func NewAccountRelationshipsParamsWithTimeout

func NewAccountRelationshipsParamsWithTimeout(timeout time.Duration) *AccountRelationshipsParams

NewAccountRelationshipsParamsWithTimeout creates a new AccountRelationshipsParams object with the ability to set a timeout on a request.

func (*AccountRelationshipsParams) SetContext

func (o *AccountRelationshipsParams) SetContext(ctx context.Context)

SetContext adds the context to the account relationships params

func (*AccountRelationshipsParams) SetDefaults

func (o *AccountRelationshipsParams) SetDefaults()

SetDefaults hydrates default values in the account relationships params (not the query body).

All values with no default are reset to their zero value.

func (*AccountRelationshipsParams) SetHTTPClient

func (o *AccountRelationshipsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account relationships params

func (*AccountRelationshipsParams) SetID

func (o *AccountRelationshipsParams) SetID(id []string)

SetID adds the id to the account relationships params

func (*AccountRelationshipsParams) SetTimeout

func (o *AccountRelationshipsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account relationships params

func (*AccountRelationshipsParams) WithContext

WithContext adds the context to the account relationships params

func (*AccountRelationshipsParams) WithDefaults

WithDefaults hydrates default values in the account relationships params (not the query body).

All values with no default are reset to their zero value.

func (*AccountRelationshipsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account relationships params

func (*AccountRelationshipsParams) WithID

WithID adds the id to the account relationships params

func (*AccountRelationshipsParams) WithTimeout

WithTimeout adds the timeout to the account relationships params

func (*AccountRelationshipsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountRelationshipsReader

type AccountRelationshipsReader struct {
	// contains filtered or unexported fields
}

AccountRelationshipsReader is a Reader for the AccountRelationships structure.

func (*AccountRelationshipsReader) ReadResponse

func (o *AccountRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountRelationshipsUnauthorized

type AccountRelationshipsUnauthorized struct {
}

AccountRelationshipsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountRelationshipsUnauthorized

func NewAccountRelationshipsUnauthorized() *AccountRelationshipsUnauthorized

NewAccountRelationshipsUnauthorized creates a AccountRelationshipsUnauthorized with default headers values

func (*AccountRelationshipsUnauthorized) Code

Code gets the status code for the account relationships unauthorized response

func (*AccountRelationshipsUnauthorized) Error

func (*AccountRelationshipsUnauthorized) IsClientError

func (o *AccountRelationshipsUnauthorized) IsClientError() bool

IsClientError returns true when this account relationships unauthorized response has a 4xx status code

func (*AccountRelationshipsUnauthorized) IsCode

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

IsCode returns true when this account relationships unauthorized response a status code equal to that given

func (*AccountRelationshipsUnauthorized) IsRedirect

func (o *AccountRelationshipsUnauthorized) IsRedirect() bool

IsRedirect returns true when this account relationships unauthorized response has a 3xx status code

func (*AccountRelationshipsUnauthorized) IsServerError

func (o *AccountRelationshipsUnauthorized) IsServerError() bool

IsServerError returns true when this account relationships unauthorized response has a 5xx status code

func (*AccountRelationshipsUnauthorized) IsSuccess

func (o *AccountRelationshipsUnauthorized) IsSuccess() bool

IsSuccess returns true when this account relationships unauthorized response has a 2xx status code

func (*AccountRelationshipsUnauthorized) String

type AccountSearchGetBadRequest

type AccountSearchGetBadRequest struct {
}

AccountSearchGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountSearchGetBadRequest

func NewAccountSearchGetBadRequest() *AccountSearchGetBadRequest

NewAccountSearchGetBadRequest creates a AccountSearchGetBadRequest with default headers values

func (*AccountSearchGetBadRequest) Code

func (o *AccountSearchGetBadRequest) Code() int

Code gets the status code for the account search get bad request response

func (*AccountSearchGetBadRequest) Error

func (*AccountSearchGetBadRequest) IsClientError

func (o *AccountSearchGetBadRequest) IsClientError() bool

IsClientError returns true when this account search get bad request response has a 4xx status code

func (*AccountSearchGetBadRequest) IsCode

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

IsCode returns true when this account search get bad request response a status code equal to that given

func (*AccountSearchGetBadRequest) IsRedirect

func (o *AccountSearchGetBadRequest) IsRedirect() bool

IsRedirect returns true when this account search get bad request response has a 3xx status code

func (*AccountSearchGetBadRequest) IsServerError

func (o *AccountSearchGetBadRequest) IsServerError() bool

IsServerError returns true when this account search get bad request response has a 5xx status code

func (*AccountSearchGetBadRequest) IsSuccess

func (o *AccountSearchGetBadRequest) IsSuccess() bool

IsSuccess returns true when this account search get bad request response has a 2xx status code

func (*AccountSearchGetBadRequest) String

func (o *AccountSearchGetBadRequest) String() string

type AccountSearchGetInternalServerError

type AccountSearchGetInternalServerError struct {
}

AccountSearchGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountSearchGetInternalServerError

func NewAccountSearchGetInternalServerError() *AccountSearchGetInternalServerError

NewAccountSearchGetInternalServerError creates a AccountSearchGetInternalServerError with default headers values

func (*AccountSearchGetInternalServerError) Code

Code gets the status code for the account search get internal server error response

func (*AccountSearchGetInternalServerError) Error

func (*AccountSearchGetInternalServerError) IsClientError

func (o *AccountSearchGetInternalServerError) IsClientError() bool

IsClientError returns true when this account search get internal server error response has a 4xx status code

func (*AccountSearchGetInternalServerError) IsCode

IsCode returns true when this account search get internal server error response a status code equal to that given

func (*AccountSearchGetInternalServerError) IsRedirect

func (o *AccountSearchGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this account search get internal server error response has a 3xx status code

func (*AccountSearchGetInternalServerError) IsServerError

func (o *AccountSearchGetInternalServerError) IsServerError() bool

IsServerError returns true when this account search get internal server error response has a 5xx status code

func (*AccountSearchGetInternalServerError) IsSuccess

IsSuccess returns true when this account search get internal server error response has a 2xx status code

func (*AccountSearchGetInternalServerError) String

type AccountSearchGetNotAcceptable

type AccountSearchGetNotAcceptable struct {
}

AccountSearchGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountSearchGetNotAcceptable

func NewAccountSearchGetNotAcceptable() *AccountSearchGetNotAcceptable

NewAccountSearchGetNotAcceptable creates a AccountSearchGetNotAcceptable with default headers values

func (*AccountSearchGetNotAcceptable) Code

Code gets the status code for the account search get not acceptable response

func (*AccountSearchGetNotAcceptable) Error

func (*AccountSearchGetNotAcceptable) IsClientError

func (o *AccountSearchGetNotAcceptable) IsClientError() bool

IsClientError returns true when this account search get not acceptable response has a 4xx status code

func (*AccountSearchGetNotAcceptable) IsCode

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

IsCode returns true when this account search get not acceptable response a status code equal to that given

func (*AccountSearchGetNotAcceptable) IsRedirect

func (o *AccountSearchGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account search get not acceptable response has a 3xx status code

func (*AccountSearchGetNotAcceptable) IsServerError

func (o *AccountSearchGetNotAcceptable) IsServerError() bool

IsServerError returns true when this account search get not acceptable response has a 5xx status code

func (*AccountSearchGetNotAcceptable) IsSuccess

func (o *AccountSearchGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account search get not acceptable response has a 2xx status code

func (*AccountSearchGetNotAcceptable) String

type AccountSearchGetNotFound

type AccountSearchGetNotFound struct {
}

AccountSearchGetNotFound describes a response with status code 404, with default header values.

not found

func NewAccountSearchGetNotFound

func NewAccountSearchGetNotFound() *AccountSearchGetNotFound

NewAccountSearchGetNotFound creates a AccountSearchGetNotFound with default headers values

func (*AccountSearchGetNotFound) Code

func (o *AccountSearchGetNotFound) Code() int

Code gets the status code for the account search get not found response

func (*AccountSearchGetNotFound) Error

func (o *AccountSearchGetNotFound) Error() string

func (*AccountSearchGetNotFound) IsClientError

func (o *AccountSearchGetNotFound) IsClientError() bool

IsClientError returns true when this account search get not found response has a 4xx status code

func (*AccountSearchGetNotFound) IsCode

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

IsCode returns true when this account search get not found response a status code equal to that given

func (*AccountSearchGetNotFound) IsRedirect

func (o *AccountSearchGetNotFound) IsRedirect() bool

IsRedirect returns true when this account search get not found response has a 3xx status code

func (*AccountSearchGetNotFound) IsServerError

func (o *AccountSearchGetNotFound) IsServerError() bool

IsServerError returns true when this account search get not found response has a 5xx status code

func (*AccountSearchGetNotFound) IsSuccess

func (o *AccountSearchGetNotFound) IsSuccess() bool

IsSuccess returns true when this account search get not found response has a 2xx status code

func (*AccountSearchGetNotFound) String

func (o *AccountSearchGetNotFound) String() string

type AccountSearchGetOK

type AccountSearchGetOK struct {
	Payload []*models.Account
}

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

Results of the search.

func NewAccountSearchGetOK

func NewAccountSearchGetOK() *AccountSearchGetOK

NewAccountSearchGetOK creates a AccountSearchGetOK with default headers values

func (*AccountSearchGetOK) Code

func (o *AccountSearchGetOK) Code() int

Code gets the status code for the account search get o k response

func (*AccountSearchGetOK) Error

func (o *AccountSearchGetOK) Error() string

func (*AccountSearchGetOK) GetPayload

func (o *AccountSearchGetOK) GetPayload() []*models.Account

func (*AccountSearchGetOK) IsClientError

func (o *AccountSearchGetOK) IsClientError() bool

IsClientError returns true when this account search get o k response has a 4xx status code

func (*AccountSearchGetOK) IsCode

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

IsCode returns true when this account search get o k response a status code equal to that given

func (*AccountSearchGetOK) IsRedirect

func (o *AccountSearchGetOK) IsRedirect() bool

IsRedirect returns true when this account search get o k response has a 3xx status code

func (*AccountSearchGetOK) IsServerError

func (o *AccountSearchGetOK) IsServerError() bool

IsServerError returns true when this account search get o k response has a 5xx status code

func (*AccountSearchGetOK) IsSuccess

func (o *AccountSearchGetOK) IsSuccess() bool

IsSuccess returns true when this account search get o k response has a 2xx status code

func (*AccountSearchGetOK) String

func (o *AccountSearchGetOK) String() string

type AccountSearchGetParams

type AccountSearchGetParams struct {

	/* Following.

	   Show only accounts that the requesting account follows. If this is set to `true`, then the GoToSocial instance will enhance the search by also searching within account notes, not just in usernames and display names.
	*/
	Following *bool

	/* Limit.

	   Number of results to try to return.

	   Default: 40
	*/
	Limit *int64

	/* Offset.

	   Page number of results to return (starts at 0). This parameter is currently not used, offsets over 0 will always return 0 results.
	*/
	Offset *int64

	/* Q.

	     Query string to search for. This can be in the following forms:
	- `@[username]` -- search for an account with the given username on any domain. Can return multiple results.
	- `@[username]@[domain]` -- search for a remote account with exact username and domain. Will only ever return 1 result at most.
	- any arbitrary string -- search for accounts containing the given string in their username or display name. Can return multiple results.
	*/
	Q string

	/* Resolve.

	   If query is for `@[username]@[domain]`, or a URL, allow the GoToSocial instance to resolve the search by making calls to remote instances (webfinger, ActivityPub, etc).
	*/
	Resolve *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountSearchGetParams contains all the parameters to send to the API endpoint

for the account search get operation.

Typically these are written to a http.Request.

func NewAccountSearchGetParams

func NewAccountSearchGetParams() *AccountSearchGetParams

NewAccountSearchGetParams creates a new AccountSearchGetParams 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 NewAccountSearchGetParamsWithContext

func NewAccountSearchGetParamsWithContext(ctx context.Context) *AccountSearchGetParams

NewAccountSearchGetParamsWithContext creates a new AccountSearchGetParams object with the ability to set a context for a request.

func NewAccountSearchGetParamsWithHTTPClient

func NewAccountSearchGetParamsWithHTTPClient(client *http.Client) *AccountSearchGetParams

NewAccountSearchGetParamsWithHTTPClient creates a new AccountSearchGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountSearchGetParamsWithTimeout

func NewAccountSearchGetParamsWithTimeout(timeout time.Duration) *AccountSearchGetParams

NewAccountSearchGetParamsWithTimeout creates a new AccountSearchGetParams object with the ability to set a timeout on a request.

func (*AccountSearchGetParams) SetContext

func (o *AccountSearchGetParams) SetContext(ctx context.Context)

SetContext adds the context to the account search get params

func (*AccountSearchGetParams) SetDefaults

func (o *AccountSearchGetParams) SetDefaults()

SetDefaults hydrates default values in the account search get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountSearchGetParams) SetFollowing

func (o *AccountSearchGetParams) SetFollowing(following *bool)

SetFollowing adds the following to the account search get params

func (*AccountSearchGetParams) SetHTTPClient

func (o *AccountSearchGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account search get params

func (*AccountSearchGetParams) SetLimit

func (o *AccountSearchGetParams) SetLimit(limit *int64)

SetLimit adds the limit to the account search get params

func (*AccountSearchGetParams) SetOffset

func (o *AccountSearchGetParams) SetOffset(offset *int64)

SetOffset adds the offset to the account search get params

func (*AccountSearchGetParams) SetQ

func (o *AccountSearchGetParams) SetQ(q string)

SetQ adds the q to the account search get params

func (*AccountSearchGetParams) SetResolve

func (o *AccountSearchGetParams) SetResolve(resolve *bool)

SetResolve adds the resolve to the account search get params

func (*AccountSearchGetParams) SetTimeout

func (o *AccountSearchGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account search get params

func (*AccountSearchGetParams) WithContext

WithContext adds the context to the account search get params

func (*AccountSearchGetParams) WithDefaults

WithDefaults hydrates default values in the account search get params (not the query body).

All values with no default are reset to their zero value.

func (*AccountSearchGetParams) WithFollowing

func (o *AccountSearchGetParams) WithFollowing(following *bool) *AccountSearchGetParams

WithFollowing adds the following to the account search get params

func (*AccountSearchGetParams) WithHTTPClient

func (o *AccountSearchGetParams) WithHTTPClient(client *http.Client) *AccountSearchGetParams

WithHTTPClient adds the HTTPClient to the account search get params

func (*AccountSearchGetParams) WithLimit

func (o *AccountSearchGetParams) WithLimit(limit *int64) *AccountSearchGetParams

WithLimit adds the limit to the account search get params

func (*AccountSearchGetParams) WithOffset

func (o *AccountSearchGetParams) WithOffset(offset *int64) *AccountSearchGetParams

WithOffset adds the offset to the account search get params

func (*AccountSearchGetParams) WithQ

WithQ adds the q to the account search get params

func (*AccountSearchGetParams) WithResolve

func (o *AccountSearchGetParams) WithResolve(resolve *bool) *AccountSearchGetParams

WithResolve adds the resolve to the account search get params

func (*AccountSearchGetParams) WithTimeout

WithTimeout adds the timeout to the account search get params

func (*AccountSearchGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountSearchGetReader

type AccountSearchGetReader struct {
	// contains filtered or unexported fields
}

AccountSearchGetReader is a Reader for the AccountSearchGet structure.

func (*AccountSearchGetReader) ReadResponse

func (o *AccountSearchGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountSearchGetUnauthorized

type AccountSearchGetUnauthorized struct {
}

AccountSearchGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountSearchGetUnauthorized

func NewAccountSearchGetUnauthorized() *AccountSearchGetUnauthorized

NewAccountSearchGetUnauthorized creates a AccountSearchGetUnauthorized with default headers values

func (*AccountSearchGetUnauthorized) Code

Code gets the status code for the account search get unauthorized response

func (*AccountSearchGetUnauthorized) Error

func (*AccountSearchGetUnauthorized) IsClientError

func (o *AccountSearchGetUnauthorized) IsClientError() bool

IsClientError returns true when this account search get unauthorized response has a 4xx status code

func (*AccountSearchGetUnauthorized) IsCode

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

IsCode returns true when this account search get unauthorized response a status code equal to that given

func (*AccountSearchGetUnauthorized) IsRedirect

func (o *AccountSearchGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this account search get unauthorized response has a 3xx status code

func (*AccountSearchGetUnauthorized) IsServerError

func (o *AccountSearchGetUnauthorized) IsServerError() bool

IsServerError returns true when this account search get unauthorized response has a 5xx status code

func (*AccountSearchGetUnauthorized) IsSuccess

func (o *AccountSearchGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this account search get unauthorized response has a 2xx status code

func (*AccountSearchGetUnauthorized) String

type AccountStatusesBadRequest

type AccountStatusesBadRequest struct {
}

AccountStatusesBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountStatusesBadRequest

func NewAccountStatusesBadRequest() *AccountStatusesBadRequest

NewAccountStatusesBadRequest creates a AccountStatusesBadRequest with default headers values

func (*AccountStatusesBadRequest) Code

func (o *AccountStatusesBadRequest) Code() int

Code gets the status code for the account statuses bad request response

func (*AccountStatusesBadRequest) Error

func (o *AccountStatusesBadRequest) Error() string

func (*AccountStatusesBadRequest) IsClientError

func (o *AccountStatusesBadRequest) IsClientError() bool

IsClientError returns true when this account statuses bad request response has a 4xx status code

func (*AccountStatusesBadRequest) IsCode

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

IsCode returns true when this account statuses bad request response a status code equal to that given

func (*AccountStatusesBadRequest) IsRedirect

func (o *AccountStatusesBadRequest) IsRedirect() bool

IsRedirect returns true when this account statuses bad request response has a 3xx status code

func (*AccountStatusesBadRequest) IsServerError

func (o *AccountStatusesBadRequest) IsServerError() bool

IsServerError returns true when this account statuses bad request response has a 5xx status code

func (*AccountStatusesBadRequest) IsSuccess

func (o *AccountStatusesBadRequest) IsSuccess() bool

IsSuccess returns true when this account statuses bad request response has a 2xx status code

func (*AccountStatusesBadRequest) String

func (o *AccountStatusesBadRequest) String() string

type AccountStatusesInternalServerError

type AccountStatusesInternalServerError struct {
}

AccountStatusesInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountStatusesInternalServerError

func NewAccountStatusesInternalServerError() *AccountStatusesInternalServerError

NewAccountStatusesInternalServerError creates a AccountStatusesInternalServerError with default headers values

func (*AccountStatusesInternalServerError) Code

Code gets the status code for the account statuses internal server error response

func (*AccountStatusesInternalServerError) Error

func (*AccountStatusesInternalServerError) IsClientError

func (o *AccountStatusesInternalServerError) IsClientError() bool

IsClientError returns true when this account statuses internal server error response has a 4xx status code

func (*AccountStatusesInternalServerError) IsCode

IsCode returns true when this account statuses internal server error response a status code equal to that given

func (*AccountStatusesInternalServerError) IsRedirect

func (o *AccountStatusesInternalServerError) IsRedirect() bool

IsRedirect returns true when this account statuses internal server error response has a 3xx status code

func (*AccountStatusesInternalServerError) IsServerError

func (o *AccountStatusesInternalServerError) IsServerError() bool

IsServerError returns true when this account statuses internal server error response has a 5xx status code

func (*AccountStatusesInternalServerError) IsSuccess

IsSuccess returns true when this account statuses internal server error response has a 2xx status code

func (*AccountStatusesInternalServerError) String

type AccountStatusesNotAcceptable

type AccountStatusesNotAcceptable struct {
}

AccountStatusesNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountStatusesNotAcceptable

func NewAccountStatusesNotAcceptable() *AccountStatusesNotAcceptable

NewAccountStatusesNotAcceptable creates a AccountStatusesNotAcceptable with default headers values

func (*AccountStatusesNotAcceptable) Code

Code gets the status code for the account statuses not acceptable response

func (*AccountStatusesNotAcceptable) Error

func (*AccountStatusesNotAcceptable) IsClientError

func (o *AccountStatusesNotAcceptable) IsClientError() bool

IsClientError returns true when this account statuses not acceptable response has a 4xx status code

func (*AccountStatusesNotAcceptable) IsCode

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

IsCode returns true when this account statuses not acceptable response a status code equal to that given

func (*AccountStatusesNotAcceptable) IsRedirect

func (o *AccountStatusesNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account statuses not acceptable response has a 3xx status code

func (*AccountStatusesNotAcceptable) IsServerError

func (o *AccountStatusesNotAcceptable) IsServerError() bool

IsServerError returns true when this account statuses not acceptable response has a 5xx status code

func (*AccountStatusesNotAcceptable) IsSuccess

func (o *AccountStatusesNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account statuses not acceptable response has a 2xx status code

func (*AccountStatusesNotAcceptable) String

type AccountStatusesNotFound

type AccountStatusesNotFound struct {
}

AccountStatusesNotFound describes a response with status code 404, with default header values.

not found

func NewAccountStatusesNotFound

func NewAccountStatusesNotFound() *AccountStatusesNotFound

NewAccountStatusesNotFound creates a AccountStatusesNotFound with default headers values

func (*AccountStatusesNotFound) Code

func (o *AccountStatusesNotFound) Code() int

Code gets the status code for the account statuses not found response

func (*AccountStatusesNotFound) Error

func (o *AccountStatusesNotFound) Error() string

func (*AccountStatusesNotFound) IsClientError

func (o *AccountStatusesNotFound) IsClientError() bool

IsClientError returns true when this account statuses not found response has a 4xx status code

func (*AccountStatusesNotFound) IsCode

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

IsCode returns true when this account statuses not found response a status code equal to that given

func (*AccountStatusesNotFound) IsRedirect

func (o *AccountStatusesNotFound) IsRedirect() bool

IsRedirect returns true when this account statuses not found response has a 3xx status code

func (*AccountStatusesNotFound) IsServerError

func (o *AccountStatusesNotFound) IsServerError() bool

IsServerError returns true when this account statuses not found response has a 5xx status code

func (*AccountStatusesNotFound) IsSuccess

func (o *AccountStatusesNotFound) IsSuccess() bool

IsSuccess returns true when this account statuses not found response has a 2xx status code

func (*AccountStatusesNotFound) String

func (o *AccountStatusesNotFound) String() string

type AccountStatusesOK

type AccountStatusesOK struct {

	/* Links to the next and previous queries.
	 */
	Link string

	Payload []*models.Status
}

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

Array of statuses.

func NewAccountStatusesOK

func NewAccountStatusesOK() *AccountStatusesOK

NewAccountStatusesOK creates a AccountStatusesOK with default headers values

func (*AccountStatusesOK) Code

func (o *AccountStatusesOK) Code() int

Code gets the status code for the account statuses o k response

func (*AccountStatusesOK) Error

func (o *AccountStatusesOK) Error() string

func (*AccountStatusesOK) GetPayload

func (o *AccountStatusesOK) GetPayload() []*models.Status

func (*AccountStatusesOK) IsClientError

func (o *AccountStatusesOK) IsClientError() bool

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

func (*AccountStatusesOK) IsCode

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

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

func (*AccountStatusesOK) IsRedirect

func (o *AccountStatusesOK) IsRedirect() bool

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

func (*AccountStatusesOK) IsServerError

func (o *AccountStatusesOK) IsServerError() bool

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

func (*AccountStatusesOK) IsSuccess

func (o *AccountStatusesOK) IsSuccess() bool

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

func (*AccountStatusesOK) String

func (o *AccountStatusesOK) String() string

type AccountStatusesParams

type AccountStatusesParams struct {

	/* ExcludeReblogs.

	   Exclude statuses that are a reblog/boost of another status.
	*/
	ExcludeReblogs *bool

	/* ExcludeReplies.

	   Exclude statuses that are a reply to another status.
	*/
	ExcludeReplies *bool

	/* ID.

	   Account ID.
	*/
	ID string

	/* Limit.

	   Number of statuses to return.

	   Default: 30
	*/
	Limit *int64

	/* MaxID.

	   Return only statuses *OLDER* than the given max status ID. The status with the specified ID will not be included in the response.
	*/
	MaxID *string

	/* MinID.

	   Return only statuses *NEWER* than the given min status ID. The status with the specified ID will not be included in the response.
	*/
	MinID *string

	/* OnlyMedia.

	   Show only statuses with media attachments.
	*/
	OnlyMedia *bool

	/* OnlyPublic.

	   Show only statuses with a privacy setting of 'public'.
	*/
	OnlyPublic *bool

	/* Pinned.

	   Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID.
	*/
	Pinned *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountStatusesParams contains all the parameters to send to the API endpoint

for the account statuses operation.

Typically these are written to a http.Request.

func NewAccountStatusesParams

func NewAccountStatusesParams() *AccountStatusesParams

NewAccountStatusesParams creates a new AccountStatusesParams 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 NewAccountStatusesParamsWithContext

func NewAccountStatusesParamsWithContext(ctx context.Context) *AccountStatusesParams

NewAccountStatusesParamsWithContext creates a new AccountStatusesParams object with the ability to set a context for a request.

func NewAccountStatusesParamsWithHTTPClient

func NewAccountStatusesParamsWithHTTPClient(client *http.Client) *AccountStatusesParams

NewAccountStatusesParamsWithHTTPClient creates a new AccountStatusesParams object with the ability to set a custom HTTPClient for a request.

func NewAccountStatusesParamsWithTimeout

func NewAccountStatusesParamsWithTimeout(timeout time.Duration) *AccountStatusesParams

NewAccountStatusesParamsWithTimeout creates a new AccountStatusesParams object with the ability to set a timeout on a request.

func (*AccountStatusesParams) SetContext

func (o *AccountStatusesParams) SetContext(ctx context.Context)

SetContext adds the context to the account statuses params

func (*AccountStatusesParams) SetDefaults

func (o *AccountStatusesParams) SetDefaults()

SetDefaults hydrates default values in the account statuses params (not the query body).

All values with no default are reset to their zero value.

func (*AccountStatusesParams) SetExcludeReblogs

func (o *AccountStatusesParams) SetExcludeReblogs(excludeReblogs *bool)

SetExcludeReblogs adds the excludeReblogs to the account statuses params

func (*AccountStatusesParams) SetExcludeReplies

func (o *AccountStatusesParams) SetExcludeReplies(excludeReplies *bool)

SetExcludeReplies adds the excludeReplies to the account statuses params

func (*AccountStatusesParams) SetHTTPClient

func (o *AccountStatusesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account statuses params

func (*AccountStatusesParams) SetID

func (o *AccountStatusesParams) SetID(id string)

SetID adds the id to the account statuses params

func (*AccountStatusesParams) SetLimit

func (o *AccountStatusesParams) SetLimit(limit *int64)

SetLimit adds the limit to the account statuses params

func (*AccountStatusesParams) SetMaxID

func (o *AccountStatusesParams) SetMaxID(maxID *string)

SetMaxID adds the maxId to the account statuses params

func (*AccountStatusesParams) SetMinID

func (o *AccountStatusesParams) SetMinID(minID *string)

SetMinID adds the minId to the account statuses params

func (*AccountStatusesParams) SetOnlyMedia

func (o *AccountStatusesParams) SetOnlyMedia(onlyMedia *bool)

SetOnlyMedia adds the onlyMedia to the account statuses params

func (*AccountStatusesParams) SetOnlyPublic

func (o *AccountStatusesParams) SetOnlyPublic(onlyPublic *bool)

SetOnlyPublic adds the onlyPublic to the account statuses params

func (*AccountStatusesParams) SetPinned

func (o *AccountStatusesParams) SetPinned(pinned *bool)

SetPinned adds the pinned to the account statuses params

func (*AccountStatusesParams) SetTimeout

func (o *AccountStatusesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account statuses params

func (*AccountStatusesParams) WithContext

WithContext adds the context to the account statuses params

func (*AccountStatusesParams) WithDefaults

func (o *AccountStatusesParams) WithDefaults() *AccountStatusesParams

WithDefaults hydrates default values in the account statuses params (not the query body).

All values with no default are reset to their zero value.

func (*AccountStatusesParams) WithExcludeReblogs

func (o *AccountStatusesParams) WithExcludeReblogs(excludeReblogs *bool) *AccountStatusesParams

WithExcludeReblogs adds the excludeReblogs to the account statuses params

func (*AccountStatusesParams) WithExcludeReplies

func (o *AccountStatusesParams) WithExcludeReplies(excludeReplies *bool) *AccountStatusesParams

WithExcludeReplies adds the excludeReplies to the account statuses params

func (*AccountStatusesParams) WithHTTPClient

func (o *AccountStatusesParams) WithHTTPClient(client *http.Client) *AccountStatusesParams

WithHTTPClient adds the HTTPClient to the account statuses params

func (*AccountStatusesParams) WithID

WithID adds the id to the account statuses params

func (*AccountStatusesParams) WithLimit

func (o *AccountStatusesParams) WithLimit(limit *int64) *AccountStatusesParams

WithLimit adds the limit to the account statuses params

func (*AccountStatusesParams) WithMaxID

func (o *AccountStatusesParams) WithMaxID(maxID *string) *AccountStatusesParams

WithMaxID adds the maxID to the account statuses params

func (*AccountStatusesParams) WithMinID

func (o *AccountStatusesParams) WithMinID(minID *string) *AccountStatusesParams

WithMinID adds the minID to the account statuses params

func (*AccountStatusesParams) WithOnlyMedia

func (o *AccountStatusesParams) WithOnlyMedia(onlyMedia *bool) *AccountStatusesParams

WithOnlyMedia adds the onlyMedia to the account statuses params

func (*AccountStatusesParams) WithOnlyPublic

func (o *AccountStatusesParams) WithOnlyPublic(onlyPublic *bool) *AccountStatusesParams

WithOnlyPublic adds the onlyPublic to the account statuses params

func (*AccountStatusesParams) WithPinned

func (o *AccountStatusesParams) WithPinned(pinned *bool) *AccountStatusesParams

WithPinned adds the pinned to the account statuses params

func (*AccountStatusesParams) WithTimeout

func (o *AccountStatusesParams) WithTimeout(timeout time.Duration) *AccountStatusesParams

WithTimeout adds the timeout to the account statuses params

func (*AccountStatusesParams) WriteToRequest

func (o *AccountStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountStatusesReader

type AccountStatusesReader struct {
	// contains filtered or unexported fields
}

AccountStatusesReader is a Reader for the AccountStatuses structure.

func (*AccountStatusesReader) ReadResponse

func (o *AccountStatusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountStatusesUnauthorized

type AccountStatusesUnauthorized struct {
}

AccountStatusesUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountStatusesUnauthorized

func NewAccountStatusesUnauthorized() *AccountStatusesUnauthorized

NewAccountStatusesUnauthorized creates a AccountStatusesUnauthorized with default headers values

func (*AccountStatusesUnauthorized) Code

func (o *AccountStatusesUnauthorized) Code() int

Code gets the status code for the account statuses unauthorized response

func (*AccountStatusesUnauthorized) Error

func (*AccountStatusesUnauthorized) IsClientError

func (o *AccountStatusesUnauthorized) IsClientError() bool

IsClientError returns true when this account statuses unauthorized response has a 4xx status code

func (*AccountStatusesUnauthorized) IsCode

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

IsCode returns true when this account statuses unauthorized response a status code equal to that given

func (*AccountStatusesUnauthorized) IsRedirect

func (o *AccountStatusesUnauthorized) IsRedirect() bool

IsRedirect returns true when this account statuses unauthorized response has a 3xx status code

func (*AccountStatusesUnauthorized) IsServerError

func (o *AccountStatusesUnauthorized) IsServerError() bool

IsServerError returns true when this account statuses unauthorized response has a 5xx status code

func (*AccountStatusesUnauthorized) IsSuccess

func (o *AccountStatusesUnauthorized) IsSuccess() bool

IsSuccess returns true when this account statuses unauthorized response has a 2xx status code

func (*AccountStatusesUnauthorized) String

func (o *AccountStatusesUnauthorized) String() string

type AccountThemesBadRequest

type AccountThemesBadRequest struct {
}

AccountThemesBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountThemesBadRequest

func NewAccountThemesBadRequest() *AccountThemesBadRequest

NewAccountThemesBadRequest creates a AccountThemesBadRequest with default headers values

func (*AccountThemesBadRequest) Code

func (o *AccountThemesBadRequest) Code() int

Code gets the status code for the account themes bad request response

func (*AccountThemesBadRequest) Error

func (o *AccountThemesBadRequest) Error() string

func (*AccountThemesBadRequest) IsClientError

func (o *AccountThemesBadRequest) IsClientError() bool

IsClientError returns true when this account themes bad request response has a 4xx status code

func (*AccountThemesBadRequest) IsCode

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

IsCode returns true when this account themes bad request response a status code equal to that given

func (*AccountThemesBadRequest) IsRedirect

func (o *AccountThemesBadRequest) IsRedirect() bool

IsRedirect returns true when this account themes bad request response has a 3xx status code

func (*AccountThemesBadRequest) IsServerError

func (o *AccountThemesBadRequest) IsServerError() bool

IsServerError returns true when this account themes bad request response has a 5xx status code

func (*AccountThemesBadRequest) IsSuccess

func (o *AccountThemesBadRequest) IsSuccess() bool

IsSuccess returns true when this account themes bad request response has a 2xx status code

func (*AccountThemesBadRequest) String

func (o *AccountThemesBadRequest) String() string

type AccountThemesInternalServerError

type AccountThemesInternalServerError struct {
}

AccountThemesInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountThemesInternalServerError

func NewAccountThemesInternalServerError() *AccountThemesInternalServerError

NewAccountThemesInternalServerError creates a AccountThemesInternalServerError with default headers values

func (*AccountThemesInternalServerError) Code

Code gets the status code for the account themes internal server error response

func (*AccountThemesInternalServerError) Error

func (*AccountThemesInternalServerError) IsClientError

func (o *AccountThemesInternalServerError) IsClientError() bool

IsClientError returns true when this account themes internal server error response has a 4xx status code

func (*AccountThemesInternalServerError) IsCode

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

IsCode returns true when this account themes internal server error response a status code equal to that given

func (*AccountThemesInternalServerError) IsRedirect

func (o *AccountThemesInternalServerError) IsRedirect() bool

IsRedirect returns true when this account themes internal server error response has a 3xx status code

func (*AccountThemesInternalServerError) IsServerError

func (o *AccountThemesInternalServerError) IsServerError() bool

IsServerError returns true when this account themes internal server error response has a 5xx status code

func (*AccountThemesInternalServerError) IsSuccess

func (o *AccountThemesInternalServerError) IsSuccess() bool

IsSuccess returns true when this account themes internal server error response has a 2xx status code

func (*AccountThemesInternalServerError) String

type AccountThemesNotAcceptable

type AccountThemesNotAcceptable struct {
}

AccountThemesNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountThemesNotAcceptable

func NewAccountThemesNotAcceptable() *AccountThemesNotAcceptable

NewAccountThemesNotAcceptable creates a AccountThemesNotAcceptable with default headers values

func (*AccountThemesNotAcceptable) Code

func (o *AccountThemesNotAcceptable) Code() int

Code gets the status code for the account themes not acceptable response

func (*AccountThemesNotAcceptable) Error

func (*AccountThemesNotAcceptable) IsClientError

func (o *AccountThemesNotAcceptable) IsClientError() bool

IsClientError returns true when this account themes not acceptable response has a 4xx status code

func (*AccountThemesNotAcceptable) IsCode

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

IsCode returns true when this account themes not acceptable response a status code equal to that given

func (*AccountThemesNotAcceptable) IsRedirect

func (o *AccountThemesNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account themes not acceptable response has a 3xx status code

func (*AccountThemesNotAcceptable) IsServerError

func (o *AccountThemesNotAcceptable) IsServerError() bool

IsServerError returns true when this account themes not acceptable response has a 5xx status code

func (*AccountThemesNotAcceptable) IsSuccess

func (o *AccountThemesNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account themes not acceptable response has a 2xx status code

func (*AccountThemesNotAcceptable) String

func (o *AccountThemesNotAcceptable) String() string

type AccountThemesNotFound

type AccountThemesNotFound struct {
}

AccountThemesNotFound describes a response with status code 404, with default header values.

not found

func NewAccountThemesNotFound

func NewAccountThemesNotFound() *AccountThemesNotFound

NewAccountThemesNotFound creates a AccountThemesNotFound with default headers values

func (*AccountThemesNotFound) Code

func (o *AccountThemesNotFound) Code() int

Code gets the status code for the account themes not found response

func (*AccountThemesNotFound) Error

func (o *AccountThemesNotFound) Error() string

func (*AccountThemesNotFound) IsClientError

func (o *AccountThemesNotFound) IsClientError() bool

IsClientError returns true when this account themes not found response has a 4xx status code

func (*AccountThemesNotFound) IsCode

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

IsCode returns true when this account themes not found response a status code equal to that given

func (*AccountThemesNotFound) IsRedirect

func (o *AccountThemesNotFound) IsRedirect() bool

IsRedirect returns true when this account themes not found response has a 3xx status code

func (*AccountThemesNotFound) IsServerError

func (o *AccountThemesNotFound) IsServerError() bool

IsServerError returns true when this account themes not found response has a 5xx status code

func (*AccountThemesNotFound) IsSuccess

func (o *AccountThemesNotFound) IsSuccess() bool

IsSuccess returns true when this account themes not found response has a 2xx status code

func (*AccountThemesNotFound) String

func (o *AccountThemesNotFound) String() string

type AccountThemesOK

type AccountThemesOK struct {
	Payload []*models.Theme
}

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

Array of themes.

func NewAccountThemesOK

func NewAccountThemesOK() *AccountThemesOK

NewAccountThemesOK creates a AccountThemesOK with default headers values

func (*AccountThemesOK) Code

func (o *AccountThemesOK) Code() int

Code gets the status code for the account themes o k response

func (*AccountThemesOK) Error

func (o *AccountThemesOK) Error() string

func (*AccountThemesOK) GetPayload

func (o *AccountThemesOK) GetPayload() []*models.Theme

func (*AccountThemesOK) IsClientError

func (o *AccountThemesOK) IsClientError() bool

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

func (*AccountThemesOK) IsCode

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

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

func (*AccountThemesOK) IsRedirect

func (o *AccountThemesOK) IsRedirect() bool

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

func (*AccountThemesOK) IsServerError

func (o *AccountThemesOK) IsServerError() bool

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

func (*AccountThemesOK) IsSuccess

func (o *AccountThemesOK) IsSuccess() bool

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

func (*AccountThemesOK) String

func (o *AccountThemesOK) String() string

type AccountThemesParams

type AccountThemesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountThemesParams contains all the parameters to send to the API endpoint

for the account themes operation.

Typically these are written to a http.Request.

func NewAccountThemesParams

func NewAccountThemesParams() *AccountThemesParams

NewAccountThemesParams creates a new AccountThemesParams 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 NewAccountThemesParamsWithContext

func NewAccountThemesParamsWithContext(ctx context.Context) *AccountThemesParams

NewAccountThemesParamsWithContext creates a new AccountThemesParams object with the ability to set a context for a request.

func NewAccountThemesParamsWithHTTPClient

func NewAccountThemesParamsWithHTTPClient(client *http.Client) *AccountThemesParams

NewAccountThemesParamsWithHTTPClient creates a new AccountThemesParams object with the ability to set a custom HTTPClient for a request.

func NewAccountThemesParamsWithTimeout

func NewAccountThemesParamsWithTimeout(timeout time.Duration) *AccountThemesParams

NewAccountThemesParamsWithTimeout creates a new AccountThemesParams object with the ability to set a timeout on a request.

func (*AccountThemesParams) SetContext

func (o *AccountThemesParams) SetContext(ctx context.Context)

SetContext adds the context to the account themes params

func (*AccountThemesParams) SetDefaults

func (o *AccountThemesParams) SetDefaults()

SetDefaults hydrates default values in the account themes params (not the query body).

All values with no default are reset to their zero value.

func (*AccountThemesParams) SetHTTPClient

func (o *AccountThemesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account themes params

func (*AccountThemesParams) SetTimeout

func (o *AccountThemesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account themes params

func (*AccountThemesParams) WithContext

WithContext adds the context to the account themes params

func (*AccountThemesParams) WithDefaults

func (o *AccountThemesParams) WithDefaults() *AccountThemesParams

WithDefaults hydrates default values in the account themes params (not the query body).

All values with no default are reset to their zero value.

func (*AccountThemesParams) WithHTTPClient

func (o *AccountThemesParams) WithHTTPClient(client *http.Client) *AccountThemesParams

WithHTTPClient adds the HTTPClient to the account themes params

func (*AccountThemesParams) WithTimeout

func (o *AccountThemesParams) WithTimeout(timeout time.Duration) *AccountThemesParams

WithTimeout adds the timeout to the account themes params

func (*AccountThemesParams) WriteToRequest

func (o *AccountThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountThemesReader

type AccountThemesReader struct {
	// contains filtered or unexported fields
}

AccountThemesReader is a Reader for the AccountThemes structure.

func (*AccountThemesReader) ReadResponse

func (o *AccountThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountThemesUnauthorized

type AccountThemesUnauthorized struct {
}

AccountThemesUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountThemesUnauthorized

func NewAccountThemesUnauthorized() *AccountThemesUnauthorized

NewAccountThemesUnauthorized creates a AccountThemesUnauthorized with default headers values

func (*AccountThemesUnauthorized) Code

func (o *AccountThemesUnauthorized) Code() int

Code gets the status code for the account themes unauthorized response

func (*AccountThemesUnauthorized) Error

func (o *AccountThemesUnauthorized) Error() string

func (*AccountThemesUnauthorized) IsClientError

func (o *AccountThemesUnauthorized) IsClientError() bool

IsClientError returns true when this account themes unauthorized response has a 4xx status code

func (*AccountThemesUnauthorized) IsCode

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

IsCode returns true when this account themes unauthorized response a status code equal to that given

func (*AccountThemesUnauthorized) IsRedirect

func (o *AccountThemesUnauthorized) IsRedirect() bool

IsRedirect returns true when this account themes unauthorized response has a 3xx status code

func (*AccountThemesUnauthorized) IsServerError

func (o *AccountThemesUnauthorized) IsServerError() bool

IsServerError returns true when this account themes unauthorized response has a 5xx status code

func (*AccountThemesUnauthorized) IsSuccess

func (o *AccountThemesUnauthorized) IsSuccess() bool

IsSuccess returns true when this account themes unauthorized response has a 2xx status code

func (*AccountThemesUnauthorized) String

func (o *AccountThemesUnauthorized) String() string

type AccountUnblockBadRequest

type AccountUnblockBadRequest struct {
}

AccountUnblockBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountUnblockBadRequest

func NewAccountUnblockBadRequest() *AccountUnblockBadRequest

NewAccountUnblockBadRequest creates a AccountUnblockBadRequest with default headers values

func (*AccountUnblockBadRequest) Code

func (o *AccountUnblockBadRequest) Code() int

Code gets the status code for the account unblock bad request response

func (*AccountUnblockBadRequest) Error

func (o *AccountUnblockBadRequest) Error() string

func (*AccountUnblockBadRequest) IsClientError

func (o *AccountUnblockBadRequest) IsClientError() bool

IsClientError returns true when this account unblock bad request response has a 4xx status code

func (*AccountUnblockBadRequest) IsCode

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

IsCode returns true when this account unblock bad request response a status code equal to that given

func (*AccountUnblockBadRequest) IsRedirect

func (o *AccountUnblockBadRequest) IsRedirect() bool

IsRedirect returns true when this account unblock bad request response has a 3xx status code

func (*AccountUnblockBadRequest) IsServerError

func (o *AccountUnblockBadRequest) IsServerError() bool

IsServerError returns true when this account unblock bad request response has a 5xx status code

func (*AccountUnblockBadRequest) IsSuccess

func (o *AccountUnblockBadRequest) IsSuccess() bool

IsSuccess returns true when this account unblock bad request response has a 2xx status code

func (*AccountUnblockBadRequest) String

func (o *AccountUnblockBadRequest) String() string

type AccountUnblockInternalServerError

type AccountUnblockInternalServerError struct {
}

AccountUnblockInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountUnblockInternalServerError

func NewAccountUnblockInternalServerError() *AccountUnblockInternalServerError

NewAccountUnblockInternalServerError creates a AccountUnblockInternalServerError with default headers values

func (*AccountUnblockInternalServerError) Code

Code gets the status code for the account unblock internal server error response

func (*AccountUnblockInternalServerError) Error

func (*AccountUnblockInternalServerError) IsClientError

func (o *AccountUnblockInternalServerError) IsClientError() bool

IsClientError returns true when this account unblock internal server error response has a 4xx status code

func (*AccountUnblockInternalServerError) IsCode

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

IsCode returns true when this account unblock internal server error response a status code equal to that given

func (*AccountUnblockInternalServerError) IsRedirect

func (o *AccountUnblockInternalServerError) IsRedirect() bool

IsRedirect returns true when this account unblock internal server error response has a 3xx status code

func (*AccountUnblockInternalServerError) IsServerError

func (o *AccountUnblockInternalServerError) IsServerError() bool

IsServerError returns true when this account unblock internal server error response has a 5xx status code

func (*AccountUnblockInternalServerError) IsSuccess

func (o *AccountUnblockInternalServerError) IsSuccess() bool

IsSuccess returns true when this account unblock internal server error response has a 2xx status code

func (*AccountUnblockInternalServerError) String

type AccountUnblockNotAcceptable

type AccountUnblockNotAcceptable struct {
}

AccountUnblockNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountUnblockNotAcceptable

func NewAccountUnblockNotAcceptable() *AccountUnblockNotAcceptable

NewAccountUnblockNotAcceptable creates a AccountUnblockNotAcceptable with default headers values

func (*AccountUnblockNotAcceptable) Code

func (o *AccountUnblockNotAcceptable) Code() int

Code gets the status code for the account unblock not acceptable response

func (*AccountUnblockNotAcceptable) Error

func (*AccountUnblockNotAcceptable) IsClientError

func (o *AccountUnblockNotAcceptable) IsClientError() bool

IsClientError returns true when this account unblock not acceptable response has a 4xx status code

func (*AccountUnblockNotAcceptable) IsCode

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

IsCode returns true when this account unblock not acceptable response a status code equal to that given

func (*AccountUnblockNotAcceptable) IsRedirect

func (o *AccountUnblockNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account unblock not acceptable response has a 3xx status code

func (*AccountUnblockNotAcceptable) IsServerError

func (o *AccountUnblockNotAcceptable) IsServerError() bool

IsServerError returns true when this account unblock not acceptable response has a 5xx status code

func (*AccountUnblockNotAcceptable) IsSuccess

func (o *AccountUnblockNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account unblock not acceptable response has a 2xx status code

func (*AccountUnblockNotAcceptable) String

func (o *AccountUnblockNotAcceptable) String() string

type AccountUnblockNotFound

type AccountUnblockNotFound struct {
}

AccountUnblockNotFound describes a response with status code 404, with default header values.

not found

func NewAccountUnblockNotFound

func NewAccountUnblockNotFound() *AccountUnblockNotFound

NewAccountUnblockNotFound creates a AccountUnblockNotFound with default headers values

func (*AccountUnblockNotFound) Code

func (o *AccountUnblockNotFound) Code() int

Code gets the status code for the account unblock not found response

func (*AccountUnblockNotFound) Error

func (o *AccountUnblockNotFound) Error() string

func (*AccountUnblockNotFound) IsClientError

func (o *AccountUnblockNotFound) IsClientError() bool

IsClientError returns true when this account unblock not found response has a 4xx status code

func (*AccountUnblockNotFound) IsCode

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

IsCode returns true when this account unblock not found response a status code equal to that given

func (*AccountUnblockNotFound) IsRedirect

func (o *AccountUnblockNotFound) IsRedirect() bool

IsRedirect returns true when this account unblock not found response has a 3xx status code

func (*AccountUnblockNotFound) IsServerError

func (o *AccountUnblockNotFound) IsServerError() bool

IsServerError returns true when this account unblock not found response has a 5xx status code

func (*AccountUnblockNotFound) IsSuccess

func (o *AccountUnblockNotFound) IsSuccess() bool

IsSuccess returns true when this account unblock not found response has a 2xx status code

func (*AccountUnblockNotFound) String

func (o *AccountUnblockNotFound) String() string

type AccountUnblockOK

type AccountUnblockOK struct {
	Payload *models.Relationship
}

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

Your relationship to this account.

func NewAccountUnblockOK

func NewAccountUnblockOK() *AccountUnblockOK

NewAccountUnblockOK creates a AccountUnblockOK with default headers values

func (*AccountUnblockOK) Code

func (o *AccountUnblockOK) Code() int

Code gets the status code for the account unblock o k response

func (*AccountUnblockOK) Error

func (o *AccountUnblockOK) Error() string

func (*AccountUnblockOK) GetPayload

func (o *AccountUnblockOK) GetPayload() *models.Relationship

func (*AccountUnblockOK) IsClientError

func (o *AccountUnblockOK) IsClientError() bool

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

func (*AccountUnblockOK) IsCode

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

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

func (*AccountUnblockOK) IsRedirect

func (o *AccountUnblockOK) IsRedirect() bool

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

func (*AccountUnblockOK) IsServerError

func (o *AccountUnblockOK) IsServerError() bool

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

func (*AccountUnblockOK) IsSuccess

func (o *AccountUnblockOK) IsSuccess() bool

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

func (*AccountUnblockOK) String

func (o *AccountUnblockOK) String() string

type AccountUnblockParams

type AccountUnblockParams struct {

	/* ID.

	   The id of the account to unblock.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountUnblockParams contains all the parameters to send to the API endpoint

for the account unblock operation.

Typically these are written to a http.Request.

func NewAccountUnblockParams

func NewAccountUnblockParams() *AccountUnblockParams

NewAccountUnblockParams creates a new AccountUnblockParams 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 NewAccountUnblockParamsWithContext

func NewAccountUnblockParamsWithContext(ctx context.Context) *AccountUnblockParams

NewAccountUnblockParamsWithContext creates a new AccountUnblockParams object with the ability to set a context for a request.

func NewAccountUnblockParamsWithHTTPClient

func NewAccountUnblockParamsWithHTTPClient(client *http.Client) *AccountUnblockParams

NewAccountUnblockParamsWithHTTPClient creates a new AccountUnblockParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUnblockParamsWithTimeout

func NewAccountUnblockParamsWithTimeout(timeout time.Duration) *AccountUnblockParams

NewAccountUnblockParamsWithTimeout creates a new AccountUnblockParams object with the ability to set a timeout on a request.

func (*AccountUnblockParams) SetContext

func (o *AccountUnblockParams) SetContext(ctx context.Context)

SetContext adds the context to the account unblock params

func (*AccountUnblockParams) SetDefaults

func (o *AccountUnblockParams) SetDefaults()

SetDefaults hydrates default values in the account unblock params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnblockParams) SetHTTPClient

func (o *AccountUnblockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account unblock params

func (*AccountUnblockParams) SetID

func (o *AccountUnblockParams) SetID(id string)

SetID adds the id to the account unblock params

func (*AccountUnblockParams) SetTimeout

func (o *AccountUnblockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account unblock params

func (*AccountUnblockParams) WithContext

WithContext adds the context to the account unblock params

func (*AccountUnblockParams) WithDefaults

func (o *AccountUnblockParams) WithDefaults() *AccountUnblockParams

WithDefaults hydrates default values in the account unblock params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnblockParams) WithHTTPClient

func (o *AccountUnblockParams) WithHTTPClient(client *http.Client) *AccountUnblockParams

WithHTTPClient adds the HTTPClient to the account unblock params

func (*AccountUnblockParams) WithID

WithID adds the id to the account unblock params

func (*AccountUnblockParams) WithTimeout

func (o *AccountUnblockParams) WithTimeout(timeout time.Duration) *AccountUnblockParams

WithTimeout adds the timeout to the account unblock params

func (*AccountUnblockParams) WriteToRequest

func (o *AccountUnblockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountUnblockReader

type AccountUnblockReader struct {
	// contains filtered or unexported fields
}

AccountUnblockReader is a Reader for the AccountUnblock structure.

func (*AccountUnblockReader) ReadResponse

func (o *AccountUnblockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountUnblockUnauthorized

type AccountUnblockUnauthorized struct {
}

AccountUnblockUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountUnblockUnauthorized

func NewAccountUnblockUnauthorized() *AccountUnblockUnauthorized

NewAccountUnblockUnauthorized creates a AccountUnblockUnauthorized with default headers values

func (*AccountUnblockUnauthorized) Code

func (o *AccountUnblockUnauthorized) Code() int

Code gets the status code for the account unblock unauthorized response

func (*AccountUnblockUnauthorized) Error

func (*AccountUnblockUnauthorized) IsClientError

func (o *AccountUnblockUnauthorized) IsClientError() bool

IsClientError returns true when this account unblock unauthorized response has a 4xx status code

func (*AccountUnblockUnauthorized) IsCode

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

IsCode returns true when this account unblock unauthorized response a status code equal to that given

func (*AccountUnblockUnauthorized) IsRedirect

func (o *AccountUnblockUnauthorized) IsRedirect() bool

IsRedirect returns true when this account unblock unauthorized response has a 3xx status code

func (*AccountUnblockUnauthorized) IsServerError

func (o *AccountUnblockUnauthorized) IsServerError() bool

IsServerError returns true when this account unblock unauthorized response has a 5xx status code

func (*AccountUnblockUnauthorized) IsSuccess

func (o *AccountUnblockUnauthorized) IsSuccess() bool

IsSuccess returns true when this account unblock unauthorized response has a 2xx status code

func (*AccountUnblockUnauthorized) String

func (o *AccountUnblockUnauthorized) String() string

type AccountUnfollowBadRequest

type AccountUnfollowBadRequest struct {
}

AccountUnfollowBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountUnfollowBadRequest

func NewAccountUnfollowBadRequest() *AccountUnfollowBadRequest

NewAccountUnfollowBadRequest creates a AccountUnfollowBadRequest with default headers values

func (*AccountUnfollowBadRequest) Code

func (o *AccountUnfollowBadRequest) Code() int

Code gets the status code for the account unfollow bad request response

func (*AccountUnfollowBadRequest) Error

func (o *AccountUnfollowBadRequest) Error() string

func (*AccountUnfollowBadRequest) IsClientError

func (o *AccountUnfollowBadRequest) IsClientError() bool

IsClientError returns true when this account unfollow bad request response has a 4xx status code

func (*AccountUnfollowBadRequest) IsCode

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

IsCode returns true when this account unfollow bad request response a status code equal to that given

func (*AccountUnfollowBadRequest) IsRedirect

func (o *AccountUnfollowBadRequest) IsRedirect() bool

IsRedirect returns true when this account unfollow bad request response has a 3xx status code

func (*AccountUnfollowBadRequest) IsServerError

func (o *AccountUnfollowBadRequest) IsServerError() bool

IsServerError returns true when this account unfollow bad request response has a 5xx status code

func (*AccountUnfollowBadRequest) IsSuccess

func (o *AccountUnfollowBadRequest) IsSuccess() bool

IsSuccess returns true when this account unfollow bad request response has a 2xx status code

func (*AccountUnfollowBadRequest) String

func (o *AccountUnfollowBadRequest) String() string

type AccountUnfollowInternalServerError

type AccountUnfollowInternalServerError struct {
}

AccountUnfollowInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountUnfollowInternalServerError

func NewAccountUnfollowInternalServerError() *AccountUnfollowInternalServerError

NewAccountUnfollowInternalServerError creates a AccountUnfollowInternalServerError with default headers values

func (*AccountUnfollowInternalServerError) Code

Code gets the status code for the account unfollow internal server error response

func (*AccountUnfollowInternalServerError) Error

func (*AccountUnfollowInternalServerError) IsClientError

func (o *AccountUnfollowInternalServerError) IsClientError() bool

IsClientError returns true when this account unfollow internal server error response has a 4xx status code

func (*AccountUnfollowInternalServerError) IsCode

IsCode returns true when this account unfollow internal server error response a status code equal to that given

func (*AccountUnfollowInternalServerError) IsRedirect

func (o *AccountUnfollowInternalServerError) IsRedirect() bool

IsRedirect returns true when this account unfollow internal server error response has a 3xx status code

func (*AccountUnfollowInternalServerError) IsServerError

func (o *AccountUnfollowInternalServerError) IsServerError() bool

IsServerError returns true when this account unfollow internal server error response has a 5xx status code

func (*AccountUnfollowInternalServerError) IsSuccess

IsSuccess returns true when this account unfollow internal server error response has a 2xx status code

func (*AccountUnfollowInternalServerError) String

type AccountUnfollowNotAcceptable

type AccountUnfollowNotAcceptable struct {
}

AccountUnfollowNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountUnfollowNotAcceptable

func NewAccountUnfollowNotAcceptable() *AccountUnfollowNotAcceptable

NewAccountUnfollowNotAcceptable creates a AccountUnfollowNotAcceptable with default headers values

func (*AccountUnfollowNotAcceptable) Code

Code gets the status code for the account unfollow not acceptable response

func (*AccountUnfollowNotAcceptable) Error

func (*AccountUnfollowNotAcceptable) IsClientError

func (o *AccountUnfollowNotAcceptable) IsClientError() bool

IsClientError returns true when this account unfollow not acceptable response has a 4xx status code

func (*AccountUnfollowNotAcceptable) IsCode

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

IsCode returns true when this account unfollow not acceptable response a status code equal to that given

func (*AccountUnfollowNotAcceptable) IsRedirect

func (o *AccountUnfollowNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account unfollow not acceptable response has a 3xx status code

func (*AccountUnfollowNotAcceptable) IsServerError

func (o *AccountUnfollowNotAcceptable) IsServerError() bool

IsServerError returns true when this account unfollow not acceptable response has a 5xx status code

func (*AccountUnfollowNotAcceptable) IsSuccess

func (o *AccountUnfollowNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account unfollow not acceptable response has a 2xx status code

func (*AccountUnfollowNotAcceptable) String

type AccountUnfollowNotFound

type AccountUnfollowNotFound struct {
}

AccountUnfollowNotFound describes a response with status code 404, with default header values.

not found

func NewAccountUnfollowNotFound

func NewAccountUnfollowNotFound() *AccountUnfollowNotFound

NewAccountUnfollowNotFound creates a AccountUnfollowNotFound with default headers values

func (*AccountUnfollowNotFound) Code

func (o *AccountUnfollowNotFound) Code() int

Code gets the status code for the account unfollow not found response

func (*AccountUnfollowNotFound) Error

func (o *AccountUnfollowNotFound) Error() string

func (*AccountUnfollowNotFound) IsClientError

func (o *AccountUnfollowNotFound) IsClientError() bool

IsClientError returns true when this account unfollow not found response has a 4xx status code

func (*AccountUnfollowNotFound) IsCode

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

IsCode returns true when this account unfollow not found response a status code equal to that given

func (*AccountUnfollowNotFound) IsRedirect

func (o *AccountUnfollowNotFound) IsRedirect() bool

IsRedirect returns true when this account unfollow not found response has a 3xx status code

func (*AccountUnfollowNotFound) IsServerError

func (o *AccountUnfollowNotFound) IsServerError() bool

IsServerError returns true when this account unfollow not found response has a 5xx status code

func (*AccountUnfollowNotFound) IsSuccess

func (o *AccountUnfollowNotFound) IsSuccess() bool

IsSuccess returns true when this account unfollow not found response has a 2xx status code

func (*AccountUnfollowNotFound) String

func (o *AccountUnfollowNotFound) String() string

type AccountUnfollowOK

type AccountUnfollowOK struct {
	Payload *models.Relationship
}

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

Your relationship to this account.

func NewAccountUnfollowOK

func NewAccountUnfollowOK() *AccountUnfollowOK

NewAccountUnfollowOK creates a AccountUnfollowOK with default headers values

func (*AccountUnfollowOK) Code

func (o *AccountUnfollowOK) Code() int

Code gets the status code for the account unfollow o k response

func (*AccountUnfollowOK) Error

func (o *AccountUnfollowOK) Error() string

func (*AccountUnfollowOK) GetPayload

func (o *AccountUnfollowOK) GetPayload() *models.Relationship

func (*AccountUnfollowOK) IsClientError

func (o *AccountUnfollowOK) IsClientError() bool

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

func (*AccountUnfollowOK) IsCode

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

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

func (*AccountUnfollowOK) IsRedirect

func (o *AccountUnfollowOK) IsRedirect() bool

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

func (*AccountUnfollowOK) IsServerError

func (o *AccountUnfollowOK) IsServerError() bool

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

func (*AccountUnfollowOK) IsSuccess

func (o *AccountUnfollowOK) IsSuccess() bool

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

func (*AccountUnfollowOK) String

func (o *AccountUnfollowOK) String() string

type AccountUnfollowParams

type AccountUnfollowParams struct {

	/* ID.

	   The id of the account to unfollow.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountUnfollowParams contains all the parameters to send to the API endpoint

for the account unfollow operation.

Typically these are written to a http.Request.

func NewAccountUnfollowParams

func NewAccountUnfollowParams() *AccountUnfollowParams

NewAccountUnfollowParams creates a new AccountUnfollowParams 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 NewAccountUnfollowParamsWithContext

func NewAccountUnfollowParamsWithContext(ctx context.Context) *AccountUnfollowParams

NewAccountUnfollowParamsWithContext creates a new AccountUnfollowParams object with the ability to set a context for a request.

func NewAccountUnfollowParamsWithHTTPClient

func NewAccountUnfollowParamsWithHTTPClient(client *http.Client) *AccountUnfollowParams

NewAccountUnfollowParamsWithHTTPClient creates a new AccountUnfollowParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUnfollowParamsWithTimeout

func NewAccountUnfollowParamsWithTimeout(timeout time.Duration) *AccountUnfollowParams

NewAccountUnfollowParamsWithTimeout creates a new AccountUnfollowParams object with the ability to set a timeout on a request.

func (*AccountUnfollowParams) SetContext

func (o *AccountUnfollowParams) SetContext(ctx context.Context)

SetContext adds the context to the account unfollow params

func (*AccountUnfollowParams) SetDefaults

func (o *AccountUnfollowParams) SetDefaults()

SetDefaults hydrates default values in the account unfollow params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnfollowParams) SetHTTPClient

func (o *AccountUnfollowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account unfollow params

func (*AccountUnfollowParams) SetID

func (o *AccountUnfollowParams) SetID(id string)

SetID adds the id to the account unfollow params

func (*AccountUnfollowParams) SetTimeout

func (o *AccountUnfollowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account unfollow params

func (*AccountUnfollowParams) WithContext

WithContext adds the context to the account unfollow params

func (*AccountUnfollowParams) WithDefaults

func (o *AccountUnfollowParams) WithDefaults() *AccountUnfollowParams

WithDefaults hydrates default values in the account unfollow params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnfollowParams) WithHTTPClient

func (o *AccountUnfollowParams) WithHTTPClient(client *http.Client) *AccountUnfollowParams

WithHTTPClient adds the HTTPClient to the account unfollow params

func (*AccountUnfollowParams) WithID

WithID adds the id to the account unfollow params

func (*AccountUnfollowParams) WithTimeout

func (o *AccountUnfollowParams) WithTimeout(timeout time.Duration) *AccountUnfollowParams

WithTimeout adds the timeout to the account unfollow params

func (*AccountUnfollowParams) WriteToRequest

func (o *AccountUnfollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountUnfollowReader

type AccountUnfollowReader struct {
	// contains filtered or unexported fields
}

AccountUnfollowReader is a Reader for the AccountUnfollow structure.

func (*AccountUnfollowReader) ReadResponse

func (o *AccountUnfollowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountUnfollowUnauthorized

type AccountUnfollowUnauthorized struct {
}

AccountUnfollowUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountUnfollowUnauthorized

func NewAccountUnfollowUnauthorized() *AccountUnfollowUnauthorized

NewAccountUnfollowUnauthorized creates a AccountUnfollowUnauthorized with default headers values

func (*AccountUnfollowUnauthorized) Code

func (o *AccountUnfollowUnauthorized) Code() int

Code gets the status code for the account unfollow unauthorized response

func (*AccountUnfollowUnauthorized) Error

func (*AccountUnfollowUnauthorized) IsClientError

func (o *AccountUnfollowUnauthorized) IsClientError() bool

IsClientError returns true when this account unfollow unauthorized response has a 4xx status code

func (*AccountUnfollowUnauthorized) IsCode

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

IsCode returns true when this account unfollow unauthorized response a status code equal to that given

func (*AccountUnfollowUnauthorized) IsRedirect

func (o *AccountUnfollowUnauthorized) IsRedirect() bool

IsRedirect returns true when this account unfollow unauthorized response has a 3xx status code

func (*AccountUnfollowUnauthorized) IsServerError

func (o *AccountUnfollowUnauthorized) IsServerError() bool

IsServerError returns true when this account unfollow unauthorized response has a 5xx status code

func (*AccountUnfollowUnauthorized) IsSuccess

func (o *AccountUnfollowUnauthorized) IsSuccess() bool

IsSuccess returns true when this account unfollow unauthorized response has a 2xx status code

func (*AccountUnfollowUnauthorized) String

func (o *AccountUnfollowUnauthorized) String() string

type AccountUnmuteBadRequest

type AccountUnmuteBadRequest struct {
}

AccountUnmuteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountUnmuteBadRequest

func NewAccountUnmuteBadRequest() *AccountUnmuteBadRequest

NewAccountUnmuteBadRequest creates a AccountUnmuteBadRequest with default headers values

func (*AccountUnmuteBadRequest) Code

func (o *AccountUnmuteBadRequest) Code() int

Code gets the status code for the account unmute bad request response

func (*AccountUnmuteBadRequest) Error

func (o *AccountUnmuteBadRequest) Error() string

func (*AccountUnmuteBadRequest) IsClientError

func (o *AccountUnmuteBadRequest) IsClientError() bool

IsClientError returns true when this account unmute bad request response has a 4xx status code

func (*AccountUnmuteBadRequest) IsCode

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

IsCode returns true when this account unmute bad request response a status code equal to that given

func (*AccountUnmuteBadRequest) IsRedirect

func (o *AccountUnmuteBadRequest) IsRedirect() bool

IsRedirect returns true when this account unmute bad request response has a 3xx status code

func (*AccountUnmuteBadRequest) IsServerError

func (o *AccountUnmuteBadRequest) IsServerError() bool

IsServerError returns true when this account unmute bad request response has a 5xx status code

func (*AccountUnmuteBadRequest) IsSuccess

func (o *AccountUnmuteBadRequest) IsSuccess() bool

IsSuccess returns true when this account unmute bad request response has a 2xx status code

func (*AccountUnmuteBadRequest) String

func (o *AccountUnmuteBadRequest) String() string

type AccountUnmuteInternalServerError

type AccountUnmuteInternalServerError struct {
}

AccountUnmuteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountUnmuteInternalServerError

func NewAccountUnmuteInternalServerError() *AccountUnmuteInternalServerError

NewAccountUnmuteInternalServerError creates a AccountUnmuteInternalServerError with default headers values

func (*AccountUnmuteInternalServerError) Code

Code gets the status code for the account unmute internal server error response

func (*AccountUnmuteInternalServerError) Error

func (*AccountUnmuteInternalServerError) IsClientError

func (o *AccountUnmuteInternalServerError) IsClientError() bool

IsClientError returns true when this account unmute internal server error response has a 4xx status code

func (*AccountUnmuteInternalServerError) IsCode

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

IsCode returns true when this account unmute internal server error response a status code equal to that given

func (*AccountUnmuteInternalServerError) IsRedirect

func (o *AccountUnmuteInternalServerError) IsRedirect() bool

IsRedirect returns true when this account unmute internal server error response has a 3xx status code

func (*AccountUnmuteInternalServerError) IsServerError

func (o *AccountUnmuteInternalServerError) IsServerError() bool

IsServerError returns true when this account unmute internal server error response has a 5xx status code

func (*AccountUnmuteInternalServerError) IsSuccess

func (o *AccountUnmuteInternalServerError) IsSuccess() bool

IsSuccess returns true when this account unmute internal server error response has a 2xx status code

func (*AccountUnmuteInternalServerError) String

type AccountUnmuteNotAcceptable

type AccountUnmuteNotAcceptable struct {
}

AccountUnmuteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountUnmuteNotAcceptable

func NewAccountUnmuteNotAcceptable() *AccountUnmuteNotAcceptable

NewAccountUnmuteNotAcceptable creates a AccountUnmuteNotAcceptable with default headers values

func (*AccountUnmuteNotAcceptable) Code

func (o *AccountUnmuteNotAcceptable) Code() int

Code gets the status code for the account unmute not acceptable response

func (*AccountUnmuteNotAcceptable) Error

func (*AccountUnmuteNotAcceptable) IsClientError

func (o *AccountUnmuteNotAcceptable) IsClientError() bool

IsClientError returns true when this account unmute not acceptable response has a 4xx status code

func (*AccountUnmuteNotAcceptable) IsCode

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

IsCode returns true when this account unmute not acceptable response a status code equal to that given

func (*AccountUnmuteNotAcceptable) IsRedirect

func (o *AccountUnmuteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account unmute not acceptable response has a 3xx status code

func (*AccountUnmuteNotAcceptable) IsServerError

func (o *AccountUnmuteNotAcceptable) IsServerError() bool

IsServerError returns true when this account unmute not acceptable response has a 5xx status code

func (*AccountUnmuteNotAcceptable) IsSuccess

func (o *AccountUnmuteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account unmute not acceptable response has a 2xx status code

func (*AccountUnmuteNotAcceptable) String

func (o *AccountUnmuteNotAcceptable) String() string

type AccountUnmuteNotFound

type AccountUnmuteNotFound struct {
}

AccountUnmuteNotFound describes a response with status code 404, with default header values.

not found

func NewAccountUnmuteNotFound

func NewAccountUnmuteNotFound() *AccountUnmuteNotFound

NewAccountUnmuteNotFound creates a AccountUnmuteNotFound with default headers values

func (*AccountUnmuteNotFound) Code

func (o *AccountUnmuteNotFound) Code() int

Code gets the status code for the account unmute not found response

func (*AccountUnmuteNotFound) Error

func (o *AccountUnmuteNotFound) Error() string

func (*AccountUnmuteNotFound) IsClientError

func (o *AccountUnmuteNotFound) IsClientError() bool

IsClientError returns true when this account unmute not found response has a 4xx status code

func (*AccountUnmuteNotFound) IsCode

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

IsCode returns true when this account unmute not found response a status code equal to that given

func (*AccountUnmuteNotFound) IsRedirect

func (o *AccountUnmuteNotFound) IsRedirect() bool

IsRedirect returns true when this account unmute not found response has a 3xx status code

func (*AccountUnmuteNotFound) IsServerError

func (o *AccountUnmuteNotFound) IsServerError() bool

IsServerError returns true when this account unmute not found response has a 5xx status code

func (*AccountUnmuteNotFound) IsSuccess

func (o *AccountUnmuteNotFound) IsSuccess() bool

IsSuccess returns true when this account unmute not found response has a 2xx status code

func (*AccountUnmuteNotFound) String

func (o *AccountUnmuteNotFound) String() string

type AccountUnmuteOK

type AccountUnmuteOK struct {
	Payload *models.Relationship
}

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

Your relationship to this account.

func NewAccountUnmuteOK

func NewAccountUnmuteOK() *AccountUnmuteOK

NewAccountUnmuteOK creates a AccountUnmuteOK with default headers values

func (*AccountUnmuteOK) Code

func (o *AccountUnmuteOK) Code() int

Code gets the status code for the account unmute o k response

func (*AccountUnmuteOK) Error

func (o *AccountUnmuteOK) Error() string

func (*AccountUnmuteOK) GetPayload

func (o *AccountUnmuteOK) GetPayload() *models.Relationship

func (*AccountUnmuteOK) IsClientError

func (o *AccountUnmuteOK) IsClientError() bool

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

func (*AccountUnmuteOK) IsCode

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

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

func (*AccountUnmuteOK) IsRedirect

func (o *AccountUnmuteOK) IsRedirect() bool

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

func (*AccountUnmuteOK) IsServerError

func (o *AccountUnmuteOK) IsServerError() bool

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

func (*AccountUnmuteOK) IsSuccess

func (o *AccountUnmuteOK) IsSuccess() bool

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

func (*AccountUnmuteOK) String

func (o *AccountUnmuteOK) String() string

type AccountUnmuteParams

type AccountUnmuteParams struct {

	/* ID.

	   The ID of the account to unmute.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountUnmuteParams contains all the parameters to send to the API endpoint

for the account unmute operation.

Typically these are written to a http.Request.

func NewAccountUnmuteParams

func NewAccountUnmuteParams() *AccountUnmuteParams

NewAccountUnmuteParams creates a new AccountUnmuteParams 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 NewAccountUnmuteParamsWithContext

func NewAccountUnmuteParamsWithContext(ctx context.Context) *AccountUnmuteParams

NewAccountUnmuteParamsWithContext creates a new AccountUnmuteParams object with the ability to set a context for a request.

func NewAccountUnmuteParamsWithHTTPClient

func NewAccountUnmuteParamsWithHTTPClient(client *http.Client) *AccountUnmuteParams

NewAccountUnmuteParamsWithHTTPClient creates a new AccountUnmuteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUnmuteParamsWithTimeout

func NewAccountUnmuteParamsWithTimeout(timeout time.Duration) *AccountUnmuteParams

NewAccountUnmuteParamsWithTimeout creates a new AccountUnmuteParams object with the ability to set a timeout on a request.

func (*AccountUnmuteParams) SetContext

func (o *AccountUnmuteParams) SetContext(ctx context.Context)

SetContext adds the context to the account unmute params

func (*AccountUnmuteParams) SetDefaults

func (o *AccountUnmuteParams) SetDefaults()

SetDefaults hydrates default values in the account unmute params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnmuteParams) SetHTTPClient

func (o *AccountUnmuteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account unmute params

func (*AccountUnmuteParams) SetID

func (o *AccountUnmuteParams) SetID(id string)

SetID adds the id to the account unmute params

func (*AccountUnmuteParams) SetTimeout

func (o *AccountUnmuteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account unmute params

func (*AccountUnmuteParams) WithContext

WithContext adds the context to the account unmute params

func (*AccountUnmuteParams) WithDefaults

func (o *AccountUnmuteParams) WithDefaults() *AccountUnmuteParams

WithDefaults hydrates default values in the account unmute params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUnmuteParams) WithHTTPClient

func (o *AccountUnmuteParams) WithHTTPClient(client *http.Client) *AccountUnmuteParams

WithHTTPClient adds the HTTPClient to the account unmute params

func (*AccountUnmuteParams) WithID

WithID adds the id to the account unmute params

func (*AccountUnmuteParams) WithTimeout

func (o *AccountUnmuteParams) WithTimeout(timeout time.Duration) *AccountUnmuteParams

WithTimeout adds the timeout to the account unmute params

func (*AccountUnmuteParams) WriteToRequest

func (o *AccountUnmuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountUnmuteReader

type AccountUnmuteReader struct {
	// contains filtered or unexported fields
}

AccountUnmuteReader is a Reader for the AccountUnmute structure.

func (*AccountUnmuteReader) ReadResponse

func (o *AccountUnmuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountUnmuteUnauthorized

type AccountUnmuteUnauthorized struct {
}

AccountUnmuteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountUnmuteUnauthorized

func NewAccountUnmuteUnauthorized() *AccountUnmuteUnauthorized

NewAccountUnmuteUnauthorized creates a AccountUnmuteUnauthorized with default headers values

func (*AccountUnmuteUnauthorized) Code

func (o *AccountUnmuteUnauthorized) Code() int

Code gets the status code for the account unmute unauthorized response

func (*AccountUnmuteUnauthorized) Error

func (o *AccountUnmuteUnauthorized) Error() string

func (*AccountUnmuteUnauthorized) IsClientError

func (o *AccountUnmuteUnauthorized) IsClientError() bool

IsClientError returns true when this account unmute unauthorized response has a 4xx status code

func (*AccountUnmuteUnauthorized) IsCode

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

IsCode returns true when this account unmute unauthorized response a status code equal to that given

func (*AccountUnmuteUnauthorized) IsRedirect

func (o *AccountUnmuteUnauthorized) IsRedirect() bool

IsRedirect returns true when this account unmute unauthorized response has a 3xx status code

func (*AccountUnmuteUnauthorized) IsServerError

func (o *AccountUnmuteUnauthorized) IsServerError() bool

IsServerError returns true when this account unmute unauthorized response has a 5xx status code

func (*AccountUnmuteUnauthorized) IsSuccess

func (o *AccountUnmuteUnauthorized) IsSuccess() bool

IsSuccess returns true when this account unmute unauthorized response has a 2xx status code

func (*AccountUnmuteUnauthorized) String

func (o *AccountUnmuteUnauthorized) String() string

type AccountUpdateBadRequest

type AccountUpdateBadRequest struct {
}

AccountUpdateBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountUpdateBadRequest

func NewAccountUpdateBadRequest() *AccountUpdateBadRequest

NewAccountUpdateBadRequest creates a AccountUpdateBadRequest with default headers values

func (*AccountUpdateBadRequest) Code

func (o *AccountUpdateBadRequest) Code() int

Code gets the status code for the account update bad request response

func (*AccountUpdateBadRequest) Error

func (o *AccountUpdateBadRequest) Error() string

func (*AccountUpdateBadRequest) IsClientError

func (o *AccountUpdateBadRequest) IsClientError() bool

IsClientError returns true when this account update bad request response has a 4xx status code

func (*AccountUpdateBadRequest) IsCode

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

IsCode returns true when this account update bad request response a status code equal to that given

func (*AccountUpdateBadRequest) IsRedirect

func (o *AccountUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this account update bad request response has a 3xx status code

func (*AccountUpdateBadRequest) IsServerError

func (o *AccountUpdateBadRequest) IsServerError() bool

IsServerError returns true when this account update bad request response has a 5xx status code

func (*AccountUpdateBadRequest) IsSuccess

func (o *AccountUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this account update bad request response has a 2xx status code

func (*AccountUpdateBadRequest) String

func (o *AccountUpdateBadRequest) String() string

type AccountUpdateInternalServerError

type AccountUpdateInternalServerError struct {
}

AccountUpdateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountUpdateInternalServerError

func NewAccountUpdateInternalServerError() *AccountUpdateInternalServerError

NewAccountUpdateInternalServerError creates a AccountUpdateInternalServerError with default headers values

func (*AccountUpdateInternalServerError) Code

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

func (*AccountUpdateInternalServerError) Error

func (*AccountUpdateInternalServerError) IsClientError

func (o *AccountUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this account update internal server error response has a 4xx status code

func (*AccountUpdateInternalServerError) IsCode

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

IsCode returns true when this account update internal server error response a status code equal to that given

func (*AccountUpdateInternalServerError) IsRedirect

func (o *AccountUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this account update internal server error response has a 3xx status code

func (*AccountUpdateInternalServerError) IsServerError

func (o *AccountUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this account update internal server error response has a 5xx status code

func (*AccountUpdateInternalServerError) IsSuccess

func (o *AccountUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this account update internal server error response has a 2xx status code

func (*AccountUpdateInternalServerError) String

type AccountUpdateNotAcceptable

type AccountUpdateNotAcceptable struct {
}

AccountUpdateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountUpdateNotAcceptable

func NewAccountUpdateNotAcceptable() *AccountUpdateNotAcceptable

NewAccountUpdateNotAcceptable creates a AccountUpdateNotAcceptable with default headers values

func (*AccountUpdateNotAcceptable) Code

func (o *AccountUpdateNotAcceptable) Code() int

Code gets the status code for the account update not acceptable response

func (*AccountUpdateNotAcceptable) Error

func (*AccountUpdateNotAcceptable) IsClientError

func (o *AccountUpdateNotAcceptable) IsClientError() bool

IsClientError returns true when this account update not acceptable response has a 4xx status code

func (*AccountUpdateNotAcceptable) IsCode

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

IsCode returns true when this account update not acceptable response a status code equal to that given

func (*AccountUpdateNotAcceptable) IsRedirect

func (o *AccountUpdateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account update not acceptable response has a 3xx status code

func (*AccountUpdateNotAcceptable) IsServerError

func (o *AccountUpdateNotAcceptable) IsServerError() bool

IsServerError returns true when this account update not acceptable response has a 5xx status code

func (*AccountUpdateNotAcceptable) IsSuccess

func (o *AccountUpdateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account update not acceptable response has a 2xx status code

func (*AccountUpdateNotAcceptable) String

func (o *AccountUpdateNotAcceptable) String() string

type AccountUpdateNotFound

type AccountUpdateNotFound struct {
}

AccountUpdateNotFound describes a response with status code 404, with default header values.

not found

func NewAccountUpdateNotFound

func NewAccountUpdateNotFound() *AccountUpdateNotFound

NewAccountUpdateNotFound creates a AccountUpdateNotFound with default headers values

func (*AccountUpdateNotFound) Code

func (o *AccountUpdateNotFound) Code() int

Code gets the status code for the account update not found response

func (*AccountUpdateNotFound) Error

func (o *AccountUpdateNotFound) Error() string

func (*AccountUpdateNotFound) IsClientError

func (o *AccountUpdateNotFound) IsClientError() bool

IsClientError returns true when this account update not found response has a 4xx status code

func (*AccountUpdateNotFound) IsCode

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

IsCode returns true when this account update not found response a status code equal to that given

func (*AccountUpdateNotFound) IsRedirect

func (o *AccountUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this account update not found response has a 3xx status code

func (*AccountUpdateNotFound) IsServerError

func (o *AccountUpdateNotFound) IsServerError() bool

IsServerError returns true when this account update not found response has a 5xx status code

func (*AccountUpdateNotFound) IsSuccess

func (o *AccountUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this account update not found response has a 2xx status code

func (*AccountUpdateNotFound) String

func (o *AccountUpdateNotFound) String() string

type AccountUpdateOK

type AccountUpdateOK struct {
	Payload *models.Account
}

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

The newly updated account.

func NewAccountUpdateOK

func NewAccountUpdateOK() *AccountUpdateOK

NewAccountUpdateOK creates a AccountUpdateOK with default headers values

func (*AccountUpdateOK) Code

func (o *AccountUpdateOK) Code() int

Code gets the status code for the account update o k response

func (*AccountUpdateOK) Error

func (o *AccountUpdateOK) Error() string

func (*AccountUpdateOK) GetPayload

func (o *AccountUpdateOK) GetPayload() *models.Account

func (*AccountUpdateOK) IsClientError

func (o *AccountUpdateOK) IsClientError() bool

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

func (*AccountUpdateOK) IsCode

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

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

func (*AccountUpdateOK) IsRedirect

func (o *AccountUpdateOK) IsRedirect() bool

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

func (*AccountUpdateOK) IsServerError

func (o *AccountUpdateOK) IsServerError() bool

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

func (*AccountUpdateOK) IsSuccess

func (o *AccountUpdateOK) IsSuccess() bool

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

func (*AccountUpdateOK) String

func (o *AccountUpdateOK) String() string

type AccountUpdateParams

type AccountUpdateParams struct {

	/* Avatar.

	   Avatar of the user.
	*/
	Avatar runtime.NamedReadCloser

	/* AvatarDescription.

	   Description of avatar image, for alt-text.
	*/
	AvatarDescription string

	/* Bot.

	   Account is flagged as a bot.
	*/
	Bot *bool

	/* CustomCSS.

	   Custom CSS to use when rendering this account's profile or statuses. String must be no more than 5,000 characters (~5kb).
	*/
	CustomCSS *string

	/* Discoverable.

	   Account should be made discoverable and shown in the profile directory (if enabled).
	*/
	Discoverable *bool

	/* DisplayName.

	   The display name to use for the account.
	*/
	DisplayName string

	/* EnableRss.

	   Enable RSS feed for this account's Public posts at `/[username]/feed.rss`
	*/
	EnableRss *bool

	/* FieldsAttributes0Name.

	   Name of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.)
	*/
	FieldsAttributes0Name *string

	/* FieldsAttributes0Value.

	   Value of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.)
	*/
	FieldsAttributes0Value *string

	/* FieldsAttributes1Name.

	   Name of 2nd profile field to be added to this account's profile.
	*/
	FieldsAttributes1Name *string

	/* FieldsAttributes1Value.

	   Value of 2nd profile field to be added to this account's profile.
	*/
	FieldsAttributes1Value *string

	/* FieldsAttributes2Name.

	   Name of 3rd profile field to be added to this account's profile.
	*/
	FieldsAttributes2Name *string

	/* FieldsAttributes2Value.

	   Value of 3rd profile field to be added to this account's profile.
	*/
	FieldsAttributes2Value *string

	/* FieldsAttributes3Name.

	   Name of 4th profile field to be added to this account's profile.
	*/
	FieldsAttributes3Name *string

	/* FieldsAttributes3Value.

	   Value of 4th profile field to be added to this account's profile.
	*/
	FieldsAttributes3Value *string

	/* FieldsAttributes4Name.

	   Name of 5th profile field to be added to this account's profile.
	*/
	FieldsAttributes4Name *string

	/* FieldsAttributes4Value.

	   Value of 5th profile field to be added to this account's profile.
	*/
	FieldsAttributes4Value *string

	/* FieldsAttributes5Name.

	   Name of 6th profile field to be added to this account's profile.
	*/
	FieldsAttributes5Name *string

	/* FieldsAttributes5Value.

	   Value of 6th profile field to be added to this account's profile.
	*/
	FieldsAttributes5Value *string

	/* Header.

	   Header of the user.
	*/
	Header runtime.NamedReadCloser

	/* HeaderDescription.

	   Description of header image, for alt-text.
	*/
	HeaderDescription string

	/* HideCollections.

	   Hide the account's following/followers collections.
	*/
	HideCollections *bool

	/* Locked.

	   Require manual approval of follow requests.
	*/
	Locked *bool

	/* Note.

	   Bio/description of this account.
	*/
	Note string

	/* SourceLanguage.

	   Default language to use for authored statuses (ISO 6391).
	*/
	SourceLanguage *string

	/* SourcePrivacy.

	   Default post privacy for authored statuses.
	*/
	SourcePrivacy *string

	/* SourceSensitive.

	   Mark authored statuses as sensitive by default.
	*/
	SourceSensitive *bool

	/* SourceStatusContentType.

	   Default content type to use for authored statuses (text/plain or text/markdown).
	*/
	SourceStatusContentType *string

	/* Theme.

	   FileName of the theme to use when rendering this account's profile or statuses. The theme must exist on this server, as indicated by /api/v1/accounts/themes. Empty string unsets theme and returns to the default GoToSocial theme.
	*/
	Theme *string

	/* WebVisibility.

	     Posts to show on the web view of the account.
	"public": default, show only Public visibility posts on the web.
	"unlisted": show Public *and* Unlisted visibility posts on the web.
	"none": show no posts on the web, not even Public ones.
	*/
	WebVisibility *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountUpdateParams contains all the parameters to send to the API endpoint

for the account update operation.

Typically these are written to a http.Request.

func NewAccountUpdateParams

func NewAccountUpdateParams() *AccountUpdateParams

NewAccountUpdateParams creates a new AccountUpdateParams 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 NewAccountUpdateParamsWithContext

func NewAccountUpdateParamsWithContext(ctx context.Context) *AccountUpdateParams

NewAccountUpdateParamsWithContext creates a new AccountUpdateParams object with the ability to set a context for a request.

func NewAccountUpdateParamsWithHTTPClient

func NewAccountUpdateParamsWithHTTPClient(client *http.Client) *AccountUpdateParams

NewAccountUpdateParamsWithHTTPClient creates a new AccountUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUpdateParamsWithTimeout

func NewAccountUpdateParamsWithTimeout(timeout time.Duration) *AccountUpdateParams

NewAccountUpdateParamsWithTimeout creates a new AccountUpdateParams object with the ability to set a timeout on a request.

func (*AccountUpdateParams) SetAvatar

func (o *AccountUpdateParams) SetAvatar(avatar runtime.NamedReadCloser)

SetAvatar adds the avatar to the account update params

func (*AccountUpdateParams) SetAvatarDescription

func (o *AccountUpdateParams) SetAvatarDescription(avatarDescription string)

SetAvatarDescription adds the avatarDescription to the account update params

func (*AccountUpdateParams) SetBot

func (o *AccountUpdateParams) SetBot(bot *bool)

SetBot adds the bot to the account update params

func (*AccountUpdateParams) SetContext

func (o *AccountUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the account update params

func (*AccountUpdateParams) SetCustomCSS

func (o *AccountUpdateParams) SetCustomCSS(customCSS *string)

SetCustomCSS adds the customCss to the account update params

func (*AccountUpdateParams) SetDefaults

func (o *AccountUpdateParams) SetDefaults()

SetDefaults hydrates default values in the account update params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUpdateParams) SetDiscoverable

func (o *AccountUpdateParams) SetDiscoverable(discoverable *bool)

SetDiscoverable adds the discoverable to the account update params

func (*AccountUpdateParams) SetDisplayName

func (o *AccountUpdateParams) SetDisplayName(displayName string)

SetDisplayName adds the displayName to the account update params

func (*AccountUpdateParams) SetEnableRss

func (o *AccountUpdateParams) SetEnableRss(enableRss *bool)

SetEnableRss adds the enableRss to the account update params

func (*AccountUpdateParams) SetFieldsAttributes0Name

func (o *AccountUpdateParams) SetFieldsAttributes0Name(fieldsAttributes0Name *string)

SetFieldsAttributes0Name adds the fieldsAttributes0Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes0Value

func (o *AccountUpdateParams) SetFieldsAttributes0Value(fieldsAttributes0Value *string)

SetFieldsAttributes0Value adds the fieldsAttributes0Value to the account update params

func (*AccountUpdateParams) SetFieldsAttributes1Name

func (o *AccountUpdateParams) SetFieldsAttributes1Name(fieldsAttributes1Name *string)

SetFieldsAttributes1Name adds the fieldsAttributes1Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes1Value

func (o *AccountUpdateParams) SetFieldsAttributes1Value(fieldsAttributes1Value *string)

SetFieldsAttributes1Value adds the fieldsAttributes1Value to the account update params

func (*AccountUpdateParams) SetFieldsAttributes2Name

func (o *AccountUpdateParams) SetFieldsAttributes2Name(fieldsAttributes2Name *string)

SetFieldsAttributes2Name adds the fieldsAttributes2Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes2Value

func (o *AccountUpdateParams) SetFieldsAttributes2Value(fieldsAttributes2Value *string)

SetFieldsAttributes2Value adds the fieldsAttributes2Value to the account update params

func (*AccountUpdateParams) SetFieldsAttributes3Name

func (o *AccountUpdateParams) SetFieldsAttributes3Name(fieldsAttributes3Name *string)

SetFieldsAttributes3Name adds the fieldsAttributes3Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes3Value

func (o *AccountUpdateParams) SetFieldsAttributes3Value(fieldsAttributes3Value *string)

SetFieldsAttributes3Value adds the fieldsAttributes3Value to the account update params

func (*AccountUpdateParams) SetFieldsAttributes4Name

func (o *AccountUpdateParams) SetFieldsAttributes4Name(fieldsAttributes4Name *string)

SetFieldsAttributes4Name adds the fieldsAttributes4Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes4Value

func (o *AccountUpdateParams) SetFieldsAttributes4Value(fieldsAttributes4Value *string)

SetFieldsAttributes4Value adds the fieldsAttributes4Value to the account update params

func (*AccountUpdateParams) SetFieldsAttributes5Name

func (o *AccountUpdateParams) SetFieldsAttributes5Name(fieldsAttributes5Name *string)

SetFieldsAttributes5Name adds the fieldsAttributes5Name to the account update params

func (*AccountUpdateParams) SetFieldsAttributes5Value

func (o *AccountUpdateParams) SetFieldsAttributes5Value(fieldsAttributes5Value *string)

SetFieldsAttributes5Value adds the fieldsAttributes5Value to the account update params

func (*AccountUpdateParams) SetHTTPClient

func (o *AccountUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account update params

func (*AccountUpdateParams) SetHeader

func (o *AccountUpdateParams) SetHeader(header runtime.NamedReadCloser)

SetHeader adds the header to the account update params

func (*AccountUpdateParams) SetHeaderDescription

func (o *AccountUpdateParams) SetHeaderDescription(headerDescription string)

SetHeaderDescription adds the headerDescription to the account update params

func (*AccountUpdateParams) SetHideCollections

func (o *AccountUpdateParams) SetHideCollections(hideCollections *bool)

SetHideCollections adds the hideCollections to the account update params

func (*AccountUpdateParams) SetLocked

func (o *AccountUpdateParams) SetLocked(locked *bool)

SetLocked adds the locked to the account update params

func (*AccountUpdateParams) SetNote

func (o *AccountUpdateParams) SetNote(note string)

SetNote adds the note to the account update params

func (*AccountUpdateParams) SetSourceLanguage

func (o *AccountUpdateParams) SetSourceLanguage(sourceLanguage *string)

SetSourceLanguage adds the sourceLanguage to the account update params

func (*AccountUpdateParams) SetSourcePrivacy

func (o *AccountUpdateParams) SetSourcePrivacy(sourcePrivacy *string)

SetSourcePrivacy adds the sourcePrivacy to the account update params

func (*AccountUpdateParams) SetSourceSensitive

func (o *AccountUpdateParams) SetSourceSensitive(sourceSensitive *bool)

SetSourceSensitive adds the sourceSensitive to the account update params

func (*AccountUpdateParams) SetSourceStatusContentType

func (o *AccountUpdateParams) SetSourceStatusContentType(sourceStatusContentType *string)

SetSourceStatusContentType adds the sourceStatusContentType to the account update params

func (*AccountUpdateParams) SetTheme

func (o *AccountUpdateParams) SetTheme(theme *string)

SetTheme adds the theme to the account update params

func (*AccountUpdateParams) SetTimeout

func (o *AccountUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account update params

func (*AccountUpdateParams) SetWebVisibility

func (o *AccountUpdateParams) SetWebVisibility(webVisibility *string)

SetWebVisibility adds the webVisibility to the account update params

func (*AccountUpdateParams) WithAvatar

WithAvatar adds the avatar to the account update params

func (*AccountUpdateParams) WithAvatarDescription

func (o *AccountUpdateParams) WithAvatarDescription(avatarDescription string) *AccountUpdateParams

WithAvatarDescription adds the avatarDescription to the account update params

func (*AccountUpdateParams) WithBot

func (o *AccountUpdateParams) WithBot(bot *bool) *AccountUpdateParams

WithBot adds the bot to the account update params

func (*AccountUpdateParams) WithContext

WithContext adds the context to the account update params

func (*AccountUpdateParams) WithCustomCSS

func (o *AccountUpdateParams) WithCustomCSS(customCSS *string) *AccountUpdateParams

WithCustomCSS adds the customCSS to the account update params

func (*AccountUpdateParams) WithDefaults

func (o *AccountUpdateParams) WithDefaults() *AccountUpdateParams

WithDefaults hydrates default values in the account update params (not the query body).

All values with no default are reset to their zero value.

func (*AccountUpdateParams) WithDiscoverable

func (o *AccountUpdateParams) WithDiscoverable(discoverable *bool) *AccountUpdateParams

WithDiscoverable adds the discoverable to the account update params

func (*AccountUpdateParams) WithDisplayName

func (o *AccountUpdateParams) WithDisplayName(displayName string) *AccountUpdateParams

WithDisplayName adds the displayName to the account update params

func (*AccountUpdateParams) WithEnableRss

func (o *AccountUpdateParams) WithEnableRss(enableRss *bool) *AccountUpdateParams

WithEnableRss adds the enableRss to the account update params

func (*AccountUpdateParams) WithFieldsAttributes0Name

func (o *AccountUpdateParams) WithFieldsAttributes0Name(fieldsAttributes0Name *string) *AccountUpdateParams

WithFieldsAttributes0Name adds the fieldsAttributes0Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes0Value

func (o *AccountUpdateParams) WithFieldsAttributes0Value(fieldsAttributes0Value *string) *AccountUpdateParams

WithFieldsAttributes0Value adds the fieldsAttributes0Value to the account update params

func (*AccountUpdateParams) WithFieldsAttributes1Name

func (o *AccountUpdateParams) WithFieldsAttributes1Name(fieldsAttributes1Name *string) *AccountUpdateParams

WithFieldsAttributes1Name adds the fieldsAttributes1Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes1Value

func (o *AccountUpdateParams) WithFieldsAttributes1Value(fieldsAttributes1Value *string) *AccountUpdateParams

WithFieldsAttributes1Value adds the fieldsAttributes1Value to the account update params

func (*AccountUpdateParams) WithFieldsAttributes2Name

func (o *AccountUpdateParams) WithFieldsAttributes2Name(fieldsAttributes2Name *string) *AccountUpdateParams

WithFieldsAttributes2Name adds the fieldsAttributes2Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes2Value

func (o *AccountUpdateParams) WithFieldsAttributes2Value(fieldsAttributes2Value *string) *AccountUpdateParams

WithFieldsAttributes2Value adds the fieldsAttributes2Value to the account update params

func (*AccountUpdateParams) WithFieldsAttributes3Name

func (o *AccountUpdateParams) WithFieldsAttributes3Name(fieldsAttributes3Name *string) *AccountUpdateParams

WithFieldsAttributes3Name adds the fieldsAttributes3Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes3Value

func (o *AccountUpdateParams) WithFieldsAttributes3Value(fieldsAttributes3Value *string) *AccountUpdateParams

WithFieldsAttributes3Value adds the fieldsAttributes3Value to the account update params

func (*AccountUpdateParams) WithFieldsAttributes4Name

func (o *AccountUpdateParams) WithFieldsAttributes4Name(fieldsAttributes4Name *string) *AccountUpdateParams

WithFieldsAttributes4Name adds the fieldsAttributes4Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes4Value

func (o *AccountUpdateParams) WithFieldsAttributes4Value(fieldsAttributes4Value *string) *AccountUpdateParams

WithFieldsAttributes4Value adds the fieldsAttributes4Value to the account update params

func (*AccountUpdateParams) WithFieldsAttributes5Name

func (o *AccountUpdateParams) WithFieldsAttributes5Name(fieldsAttributes5Name *string) *AccountUpdateParams

WithFieldsAttributes5Name adds the fieldsAttributes5Name to the account update params

func (*AccountUpdateParams) WithFieldsAttributes5Value

func (o *AccountUpdateParams) WithFieldsAttributes5Value(fieldsAttributes5Value *string) *AccountUpdateParams

WithFieldsAttributes5Value adds the fieldsAttributes5Value to the account update params

func (*AccountUpdateParams) WithHTTPClient

func (o *AccountUpdateParams) WithHTTPClient(client *http.Client) *AccountUpdateParams

WithHTTPClient adds the HTTPClient to the account update params

func (*AccountUpdateParams) WithHeader

WithHeader adds the header to the account update params

func (*AccountUpdateParams) WithHeaderDescription

func (o *AccountUpdateParams) WithHeaderDescription(headerDescription string) *AccountUpdateParams

WithHeaderDescription adds the headerDescription to the account update params

func (*AccountUpdateParams) WithHideCollections

func (o *AccountUpdateParams) WithHideCollections(hideCollections *bool) *AccountUpdateParams

WithHideCollections adds the hideCollections to the account update params

func (*AccountUpdateParams) WithLocked

func (o *AccountUpdateParams) WithLocked(locked *bool) *AccountUpdateParams

WithLocked adds the locked to the account update params

func (*AccountUpdateParams) WithNote

func (o *AccountUpdateParams) WithNote(note string) *AccountUpdateParams

WithNote adds the note to the account update params

func (*AccountUpdateParams) WithSourceLanguage

func (o *AccountUpdateParams) WithSourceLanguage(sourceLanguage *string) *AccountUpdateParams

WithSourceLanguage adds the sourceLanguage to the account update params

func (*AccountUpdateParams) WithSourcePrivacy

func (o *AccountUpdateParams) WithSourcePrivacy(sourcePrivacy *string) *AccountUpdateParams

WithSourcePrivacy adds the sourcePrivacy to the account update params

func (*AccountUpdateParams) WithSourceSensitive

func (o *AccountUpdateParams) WithSourceSensitive(sourceSensitive *bool) *AccountUpdateParams

WithSourceSensitive adds the sourceSensitive to the account update params

func (*AccountUpdateParams) WithSourceStatusContentType

func (o *AccountUpdateParams) WithSourceStatusContentType(sourceStatusContentType *string) *AccountUpdateParams

WithSourceStatusContentType adds the sourceStatusContentType to the account update params

func (*AccountUpdateParams) WithTheme

func (o *AccountUpdateParams) WithTheme(theme *string) *AccountUpdateParams

WithTheme adds the theme to the account update params

func (*AccountUpdateParams) WithTimeout

func (o *AccountUpdateParams) WithTimeout(timeout time.Duration) *AccountUpdateParams

WithTimeout adds the timeout to the account update params

func (*AccountUpdateParams) WithWebVisibility

func (o *AccountUpdateParams) WithWebVisibility(webVisibility *string) *AccountUpdateParams

WithWebVisibility adds the webVisibility to the account update params

func (*AccountUpdateParams) WriteToRequest

func (o *AccountUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountUpdateReader

type AccountUpdateReader struct {
	// contains filtered or unexported fields
}

AccountUpdateReader is a Reader for the AccountUpdate structure.

func (*AccountUpdateReader) ReadResponse

func (o *AccountUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountUpdateUnauthorized

type AccountUpdateUnauthorized struct {
}

AccountUpdateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountUpdateUnauthorized

func NewAccountUpdateUnauthorized() *AccountUpdateUnauthorized

NewAccountUpdateUnauthorized creates a AccountUpdateUnauthorized with default headers values

func (*AccountUpdateUnauthorized) Code

func (o *AccountUpdateUnauthorized) Code() int

Code gets the status code for the account update unauthorized response

func (*AccountUpdateUnauthorized) Error

func (o *AccountUpdateUnauthorized) Error() string

func (*AccountUpdateUnauthorized) IsClientError

func (o *AccountUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this account update unauthorized response has a 4xx status code

func (*AccountUpdateUnauthorized) IsCode

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

IsCode returns true when this account update unauthorized response a status code equal to that given

func (*AccountUpdateUnauthorized) IsRedirect

func (o *AccountUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this account update unauthorized response has a 3xx status code

func (*AccountUpdateUnauthorized) IsServerError

func (o *AccountUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this account update unauthorized response has a 5xx status code

func (*AccountUpdateUnauthorized) IsSuccess

func (o *AccountUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this account update unauthorized response has a 2xx status code

func (*AccountUpdateUnauthorized) String

func (o *AccountUpdateUnauthorized) String() string

type AccountVerifyBadRequest

type AccountVerifyBadRequest struct {
}

AccountVerifyBadRequest describes a response with status code 400, with default header values.

bad request

func NewAccountVerifyBadRequest

func NewAccountVerifyBadRequest() *AccountVerifyBadRequest

NewAccountVerifyBadRequest creates a AccountVerifyBadRequest with default headers values

func (*AccountVerifyBadRequest) Code

func (o *AccountVerifyBadRequest) Code() int

Code gets the status code for the account verify bad request response

func (*AccountVerifyBadRequest) Error

func (o *AccountVerifyBadRequest) Error() string

func (*AccountVerifyBadRequest) IsClientError

func (o *AccountVerifyBadRequest) IsClientError() bool

IsClientError returns true when this account verify bad request response has a 4xx status code

func (*AccountVerifyBadRequest) IsCode

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

IsCode returns true when this account verify bad request response a status code equal to that given

func (*AccountVerifyBadRequest) IsRedirect

func (o *AccountVerifyBadRequest) IsRedirect() bool

IsRedirect returns true when this account verify bad request response has a 3xx status code

func (*AccountVerifyBadRequest) IsServerError

func (o *AccountVerifyBadRequest) IsServerError() bool

IsServerError returns true when this account verify bad request response has a 5xx status code

func (*AccountVerifyBadRequest) IsSuccess

func (o *AccountVerifyBadRequest) IsSuccess() bool

IsSuccess returns true when this account verify bad request response has a 2xx status code

func (*AccountVerifyBadRequest) String

func (o *AccountVerifyBadRequest) String() string

type AccountVerifyInternalServerError

type AccountVerifyInternalServerError struct {
}

AccountVerifyInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAccountVerifyInternalServerError

func NewAccountVerifyInternalServerError() *AccountVerifyInternalServerError

NewAccountVerifyInternalServerError creates a AccountVerifyInternalServerError with default headers values

func (*AccountVerifyInternalServerError) Code

Code gets the status code for the account verify internal server error response

func (*AccountVerifyInternalServerError) Error

func (*AccountVerifyInternalServerError) IsClientError

func (o *AccountVerifyInternalServerError) IsClientError() bool

IsClientError returns true when this account verify internal server error response has a 4xx status code

func (*AccountVerifyInternalServerError) IsCode

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

IsCode returns true when this account verify internal server error response a status code equal to that given

func (*AccountVerifyInternalServerError) IsRedirect

func (o *AccountVerifyInternalServerError) IsRedirect() bool

IsRedirect returns true when this account verify internal server error response has a 3xx status code

func (*AccountVerifyInternalServerError) IsServerError

func (o *AccountVerifyInternalServerError) IsServerError() bool

IsServerError returns true when this account verify internal server error response has a 5xx status code

func (*AccountVerifyInternalServerError) IsSuccess

func (o *AccountVerifyInternalServerError) IsSuccess() bool

IsSuccess returns true when this account verify internal server error response has a 2xx status code

func (*AccountVerifyInternalServerError) String

type AccountVerifyNotAcceptable

type AccountVerifyNotAcceptable struct {
}

AccountVerifyNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAccountVerifyNotAcceptable

func NewAccountVerifyNotAcceptable() *AccountVerifyNotAcceptable

NewAccountVerifyNotAcceptable creates a AccountVerifyNotAcceptable with default headers values

func (*AccountVerifyNotAcceptable) Code

func (o *AccountVerifyNotAcceptable) Code() int

Code gets the status code for the account verify not acceptable response

func (*AccountVerifyNotAcceptable) Error

func (*AccountVerifyNotAcceptable) IsClientError

func (o *AccountVerifyNotAcceptable) IsClientError() bool

IsClientError returns true when this account verify not acceptable response has a 4xx status code

func (*AccountVerifyNotAcceptable) IsCode

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

IsCode returns true when this account verify not acceptable response a status code equal to that given

func (*AccountVerifyNotAcceptable) IsRedirect

func (o *AccountVerifyNotAcceptable) IsRedirect() bool

IsRedirect returns true when this account verify not acceptable response has a 3xx status code

func (*AccountVerifyNotAcceptable) IsServerError

func (o *AccountVerifyNotAcceptable) IsServerError() bool

IsServerError returns true when this account verify not acceptable response has a 5xx status code

func (*AccountVerifyNotAcceptable) IsSuccess

func (o *AccountVerifyNotAcceptable) IsSuccess() bool

IsSuccess returns true when this account verify not acceptable response has a 2xx status code

func (*AccountVerifyNotAcceptable) String

func (o *AccountVerifyNotAcceptable) String() string

type AccountVerifyNotFound

type AccountVerifyNotFound struct {
}

AccountVerifyNotFound describes a response with status code 404, with default header values.

not found

func NewAccountVerifyNotFound

func NewAccountVerifyNotFound() *AccountVerifyNotFound

NewAccountVerifyNotFound creates a AccountVerifyNotFound with default headers values

func (*AccountVerifyNotFound) Code

func (o *AccountVerifyNotFound) Code() int

Code gets the status code for the account verify not found response

func (*AccountVerifyNotFound) Error

func (o *AccountVerifyNotFound) Error() string

func (*AccountVerifyNotFound) IsClientError

func (o *AccountVerifyNotFound) IsClientError() bool

IsClientError returns true when this account verify not found response has a 4xx status code

func (*AccountVerifyNotFound) IsCode

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

IsCode returns true when this account verify not found response a status code equal to that given

func (*AccountVerifyNotFound) IsRedirect

func (o *AccountVerifyNotFound) IsRedirect() bool

IsRedirect returns true when this account verify not found response has a 3xx status code

func (*AccountVerifyNotFound) IsServerError

func (o *AccountVerifyNotFound) IsServerError() bool

IsServerError returns true when this account verify not found response has a 5xx status code

func (*AccountVerifyNotFound) IsSuccess

func (o *AccountVerifyNotFound) IsSuccess() bool

IsSuccess returns true when this account verify not found response has a 2xx status code

func (*AccountVerifyNotFound) String

func (o *AccountVerifyNotFound) String() string

type AccountVerifyOK

type AccountVerifyOK struct {
	Payload *models.Account
}

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

AccountVerifyOK account verify o k

func NewAccountVerifyOK

func NewAccountVerifyOK() *AccountVerifyOK

NewAccountVerifyOK creates a AccountVerifyOK with default headers values

func (*AccountVerifyOK) Code

func (o *AccountVerifyOK) Code() int

Code gets the status code for the account verify o k response

func (*AccountVerifyOK) Error

func (o *AccountVerifyOK) Error() string

func (*AccountVerifyOK) GetPayload

func (o *AccountVerifyOK) GetPayload() *models.Account

func (*AccountVerifyOK) IsClientError

func (o *AccountVerifyOK) IsClientError() bool

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

func (*AccountVerifyOK) IsCode

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

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

func (*AccountVerifyOK) IsRedirect

func (o *AccountVerifyOK) IsRedirect() bool

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

func (*AccountVerifyOK) IsServerError

func (o *AccountVerifyOK) IsServerError() bool

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

func (*AccountVerifyOK) IsSuccess

func (o *AccountVerifyOK) IsSuccess() bool

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

func (*AccountVerifyOK) String

func (o *AccountVerifyOK) String() string

type AccountVerifyParams

type AccountVerifyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AccountVerifyParams contains all the parameters to send to the API endpoint

for the account verify operation.

Typically these are written to a http.Request.

func NewAccountVerifyParams

func NewAccountVerifyParams() *AccountVerifyParams

NewAccountVerifyParams creates a new AccountVerifyParams 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 NewAccountVerifyParamsWithContext

func NewAccountVerifyParamsWithContext(ctx context.Context) *AccountVerifyParams

NewAccountVerifyParamsWithContext creates a new AccountVerifyParams object with the ability to set a context for a request.

func NewAccountVerifyParamsWithHTTPClient

func NewAccountVerifyParamsWithHTTPClient(client *http.Client) *AccountVerifyParams

NewAccountVerifyParamsWithHTTPClient creates a new AccountVerifyParams object with the ability to set a custom HTTPClient for a request.

func NewAccountVerifyParamsWithTimeout

func NewAccountVerifyParamsWithTimeout(timeout time.Duration) *AccountVerifyParams

NewAccountVerifyParamsWithTimeout creates a new AccountVerifyParams object with the ability to set a timeout on a request.

func (*AccountVerifyParams) SetContext

func (o *AccountVerifyParams) SetContext(ctx context.Context)

SetContext adds the context to the account verify params

func (*AccountVerifyParams) SetDefaults

func (o *AccountVerifyParams) SetDefaults()

SetDefaults hydrates default values in the account verify params (not the query body).

All values with no default are reset to their zero value.

func (*AccountVerifyParams) SetHTTPClient

func (o *AccountVerifyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account verify params

func (*AccountVerifyParams) SetTimeout

func (o *AccountVerifyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account verify params

func (*AccountVerifyParams) WithContext

WithContext adds the context to the account verify params

func (*AccountVerifyParams) WithDefaults

func (o *AccountVerifyParams) WithDefaults() *AccountVerifyParams

WithDefaults hydrates default values in the account verify params (not the query body).

All values with no default are reset to their zero value.

func (*AccountVerifyParams) WithHTTPClient

func (o *AccountVerifyParams) WithHTTPClient(client *http.Client) *AccountVerifyParams

WithHTTPClient adds the HTTPClient to the account verify params

func (*AccountVerifyParams) WithTimeout

func (o *AccountVerifyParams) WithTimeout(timeout time.Duration) *AccountVerifyParams

WithTimeout adds the timeout to the account verify params

func (*AccountVerifyParams) WriteToRequest

func (o *AccountVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountVerifyReader

type AccountVerifyReader struct {
	// contains filtered or unexported fields
}

AccountVerifyReader is a Reader for the AccountVerify structure.

func (*AccountVerifyReader) ReadResponse

func (o *AccountVerifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountVerifyUnauthorized

type AccountVerifyUnauthorized struct {
}

AccountVerifyUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAccountVerifyUnauthorized

func NewAccountVerifyUnauthorized() *AccountVerifyUnauthorized

NewAccountVerifyUnauthorized creates a AccountVerifyUnauthorized with default headers values

func (*AccountVerifyUnauthorized) Code

func (o *AccountVerifyUnauthorized) Code() int

Code gets the status code for the account verify unauthorized response

func (*AccountVerifyUnauthorized) Error

func (o *AccountVerifyUnauthorized) Error() string

func (*AccountVerifyUnauthorized) IsClientError

func (o *AccountVerifyUnauthorized) IsClientError() bool

IsClientError returns true when this account verify unauthorized response has a 4xx status code

func (*AccountVerifyUnauthorized) IsCode

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

IsCode returns true when this account verify unauthorized response a status code equal to that given

func (*AccountVerifyUnauthorized) IsRedirect

func (o *AccountVerifyUnauthorized) IsRedirect() bool

IsRedirect returns true when this account verify unauthorized response has a 3xx status code

func (*AccountVerifyUnauthorized) IsServerError

func (o *AccountVerifyUnauthorized) IsServerError() bool

IsServerError returns true when this account verify unauthorized response has a 5xx status code

func (*AccountVerifyUnauthorized) IsSuccess

func (o *AccountVerifyUnauthorized) IsSuccess() bool

IsSuccess returns true when this account verify unauthorized response has a 2xx status code

func (*AccountVerifyUnauthorized) String

func (o *AccountVerifyUnauthorized) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for accounts API

func (*Client) AccountAlias

func (a *Client) AccountAlias(params *AccountAliasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAliasOK, error)
AccountAlias aliases your account to another account by setting also known as to the given URI

This is useful when you want to move from another account this this account.

In such cases, you should set the alsoKnownAs of this account to the URI of the account you want to move from.

func (*Client) AccountAvatarDelete

func (a *Client) AccountAvatarDelete(params *AccountAvatarDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAvatarDeleteOK, error)

AccountAvatarDelete deletes the authenticated account s avatar

If the account doesn't have an avatar, the call succeeds anyway.

func (*Client) AccountBlock

func (a *Client) AccountBlock(params *AccountBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountBlockOK, error)

AccountBlock blocks account with id

func (*Client) AccountCreate

func (a *Client) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountCreateOK, error)
AccountCreate creates a new account using an application token

The parameters can also be given in the body of the request, as JSON, if the content-type is set to 'application/json'.

The parameters can also be given in the body of the request, as XML, if the content-type is set to 'application/xml'.

func (*Client) AccountDelete

func (a *Client) AccountDelete(params *AccountDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountDeleteAccepted, error)

AccountDelete deletes your account

func (*Client) AccountFollow

func (a *Client) AccountFollow(params *AccountFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowOK, error)
AccountFollow follows account with id

The parameters can also be given in the body of the request, as JSON, if the content-type is set to 'application/json'.

The parameters can also be given in the body of the request, as XML, if the content-type is set to 'application/xml'.

If you already follow (request) the given account, then the follow (request) will be updated instead using the `reblogs` and `notify` parameters.

func (*Client) AccountFollowers

func (a *Client) AccountFollowers(params *AccountFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowersOK, error)
AccountFollowers sees followers of account with given id

The next and previous queries can be parsed from the returned Link header.

Example:

``` <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/followers?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/followers?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````

If account `hide_collections` is true, and requesting account != target account, no results will be returned.

func (*Client) AccountFollowing

func (a *Client) AccountFollowing(params *AccountFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowingOK, error)
AccountFollowing sees accounts followed by given account id

The next and previous queries can be parsed from the returned Link header.

Example:

``` <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/following?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/following?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````

If account `hide_collections` is true, and requesting account != target account, no results will be returned.

func (*Client) AccountGet

func (a *Client) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountGetOK, error)

AccountGet gets information about an account with the given ID

func (*Client) AccountHeaderDelete

func (a *Client) AccountHeaderDelete(params *AccountHeaderDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountHeaderDeleteOK, error)

AccountHeaderDelete deletes the authenticated account s header

If the account doesn't have a header, the call succeeds anyway.

func (*Client) AccountLists

func (a *Client) AccountLists(params *AccountListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountListsOK, error)

AccountLists sees all lists of yours that contain requested account

func (*Client) AccountLookupGet

func (a *Client) AccountLookupGet(params *AccountLookupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountLookupGetOK, error)

AccountLookupGet quicklies lookup a username to see if it is available skipping web finger resolution

func (*Client) AccountMove

func (a *Client) AccountMove(params *AccountMoveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMoveAccepted, error)

AccountMove moves your account to another account

func (*Client) AccountMute

func (a *Client) AccountMute(params *AccountMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMuteOK, error)

AccountMute mutes account by ID

If account was already muted, succeeds anyway. This can be used to update the details of a mute.

func (*Client) AccountNote

func (a *Client) AccountNote(params *AccountNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountNoteOK, error)

AccountNote sets a private note for an account with the given id

func (*Client) AccountRelationships

func (a *Client) AccountRelationships(params *AccountRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountRelationshipsOK, error)

AccountRelationships sees your account s relationships with the given account i ds

func (*Client) AccountSearchGet

func (a *Client) AccountSearchGet(params *AccountSearchGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSearchGetOK, error)

AccountSearchGet searches for accounts by username and or display name

func (*Client) AccountStatuses

func (a *Client) AccountStatuses(params *AccountStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountStatusesOK, error)

AccountStatuses sees statuses posted by the requested account

The statuses will be returned in descending chronological order (newest first), with sequential IDs (bigger = newer).

func (*Client) AccountThemes

func (a *Client) AccountThemes(params *AccountThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountThemesOK, error)

AccountThemes sees preset CSS themes available to accounts on this instance

func (*Client) AccountUnblock

func (a *Client) AccountUnblock(params *AccountUnblockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnblockOK, error)

AccountUnblock unblocks account with ID

func (*Client) AccountUnfollow

func (a *Client) AccountUnfollow(params *AccountUnfollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnfollowOK, error)

AccountUnfollow unfollows account with id

func (*Client) AccountUnmute

func (a *Client) AccountUnmute(params *AccountUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnmuteOK, error)

AccountUnmute unmutes account by ID

If account was already unmuted (or has never been muted), succeeds anyway.

func (*Client) AccountUpdate

func (a *Client) AccountUpdate(params *AccountUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUpdateOK, error)

AccountUpdate updates your account

func (*Client) AccountVerify

func (a *Client) AccountVerify(params *AccountVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountVerifyOK, error)

AccountVerify verifies a token by returning account details pertaining to it

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 {
	AccountAlias(params *AccountAliasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAliasOK, error)

	AccountAvatarDelete(params *AccountAvatarDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAvatarDeleteOK, error)

	AccountBlock(params *AccountBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountBlockOK, error)

	AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountCreateOK, error)

	AccountDelete(params *AccountDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountDeleteAccepted, error)

	AccountFollow(params *AccountFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowOK, error)

	AccountFollowers(params *AccountFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowersOK, error)

	AccountFollowing(params *AccountFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowingOK, error)

	AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountGetOK, error)

	AccountHeaderDelete(params *AccountHeaderDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountHeaderDeleteOK, error)

	AccountLists(params *AccountListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountListsOK, error)

	AccountLookupGet(params *AccountLookupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountLookupGetOK, error)

	AccountMove(params *AccountMoveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMoveAccepted, error)

	AccountMute(params *AccountMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMuteOK, error)

	AccountNote(params *AccountNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountNoteOK, error)

	AccountRelationships(params *AccountRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountRelationshipsOK, error)

	AccountSearchGet(params *AccountSearchGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSearchGetOK, error)

	AccountStatuses(params *AccountStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountStatusesOK, error)

	AccountThemes(params *AccountThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountThemesOK, error)

	AccountUnblock(params *AccountUnblockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnblockOK, error)

	AccountUnfollow(params *AccountUnfollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnfollowOK, error)

	AccountUnmute(params *AccountUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnmuteOK, error)

	AccountUpdate(params *AccountUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUpdateOK, error)

	AccountVerify(params *AccountVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountVerifyOK, 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 accounts API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new accounts 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 accounts 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.

Jump to

Keyboard shortcuts

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