account_user

package
v0.0.0-...-14d5a85 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountUserResourceDeleteDeleteLocked

type AccountUserResourceDeleteDeleteLocked struct {
}

AccountUserResourceDeleteDeleteLocked describes a response with status code 423, with default header values.

Locked

func NewAccountUserResourceDeleteDeleteLocked

func NewAccountUserResourceDeleteDeleteLocked() *AccountUserResourceDeleteDeleteLocked

NewAccountUserResourceDeleteDeleteLocked creates a AccountUserResourceDeleteDeleteLocked with default headers values

func (*AccountUserResourceDeleteDeleteLocked) Code

Code gets the status code for the account user resource delete delete locked response

func (*AccountUserResourceDeleteDeleteLocked) Error

func (*AccountUserResourceDeleteDeleteLocked) IsClientError

func (o *AccountUserResourceDeleteDeleteLocked) IsClientError() bool

IsClientError returns true when this account user resource delete delete locked response has a 4xx status code

func (*AccountUserResourceDeleteDeleteLocked) IsCode

IsCode returns true when this account user resource delete delete locked response a status code equal to that given

func (*AccountUserResourceDeleteDeleteLocked) IsRedirect

IsRedirect returns true when this account user resource delete delete locked response has a 3xx status code

func (*AccountUserResourceDeleteDeleteLocked) IsServerError

func (o *AccountUserResourceDeleteDeleteLocked) IsServerError() bool

IsServerError returns true when this account user resource delete delete locked response has a 5xx status code

func (*AccountUserResourceDeleteDeleteLocked) IsSuccess

IsSuccess returns true when this account user resource delete delete locked response has a 2xx status code

func (*AccountUserResourceDeleteDeleteLocked) String

type AccountUserResourceDeleteDeleteNoContent

type AccountUserResourceDeleteDeleteNoContent struct {
}

AccountUserResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.

Ok

func NewAccountUserResourceDeleteDeleteNoContent

func NewAccountUserResourceDeleteDeleteNoContent() *AccountUserResourceDeleteDeleteNoContent

NewAccountUserResourceDeleteDeleteNoContent creates a AccountUserResourceDeleteDeleteNoContent with default headers values

func (*AccountUserResourceDeleteDeleteNoContent) Code

Code gets the status code for the account user resource delete delete no content response

func (*AccountUserResourceDeleteDeleteNoContent) Error

func (*AccountUserResourceDeleteDeleteNoContent) IsClientError

IsClientError returns true when this account user resource delete delete no content response has a 4xx status code

func (*AccountUserResourceDeleteDeleteNoContent) IsCode

IsCode returns true when this account user resource delete delete no content response a status code equal to that given

func (*AccountUserResourceDeleteDeleteNoContent) IsRedirect

IsRedirect returns true when this account user resource delete delete no content response has a 3xx status code

func (*AccountUserResourceDeleteDeleteNoContent) IsServerError

IsServerError returns true when this account user resource delete delete no content response has a 5xx status code

func (*AccountUserResourceDeleteDeleteNoContent) IsSuccess

IsSuccess returns true when this account user resource delete delete no content response has a 2xx status code

func (*AccountUserResourceDeleteDeleteNoContent) String

type AccountUserResourceDeleteDeleteParams

type AccountUserResourceDeleteDeleteParams struct {

	/* AccountUserID.

	   The account user id
	*/
	AccountUserID int64

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

AccountUserResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the account user resource delete delete operation.

Typically these are written to a http.Request.

func NewAccountUserResourceDeleteDeleteParams

func NewAccountUserResourceDeleteDeleteParams() *AccountUserResourceDeleteDeleteParams

NewAccountUserResourceDeleteDeleteParams creates a new AccountUserResourceDeleteDeleteParams 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 NewAccountUserResourceDeleteDeleteParamsWithContext

func NewAccountUserResourceDeleteDeleteParamsWithContext(ctx context.Context) *AccountUserResourceDeleteDeleteParams

NewAccountUserResourceDeleteDeleteParamsWithContext creates a new AccountUserResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewAccountUserResourceDeleteDeleteParamsWithHTTPClient

func NewAccountUserResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AccountUserResourceDeleteDeleteParams

NewAccountUserResourceDeleteDeleteParamsWithHTTPClient creates a new AccountUserResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUserResourceDeleteDeleteParamsWithTimeout

func NewAccountUserResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AccountUserResourceDeleteDeleteParams

NewAccountUserResourceDeleteDeleteParamsWithTimeout creates a new AccountUserResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*AccountUserResourceDeleteDeleteParams) SetAccountUserID

func (o *AccountUserResourceDeleteDeleteParams) SetAccountUserID(accountUserID int64)

SetAccountUserID adds the accountUserId to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) SetContext

SetContext adds the context to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) SetDefaults

func (o *AccountUserResourceDeleteDeleteParams) SetDefaults()

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

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

func (*AccountUserResourceDeleteDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) WithAccountUserID

WithAccountUserID adds the accountUserID to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) WithContext

WithContext adds the context to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) WithDefaults

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

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

func (*AccountUserResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the account user resource delete delete params

func (*AccountUserResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountUserResourceDeleteDeleteReader

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

AccountUserResourceDeleteDeleteReader is a Reader for the AccountUserResourceDeleteDelete structure.

func (*AccountUserResourceDeleteDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountUserResourceDeleteDeleteUnauthorized

type AccountUserResourceDeleteDeleteUnauthorized struct {
}

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

Not authorized

func NewAccountUserResourceDeleteDeleteUnauthorized

func NewAccountUserResourceDeleteDeleteUnauthorized() *AccountUserResourceDeleteDeleteUnauthorized

NewAccountUserResourceDeleteDeleteUnauthorized creates a AccountUserResourceDeleteDeleteUnauthorized with default headers values

func (*AccountUserResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the account user resource delete delete unauthorized response

func (*AccountUserResourceDeleteDeleteUnauthorized) Error

func (*AccountUserResourceDeleteDeleteUnauthorized) IsClientError

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

func (*AccountUserResourceDeleteDeleteUnauthorized) IsCode

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

func (*AccountUserResourceDeleteDeleteUnauthorized) IsRedirect

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

func (*AccountUserResourceDeleteDeleteUnauthorized) IsServerError

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

func (*AccountUserResourceDeleteDeleteUnauthorized) IsSuccess

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

func (*AccountUserResourceDeleteDeleteUnauthorized) String

type AccountUserResourceGetGetOK

type AccountUserResourceGetGetOK struct {
	Payload *models.AccountUser
}

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

successful operation

func NewAccountUserResourceGetGetOK

func NewAccountUserResourceGetGetOK() *AccountUserResourceGetGetOK

NewAccountUserResourceGetGetOK creates a AccountUserResourceGetGetOK with default headers values

func (*AccountUserResourceGetGetOK) Code

func (o *AccountUserResourceGetGetOK) Code() int

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

func (*AccountUserResourceGetGetOK) Error

func (*AccountUserResourceGetGetOK) GetPayload

func (*AccountUserResourceGetGetOK) IsClientError

func (o *AccountUserResourceGetGetOK) IsClientError() bool

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

func (*AccountUserResourceGetGetOK) IsCode

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

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

func (*AccountUserResourceGetGetOK) IsRedirect

func (o *AccountUserResourceGetGetOK) IsRedirect() bool

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

func (*AccountUserResourceGetGetOK) IsServerError

func (o *AccountUserResourceGetGetOK) IsServerError() bool

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

func (*AccountUserResourceGetGetOK) IsSuccess

func (o *AccountUserResourceGetGetOK) IsSuccess() bool

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

func (*AccountUserResourceGetGetOK) String

func (o *AccountUserResourceGetGetOK) String() string

type AccountUserResourceGetGetParams

type AccountUserResourceGetGetParams struct {

	/* AccountUserID.

	   The account user id
	*/
	AccountUserID int64

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

AccountUserResourceGetGetParams contains all the parameters to send to the API endpoint

for the account user resource get get operation.

Typically these are written to a http.Request.

func NewAccountUserResourceGetGetParams

func NewAccountUserResourceGetGetParams() *AccountUserResourceGetGetParams

NewAccountUserResourceGetGetParams creates a new AccountUserResourceGetGetParams 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 NewAccountUserResourceGetGetParamsWithContext

func NewAccountUserResourceGetGetParamsWithContext(ctx context.Context) *AccountUserResourceGetGetParams

NewAccountUserResourceGetGetParamsWithContext creates a new AccountUserResourceGetGetParams object with the ability to set a context for a request.

func NewAccountUserResourceGetGetParamsWithHTTPClient

func NewAccountUserResourceGetGetParamsWithHTTPClient(client *http.Client) *AccountUserResourceGetGetParams

NewAccountUserResourceGetGetParamsWithHTTPClient creates a new AccountUserResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUserResourceGetGetParamsWithTimeout

func NewAccountUserResourceGetGetParamsWithTimeout(timeout time.Duration) *AccountUserResourceGetGetParams

NewAccountUserResourceGetGetParamsWithTimeout creates a new AccountUserResourceGetGetParams object with the ability to set a timeout on a request.

func (*AccountUserResourceGetGetParams) SetAccountUserID

func (o *AccountUserResourceGetGetParams) SetAccountUserID(accountUserID int64)

SetAccountUserID adds the accountUserId to the account user resource get get params

func (*AccountUserResourceGetGetParams) SetContext

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

SetContext adds the context to the account user resource get get params

func (*AccountUserResourceGetGetParams) SetDefaults

func (o *AccountUserResourceGetGetParams) SetDefaults()

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

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

func (*AccountUserResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account user resource get get params

func (*AccountUserResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the account user resource get get params

func (*AccountUserResourceGetGetParams) WithAccountUserID

func (o *AccountUserResourceGetGetParams) WithAccountUserID(accountUserID int64) *AccountUserResourceGetGetParams

WithAccountUserID adds the accountUserID to the account user resource get get params

func (*AccountUserResourceGetGetParams) WithContext

WithContext adds the context to the account user resource get get params

func (*AccountUserResourceGetGetParams) WithDefaults

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

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

func (*AccountUserResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account user resource get get params

func (*AccountUserResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the account user resource get get params

func (*AccountUserResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountUserResourceGetGetReader

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

AccountUserResourceGetGetReader is a Reader for the AccountUserResourceGetGet structure.

func (*AccountUserResourceGetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountUserResourceGetGetUnauthorized

type AccountUserResourceGetGetUnauthorized struct {
}

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

Not authorized

func NewAccountUserResourceGetGetUnauthorized

func NewAccountUserResourceGetGetUnauthorized() *AccountUserResourceGetGetUnauthorized

NewAccountUserResourceGetGetUnauthorized creates a AccountUserResourceGetGetUnauthorized with default headers values

func (*AccountUserResourceGetGetUnauthorized) Code

Code gets the status code for the account user resource get get unauthorized response

func (*AccountUserResourceGetGetUnauthorized) Error

func (*AccountUserResourceGetGetUnauthorized) IsClientError

func (o *AccountUserResourceGetGetUnauthorized) IsClientError() bool

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

func (*AccountUserResourceGetGetUnauthorized) IsCode

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

func (*AccountUserResourceGetGetUnauthorized) IsRedirect

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

func (*AccountUserResourceGetGetUnauthorized) IsServerError

func (o *AccountUserResourceGetGetUnauthorized) IsServerError() bool

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

func (*AccountUserResourceGetGetUnauthorized) IsSuccess

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

func (*AccountUserResourceGetGetUnauthorized) String

type AccountUserResourcePostPostBadRequest

type AccountUserResourcePostPostBadRequest struct {
}

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

Invalid E-Mail address or name supplied

func NewAccountUserResourcePostPostBadRequest

func NewAccountUserResourcePostPostBadRequest() *AccountUserResourcePostPostBadRequest

NewAccountUserResourcePostPostBadRequest creates a AccountUserResourcePostPostBadRequest with default headers values

func (*AccountUserResourcePostPostBadRequest) Code

Code gets the status code for the account user resource post post bad request response

func (*AccountUserResourcePostPostBadRequest) Error

func (*AccountUserResourcePostPostBadRequest) IsClientError

func (o *AccountUserResourcePostPostBadRequest) IsClientError() bool

IsClientError returns true when this account user resource post post bad request response has a 4xx status code

func (*AccountUserResourcePostPostBadRequest) IsCode

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

func (*AccountUserResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this account user resource post post bad request response has a 3xx status code

func (*AccountUserResourcePostPostBadRequest) IsServerError

func (o *AccountUserResourcePostPostBadRequest) IsServerError() bool

IsServerError returns true when this account user resource post post bad request response has a 5xx status code

func (*AccountUserResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this account user resource post post bad request response has a 2xx status code

func (*AccountUserResourcePostPostBadRequest) String

type AccountUserResourcePostPostConflict

type AccountUserResourcePostPostConflict struct {
}

AccountUserResourcePostPostConflict describes a response with status code 409, with default header values.

E-Mail address already exists

func NewAccountUserResourcePostPostConflict

func NewAccountUserResourcePostPostConflict() *AccountUserResourcePostPostConflict

NewAccountUserResourcePostPostConflict creates a AccountUserResourcePostPostConflict with default headers values

func (*AccountUserResourcePostPostConflict) Code

Code gets the status code for the account user resource post post conflict response

func (*AccountUserResourcePostPostConflict) Error

func (*AccountUserResourcePostPostConflict) IsClientError

func (o *AccountUserResourcePostPostConflict) IsClientError() bool

IsClientError returns true when this account user resource post post conflict response has a 4xx status code

func (*AccountUserResourcePostPostConflict) IsCode

IsCode returns true when this account user resource post post conflict response a status code equal to that given

func (*AccountUserResourcePostPostConflict) IsRedirect

func (o *AccountUserResourcePostPostConflict) IsRedirect() bool

IsRedirect returns true when this account user resource post post conflict response has a 3xx status code

func (*AccountUserResourcePostPostConflict) IsServerError

func (o *AccountUserResourcePostPostConflict) IsServerError() bool

IsServerError returns true when this account user resource post post conflict response has a 5xx status code

func (*AccountUserResourcePostPostConflict) IsSuccess

IsSuccess returns true when this account user resource post post conflict response has a 2xx status code

func (*AccountUserResourcePostPostConflict) String

type AccountUserResourcePostPostNoContent

type AccountUserResourcePostPostNoContent struct {
}

AccountUserResourcePostPostNoContent describes a response with status code 204, with default header values.

Ok

func NewAccountUserResourcePostPostNoContent

func NewAccountUserResourcePostPostNoContent() *AccountUserResourcePostPostNoContent

NewAccountUserResourcePostPostNoContent creates a AccountUserResourcePostPostNoContent with default headers values

func (*AccountUserResourcePostPostNoContent) Code

Code gets the status code for the account user resource post post no content response

func (*AccountUserResourcePostPostNoContent) Error

func (*AccountUserResourcePostPostNoContent) IsClientError

func (o *AccountUserResourcePostPostNoContent) IsClientError() bool

IsClientError returns true when this account user resource post post no content response has a 4xx status code

func (*AccountUserResourcePostPostNoContent) IsCode

IsCode returns true when this account user resource post post no content response a status code equal to that given

func (*AccountUserResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this account user resource post post no content response has a 3xx status code

func (*AccountUserResourcePostPostNoContent) IsServerError

func (o *AccountUserResourcePostPostNoContent) IsServerError() bool

IsServerError returns true when this account user resource post post no content response has a 5xx status code

func (*AccountUserResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this account user resource post post no content response has a 2xx status code

func (*AccountUserResourcePostPostNoContent) String

type AccountUserResourcePostPostOK

type AccountUserResourcePostPostOK struct {
	Payload *models.AccountUser
}

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

successful operation

func NewAccountUserResourcePostPostOK

func NewAccountUserResourcePostPostOK() *AccountUserResourcePostPostOK

NewAccountUserResourcePostPostOK creates a AccountUserResourcePostPostOK with default headers values

func (*AccountUserResourcePostPostOK) Code

Code gets the status code for the account user resource post post o k response

func (*AccountUserResourcePostPostOK) Error

func (*AccountUserResourcePostPostOK) GetPayload

func (*AccountUserResourcePostPostOK) IsClientError

func (o *AccountUserResourcePostPostOK) IsClientError() bool

IsClientError returns true when this account user resource post post o k response has a 4xx status code

func (*AccountUserResourcePostPostOK) IsCode

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

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

func (*AccountUserResourcePostPostOK) IsRedirect

func (o *AccountUserResourcePostPostOK) IsRedirect() bool

IsRedirect returns true when this account user resource post post o k response has a 3xx status code

func (*AccountUserResourcePostPostOK) IsServerError

func (o *AccountUserResourcePostPostOK) IsServerError() bool

IsServerError returns true when this account user resource post post o k response has a 5xx status code

func (*AccountUserResourcePostPostOK) IsSuccess

func (o *AccountUserResourcePostPostOK) IsSuccess() bool

IsSuccess returns true when this account user resource post post o k response has a 2xx status code

func (*AccountUserResourcePostPostOK) String

type AccountUserResourcePostPostParams

type AccountUserResourcePostPostParams struct {

	/* AccountUserID.

	   The account user id
	*/
	AccountUserID int64

	/* Body.

	   Account update representation
	*/
	Body *models.AccountUserUpdate

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

AccountUserResourcePostPostParams contains all the parameters to send to the API endpoint

for the account user resource post post operation.

Typically these are written to a http.Request.

func NewAccountUserResourcePostPostParams

func NewAccountUserResourcePostPostParams() *AccountUserResourcePostPostParams

NewAccountUserResourcePostPostParams creates a new AccountUserResourcePostPostParams 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 NewAccountUserResourcePostPostParamsWithContext

func NewAccountUserResourcePostPostParamsWithContext(ctx context.Context) *AccountUserResourcePostPostParams

NewAccountUserResourcePostPostParamsWithContext creates a new AccountUserResourcePostPostParams object with the ability to set a context for a request.

func NewAccountUserResourcePostPostParamsWithHTTPClient

func NewAccountUserResourcePostPostParamsWithHTTPClient(client *http.Client) *AccountUserResourcePostPostParams

NewAccountUserResourcePostPostParamsWithHTTPClient creates a new AccountUserResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUserResourcePostPostParamsWithTimeout

func NewAccountUserResourcePostPostParamsWithTimeout(timeout time.Duration) *AccountUserResourcePostPostParams

NewAccountUserResourcePostPostParamsWithTimeout creates a new AccountUserResourcePostPostParams object with the ability to set a timeout on a request.

func (*AccountUserResourcePostPostParams) SetAccountUserID

func (o *AccountUserResourcePostPostParams) SetAccountUserID(accountUserID int64)

SetAccountUserID adds the accountUserId to the account user resource post post params

func (*AccountUserResourcePostPostParams) SetBody

SetBody adds the body to the account user resource post post params

func (*AccountUserResourcePostPostParams) SetContext

SetContext adds the context to the account user resource post post params

func (*AccountUserResourcePostPostParams) SetDefaults

func (o *AccountUserResourcePostPostParams) SetDefaults()

SetDefaults hydrates default values in the account user resource post post params (not the query body).

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

func (*AccountUserResourcePostPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account user resource post post params

func (*AccountUserResourcePostPostParams) SetTimeout

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

SetTimeout adds the timeout to the account user resource post post params

func (*AccountUserResourcePostPostParams) WithAccountUserID

func (o *AccountUserResourcePostPostParams) WithAccountUserID(accountUserID int64) *AccountUserResourcePostPostParams

WithAccountUserID adds the accountUserID to the account user resource post post params

func (*AccountUserResourcePostPostParams) WithBody

WithBody adds the body to the account user resource post post params

func (*AccountUserResourcePostPostParams) WithContext

WithContext adds the context to the account user resource post post params

func (*AccountUserResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the account user resource post post params (not the query body).

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

func (*AccountUserResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account user resource post post params

func (*AccountUserResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the account user resource post post params

func (*AccountUserResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountUserResourcePostPostReader

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

AccountUserResourcePostPostReader is a Reader for the AccountUserResourcePostPost structure.

func (*AccountUserResourcePostPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountUserResourcePostPostUnauthorized

type AccountUserResourcePostPostUnauthorized struct {
}

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

Not authorized

func NewAccountUserResourcePostPostUnauthorized

func NewAccountUserResourcePostPostUnauthorized() *AccountUserResourcePostPostUnauthorized

NewAccountUserResourcePostPostUnauthorized creates a AccountUserResourcePostPostUnauthorized with default headers values

func (*AccountUserResourcePostPostUnauthorized) Code

Code gets the status code for the account user resource post post unauthorized response

func (*AccountUserResourcePostPostUnauthorized) Error

func (*AccountUserResourcePostPostUnauthorized) IsClientError

func (o *AccountUserResourcePostPostUnauthorized) IsClientError() bool

IsClientError returns true when this account user resource post post unauthorized response has a 4xx status code

func (*AccountUserResourcePostPostUnauthorized) IsCode

IsCode returns true when this account user resource post post unauthorized response a status code equal to that given

func (*AccountUserResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this account user resource post post unauthorized response has a 3xx status code

func (*AccountUserResourcePostPostUnauthorized) IsServerError

func (o *AccountUserResourcePostPostUnauthorized) IsServerError() bool

IsServerError returns true when this account user resource post post unauthorized response has a 5xx status code

func (*AccountUserResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this account user resource post post unauthorized response has a 2xx status code

func (*AccountUserResourcePostPostUnauthorized) String

type AccountUsersResourceGetGetOK

type AccountUsersResourceGetGetOK struct {
	Payload []*models.AccountUser
}

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

successful operation

func NewAccountUsersResourceGetGetOK

func NewAccountUsersResourceGetGetOK() *AccountUsersResourceGetGetOK

NewAccountUsersResourceGetGetOK creates a AccountUsersResourceGetGetOK with default headers values

func (*AccountUsersResourceGetGetOK) Code

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

func (*AccountUsersResourceGetGetOK) Error

func (*AccountUsersResourceGetGetOK) GetPayload

func (o *AccountUsersResourceGetGetOK) GetPayload() []*models.AccountUser

func (*AccountUsersResourceGetGetOK) IsClientError

func (o *AccountUsersResourceGetGetOK) IsClientError() bool

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

func (*AccountUsersResourceGetGetOK) IsCode

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

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

func (*AccountUsersResourceGetGetOK) IsRedirect

func (o *AccountUsersResourceGetGetOK) IsRedirect() bool

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

func (*AccountUsersResourceGetGetOK) IsServerError

func (o *AccountUsersResourceGetGetOK) IsServerError() bool

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

func (*AccountUsersResourceGetGetOK) IsSuccess

func (o *AccountUsersResourceGetGetOK) IsSuccess() bool

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

func (*AccountUsersResourceGetGetOK) String

type AccountUsersResourceGetGetParams

type AccountUsersResourceGetGetParams struct {

	/* Email.

	   Filter for email
	*/
	Email *string

	/* Limit.

	   The maximum number of users to return. If the value exceeds the maximum, then the maximum value will be used.
	*/
	Limit *int64

	/* Offset.

	   The offset of the first user in the collection to return
	*/
	Offset *int64

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

AccountUsersResourceGetGetParams contains all the parameters to send to the API endpoint

for the account users resource get get operation.

Typically these are written to a http.Request.

func NewAccountUsersResourceGetGetParams

func NewAccountUsersResourceGetGetParams() *AccountUsersResourceGetGetParams

NewAccountUsersResourceGetGetParams creates a new AccountUsersResourceGetGetParams 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 NewAccountUsersResourceGetGetParamsWithContext

func NewAccountUsersResourceGetGetParamsWithContext(ctx context.Context) *AccountUsersResourceGetGetParams

NewAccountUsersResourceGetGetParamsWithContext creates a new AccountUsersResourceGetGetParams object with the ability to set a context for a request.

func NewAccountUsersResourceGetGetParamsWithHTTPClient

func NewAccountUsersResourceGetGetParamsWithHTTPClient(client *http.Client) *AccountUsersResourceGetGetParams

NewAccountUsersResourceGetGetParamsWithHTTPClient creates a new AccountUsersResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUsersResourceGetGetParamsWithTimeout

func NewAccountUsersResourceGetGetParamsWithTimeout(timeout time.Duration) *AccountUsersResourceGetGetParams

NewAccountUsersResourceGetGetParamsWithTimeout creates a new AccountUsersResourceGetGetParams object with the ability to set a timeout on a request.

func (*AccountUsersResourceGetGetParams) SetContext

SetContext adds the context to the account users resource get get params

func (*AccountUsersResourceGetGetParams) SetDefaults

func (o *AccountUsersResourceGetGetParams) SetDefaults()

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

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

func (*AccountUsersResourceGetGetParams) SetEmail

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

SetEmail adds the email to the account users resource get get params

func (*AccountUsersResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account users resource get get params

func (*AccountUsersResourceGetGetParams) SetLimit

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

SetLimit adds the limit to the account users resource get get params

func (*AccountUsersResourceGetGetParams) SetOffset

func (o *AccountUsersResourceGetGetParams) SetOffset(offset *int64)

SetOffset adds the offset to the account users resource get get params

func (*AccountUsersResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithContext

WithContext adds the context to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithDefaults

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

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

func (*AccountUsersResourceGetGetParams) WithEmail

WithEmail adds the email to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithLimit

WithLimit adds the limit to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithOffset

WithOffset adds the offset to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the account users resource get get params

func (*AccountUsersResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountUsersResourceGetGetReader

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

AccountUsersResourceGetGetReader is a Reader for the AccountUsersResourceGetGet structure.

func (*AccountUsersResourceGetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountUsersResourceGetGetUnauthorized

type AccountUsersResourceGetGetUnauthorized struct {
}

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

Not authorized

func NewAccountUsersResourceGetGetUnauthorized

func NewAccountUsersResourceGetGetUnauthorized() *AccountUsersResourceGetGetUnauthorized

NewAccountUsersResourceGetGetUnauthorized creates a AccountUsersResourceGetGetUnauthorized with default headers values

func (*AccountUsersResourceGetGetUnauthorized) Code

Code gets the status code for the account users resource get get unauthorized response

func (*AccountUsersResourceGetGetUnauthorized) Error

func (*AccountUsersResourceGetGetUnauthorized) IsClientError

func (o *AccountUsersResourceGetGetUnauthorized) IsClientError() bool

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

func (*AccountUsersResourceGetGetUnauthorized) IsCode

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

func (*AccountUsersResourceGetGetUnauthorized) IsRedirect

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

func (*AccountUsersResourceGetGetUnauthorized) IsServerError

func (o *AccountUsersResourceGetGetUnauthorized) IsServerError() bool

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

func (*AccountUsersResourceGetGetUnauthorized) IsSuccess

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

func (*AccountUsersResourceGetGetUnauthorized) String

type AccountUsersResourcePutPutBadRequest

type AccountUsersResourcePutPutBadRequest struct {
}

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

Invalid E-Mail address or name supplied

func NewAccountUsersResourcePutPutBadRequest

func NewAccountUsersResourcePutPutBadRequest() *AccountUsersResourcePutPutBadRequest

NewAccountUsersResourcePutPutBadRequest creates a AccountUsersResourcePutPutBadRequest with default headers values

func (*AccountUsersResourcePutPutBadRequest) Code

Code gets the status code for the account users resource put put bad request response

func (*AccountUsersResourcePutPutBadRequest) Error

func (*AccountUsersResourcePutPutBadRequest) IsClientError

func (o *AccountUsersResourcePutPutBadRequest) IsClientError() bool

IsClientError returns true when this account users resource put put bad request response has a 4xx status code

func (*AccountUsersResourcePutPutBadRequest) IsCode

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

func (*AccountUsersResourcePutPutBadRequest) IsRedirect

IsRedirect returns true when this account users resource put put bad request response has a 3xx status code

func (*AccountUsersResourcePutPutBadRequest) IsServerError

func (o *AccountUsersResourcePutPutBadRequest) IsServerError() bool

IsServerError returns true when this account users resource put put bad request response has a 5xx status code

func (*AccountUsersResourcePutPutBadRequest) IsSuccess

IsSuccess returns true when this account users resource put put bad request response has a 2xx status code

func (*AccountUsersResourcePutPutBadRequest) String

type AccountUsersResourcePutPutOK

type AccountUsersResourcePutPutOK struct {
	Payload *models.AccountUser
}

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

Ok

func NewAccountUsersResourcePutPutOK

func NewAccountUsersResourcePutPutOK() *AccountUsersResourcePutPutOK

NewAccountUsersResourcePutPutOK creates a AccountUsersResourcePutPutOK with default headers values

func (*AccountUsersResourcePutPutOK) Code

Code gets the status code for the account users resource put put o k response

func (*AccountUsersResourcePutPutOK) Error

func (*AccountUsersResourcePutPutOK) GetPayload

func (*AccountUsersResourcePutPutOK) IsClientError

func (o *AccountUsersResourcePutPutOK) IsClientError() bool

IsClientError returns true when this account users resource put put o k response has a 4xx status code

func (*AccountUsersResourcePutPutOK) IsCode

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

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

func (*AccountUsersResourcePutPutOK) IsRedirect

func (o *AccountUsersResourcePutPutOK) IsRedirect() bool

IsRedirect returns true when this account users resource put put o k response has a 3xx status code

func (*AccountUsersResourcePutPutOK) IsServerError

func (o *AccountUsersResourcePutPutOK) IsServerError() bool

IsServerError returns true when this account users resource put put o k response has a 5xx status code

func (*AccountUsersResourcePutPutOK) IsSuccess

func (o *AccountUsersResourcePutPutOK) IsSuccess() bool

IsSuccess returns true when this account users resource put put o k response has a 2xx status code

func (*AccountUsersResourcePutPutOK) String

type AccountUsersResourcePutPutParams

type AccountUsersResourcePutPutParams struct {

	/* Body.

	   Account sub create representation
	*/
	Body *models.AccountUserCreate

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

AccountUsersResourcePutPutParams contains all the parameters to send to the API endpoint

for the account users resource put put operation.

Typically these are written to a http.Request.

func NewAccountUsersResourcePutPutParams

func NewAccountUsersResourcePutPutParams() *AccountUsersResourcePutPutParams

NewAccountUsersResourcePutPutParams creates a new AccountUsersResourcePutPutParams 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 NewAccountUsersResourcePutPutParamsWithContext

func NewAccountUsersResourcePutPutParamsWithContext(ctx context.Context) *AccountUsersResourcePutPutParams

NewAccountUsersResourcePutPutParamsWithContext creates a new AccountUsersResourcePutPutParams object with the ability to set a context for a request.

func NewAccountUsersResourcePutPutParamsWithHTTPClient

func NewAccountUsersResourcePutPutParamsWithHTTPClient(client *http.Client) *AccountUsersResourcePutPutParams

NewAccountUsersResourcePutPutParamsWithHTTPClient creates a new AccountUsersResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewAccountUsersResourcePutPutParamsWithTimeout

func NewAccountUsersResourcePutPutParamsWithTimeout(timeout time.Duration) *AccountUsersResourcePutPutParams

NewAccountUsersResourcePutPutParamsWithTimeout creates a new AccountUsersResourcePutPutParams object with the ability to set a timeout on a request.

func (*AccountUsersResourcePutPutParams) SetBody

SetBody adds the body to the account users resource put put params

func (*AccountUsersResourcePutPutParams) SetContext

SetContext adds the context to the account users resource put put params

func (*AccountUsersResourcePutPutParams) SetDefaults

func (o *AccountUsersResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the account users resource put put params (not the query body).

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

func (*AccountUsersResourcePutPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account users resource put put params

func (*AccountUsersResourcePutPutParams) SetTimeout

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

SetTimeout adds the timeout to the account users resource put put params

func (*AccountUsersResourcePutPutParams) WithBody

WithBody adds the body to the account users resource put put params

func (*AccountUsersResourcePutPutParams) WithContext

WithContext adds the context to the account users resource put put params

func (*AccountUsersResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the account users resource put put params (not the query body).

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

func (*AccountUsersResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account users resource put put params

func (*AccountUsersResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the account users resource put put params

func (*AccountUsersResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountUsersResourcePutPutReader

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

AccountUsersResourcePutPutReader is a Reader for the AccountUsersResourcePutPut structure.

func (*AccountUsersResourcePutPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for account user API

func (*Client) AccountUserResourceDeleteDelete

AccountUserResourceDeleteDelete deletes asynchronous an account user

func (*Client) AccountUserResourceGetGet

func (a *Client) AccountUserResourceGetGet(params *AccountUserResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUserResourceGetGetOK, error)

AccountUserResourceGetGet gets an account user

func (*Client) AccountUserResourcePostPost

AccountUserResourcePostPost updates an account user

func (*Client) AccountUsersResourceGetGet

func (a *Client) AccountUsersResourceGetGet(params *AccountUsersResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUsersResourceGetGetOK, error)

AccountUsersResourceGetGet gets an list of account users

func (*Client) AccountUsersResourcePutPut

func (a *Client) AccountUsersResourcePutPut(params *AccountUsersResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUsersResourcePutPutOK, error)

AccountUsersResourcePutPut creates an account user

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 is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new account user API client.

type InstrumentedClientService

type InstrumentedClientService struct {
	ClientService
	// contains filtered or unexported fields
}

func (*InstrumentedClientService) AccountUserResourceGetGet

type MockClientService

type MockClientService struct {
	mock.Mock
}

MockClientService is an autogenerated mock type for the ClientService type

func NewMockClientService

func NewMockClientService(t mockConstructorTestingTNewMockClientService) *MockClientService

NewMockClientService creates a new instance of MockClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockClientService) AccountUserResourceDeleteDelete

AccountUserResourceDeleteDelete provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) AccountUserResourceGetGet

AccountUserResourceGetGet provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) AccountUserResourcePostPost

AccountUserResourcePostPost provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) AccountUsersResourceGetGet

AccountUsersResourceGetGet provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) AccountUsersResourcePutPut

AccountUsersResourcePutPut provides a mock function with given fields: params, authInfo, opts

func (*MockClientService) SetTransport

func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

Jump to

Keyboard shortcuts

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