users_v1

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for users v1 API

func (*Client) CreateToken

CreateToken creates token

func (*Client) DeleteToken

DeleteToken deletes token

func (*Client) GetHistory

GetHistory users history

func (*Client) GetSuggestions

GetSuggestions users suggestions

func (*Client) GetToken

func (a *Client) GetToken(params *GetTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTokenOK, *GetTokenNoContent, error)

GetToken gets token

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, *GetUserNoContent, error)

GetUser gets current user

func (*Client) GetWorkspaces

GetWorkspaces users workspaces

func (*Client) ListTokens

ListTokens lists tokens

func (*Client) PatchToken

PatchToken patches token

func (*Client) PatchUser

func (a *Client) PatchUser(params *PatchUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchUserOK, *PatchUserNoContent, error)

PatchUser patches current user

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateToken

UpdateToken updates token

func (*Client) UpdateUser

UpdateUser updates current user

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateToken(params *CreateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTokenOK, *CreateTokenNoContent, error)

	DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, *DeleteTokenNoContent, error)

	GetHistory(params *GetHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHistoryOK, *GetHistoryNoContent, error)

	GetSuggestions(params *GetSuggestionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSuggestionsOK, *GetSuggestionsNoContent, error)

	GetToken(params *GetTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTokenOK, *GetTokenNoContent, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, *GetUserNoContent, error)

	GetWorkspaces(params *GetWorkspacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkspacesOK, *GetWorkspacesNoContent, error)

	ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, *ListTokensNoContent, error)

	PatchToken(params *PatchTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTokenOK, *PatchTokenNoContent, error)

	PatchUser(params *PatchUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchUserOK, *PatchUserNoContent, error)

	UpdateToken(params *UpdateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTokenOK, *UpdateTokenNoContent, error)

	UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, *UpdateUserNoContent, 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 users v1 API client.

type CreateTokenDefault

type CreateTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

CreateTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateTokenDefault

func NewCreateTokenDefault(code int) *CreateTokenDefault

NewCreateTokenDefault creates a CreateTokenDefault with default headers values

func (*CreateTokenDefault) Code

func (o *CreateTokenDefault) Code() int

Code gets the status code for the create token default response

func (*CreateTokenDefault) Error

func (o *CreateTokenDefault) Error() string

func (*CreateTokenDefault) GetPayload

func (*CreateTokenDefault) IsClientError

func (o *CreateTokenDefault) IsClientError() bool

IsClientError returns true when this create token default response has a 4xx status code

func (*CreateTokenDefault) IsCode

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

IsCode returns true when this create token default response a status code equal to that given

func (*CreateTokenDefault) IsRedirect

func (o *CreateTokenDefault) IsRedirect() bool

IsRedirect returns true when this create token default response has a 3xx status code

func (*CreateTokenDefault) IsServerError

func (o *CreateTokenDefault) IsServerError() bool

IsServerError returns true when this create token default response has a 5xx status code

func (*CreateTokenDefault) IsSuccess

func (o *CreateTokenDefault) IsSuccess() bool

IsSuccess returns true when this create token default response has a 2xx status code

func (*CreateTokenDefault) String

func (o *CreateTokenDefault) String() string

type CreateTokenForbidden

type CreateTokenForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewCreateTokenForbidden

func NewCreateTokenForbidden() *CreateTokenForbidden

NewCreateTokenForbidden creates a CreateTokenForbidden with default headers values

func (*CreateTokenForbidden) Code

func (o *CreateTokenForbidden) Code() int

Code gets the status code for the create token forbidden response

func (*CreateTokenForbidden) Error

func (o *CreateTokenForbidden) Error() string

func (*CreateTokenForbidden) GetPayload

func (o *CreateTokenForbidden) GetPayload() interface{}

func (*CreateTokenForbidden) IsClientError

func (o *CreateTokenForbidden) IsClientError() bool

IsClientError returns true when this create token forbidden response has a 4xx status code

func (*CreateTokenForbidden) IsCode

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

IsCode returns true when this create token forbidden response a status code equal to that given

func (*CreateTokenForbidden) IsRedirect

func (o *CreateTokenForbidden) IsRedirect() bool

IsRedirect returns true when this create token forbidden response has a 3xx status code

func (*CreateTokenForbidden) IsServerError

func (o *CreateTokenForbidden) IsServerError() bool

IsServerError returns true when this create token forbidden response has a 5xx status code

func (*CreateTokenForbidden) IsSuccess

func (o *CreateTokenForbidden) IsSuccess() bool

IsSuccess returns true when this create token forbidden response has a 2xx status code

func (*CreateTokenForbidden) String

func (o *CreateTokenForbidden) String() string

type CreateTokenNoContent

type CreateTokenNoContent struct {
	Payload interface{}
}

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

No content.

func NewCreateTokenNoContent

func NewCreateTokenNoContent() *CreateTokenNoContent

NewCreateTokenNoContent creates a CreateTokenNoContent with default headers values

func (*CreateTokenNoContent) Code

func (o *CreateTokenNoContent) Code() int

Code gets the status code for the create token no content response

func (*CreateTokenNoContent) Error

func (o *CreateTokenNoContent) Error() string

func (*CreateTokenNoContent) GetPayload

func (o *CreateTokenNoContent) GetPayload() interface{}

func (*CreateTokenNoContent) IsClientError

func (o *CreateTokenNoContent) IsClientError() bool

IsClientError returns true when this create token no content response has a 4xx status code

func (*CreateTokenNoContent) IsCode

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

IsCode returns true when this create token no content response a status code equal to that given

func (*CreateTokenNoContent) IsRedirect

func (o *CreateTokenNoContent) IsRedirect() bool

IsRedirect returns true when this create token no content response has a 3xx status code

func (*CreateTokenNoContent) IsServerError

func (o *CreateTokenNoContent) IsServerError() bool

IsServerError returns true when this create token no content response has a 5xx status code

func (*CreateTokenNoContent) IsSuccess

func (o *CreateTokenNoContent) IsSuccess() bool

IsSuccess returns true when this create token no content response has a 2xx status code

func (*CreateTokenNoContent) String

func (o *CreateTokenNoContent) String() string

type CreateTokenNotFound

type CreateTokenNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewCreateTokenNotFound

func NewCreateTokenNotFound() *CreateTokenNotFound

NewCreateTokenNotFound creates a CreateTokenNotFound with default headers values

func (*CreateTokenNotFound) Code

func (o *CreateTokenNotFound) Code() int

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

func (*CreateTokenNotFound) Error

func (o *CreateTokenNotFound) Error() string

func (*CreateTokenNotFound) GetPayload

func (o *CreateTokenNotFound) GetPayload() interface{}

func (*CreateTokenNotFound) IsClientError

func (o *CreateTokenNotFound) IsClientError() bool

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

func (*CreateTokenNotFound) IsCode

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

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

func (*CreateTokenNotFound) IsRedirect

func (o *CreateTokenNotFound) IsRedirect() bool

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

func (*CreateTokenNotFound) IsServerError

func (o *CreateTokenNotFound) IsServerError() bool

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

func (*CreateTokenNotFound) IsSuccess

func (o *CreateTokenNotFound) IsSuccess() bool

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

func (*CreateTokenNotFound) String

func (o *CreateTokenNotFound) String() string

type CreateTokenOK

type CreateTokenOK struct {
	Payload *service_model.V1Token
}

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

A successful response.

func NewCreateTokenOK

func NewCreateTokenOK() *CreateTokenOK

NewCreateTokenOK creates a CreateTokenOK with default headers values

func (*CreateTokenOK) Code

func (o *CreateTokenOK) Code() int

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

func (*CreateTokenOK) Error

func (o *CreateTokenOK) Error() string

func (*CreateTokenOK) GetPayload

func (o *CreateTokenOK) GetPayload() *service_model.V1Token

func (*CreateTokenOK) IsClientError

func (o *CreateTokenOK) IsClientError() bool

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

func (*CreateTokenOK) IsCode

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

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

func (*CreateTokenOK) IsRedirect

func (o *CreateTokenOK) IsRedirect() bool

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

func (*CreateTokenOK) IsServerError

func (o *CreateTokenOK) IsServerError() bool

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

func (*CreateTokenOK) IsSuccess

func (o *CreateTokenOK) IsSuccess() bool

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

func (*CreateTokenOK) String

func (o *CreateTokenOK) String() string

type CreateTokenParams

type CreateTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

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

CreateTokenParams contains all the parameters to send to the API endpoint

for the create token operation.

Typically these are written to a http.Request.

func NewCreateTokenParams

func NewCreateTokenParams() *CreateTokenParams

NewCreateTokenParams creates a new CreateTokenParams 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 NewCreateTokenParamsWithContext

func NewCreateTokenParamsWithContext(ctx context.Context) *CreateTokenParams

NewCreateTokenParamsWithContext creates a new CreateTokenParams object with the ability to set a context for a request.

func NewCreateTokenParamsWithHTTPClient

func NewCreateTokenParamsWithHTTPClient(client *http.Client) *CreateTokenParams

NewCreateTokenParamsWithHTTPClient creates a new CreateTokenParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTokenParamsWithTimeout

func NewCreateTokenParamsWithTimeout(timeout time.Duration) *CreateTokenParams

NewCreateTokenParamsWithTimeout creates a new CreateTokenParams object with the ability to set a timeout on a request.

func (*CreateTokenParams) SetBody

func (o *CreateTokenParams) SetBody(body *service_model.V1Token)

SetBody adds the body to the create token params

func (*CreateTokenParams) SetContext

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

SetContext adds the context to the create token params

func (*CreateTokenParams) SetDefaults

func (o *CreateTokenParams) SetDefaults()

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

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

func (*CreateTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create token params

func (*CreateTokenParams) SetTimeout

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

SetTimeout adds the timeout to the create token params

func (*CreateTokenParams) WithBody

WithBody adds the body to the create token params

func (*CreateTokenParams) WithContext

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

WithContext adds the context to the create token params

func (*CreateTokenParams) WithDefaults

func (o *CreateTokenParams) WithDefaults() *CreateTokenParams

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

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

func (*CreateTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create token params

func (*CreateTokenParams) WithTimeout

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

WithTimeout adds the timeout to the create token params

func (*CreateTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateTokenReader

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

CreateTokenReader is a Reader for the CreateToken structure.

func (*CreateTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTokenDefault

type DeleteTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

DeleteTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteTokenDefault

func NewDeleteTokenDefault(code int) *DeleteTokenDefault

NewDeleteTokenDefault creates a DeleteTokenDefault with default headers values

func (*DeleteTokenDefault) Code

func (o *DeleteTokenDefault) Code() int

Code gets the status code for the delete token default response

func (*DeleteTokenDefault) Error

func (o *DeleteTokenDefault) Error() string

func (*DeleteTokenDefault) GetPayload

func (*DeleteTokenDefault) IsClientError

func (o *DeleteTokenDefault) IsClientError() bool

IsClientError returns true when this delete token default response has a 4xx status code

func (*DeleteTokenDefault) IsCode

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

IsCode returns true when this delete token default response a status code equal to that given

func (*DeleteTokenDefault) IsRedirect

func (o *DeleteTokenDefault) IsRedirect() bool

IsRedirect returns true when this delete token default response has a 3xx status code

func (*DeleteTokenDefault) IsServerError

func (o *DeleteTokenDefault) IsServerError() bool

IsServerError returns true when this delete token default response has a 5xx status code

func (*DeleteTokenDefault) IsSuccess

func (o *DeleteTokenDefault) IsSuccess() bool

IsSuccess returns true when this delete token default response has a 2xx status code

func (*DeleteTokenDefault) String

func (o *DeleteTokenDefault) String() string

type DeleteTokenForbidden

type DeleteTokenForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewDeleteTokenForbidden

func NewDeleteTokenForbidden() *DeleteTokenForbidden

NewDeleteTokenForbidden creates a DeleteTokenForbidden with default headers values

func (*DeleteTokenForbidden) Code

func (o *DeleteTokenForbidden) Code() int

Code gets the status code for the delete token forbidden response

func (*DeleteTokenForbidden) Error

func (o *DeleteTokenForbidden) Error() string

func (*DeleteTokenForbidden) GetPayload

func (o *DeleteTokenForbidden) GetPayload() interface{}

func (*DeleteTokenForbidden) IsClientError

func (o *DeleteTokenForbidden) IsClientError() bool

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

func (*DeleteTokenForbidden) IsCode

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

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

func (*DeleteTokenForbidden) IsRedirect

func (o *DeleteTokenForbidden) IsRedirect() bool

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

func (*DeleteTokenForbidden) IsServerError

func (o *DeleteTokenForbidden) IsServerError() bool

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

func (*DeleteTokenForbidden) IsSuccess

func (o *DeleteTokenForbidden) IsSuccess() bool

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

func (*DeleteTokenForbidden) String

func (o *DeleteTokenForbidden) String() string

type DeleteTokenNoContent

type DeleteTokenNoContent struct {
	Payload interface{}
}

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

No content.

func NewDeleteTokenNoContent

func NewDeleteTokenNoContent() *DeleteTokenNoContent

NewDeleteTokenNoContent creates a DeleteTokenNoContent with default headers values

func (*DeleteTokenNoContent) Code

func (o *DeleteTokenNoContent) Code() int

Code gets the status code for the delete token no content response

func (*DeleteTokenNoContent) Error

func (o *DeleteTokenNoContent) Error() string

func (*DeleteTokenNoContent) GetPayload

func (o *DeleteTokenNoContent) GetPayload() interface{}

func (*DeleteTokenNoContent) IsClientError

func (o *DeleteTokenNoContent) IsClientError() bool

IsClientError returns true when this delete token no content response has a 4xx status code

func (*DeleteTokenNoContent) IsCode

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

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

func (*DeleteTokenNoContent) IsRedirect

func (o *DeleteTokenNoContent) IsRedirect() bool

IsRedirect returns true when this delete token no content response has a 3xx status code

func (*DeleteTokenNoContent) IsServerError

func (o *DeleteTokenNoContent) IsServerError() bool

IsServerError returns true when this delete token no content response has a 5xx status code

func (*DeleteTokenNoContent) IsSuccess

func (o *DeleteTokenNoContent) IsSuccess() bool

IsSuccess returns true when this delete token no content response has a 2xx status code

func (*DeleteTokenNoContent) String

func (o *DeleteTokenNoContent) String() string

type DeleteTokenNotFound

type DeleteTokenNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewDeleteTokenNotFound

func NewDeleteTokenNotFound() *DeleteTokenNotFound

NewDeleteTokenNotFound creates a DeleteTokenNotFound with default headers values

func (*DeleteTokenNotFound) Code

func (o *DeleteTokenNotFound) Code() int

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

func (*DeleteTokenNotFound) Error

func (o *DeleteTokenNotFound) Error() string

func (*DeleteTokenNotFound) GetPayload

func (o *DeleteTokenNotFound) GetPayload() interface{}

func (*DeleteTokenNotFound) IsClientError

func (o *DeleteTokenNotFound) IsClientError() bool

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

func (*DeleteTokenNotFound) IsCode

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

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

func (*DeleteTokenNotFound) IsRedirect

func (o *DeleteTokenNotFound) IsRedirect() bool

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

func (*DeleteTokenNotFound) IsServerError

func (o *DeleteTokenNotFound) IsServerError() bool

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

func (*DeleteTokenNotFound) IsSuccess

func (o *DeleteTokenNotFound) IsSuccess() bool

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

func (*DeleteTokenNotFound) String

func (o *DeleteTokenNotFound) String() string

type DeleteTokenOK

type DeleteTokenOK struct {
}

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

A successful response.

func NewDeleteTokenOK

func NewDeleteTokenOK() *DeleteTokenOK

NewDeleteTokenOK creates a DeleteTokenOK with default headers values

func (*DeleteTokenOK) Code

func (o *DeleteTokenOK) Code() int

Code gets the status code for the delete token o k response

func (*DeleteTokenOK) Error

func (o *DeleteTokenOK) Error() string

func (*DeleteTokenOK) IsClientError

func (o *DeleteTokenOK) IsClientError() bool

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

func (*DeleteTokenOK) IsCode

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

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

func (*DeleteTokenOK) IsRedirect

func (o *DeleteTokenOK) IsRedirect() bool

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

func (*DeleteTokenOK) IsServerError

func (o *DeleteTokenOK) IsServerError() bool

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

func (*DeleteTokenOK) IsSuccess

func (o *DeleteTokenOK) IsSuccess() bool

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

func (*DeleteTokenOK) String

func (o *DeleteTokenOK) String() string

type DeleteTokenParams

type DeleteTokenParams struct {

	/* UUID.

	   UUid of the namespace
	*/
	UUID string

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

DeleteTokenParams contains all the parameters to send to the API endpoint

for the delete token operation.

Typically these are written to a http.Request.

func NewDeleteTokenParams

func NewDeleteTokenParams() *DeleteTokenParams

NewDeleteTokenParams creates a new DeleteTokenParams 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 NewDeleteTokenParamsWithContext

func NewDeleteTokenParamsWithContext(ctx context.Context) *DeleteTokenParams

NewDeleteTokenParamsWithContext creates a new DeleteTokenParams object with the ability to set a context for a request.

func NewDeleteTokenParamsWithHTTPClient

func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams

NewDeleteTokenParamsWithHTTPClient creates a new DeleteTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTokenParamsWithTimeout

func NewDeleteTokenParamsWithTimeout(timeout time.Duration) *DeleteTokenParams

NewDeleteTokenParamsWithTimeout creates a new DeleteTokenParams object with the ability to set a timeout on a request.

func (*DeleteTokenParams) SetContext

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

SetContext adds the context to the delete token params

func (*DeleteTokenParams) SetDefaults

func (o *DeleteTokenParams) SetDefaults()

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

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

func (*DeleteTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete token params

func (*DeleteTokenParams) SetTimeout

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

SetTimeout adds the timeout to the delete token params

func (*DeleteTokenParams) SetUUID

func (o *DeleteTokenParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete token params

func (*DeleteTokenParams) WithContext

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

WithContext adds the context to the delete token params

func (*DeleteTokenParams) WithDefaults

func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams

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

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

func (*DeleteTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete token params

func (*DeleteTokenParams) WithTimeout

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

WithTimeout adds the timeout to the delete token params

func (*DeleteTokenParams) WithUUID

func (o *DeleteTokenParams) WithUUID(uuid string) *DeleteTokenParams

WithUUID adds the uuid to the delete token params

func (*DeleteTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTokenReader

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

DeleteTokenReader is a Reader for the DeleteToken structure.

func (*DeleteTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHistoryDefault

type GetHistoryDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

GetHistoryDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetHistoryDefault

func NewGetHistoryDefault(code int) *GetHistoryDefault

NewGetHistoryDefault creates a GetHistoryDefault with default headers values

func (*GetHistoryDefault) Code

func (o *GetHistoryDefault) Code() int

Code gets the status code for the get history default response

func (*GetHistoryDefault) Error

func (o *GetHistoryDefault) Error() string

func (*GetHistoryDefault) GetPayload

func (o *GetHistoryDefault) GetPayload() *service_model.RuntimeError

func (*GetHistoryDefault) IsClientError

func (o *GetHistoryDefault) IsClientError() bool

IsClientError returns true when this get history default response has a 4xx status code

func (*GetHistoryDefault) IsCode

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

IsCode returns true when this get history default response a status code equal to that given

func (*GetHistoryDefault) IsRedirect

func (o *GetHistoryDefault) IsRedirect() bool

IsRedirect returns true when this get history default response has a 3xx status code

func (*GetHistoryDefault) IsServerError

func (o *GetHistoryDefault) IsServerError() bool

IsServerError returns true when this get history default response has a 5xx status code

func (*GetHistoryDefault) IsSuccess

func (o *GetHistoryDefault) IsSuccess() bool

IsSuccess returns true when this get history default response has a 2xx status code

func (*GetHistoryDefault) String

func (o *GetHistoryDefault) String() string

type GetHistoryForbidden

type GetHistoryForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewGetHistoryForbidden

func NewGetHistoryForbidden() *GetHistoryForbidden

NewGetHistoryForbidden creates a GetHistoryForbidden with default headers values

func (*GetHistoryForbidden) Code

func (o *GetHistoryForbidden) Code() int

Code gets the status code for the get history forbidden response

func (*GetHistoryForbidden) Error

func (o *GetHistoryForbidden) Error() string

func (*GetHistoryForbidden) GetPayload

func (o *GetHistoryForbidden) GetPayload() interface{}

func (*GetHistoryForbidden) IsClientError

func (o *GetHistoryForbidden) IsClientError() bool

IsClientError returns true when this get history forbidden response has a 4xx status code

func (*GetHistoryForbidden) IsCode

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

IsCode returns true when this get history forbidden response a status code equal to that given

func (*GetHistoryForbidden) IsRedirect

func (o *GetHistoryForbidden) IsRedirect() bool

IsRedirect returns true when this get history forbidden response has a 3xx status code

func (*GetHistoryForbidden) IsServerError

func (o *GetHistoryForbidden) IsServerError() bool

IsServerError returns true when this get history forbidden response has a 5xx status code

func (*GetHistoryForbidden) IsSuccess

func (o *GetHistoryForbidden) IsSuccess() bool

IsSuccess returns true when this get history forbidden response has a 2xx status code

func (*GetHistoryForbidden) String

func (o *GetHistoryForbidden) String() string

type GetHistoryNoContent

type GetHistoryNoContent struct {
	Payload interface{}
}

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

No content.

func NewGetHistoryNoContent

func NewGetHistoryNoContent() *GetHistoryNoContent

NewGetHistoryNoContent creates a GetHistoryNoContent with default headers values

func (*GetHistoryNoContent) Code

func (o *GetHistoryNoContent) Code() int

Code gets the status code for the get history no content response

func (*GetHistoryNoContent) Error

func (o *GetHistoryNoContent) Error() string

func (*GetHistoryNoContent) GetPayload

func (o *GetHistoryNoContent) GetPayload() interface{}

func (*GetHistoryNoContent) IsClientError

func (o *GetHistoryNoContent) IsClientError() bool

IsClientError returns true when this get history no content response has a 4xx status code

func (*GetHistoryNoContent) IsCode

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

IsCode returns true when this get history no content response a status code equal to that given

func (*GetHistoryNoContent) IsRedirect

func (o *GetHistoryNoContent) IsRedirect() bool

IsRedirect returns true when this get history no content response has a 3xx status code

func (*GetHistoryNoContent) IsServerError

func (o *GetHistoryNoContent) IsServerError() bool

IsServerError returns true when this get history no content response has a 5xx status code

func (*GetHistoryNoContent) IsSuccess

func (o *GetHistoryNoContent) IsSuccess() bool

IsSuccess returns true when this get history no content response has a 2xx status code

func (*GetHistoryNoContent) String

func (o *GetHistoryNoContent) String() string

type GetHistoryNotFound

type GetHistoryNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewGetHistoryNotFound

func NewGetHistoryNotFound() *GetHistoryNotFound

NewGetHistoryNotFound creates a GetHistoryNotFound with default headers values

func (*GetHistoryNotFound) Code

func (o *GetHistoryNotFound) Code() int

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

func (*GetHistoryNotFound) Error

func (o *GetHistoryNotFound) Error() string

func (*GetHistoryNotFound) GetPayload

func (o *GetHistoryNotFound) GetPayload() interface{}

func (*GetHistoryNotFound) IsClientError

func (o *GetHistoryNotFound) IsClientError() bool

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

func (*GetHistoryNotFound) IsCode

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

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

func (*GetHistoryNotFound) IsRedirect

func (o *GetHistoryNotFound) IsRedirect() bool

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

func (*GetHistoryNotFound) IsServerError

func (o *GetHistoryNotFound) IsServerError() bool

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

func (*GetHistoryNotFound) IsSuccess

func (o *GetHistoryNotFound) IsSuccess() bool

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

func (*GetHistoryNotFound) String

func (o *GetHistoryNotFound) String() string

type GetHistoryOK

type GetHistoryOK struct {
	Payload *service_model.V1ListActivitiesResponse
}

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

A successful response.

func NewGetHistoryOK

func NewGetHistoryOK() *GetHistoryOK

NewGetHistoryOK creates a GetHistoryOK with default headers values

func (*GetHistoryOK) Code

func (o *GetHistoryOK) Code() int

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

func (*GetHistoryOK) Error

func (o *GetHistoryOK) Error() string

func (*GetHistoryOK) GetPayload

func (*GetHistoryOK) IsClientError

func (o *GetHistoryOK) IsClientError() bool

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

func (*GetHistoryOK) IsCode

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

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

func (*GetHistoryOK) IsRedirect

func (o *GetHistoryOK) IsRedirect() bool

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

func (*GetHistoryOK) IsServerError

func (o *GetHistoryOK) IsServerError() bool

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

func (*GetHistoryOK) IsSuccess

func (o *GetHistoryOK) IsSuccess() bool

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

func (*GetHistoryOK) String

func (o *GetHistoryOK) String() string

type GetHistoryParams

type GetHistoryParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

GetHistoryParams contains all the parameters to send to the API endpoint

for the get history operation.

Typically these are written to a http.Request.

func NewGetHistoryParams

func NewGetHistoryParams() *GetHistoryParams

NewGetHistoryParams creates a new GetHistoryParams 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 NewGetHistoryParamsWithContext

func NewGetHistoryParamsWithContext(ctx context.Context) *GetHistoryParams

NewGetHistoryParamsWithContext creates a new GetHistoryParams object with the ability to set a context for a request.

func NewGetHistoryParamsWithHTTPClient

func NewGetHistoryParamsWithHTTPClient(client *http.Client) *GetHistoryParams

NewGetHistoryParamsWithHTTPClient creates a new GetHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetHistoryParamsWithTimeout

func NewGetHistoryParamsWithTimeout(timeout time.Duration) *GetHistoryParams

NewGetHistoryParamsWithTimeout creates a new GetHistoryParams object with the ability to set a timeout on a request.

func (*GetHistoryParams) SetContext

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

SetContext adds the context to the get history params

func (*GetHistoryParams) SetDefaults

func (o *GetHistoryParams) SetDefaults()

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

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

func (*GetHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get history params

func (*GetHistoryParams) SetLimit

func (o *GetHistoryParams) SetLimit(limit *int32)

SetLimit adds the limit to the get history params

func (*GetHistoryParams) SetNoPage

func (o *GetHistoryParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the get history params

func (*GetHistoryParams) SetOffset

func (o *GetHistoryParams) SetOffset(offset *int32)

SetOffset adds the offset to the get history params

func (*GetHistoryParams) SetQuery

func (o *GetHistoryParams) SetQuery(query *string)

SetQuery adds the query to the get history params

func (*GetHistoryParams) SetSort

func (o *GetHistoryParams) SetSort(sort *string)

SetSort adds the sort to the get history params

func (*GetHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get history params

func (*GetHistoryParams) WithContext

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

WithContext adds the context to the get history params

func (*GetHistoryParams) WithDefaults

func (o *GetHistoryParams) WithDefaults() *GetHistoryParams

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

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

func (*GetHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get history params

func (*GetHistoryParams) WithLimit

func (o *GetHistoryParams) WithLimit(limit *int32) *GetHistoryParams

WithLimit adds the limit to the get history params

func (*GetHistoryParams) WithNoPage

func (o *GetHistoryParams) WithNoPage(noPage *bool) *GetHistoryParams

WithNoPage adds the noPage to the get history params

func (*GetHistoryParams) WithOffset

func (o *GetHistoryParams) WithOffset(offset *int32) *GetHistoryParams

WithOffset adds the offset to the get history params

func (*GetHistoryParams) WithQuery

func (o *GetHistoryParams) WithQuery(query *string) *GetHistoryParams

WithQuery adds the query to the get history params

func (*GetHistoryParams) WithSort

func (o *GetHistoryParams) WithSort(sort *string) *GetHistoryParams

WithSort adds the sort to the get history params

func (*GetHistoryParams) WithTimeout

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

WithTimeout adds the timeout to the get history params

func (*GetHistoryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHistoryReader

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

GetHistoryReader is a Reader for the GetHistory structure.

func (*GetHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSuggestionsDefault

type GetSuggestionsDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

GetSuggestionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetSuggestionsDefault

func NewGetSuggestionsDefault(code int) *GetSuggestionsDefault

NewGetSuggestionsDefault creates a GetSuggestionsDefault with default headers values

func (*GetSuggestionsDefault) Code

func (o *GetSuggestionsDefault) Code() int

Code gets the status code for the get suggestions default response

func (*GetSuggestionsDefault) Error

func (o *GetSuggestionsDefault) Error() string

func (*GetSuggestionsDefault) GetPayload

func (*GetSuggestionsDefault) IsClientError

func (o *GetSuggestionsDefault) IsClientError() bool

IsClientError returns true when this get suggestions default response has a 4xx status code

func (*GetSuggestionsDefault) IsCode

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

IsCode returns true when this get suggestions default response a status code equal to that given

func (*GetSuggestionsDefault) IsRedirect

func (o *GetSuggestionsDefault) IsRedirect() bool

IsRedirect returns true when this get suggestions default response has a 3xx status code

func (*GetSuggestionsDefault) IsServerError

func (o *GetSuggestionsDefault) IsServerError() bool

IsServerError returns true when this get suggestions default response has a 5xx status code

func (*GetSuggestionsDefault) IsSuccess

func (o *GetSuggestionsDefault) IsSuccess() bool

IsSuccess returns true when this get suggestions default response has a 2xx status code

func (*GetSuggestionsDefault) String

func (o *GetSuggestionsDefault) String() string

type GetSuggestionsForbidden

type GetSuggestionsForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewGetSuggestionsForbidden

func NewGetSuggestionsForbidden() *GetSuggestionsForbidden

NewGetSuggestionsForbidden creates a GetSuggestionsForbidden with default headers values

func (*GetSuggestionsForbidden) Code

func (o *GetSuggestionsForbidden) Code() int

Code gets the status code for the get suggestions forbidden response

func (*GetSuggestionsForbidden) Error

func (o *GetSuggestionsForbidden) Error() string

func (*GetSuggestionsForbidden) GetPayload

func (o *GetSuggestionsForbidden) GetPayload() interface{}

func (*GetSuggestionsForbidden) IsClientError

func (o *GetSuggestionsForbidden) IsClientError() bool

IsClientError returns true when this get suggestions forbidden response has a 4xx status code

func (*GetSuggestionsForbidden) IsCode

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

IsCode returns true when this get suggestions forbidden response a status code equal to that given

func (*GetSuggestionsForbidden) IsRedirect

func (o *GetSuggestionsForbidden) IsRedirect() bool

IsRedirect returns true when this get suggestions forbidden response has a 3xx status code

func (*GetSuggestionsForbidden) IsServerError

func (o *GetSuggestionsForbidden) IsServerError() bool

IsServerError returns true when this get suggestions forbidden response has a 5xx status code

func (*GetSuggestionsForbidden) IsSuccess

func (o *GetSuggestionsForbidden) IsSuccess() bool

IsSuccess returns true when this get suggestions forbidden response has a 2xx status code

func (*GetSuggestionsForbidden) String

func (o *GetSuggestionsForbidden) String() string

type GetSuggestionsNoContent

type GetSuggestionsNoContent struct {
	Payload interface{}
}

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

No content.

func NewGetSuggestionsNoContent

func NewGetSuggestionsNoContent() *GetSuggestionsNoContent

NewGetSuggestionsNoContent creates a GetSuggestionsNoContent with default headers values

func (*GetSuggestionsNoContent) Code

func (o *GetSuggestionsNoContent) Code() int

Code gets the status code for the get suggestions no content response

func (*GetSuggestionsNoContent) Error

func (o *GetSuggestionsNoContent) Error() string

func (*GetSuggestionsNoContent) GetPayload

func (o *GetSuggestionsNoContent) GetPayload() interface{}

func (*GetSuggestionsNoContent) IsClientError

func (o *GetSuggestionsNoContent) IsClientError() bool

IsClientError returns true when this get suggestions no content response has a 4xx status code

func (*GetSuggestionsNoContent) IsCode

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

IsCode returns true when this get suggestions no content response a status code equal to that given

func (*GetSuggestionsNoContent) IsRedirect

func (o *GetSuggestionsNoContent) IsRedirect() bool

IsRedirect returns true when this get suggestions no content response has a 3xx status code

func (*GetSuggestionsNoContent) IsServerError

func (o *GetSuggestionsNoContent) IsServerError() bool

IsServerError returns true when this get suggestions no content response has a 5xx status code

func (*GetSuggestionsNoContent) IsSuccess

func (o *GetSuggestionsNoContent) IsSuccess() bool

IsSuccess returns true when this get suggestions no content response has a 2xx status code

func (*GetSuggestionsNoContent) String

func (o *GetSuggestionsNoContent) String() string

type GetSuggestionsNotFound

type GetSuggestionsNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewGetSuggestionsNotFound

func NewGetSuggestionsNotFound() *GetSuggestionsNotFound

NewGetSuggestionsNotFound creates a GetSuggestionsNotFound with default headers values

func (*GetSuggestionsNotFound) Code

func (o *GetSuggestionsNotFound) Code() int

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

func (*GetSuggestionsNotFound) Error

func (o *GetSuggestionsNotFound) Error() string

func (*GetSuggestionsNotFound) GetPayload

func (o *GetSuggestionsNotFound) GetPayload() interface{}

func (*GetSuggestionsNotFound) IsClientError

func (o *GetSuggestionsNotFound) IsClientError() bool

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

func (*GetSuggestionsNotFound) IsCode

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

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

func (*GetSuggestionsNotFound) IsRedirect

func (o *GetSuggestionsNotFound) IsRedirect() bool

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

func (*GetSuggestionsNotFound) IsServerError

func (o *GetSuggestionsNotFound) IsServerError() bool

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

func (*GetSuggestionsNotFound) IsSuccess

func (o *GetSuggestionsNotFound) IsSuccess() bool

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

func (*GetSuggestionsNotFound) String

func (o *GetSuggestionsNotFound) String() string

type GetSuggestionsOK

type GetSuggestionsOK struct {
	Payload interface{}
}

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

A successful response.

func NewGetSuggestionsOK

func NewGetSuggestionsOK() *GetSuggestionsOK

NewGetSuggestionsOK creates a GetSuggestionsOK with default headers values

func (*GetSuggestionsOK) Code

func (o *GetSuggestionsOK) Code() int

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

func (*GetSuggestionsOK) Error

func (o *GetSuggestionsOK) Error() string

func (*GetSuggestionsOK) GetPayload

func (o *GetSuggestionsOK) GetPayload() interface{}

func (*GetSuggestionsOK) IsClientError

func (o *GetSuggestionsOK) IsClientError() bool

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

func (*GetSuggestionsOK) IsCode

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

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

func (*GetSuggestionsOK) IsRedirect

func (o *GetSuggestionsOK) IsRedirect() bool

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

func (*GetSuggestionsOK) IsServerError

func (o *GetSuggestionsOK) IsServerError() bool

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

func (*GetSuggestionsOK) IsSuccess

func (o *GetSuggestionsOK) IsSuccess() bool

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

func (*GetSuggestionsOK) String

func (o *GetSuggestionsOK) String() string

type GetSuggestionsParams

type GetSuggestionsParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

GetSuggestionsParams contains all the parameters to send to the API endpoint

for the get suggestions operation.

Typically these are written to a http.Request.

func NewGetSuggestionsParams

func NewGetSuggestionsParams() *GetSuggestionsParams

NewGetSuggestionsParams creates a new GetSuggestionsParams 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 NewGetSuggestionsParamsWithContext

func NewGetSuggestionsParamsWithContext(ctx context.Context) *GetSuggestionsParams

NewGetSuggestionsParamsWithContext creates a new GetSuggestionsParams object with the ability to set a context for a request.

func NewGetSuggestionsParamsWithHTTPClient

func NewGetSuggestionsParamsWithHTTPClient(client *http.Client) *GetSuggestionsParams

NewGetSuggestionsParamsWithHTTPClient creates a new GetSuggestionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSuggestionsParamsWithTimeout

func NewGetSuggestionsParamsWithTimeout(timeout time.Duration) *GetSuggestionsParams

NewGetSuggestionsParamsWithTimeout creates a new GetSuggestionsParams object with the ability to set a timeout on a request.

func (*GetSuggestionsParams) SetContext

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

SetContext adds the context to the get suggestions params

func (*GetSuggestionsParams) SetDefaults

func (o *GetSuggestionsParams) SetDefaults()

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

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

func (*GetSuggestionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get suggestions params

func (*GetSuggestionsParams) SetLimit

func (o *GetSuggestionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get suggestions params

func (*GetSuggestionsParams) SetNoPage

func (o *GetSuggestionsParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the get suggestions params

func (*GetSuggestionsParams) SetOffset

func (o *GetSuggestionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get suggestions params

func (*GetSuggestionsParams) SetQuery

func (o *GetSuggestionsParams) SetQuery(query *string)

SetQuery adds the query to the get suggestions params

func (*GetSuggestionsParams) SetSort

func (o *GetSuggestionsParams) SetSort(sort *string)

SetSort adds the sort to the get suggestions params

func (*GetSuggestionsParams) SetTimeout

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

SetTimeout adds the timeout to the get suggestions params

func (*GetSuggestionsParams) WithContext

WithContext adds the context to the get suggestions params

func (*GetSuggestionsParams) WithDefaults

func (o *GetSuggestionsParams) WithDefaults() *GetSuggestionsParams

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

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

func (*GetSuggestionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get suggestions params

func (*GetSuggestionsParams) WithLimit

func (o *GetSuggestionsParams) WithLimit(limit *int32) *GetSuggestionsParams

WithLimit adds the limit to the get suggestions params

func (*GetSuggestionsParams) WithNoPage

func (o *GetSuggestionsParams) WithNoPage(noPage *bool) *GetSuggestionsParams

WithNoPage adds the noPage to the get suggestions params

func (*GetSuggestionsParams) WithOffset

func (o *GetSuggestionsParams) WithOffset(offset *int32) *GetSuggestionsParams

WithOffset adds the offset to the get suggestions params

func (*GetSuggestionsParams) WithQuery

func (o *GetSuggestionsParams) WithQuery(query *string) *GetSuggestionsParams

WithQuery adds the query to the get suggestions params

func (*GetSuggestionsParams) WithSort

func (o *GetSuggestionsParams) WithSort(sort *string) *GetSuggestionsParams

WithSort adds the sort to the get suggestions params

func (*GetSuggestionsParams) WithTimeout

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

WithTimeout adds the timeout to the get suggestions params

func (*GetSuggestionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSuggestionsReader

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

GetSuggestionsReader is a Reader for the GetSuggestions structure.

func (*GetSuggestionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTokenDefault

type GetTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

GetTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetTokenDefault

func NewGetTokenDefault(code int) *GetTokenDefault

NewGetTokenDefault creates a GetTokenDefault with default headers values

func (*GetTokenDefault) Code

func (o *GetTokenDefault) Code() int

Code gets the status code for the get token default response

func (*GetTokenDefault) Error

func (o *GetTokenDefault) Error() string

func (*GetTokenDefault) GetPayload

func (o *GetTokenDefault) GetPayload() *service_model.RuntimeError

func (*GetTokenDefault) IsClientError

func (o *GetTokenDefault) IsClientError() bool

IsClientError returns true when this get token default response has a 4xx status code

func (*GetTokenDefault) IsCode

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

IsCode returns true when this get token default response a status code equal to that given

func (*GetTokenDefault) IsRedirect

func (o *GetTokenDefault) IsRedirect() bool

IsRedirect returns true when this get token default response has a 3xx status code

func (*GetTokenDefault) IsServerError

func (o *GetTokenDefault) IsServerError() bool

IsServerError returns true when this get token default response has a 5xx status code

func (*GetTokenDefault) IsSuccess

func (o *GetTokenDefault) IsSuccess() bool

IsSuccess returns true when this get token default response has a 2xx status code

func (*GetTokenDefault) String

func (o *GetTokenDefault) String() string

type GetTokenForbidden

type GetTokenForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewGetTokenForbidden

func NewGetTokenForbidden() *GetTokenForbidden

NewGetTokenForbidden creates a GetTokenForbidden with default headers values

func (*GetTokenForbidden) Code

func (o *GetTokenForbidden) Code() int

Code gets the status code for the get token forbidden response

func (*GetTokenForbidden) Error

func (o *GetTokenForbidden) Error() string

func (*GetTokenForbidden) GetPayload

func (o *GetTokenForbidden) GetPayload() interface{}

func (*GetTokenForbidden) IsClientError

func (o *GetTokenForbidden) IsClientError() bool

IsClientError returns true when this get token forbidden response has a 4xx status code

func (*GetTokenForbidden) IsCode

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

IsCode returns true when this get token forbidden response a status code equal to that given

func (*GetTokenForbidden) IsRedirect

func (o *GetTokenForbidden) IsRedirect() bool

IsRedirect returns true when this get token forbidden response has a 3xx status code

func (*GetTokenForbidden) IsServerError

func (o *GetTokenForbidden) IsServerError() bool

IsServerError returns true when this get token forbidden response has a 5xx status code

func (*GetTokenForbidden) IsSuccess

func (o *GetTokenForbidden) IsSuccess() bool

IsSuccess returns true when this get token forbidden response has a 2xx status code

func (*GetTokenForbidden) String

func (o *GetTokenForbidden) String() string

type GetTokenNoContent

type GetTokenNoContent struct {
	Payload interface{}
}

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

No content.

func NewGetTokenNoContent

func NewGetTokenNoContent() *GetTokenNoContent

NewGetTokenNoContent creates a GetTokenNoContent with default headers values

func (*GetTokenNoContent) Code

func (o *GetTokenNoContent) Code() int

Code gets the status code for the get token no content response

func (*GetTokenNoContent) Error

func (o *GetTokenNoContent) Error() string

func (*GetTokenNoContent) GetPayload

func (o *GetTokenNoContent) GetPayload() interface{}

func (*GetTokenNoContent) IsClientError

func (o *GetTokenNoContent) IsClientError() bool

IsClientError returns true when this get token no content response has a 4xx status code

func (*GetTokenNoContent) IsCode

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

IsCode returns true when this get token no content response a status code equal to that given

func (*GetTokenNoContent) IsRedirect

func (o *GetTokenNoContent) IsRedirect() bool

IsRedirect returns true when this get token no content response has a 3xx status code

func (*GetTokenNoContent) IsServerError

func (o *GetTokenNoContent) IsServerError() bool

IsServerError returns true when this get token no content response has a 5xx status code

func (*GetTokenNoContent) IsSuccess

func (o *GetTokenNoContent) IsSuccess() bool

IsSuccess returns true when this get token no content response has a 2xx status code

func (*GetTokenNoContent) String

func (o *GetTokenNoContent) String() string

type GetTokenNotFound

type GetTokenNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewGetTokenNotFound

func NewGetTokenNotFound() *GetTokenNotFound

NewGetTokenNotFound creates a GetTokenNotFound with default headers values

func (*GetTokenNotFound) Code

func (o *GetTokenNotFound) Code() int

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

func (*GetTokenNotFound) Error

func (o *GetTokenNotFound) Error() string

func (*GetTokenNotFound) GetPayload

func (o *GetTokenNotFound) GetPayload() interface{}

func (*GetTokenNotFound) IsClientError

func (o *GetTokenNotFound) IsClientError() bool

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

func (*GetTokenNotFound) IsCode

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

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

func (*GetTokenNotFound) IsRedirect

func (o *GetTokenNotFound) IsRedirect() bool

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

func (*GetTokenNotFound) IsServerError

func (o *GetTokenNotFound) IsServerError() bool

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

func (*GetTokenNotFound) IsSuccess

func (o *GetTokenNotFound) IsSuccess() bool

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

func (*GetTokenNotFound) String

func (o *GetTokenNotFound) String() string

type GetTokenOK

type GetTokenOK struct {
	Payload *service_model.V1Token
}

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

A successful response.

func NewGetTokenOK

func NewGetTokenOK() *GetTokenOK

NewGetTokenOK creates a GetTokenOK with default headers values

func (*GetTokenOK) Code

func (o *GetTokenOK) Code() int

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

func (*GetTokenOK) Error

func (o *GetTokenOK) Error() string

func (*GetTokenOK) GetPayload

func (o *GetTokenOK) GetPayload() *service_model.V1Token

func (*GetTokenOK) IsClientError

func (o *GetTokenOK) IsClientError() bool

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

func (*GetTokenOK) IsCode

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

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

func (*GetTokenOK) IsRedirect

func (o *GetTokenOK) IsRedirect() bool

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

func (*GetTokenOK) IsServerError

func (o *GetTokenOK) IsServerError() bool

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

func (*GetTokenOK) IsSuccess

func (o *GetTokenOK) IsSuccess() bool

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

func (*GetTokenOK) String

func (o *GetTokenOK) String() string

type GetTokenParams

type GetTokenParams struct {

	/* UUID.

	   UUid of the namespace
	*/
	UUID string

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

GetTokenParams contains all the parameters to send to the API endpoint

for the get token operation.

Typically these are written to a http.Request.

func NewGetTokenParams

func NewGetTokenParams() *GetTokenParams

NewGetTokenParams creates a new GetTokenParams 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 NewGetTokenParamsWithContext

func NewGetTokenParamsWithContext(ctx context.Context) *GetTokenParams

NewGetTokenParamsWithContext creates a new GetTokenParams object with the ability to set a context for a request.

func NewGetTokenParamsWithHTTPClient

func NewGetTokenParamsWithHTTPClient(client *http.Client) *GetTokenParams

NewGetTokenParamsWithHTTPClient creates a new GetTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetTokenParamsWithTimeout

func NewGetTokenParamsWithTimeout(timeout time.Duration) *GetTokenParams

NewGetTokenParamsWithTimeout creates a new GetTokenParams object with the ability to set a timeout on a request.

func (*GetTokenParams) SetContext

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

SetContext adds the context to the get token params

func (*GetTokenParams) SetDefaults

func (o *GetTokenParams) SetDefaults()

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

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

func (*GetTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get token params

func (*GetTokenParams) SetTimeout

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

SetTimeout adds the timeout to the get token params

func (*GetTokenParams) SetUUID

func (o *GetTokenParams) SetUUID(uuid string)

SetUUID adds the uuid to the get token params

func (*GetTokenParams) WithContext

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

WithContext adds the context to the get token params

func (*GetTokenParams) WithDefaults

func (o *GetTokenParams) WithDefaults() *GetTokenParams

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

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

func (*GetTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get token params

func (*GetTokenParams) WithTimeout

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

WithTimeout adds the timeout to the get token params

func (*GetTokenParams) WithUUID

func (o *GetTokenParams) WithUUID(uuid string) *GetTokenParams

WithUUID adds the uuid to the get token params

func (*GetTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTokenReader

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

GetTokenReader is a Reader for the GetToken structure.

func (*GetTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserDefault

type GetUserDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

GetUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetUserDefault

func NewGetUserDefault(code int) *GetUserDefault

NewGetUserDefault creates a GetUserDefault with default headers values

func (*GetUserDefault) Code

func (o *GetUserDefault) Code() int

Code gets the status code for the get user default response

func (*GetUserDefault) Error

func (o *GetUserDefault) Error() string

func (*GetUserDefault) GetPayload

func (o *GetUserDefault) GetPayload() *service_model.RuntimeError

func (*GetUserDefault) IsClientError

func (o *GetUserDefault) IsClientError() bool

IsClientError returns true when this get user default response has a 4xx status code

func (*GetUserDefault) IsCode

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

IsCode returns true when this get user default response a status code equal to that given

func (*GetUserDefault) IsRedirect

func (o *GetUserDefault) IsRedirect() bool

IsRedirect returns true when this get user default response has a 3xx status code

func (*GetUserDefault) IsServerError

func (o *GetUserDefault) IsServerError() bool

IsServerError returns true when this get user default response has a 5xx status code

func (*GetUserDefault) IsSuccess

func (o *GetUserDefault) IsSuccess() bool

IsSuccess returns true when this get user default response has a 2xx status code

func (*GetUserDefault) String

func (o *GetUserDefault) String() string

type GetUserForbidden

type GetUserForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewGetUserForbidden

func NewGetUserForbidden() *GetUserForbidden

NewGetUserForbidden creates a GetUserForbidden with default headers values

func (*GetUserForbidden) Code

func (o *GetUserForbidden) Code() int

Code gets the status code for the get user forbidden response

func (*GetUserForbidden) Error

func (o *GetUserForbidden) Error() string

func (*GetUserForbidden) GetPayload

func (o *GetUserForbidden) GetPayload() interface{}

func (*GetUserForbidden) IsClientError

func (o *GetUserForbidden) IsClientError() bool

IsClientError returns true when this get user forbidden response has a 4xx status code

func (*GetUserForbidden) IsCode

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

IsCode returns true when this get user forbidden response a status code equal to that given

func (*GetUserForbidden) IsRedirect

func (o *GetUserForbidden) IsRedirect() bool

IsRedirect returns true when this get user forbidden response has a 3xx status code

func (*GetUserForbidden) IsServerError

func (o *GetUserForbidden) IsServerError() bool

IsServerError returns true when this get user forbidden response has a 5xx status code

func (*GetUserForbidden) IsSuccess

func (o *GetUserForbidden) IsSuccess() bool

IsSuccess returns true when this get user forbidden response has a 2xx status code

func (*GetUserForbidden) String

func (o *GetUserForbidden) String() string

type GetUserNoContent

type GetUserNoContent struct {
	Payload interface{}
}

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

No content.

func NewGetUserNoContent

func NewGetUserNoContent() *GetUserNoContent

NewGetUserNoContent creates a GetUserNoContent with default headers values

func (*GetUserNoContent) Code

func (o *GetUserNoContent) Code() int

Code gets the status code for the get user no content response

func (*GetUserNoContent) Error

func (o *GetUserNoContent) Error() string

func (*GetUserNoContent) GetPayload

func (o *GetUserNoContent) GetPayload() interface{}

func (*GetUserNoContent) IsClientError

func (o *GetUserNoContent) IsClientError() bool

IsClientError returns true when this get user no content response has a 4xx status code

func (*GetUserNoContent) IsCode

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

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

func (*GetUserNoContent) IsRedirect

func (o *GetUserNoContent) IsRedirect() bool

IsRedirect returns true when this get user no content response has a 3xx status code

func (*GetUserNoContent) IsServerError

func (o *GetUserNoContent) IsServerError() bool

IsServerError returns true when this get user no content response has a 5xx status code

func (*GetUserNoContent) IsSuccess

func (o *GetUserNoContent) IsSuccess() bool

IsSuccess returns true when this get user no content response has a 2xx status code

func (*GetUserNoContent) String

func (o *GetUserNoContent) String() string

type GetUserNotFound

type GetUserNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Code

func (o *GetUserNotFound) Code() int

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

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) GetPayload

func (o *GetUserNotFound) GetPayload() interface{}

func (*GetUserNotFound) IsClientError

func (o *GetUserNotFound) IsClientError() bool

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

func (*GetUserNotFound) IsCode

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

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

func (*GetUserNotFound) IsRedirect

func (o *GetUserNotFound) IsRedirect() bool

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

func (*GetUserNotFound) IsServerError

func (o *GetUserNotFound) IsServerError() bool

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

func (*GetUserNotFound) IsSuccess

func (o *GetUserNotFound) IsSuccess() bool

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

func (*GetUserNotFound) String

func (o *GetUserNotFound) String() string

type GetUserOK

type GetUserOK struct {
	Payload *service_model.V1User
}

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

A successful response.

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Code

func (o *GetUserOK) Code() int

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

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *service_model.V1User

func (*GetUserOK) IsClientError

func (o *GetUserOK) IsClientError() bool

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

func (*GetUserOK) IsCode

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

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

func (*GetUserOK) IsRedirect

func (o *GetUserOK) IsRedirect() bool

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

func (*GetUserOK) IsServerError

func (o *GetUserOK) IsServerError() bool

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

func (*GetUserOK) IsSuccess

func (o *GetUserOK) IsSuccess() bool

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

func (*GetUserOK) String

func (o *GetUserOK) String() string

type GetUserParams

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesDefault

type GetWorkspacesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

GetWorkspacesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetWorkspacesDefault

func NewGetWorkspacesDefault(code int) *GetWorkspacesDefault

NewGetWorkspacesDefault creates a GetWorkspacesDefault with default headers values

func (*GetWorkspacesDefault) Code

func (o *GetWorkspacesDefault) Code() int

Code gets the status code for the get workspaces default response

func (*GetWorkspacesDefault) Error

func (o *GetWorkspacesDefault) Error() string

func (*GetWorkspacesDefault) GetPayload

func (*GetWorkspacesDefault) IsClientError

func (o *GetWorkspacesDefault) IsClientError() bool

IsClientError returns true when this get workspaces default response has a 4xx status code

func (*GetWorkspacesDefault) IsCode

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

IsCode returns true when this get workspaces default response a status code equal to that given

func (*GetWorkspacesDefault) IsRedirect

func (o *GetWorkspacesDefault) IsRedirect() bool

IsRedirect returns true when this get workspaces default response has a 3xx status code

func (*GetWorkspacesDefault) IsServerError

func (o *GetWorkspacesDefault) IsServerError() bool

IsServerError returns true when this get workspaces default response has a 5xx status code

func (*GetWorkspacesDefault) IsSuccess

func (o *GetWorkspacesDefault) IsSuccess() bool

IsSuccess returns true when this get workspaces default response has a 2xx status code

func (*GetWorkspacesDefault) String

func (o *GetWorkspacesDefault) String() string

type GetWorkspacesForbidden

type GetWorkspacesForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewGetWorkspacesForbidden

func NewGetWorkspacesForbidden() *GetWorkspacesForbidden

NewGetWorkspacesForbidden creates a GetWorkspacesForbidden with default headers values

func (*GetWorkspacesForbidden) Code

func (o *GetWorkspacesForbidden) Code() int

Code gets the status code for the get workspaces forbidden response

func (*GetWorkspacesForbidden) Error

func (o *GetWorkspacesForbidden) Error() string

func (*GetWorkspacesForbidden) GetPayload

func (o *GetWorkspacesForbidden) GetPayload() interface{}

func (*GetWorkspacesForbidden) IsClientError

func (o *GetWorkspacesForbidden) IsClientError() bool

IsClientError returns true when this get workspaces forbidden response has a 4xx status code

func (*GetWorkspacesForbidden) IsCode

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

IsCode returns true when this get workspaces forbidden response a status code equal to that given

func (*GetWorkspacesForbidden) IsRedirect

func (o *GetWorkspacesForbidden) IsRedirect() bool

IsRedirect returns true when this get workspaces forbidden response has a 3xx status code

func (*GetWorkspacesForbidden) IsServerError

func (o *GetWorkspacesForbidden) IsServerError() bool

IsServerError returns true when this get workspaces forbidden response has a 5xx status code

func (*GetWorkspacesForbidden) IsSuccess

func (o *GetWorkspacesForbidden) IsSuccess() bool

IsSuccess returns true when this get workspaces forbidden response has a 2xx status code

func (*GetWorkspacesForbidden) String

func (o *GetWorkspacesForbidden) String() string

type GetWorkspacesNoContent

type GetWorkspacesNoContent struct {
	Payload interface{}
}

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

No content.

func NewGetWorkspacesNoContent

func NewGetWorkspacesNoContent() *GetWorkspacesNoContent

NewGetWorkspacesNoContent creates a GetWorkspacesNoContent with default headers values

func (*GetWorkspacesNoContent) Code

func (o *GetWorkspacesNoContent) Code() int

Code gets the status code for the get workspaces no content response

func (*GetWorkspacesNoContent) Error

func (o *GetWorkspacesNoContent) Error() string

func (*GetWorkspacesNoContent) GetPayload

func (o *GetWorkspacesNoContent) GetPayload() interface{}

func (*GetWorkspacesNoContent) IsClientError

func (o *GetWorkspacesNoContent) IsClientError() bool

IsClientError returns true when this get workspaces no content response has a 4xx status code

func (*GetWorkspacesNoContent) IsCode

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

IsCode returns true when this get workspaces no content response a status code equal to that given

func (*GetWorkspacesNoContent) IsRedirect

func (o *GetWorkspacesNoContent) IsRedirect() bool

IsRedirect returns true when this get workspaces no content response has a 3xx status code

func (*GetWorkspacesNoContent) IsServerError

func (o *GetWorkspacesNoContent) IsServerError() bool

IsServerError returns true when this get workspaces no content response has a 5xx status code

func (*GetWorkspacesNoContent) IsSuccess

func (o *GetWorkspacesNoContent) IsSuccess() bool

IsSuccess returns true when this get workspaces no content response has a 2xx status code

func (*GetWorkspacesNoContent) String

func (o *GetWorkspacesNoContent) String() string

type GetWorkspacesNotFound

type GetWorkspacesNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewGetWorkspacesNotFound

func NewGetWorkspacesNotFound() *GetWorkspacesNotFound

NewGetWorkspacesNotFound creates a GetWorkspacesNotFound with default headers values

func (*GetWorkspacesNotFound) Code

func (o *GetWorkspacesNotFound) Code() int

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

func (*GetWorkspacesNotFound) Error

func (o *GetWorkspacesNotFound) Error() string

func (*GetWorkspacesNotFound) GetPayload

func (o *GetWorkspacesNotFound) GetPayload() interface{}

func (*GetWorkspacesNotFound) IsClientError

func (o *GetWorkspacesNotFound) IsClientError() bool

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

func (*GetWorkspacesNotFound) IsCode

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

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

func (*GetWorkspacesNotFound) IsRedirect

func (o *GetWorkspacesNotFound) IsRedirect() bool

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

func (*GetWorkspacesNotFound) IsServerError

func (o *GetWorkspacesNotFound) IsServerError() bool

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

func (*GetWorkspacesNotFound) IsSuccess

func (o *GetWorkspacesNotFound) IsSuccess() bool

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

func (*GetWorkspacesNotFound) String

func (o *GetWorkspacesNotFound) String() string

type GetWorkspacesOK

type GetWorkspacesOK struct {
	Payload interface{}
}

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

A successful response.

func NewGetWorkspacesOK

func NewGetWorkspacesOK() *GetWorkspacesOK

NewGetWorkspacesOK creates a GetWorkspacesOK with default headers values

func (*GetWorkspacesOK) Code

func (o *GetWorkspacesOK) Code() int

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

func (*GetWorkspacesOK) Error

func (o *GetWorkspacesOK) Error() string

func (*GetWorkspacesOK) GetPayload

func (o *GetWorkspacesOK) GetPayload() interface{}

func (*GetWorkspacesOK) IsClientError

func (o *GetWorkspacesOK) IsClientError() bool

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

func (*GetWorkspacesOK) IsCode

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

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

func (*GetWorkspacesOK) IsRedirect

func (o *GetWorkspacesOK) IsRedirect() bool

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

func (*GetWorkspacesOK) IsServerError

func (o *GetWorkspacesOK) IsServerError() bool

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

func (*GetWorkspacesOK) IsSuccess

func (o *GetWorkspacesOK) IsSuccess() bool

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

func (*GetWorkspacesOK) String

func (o *GetWorkspacesOK) String() string

type GetWorkspacesParams

type GetWorkspacesParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

GetWorkspacesParams contains all the parameters to send to the API endpoint

for the get workspaces operation.

Typically these are written to a http.Request.

func NewGetWorkspacesParams

func NewGetWorkspacesParams() *GetWorkspacesParams

NewGetWorkspacesParams creates a new GetWorkspacesParams 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 NewGetWorkspacesParamsWithContext

func NewGetWorkspacesParamsWithContext(ctx context.Context) *GetWorkspacesParams

NewGetWorkspacesParamsWithContext creates a new GetWorkspacesParams object with the ability to set a context for a request.

func NewGetWorkspacesParamsWithHTTPClient

func NewGetWorkspacesParamsWithHTTPClient(client *http.Client) *GetWorkspacesParams

NewGetWorkspacesParamsWithHTTPClient creates a new GetWorkspacesParams object with the ability to set a custom HTTPClient for a request.

func NewGetWorkspacesParamsWithTimeout

func NewGetWorkspacesParamsWithTimeout(timeout time.Duration) *GetWorkspacesParams

NewGetWorkspacesParamsWithTimeout creates a new GetWorkspacesParams object with the ability to set a timeout on a request.

func (*GetWorkspacesParams) SetContext

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

SetContext adds the context to the get workspaces params

func (*GetWorkspacesParams) SetDefaults

func (o *GetWorkspacesParams) SetDefaults()

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

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

func (*GetWorkspacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) SetLimit

func (o *GetWorkspacesParams) SetLimit(limit *int32)

SetLimit adds the limit to the get workspaces params

func (*GetWorkspacesParams) SetNoPage

func (o *GetWorkspacesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the get workspaces params

func (*GetWorkspacesParams) SetOffset

func (o *GetWorkspacesParams) SetOffset(offset *int32)

SetOffset adds the offset to the get workspaces params

func (*GetWorkspacesParams) SetQuery

func (o *GetWorkspacesParams) SetQuery(query *string)

SetQuery adds the query to the get workspaces params

func (*GetWorkspacesParams) SetSort

func (o *GetWorkspacesParams) SetSort(sort *string)

SetSort adds the sort to the get workspaces params

func (*GetWorkspacesParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WithContext

WithContext adds the context to the get workspaces params

func (*GetWorkspacesParams) WithDefaults

func (o *GetWorkspacesParams) WithDefaults() *GetWorkspacesParams

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

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

func (*GetWorkspacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) WithLimit

func (o *GetWorkspacesParams) WithLimit(limit *int32) *GetWorkspacesParams

WithLimit adds the limit to the get workspaces params

func (*GetWorkspacesParams) WithNoPage

func (o *GetWorkspacesParams) WithNoPage(noPage *bool) *GetWorkspacesParams

WithNoPage adds the noPage to the get workspaces params

func (*GetWorkspacesParams) WithOffset

func (o *GetWorkspacesParams) WithOffset(offset *int32) *GetWorkspacesParams

WithOffset adds the offset to the get workspaces params

func (*GetWorkspacesParams) WithQuery

func (o *GetWorkspacesParams) WithQuery(query *string) *GetWorkspacesParams

WithQuery adds the query to the get workspaces params

func (*GetWorkspacesParams) WithSort

func (o *GetWorkspacesParams) WithSort(sort *string) *GetWorkspacesParams

WithSort adds the sort to the get workspaces params

func (*GetWorkspacesParams) WithTimeout

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

WithTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWorkspacesReader

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

GetWorkspacesReader is a Reader for the GetWorkspaces structure.

func (*GetWorkspacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTokensDefault

type ListTokensDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

ListTokensDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListTokensDefault

func NewListTokensDefault(code int) *ListTokensDefault

NewListTokensDefault creates a ListTokensDefault with default headers values

func (*ListTokensDefault) Code

func (o *ListTokensDefault) Code() int

Code gets the status code for the list tokens default response

func (*ListTokensDefault) Error

func (o *ListTokensDefault) Error() string

func (*ListTokensDefault) GetPayload

func (o *ListTokensDefault) GetPayload() *service_model.RuntimeError

func (*ListTokensDefault) IsClientError

func (o *ListTokensDefault) IsClientError() bool

IsClientError returns true when this list tokens default response has a 4xx status code

func (*ListTokensDefault) IsCode

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

IsCode returns true when this list tokens default response a status code equal to that given

func (*ListTokensDefault) IsRedirect

func (o *ListTokensDefault) IsRedirect() bool

IsRedirect returns true when this list tokens default response has a 3xx status code

func (*ListTokensDefault) IsServerError

func (o *ListTokensDefault) IsServerError() bool

IsServerError returns true when this list tokens default response has a 5xx status code

func (*ListTokensDefault) IsSuccess

func (o *ListTokensDefault) IsSuccess() bool

IsSuccess returns true when this list tokens default response has a 2xx status code

func (*ListTokensDefault) String

func (o *ListTokensDefault) String() string

type ListTokensForbidden

type ListTokensForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewListTokensForbidden

func NewListTokensForbidden() *ListTokensForbidden

NewListTokensForbidden creates a ListTokensForbidden with default headers values

func (*ListTokensForbidden) Code

func (o *ListTokensForbidden) Code() int

Code gets the status code for the list tokens forbidden response

func (*ListTokensForbidden) Error

func (o *ListTokensForbidden) Error() string

func (*ListTokensForbidden) GetPayload

func (o *ListTokensForbidden) GetPayload() interface{}

func (*ListTokensForbidden) IsClientError

func (o *ListTokensForbidden) IsClientError() bool

IsClientError returns true when this list tokens forbidden response has a 4xx status code

func (*ListTokensForbidden) IsCode

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

IsCode returns true when this list tokens forbidden response a status code equal to that given

func (*ListTokensForbidden) IsRedirect

func (o *ListTokensForbidden) IsRedirect() bool

IsRedirect returns true when this list tokens forbidden response has a 3xx status code

func (*ListTokensForbidden) IsServerError

func (o *ListTokensForbidden) IsServerError() bool

IsServerError returns true when this list tokens forbidden response has a 5xx status code

func (*ListTokensForbidden) IsSuccess

func (o *ListTokensForbidden) IsSuccess() bool

IsSuccess returns true when this list tokens forbidden response has a 2xx status code

func (*ListTokensForbidden) String

func (o *ListTokensForbidden) String() string

type ListTokensNoContent

type ListTokensNoContent struct {
	Payload interface{}
}

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

No content.

func NewListTokensNoContent

func NewListTokensNoContent() *ListTokensNoContent

NewListTokensNoContent creates a ListTokensNoContent with default headers values

func (*ListTokensNoContent) Code

func (o *ListTokensNoContent) Code() int

Code gets the status code for the list tokens no content response

func (*ListTokensNoContent) Error

func (o *ListTokensNoContent) Error() string

func (*ListTokensNoContent) GetPayload

func (o *ListTokensNoContent) GetPayload() interface{}

func (*ListTokensNoContent) IsClientError

func (o *ListTokensNoContent) IsClientError() bool

IsClientError returns true when this list tokens no content response has a 4xx status code

func (*ListTokensNoContent) IsCode

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

IsCode returns true when this list tokens no content response a status code equal to that given

func (*ListTokensNoContent) IsRedirect

func (o *ListTokensNoContent) IsRedirect() bool

IsRedirect returns true when this list tokens no content response has a 3xx status code

func (*ListTokensNoContent) IsServerError

func (o *ListTokensNoContent) IsServerError() bool

IsServerError returns true when this list tokens no content response has a 5xx status code

func (*ListTokensNoContent) IsSuccess

func (o *ListTokensNoContent) IsSuccess() bool

IsSuccess returns true when this list tokens no content response has a 2xx status code

func (*ListTokensNoContent) String

func (o *ListTokensNoContent) String() string

type ListTokensNotFound

type ListTokensNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewListTokensNotFound

func NewListTokensNotFound() *ListTokensNotFound

NewListTokensNotFound creates a ListTokensNotFound with default headers values

func (*ListTokensNotFound) Code

func (o *ListTokensNotFound) Code() int

Code gets the status code for the list tokens not found response

func (*ListTokensNotFound) Error

func (o *ListTokensNotFound) Error() string

func (*ListTokensNotFound) GetPayload

func (o *ListTokensNotFound) GetPayload() interface{}

func (*ListTokensNotFound) IsClientError

func (o *ListTokensNotFound) IsClientError() bool

IsClientError returns true when this list tokens not found response has a 4xx status code

func (*ListTokensNotFound) IsCode

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

IsCode returns true when this list tokens not found response a status code equal to that given

func (*ListTokensNotFound) IsRedirect

func (o *ListTokensNotFound) IsRedirect() bool

IsRedirect returns true when this list tokens not found response has a 3xx status code

func (*ListTokensNotFound) IsServerError

func (o *ListTokensNotFound) IsServerError() bool

IsServerError returns true when this list tokens not found response has a 5xx status code

func (*ListTokensNotFound) IsSuccess

func (o *ListTokensNotFound) IsSuccess() bool

IsSuccess returns true when this list tokens not found response has a 2xx status code

func (*ListTokensNotFound) String

func (o *ListTokensNotFound) String() string

type ListTokensOK

type ListTokensOK struct {
	Payload *service_model.V1ListTokenResponse
}

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

A successful response.

func NewListTokensOK

func NewListTokensOK() *ListTokensOK

NewListTokensOK creates a ListTokensOK with default headers values

func (*ListTokensOK) Code

func (o *ListTokensOK) Code() int

Code gets the status code for the list tokens o k response

func (*ListTokensOK) Error

func (o *ListTokensOK) Error() string

func (*ListTokensOK) GetPayload

func (*ListTokensOK) IsClientError

func (o *ListTokensOK) IsClientError() bool

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

func (*ListTokensOK) IsCode

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

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

func (*ListTokensOK) IsRedirect

func (o *ListTokensOK) IsRedirect() bool

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

func (*ListTokensOK) IsServerError

func (o *ListTokensOK) IsServerError() bool

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

func (*ListTokensOK) IsSuccess

func (o *ListTokensOK) IsSuccess() bool

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

func (*ListTokensOK) String

func (o *ListTokensOK) String() string

type ListTokensParams

type ListTokensParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

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

ListTokensParams contains all the parameters to send to the API endpoint

for the list tokens operation.

Typically these are written to a http.Request.

func NewListTokensParams

func NewListTokensParams() *ListTokensParams

NewListTokensParams creates a new ListTokensParams 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 NewListTokensParamsWithContext

func NewListTokensParamsWithContext(ctx context.Context) *ListTokensParams

NewListTokensParamsWithContext creates a new ListTokensParams object with the ability to set a context for a request.

func NewListTokensParamsWithHTTPClient

func NewListTokensParamsWithHTTPClient(client *http.Client) *ListTokensParams

NewListTokensParamsWithHTTPClient creates a new ListTokensParams object with the ability to set a custom HTTPClient for a request.

func NewListTokensParamsWithTimeout

func NewListTokensParamsWithTimeout(timeout time.Duration) *ListTokensParams

NewListTokensParamsWithTimeout creates a new ListTokensParams object with the ability to set a timeout on a request.

func (*ListTokensParams) SetContext

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

SetContext adds the context to the list tokens params

func (*ListTokensParams) SetDefaults

func (o *ListTokensParams) SetDefaults()

SetDefaults hydrates default values in the list tokens params (not the query body).

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

func (*ListTokensParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tokens params

func (*ListTokensParams) SetLimit

func (o *ListTokensParams) SetLimit(limit *int32)

SetLimit adds the limit to the list tokens params

func (*ListTokensParams) SetNoPage

func (o *ListTokensParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list tokens params

func (*ListTokensParams) SetOffset

func (o *ListTokensParams) SetOffset(offset *int32)

SetOffset adds the offset to the list tokens params

func (*ListTokensParams) SetQuery

func (o *ListTokensParams) SetQuery(query *string)

SetQuery adds the query to the list tokens params

func (*ListTokensParams) SetSort

func (o *ListTokensParams) SetSort(sort *string)

SetSort adds the sort to the list tokens params

func (*ListTokensParams) SetTimeout

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

SetTimeout adds the timeout to the list tokens params

func (*ListTokensParams) WithContext

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

WithContext adds the context to the list tokens params

func (*ListTokensParams) WithDefaults

func (o *ListTokensParams) WithDefaults() *ListTokensParams

WithDefaults hydrates default values in the list tokens params (not the query body).

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

func (*ListTokensParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tokens params

func (*ListTokensParams) WithLimit

func (o *ListTokensParams) WithLimit(limit *int32) *ListTokensParams

WithLimit adds the limit to the list tokens params

func (*ListTokensParams) WithNoPage

func (o *ListTokensParams) WithNoPage(noPage *bool) *ListTokensParams

WithNoPage adds the noPage to the list tokens params

func (*ListTokensParams) WithOffset

func (o *ListTokensParams) WithOffset(offset *int32) *ListTokensParams

WithOffset adds the offset to the list tokens params

func (*ListTokensParams) WithQuery

func (o *ListTokensParams) WithQuery(query *string) *ListTokensParams

WithQuery adds the query to the list tokens params

func (*ListTokensParams) WithSort

func (o *ListTokensParams) WithSort(sort *string) *ListTokensParams

WithSort adds the sort to the list tokens params

func (*ListTokensParams) WithTimeout

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

WithTimeout adds the timeout to the list tokens params

func (*ListTokensParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTokensReader

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

ListTokensReader is a Reader for the ListTokens structure.

func (*ListTokensReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchTokenDefault

type PatchTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

PatchTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchTokenDefault

func NewPatchTokenDefault(code int) *PatchTokenDefault

NewPatchTokenDefault creates a PatchTokenDefault with default headers values

func (*PatchTokenDefault) Code

func (o *PatchTokenDefault) Code() int

Code gets the status code for the patch token default response

func (*PatchTokenDefault) Error

func (o *PatchTokenDefault) Error() string

func (*PatchTokenDefault) GetPayload

func (o *PatchTokenDefault) GetPayload() *service_model.RuntimeError

func (*PatchTokenDefault) IsClientError

func (o *PatchTokenDefault) IsClientError() bool

IsClientError returns true when this patch token default response has a 4xx status code

func (*PatchTokenDefault) IsCode

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

IsCode returns true when this patch token default response a status code equal to that given

func (*PatchTokenDefault) IsRedirect

func (o *PatchTokenDefault) IsRedirect() bool

IsRedirect returns true when this patch token default response has a 3xx status code

func (*PatchTokenDefault) IsServerError

func (o *PatchTokenDefault) IsServerError() bool

IsServerError returns true when this patch token default response has a 5xx status code

func (*PatchTokenDefault) IsSuccess

func (o *PatchTokenDefault) IsSuccess() bool

IsSuccess returns true when this patch token default response has a 2xx status code

func (*PatchTokenDefault) String

func (o *PatchTokenDefault) String() string

type PatchTokenForbidden

type PatchTokenForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewPatchTokenForbidden

func NewPatchTokenForbidden() *PatchTokenForbidden

NewPatchTokenForbidden creates a PatchTokenForbidden with default headers values

func (*PatchTokenForbidden) Code

func (o *PatchTokenForbidden) Code() int

Code gets the status code for the patch token forbidden response

func (*PatchTokenForbidden) Error

func (o *PatchTokenForbidden) Error() string

func (*PatchTokenForbidden) GetPayload

func (o *PatchTokenForbidden) GetPayload() interface{}

func (*PatchTokenForbidden) IsClientError

func (o *PatchTokenForbidden) IsClientError() bool

IsClientError returns true when this patch token forbidden response has a 4xx status code

func (*PatchTokenForbidden) IsCode

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

IsCode returns true when this patch token forbidden response a status code equal to that given

func (*PatchTokenForbidden) IsRedirect

func (o *PatchTokenForbidden) IsRedirect() bool

IsRedirect returns true when this patch token forbidden response has a 3xx status code

func (*PatchTokenForbidden) IsServerError

func (o *PatchTokenForbidden) IsServerError() bool

IsServerError returns true when this patch token forbidden response has a 5xx status code

func (*PatchTokenForbidden) IsSuccess

func (o *PatchTokenForbidden) IsSuccess() bool

IsSuccess returns true when this patch token forbidden response has a 2xx status code

func (*PatchTokenForbidden) String

func (o *PatchTokenForbidden) String() string

type PatchTokenNoContent

type PatchTokenNoContent struct {
	Payload interface{}
}

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

No content.

func NewPatchTokenNoContent

func NewPatchTokenNoContent() *PatchTokenNoContent

NewPatchTokenNoContent creates a PatchTokenNoContent with default headers values

func (*PatchTokenNoContent) Code

func (o *PatchTokenNoContent) Code() int

Code gets the status code for the patch token no content response

func (*PatchTokenNoContent) Error

func (o *PatchTokenNoContent) Error() string

func (*PatchTokenNoContent) GetPayload

func (o *PatchTokenNoContent) GetPayload() interface{}

func (*PatchTokenNoContent) IsClientError

func (o *PatchTokenNoContent) IsClientError() bool

IsClientError returns true when this patch token no content response has a 4xx status code

func (*PatchTokenNoContent) IsCode

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

IsCode returns true when this patch token no content response a status code equal to that given

func (*PatchTokenNoContent) IsRedirect

func (o *PatchTokenNoContent) IsRedirect() bool

IsRedirect returns true when this patch token no content response has a 3xx status code

func (*PatchTokenNoContent) IsServerError

func (o *PatchTokenNoContent) IsServerError() bool

IsServerError returns true when this patch token no content response has a 5xx status code

func (*PatchTokenNoContent) IsSuccess

func (o *PatchTokenNoContent) IsSuccess() bool

IsSuccess returns true when this patch token no content response has a 2xx status code

func (*PatchTokenNoContent) String

func (o *PatchTokenNoContent) String() string

type PatchTokenNotFound

type PatchTokenNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewPatchTokenNotFound

func NewPatchTokenNotFound() *PatchTokenNotFound

NewPatchTokenNotFound creates a PatchTokenNotFound with default headers values

func (*PatchTokenNotFound) Code

func (o *PatchTokenNotFound) Code() int

Code gets the status code for the patch token not found response

func (*PatchTokenNotFound) Error

func (o *PatchTokenNotFound) Error() string

func (*PatchTokenNotFound) GetPayload

func (o *PatchTokenNotFound) GetPayload() interface{}

func (*PatchTokenNotFound) IsClientError

func (o *PatchTokenNotFound) IsClientError() bool

IsClientError returns true when this patch token not found response has a 4xx status code

func (*PatchTokenNotFound) IsCode

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

IsCode returns true when this patch token not found response a status code equal to that given

func (*PatchTokenNotFound) IsRedirect

func (o *PatchTokenNotFound) IsRedirect() bool

IsRedirect returns true when this patch token not found response has a 3xx status code

func (*PatchTokenNotFound) IsServerError

func (o *PatchTokenNotFound) IsServerError() bool

IsServerError returns true when this patch token not found response has a 5xx status code

func (*PatchTokenNotFound) IsSuccess

func (o *PatchTokenNotFound) IsSuccess() bool

IsSuccess returns true when this patch token not found response has a 2xx status code

func (*PatchTokenNotFound) String

func (o *PatchTokenNotFound) String() string

type PatchTokenOK

type PatchTokenOK struct {
	Payload *service_model.V1Token
}

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

A successful response.

func NewPatchTokenOK

func NewPatchTokenOK() *PatchTokenOK

NewPatchTokenOK creates a PatchTokenOK with default headers values

func (*PatchTokenOK) Code

func (o *PatchTokenOK) Code() int

Code gets the status code for the patch token o k response

func (*PatchTokenOK) Error

func (o *PatchTokenOK) Error() string

func (*PatchTokenOK) GetPayload

func (o *PatchTokenOK) GetPayload() *service_model.V1Token

func (*PatchTokenOK) IsClientError

func (o *PatchTokenOK) IsClientError() bool

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

func (*PatchTokenOK) IsCode

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

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

func (*PatchTokenOK) IsRedirect

func (o *PatchTokenOK) IsRedirect() bool

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

func (*PatchTokenOK) IsServerError

func (o *PatchTokenOK) IsServerError() bool

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

func (*PatchTokenOK) IsSuccess

func (o *PatchTokenOK) IsSuccess() bool

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

func (*PatchTokenOK) String

func (o *PatchTokenOK) String() string

type PatchTokenParams

type PatchTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

	/* TokenUUID.

	   UUID
	*/
	TokenUUID string

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

PatchTokenParams contains all the parameters to send to the API endpoint

for the patch token operation.

Typically these are written to a http.Request.

func NewPatchTokenParams

func NewPatchTokenParams() *PatchTokenParams

NewPatchTokenParams creates a new PatchTokenParams 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 NewPatchTokenParamsWithContext

func NewPatchTokenParamsWithContext(ctx context.Context) *PatchTokenParams

NewPatchTokenParamsWithContext creates a new PatchTokenParams object with the ability to set a context for a request.

func NewPatchTokenParamsWithHTTPClient

func NewPatchTokenParamsWithHTTPClient(client *http.Client) *PatchTokenParams

NewPatchTokenParamsWithHTTPClient creates a new PatchTokenParams object with the ability to set a custom HTTPClient for a request.

func NewPatchTokenParamsWithTimeout

func NewPatchTokenParamsWithTimeout(timeout time.Duration) *PatchTokenParams

NewPatchTokenParamsWithTimeout creates a new PatchTokenParams object with the ability to set a timeout on a request.

func (*PatchTokenParams) SetBody

func (o *PatchTokenParams) SetBody(body *service_model.V1Token)

SetBody adds the body to the patch token params

func (*PatchTokenParams) SetContext

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

SetContext adds the context to the patch token params

func (*PatchTokenParams) SetDefaults

func (o *PatchTokenParams) SetDefaults()

SetDefaults hydrates default values in the patch token params (not the query body).

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

func (*PatchTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch token params

func (*PatchTokenParams) SetTimeout

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

SetTimeout adds the timeout to the patch token params

func (*PatchTokenParams) SetTokenUUID

func (o *PatchTokenParams) SetTokenUUID(tokenUUID string)

SetTokenUUID adds the tokenUuid to the patch token params

func (*PatchTokenParams) WithBody

WithBody adds the body to the patch token params

func (*PatchTokenParams) WithContext

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

WithContext adds the context to the patch token params

func (*PatchTokenParams) WithDefaults

func (o *PatchTokenParams) WithDefaults() *PatchTokenParams

WithDefaults hydrates default values in the patch token params (not the query body).

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

func (*PatchTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch token params

func (*PatchTokenParams) WithTimeout

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

WithTimeout adds the timeout to the patch token params

func (*PatchTokenParams) WithTokenUUID

func (o *PatchTokenParams) WithTokenUUID(tokenUUID string) *PatchTokenParams

WithTokenUUID adds the tokenUUID to the patch token params

func (*PatchTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchTokenReader

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

PatchTokenReader is a Reader for the PatchToken structure.

func (*PatchTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUserDefault

type PatchUserDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

PatchUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchUserDefault

func NewPatchUserDefault(code int) *PatchUserDefault

NewPatchUserDefault creates a PatchUserDefault with default headers values

func (*PatchUserDefault) Code

func (o *PatchUserDefault) Code() int

Code gets the status code for the patch user default response

func (*PatchUserDefault) Error

func (o *PatchUserDefault) Error() string

func (*PatchUserDefault) GetPayload

func (o *PatchUserDefault) GetPayload() *service_model.RuntimeError

func (*PatchUserDefault) IsClientError

func (o *PatchUserDefault) IsClientError() bool

IsClientError returns true when this patch user default response has a 4xx status code

func (*PatchUserDefault) IsCode

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

IsCode returns true when this patch user default response a status code equal to that given

func (*PatchUserDefault) IsRedirect

func (o *PatchUserDefault) IsRedirect() bool

IsRedirect returns true when this patch user default response has a 3xx status code

func (*PatchUserDefault) IsServerError

func (o *PatchUserDefault) IsServerError() bool

IsServerError returns true when this patch user default response has a 5xx status code

func (*PatchUserDefault) IsSuccess

func (o *PatchUserDefault) IsSuccess() bool

IsSuccess returns true when this patch user default response has a 2xx status code

func (*PatchUserDefault) String

func (o *PatchUserDefault) String() string

type PatchUserForbidden

type PatchUserForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewPatchUserForbidden

func NewPatchUserForbidden() *PatchUserForbidden

NewPatchUserForbidden creates a PatchUserForbidden with default headers values

func (*PatchUserForbidden) Code

func (o *PatchUserForbidden) Code() int

Code gets the status code for the patch user forbidden response

func (*PatchUserForbidden) Error

func (o *PatchUserForbidden) Error() string

func (*PatchUserForbidden) GetPayload

func (o *PatchUserForbidden) GetPayload() interface{}

func (*PatchUserForbidden) IsClientError

func (o *PatchUserForbidden) IsClientError() bool

IsClientError returns true when this patch user forbidden response has a 4xx status code

func (*PatchUserForbidden) IsCode

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

IsCode returns true when this patch user forbidden response a status code equal to that given

func (*PatchUserForbidden) IsRedirect

func (o *PatchUserForbidden) IsRedirect() bool

IsRedirect returns true when this patch user forbidden response has a 3xx status code

func (*PatchUserForbidden) IsServerError

func (o *PatchUserForbidden) IsServerError() bool

IsServerError returns true when this patch user forbidden response has a 5xx status code

func (*PatchUserForbidden) IsSuccess

func (o *PatchUserForbidden) IsSuccess() bool

IsSuccess returns true when this patch user forbidden response has a 2xx status code

func (*PatchUserForbidden) String

func (o *PatchUserForbidden) String() string

type PatchUserNoContent

type PatchUserNoContent struct {
	Payload interface{}
}

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

No content.

func NewPatchUserNoContent

func NewPatchUserNoContent() *PatchUserNoContent

NewPatchUserNoContent creates a PatchUserNoContent with default headers values

func (*PatchUserNoContent) Code

func (o *PatchUserNoContent) Code() int

Code gets the status code for the patch user no content response

func (*PatchUserNoContent) Error

func (o *PatchUserNoContent) Error() string

func (*PatchUserNoContent) GetPayload

func (o *PatchUserNoContent) GetPayload() interface{}

func (*PatchUserNoContent) IsClientError

func (o *PatchUserNoContent) IsClientError() bool

IsClientError returns true when this patch user no content response has a 4xx status code

func (*PatchUserNoContent) IsCode

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

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

func (*PatchUserNoContent) IsRedirect

func (o *PatchUserNoContent) IsRedirect() bool

IsRedirect returns true when this patch user no content response has a 3xx status code

func (*PatchUserNoContent) IsServerError

func (o *PatchUserNoContent) IsServerError() bool

IsServerError returns true when this patch user no content response has a 5xx status code

func (*PatchUserNoContent) IsSuccess

func (o *PatchUserNoContent) IsSuccess() bool

IsSuccess returns true when this patch user no content response has a 2xx status code

func (*PatchUserNoContent) String

func (o *PatchUserNoContent) String() string

type PatchUserNotFound

type PatchUserNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewPatchUserNotFound

func NewPatchUserNotFound() *PatchUserNotFound

NewPatchUserNotFound creates a PatchUserNotFound with default headers values

func (*PatchUserNotFound) Code

func (o *PatchUserNotFound) Code() int

Code gets the status code for the patch user not found response

func (*PatchUserNotFound) Error

func (o *PatchUserNotFound) Error() string

func (*PatchUserNotFound) GetPayload

func (o *PatchUserNotFound) GetPayload() interface{}

func (*PatchUserNotFound) IsClientError

func (o *PatchUserNotFound) IsClientError() bool

IsClientError returns true when this patch user not found response has a 4xx status code

func (*PatchUserNotFound) IsCode

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

IsCode returns true when this patch user not found response a status code equal to that given

func (*PatchUserNotFound) IsRedirect

func (o *PatchUserNotFound) IsRedirect() bool

IsRedirect returns true when this patch user not found response has a 3xx status code

func (*PatchUserNotFound) IsServerError

func (o *PatchUserNotFound) IsServerError() bool

IsServerError returns true when this patch user not found response has a 5xx status code

func (*PatchUserNotFound) IsSuccess

func (o *PatchUserNotFound) IsSuccess() bool

IsSuccess returns true when this patch user not found response has a 2xx status code

func (*PatchUserNotFound) String

func (o *PatchUserNotFound) String() string

type PatchUserOK

type PatchUserOK struct {
	Payload *service_model.V1User
}

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

A successful response.

func NewPatchUserOK

func NewPatchUserOK() *PatchUserOK

NewPatchUserOK creates a PatchUserOK with default headers values

func (*PatchUserOK) Code

func (o *PatchUserOK) Code() int

Code gets the status code for the patch user o k response

func (*PatchUserOK) Error

func (o *PatchUserOK) Error() string

func (*PatchUserOK) GetPayload

func (o *PatchUserOK) GetPayload() *service_model.V1User

func (*PatchUserOK) IsClientError

func (o *PatchUserOK) IsClientError() bool

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

func (*PatchUserOK) IsCode

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

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

func (*PatchUserOK) IsRedirect

func (o *PatchUserOK) IsRedirect() bool

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

func (*PatchUserOK) IsServerError

func (o *PatchUserOK) IsServerError() bool

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

func (*PatchUserOK) IsSuccess

func (o *PatchUserOK) IsSuccess() bool

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

func (*PatchUserOK) String

func (o *PatchUserOK) String() string

type PatchUserParams

type PatchUserParams struct {

	// Body.
	Body *service_model.V1User

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

PatchUserParams contains all the parameters to send to the API endpoint

for the patch user operation.

Typically these are written to a http.Request.

func NewPatchUserParams

func NewPatchUserParams() *PatchUserParams

NewPatchUserParams creates a new PatchUserParams 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 NewPatchUserParamsWithContext

func NewPatchUserParamsWithContext(ctx context.Context) *PatchUserParams

NewPatchUserParamsWithContext creates a new PatchUserParams object with the ability to set a context for a request.

func NewPatchUserParamsWithHTTPClient

func NewPatchUserParamsWithHTTPClient(client *http.Client) *PatchUserParams

NewPatchUserParamsWithHTTPClient creates a new PatchUserParams object with the ability to set a custom HTTPClient for a request.

func NewPatchUserParamsWithTimeout

func NewPatchUserParamsWithTimeout(timeout time.Duration) *PatchUserParams

NewPatchUserParamsWithTimeout creates a new PatchUserParams object with the ability to set a timeout on a request.

func (*PatchUserParams) SetBody

func (o *PatchUserParams) SetBody(body *service_model.V1User)

SetBody adds the body to the patch user params

func (*PatchUserParams) SetContext

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

SetContext adds the context to the patch user params

func (*PatchUserParams) SetDefaults

func (o *PatchUserParams) SetDefaults()

SetDefaults hydrates default values in the patch user params (not the query body).

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

func (*PatchUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch user params

func (*PatchUserParams) SetTimeout

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

SetTimeout adds the timeout to the patch user params

func (*PatchUserParams) WithBody

WithBody adds the body to the patch user params

func (*PatchUserParams) WithContext

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

WithContext adds the context to the patch user params

func (*PatchUserParams) WithDefaults

func (o *PatchUserParams) WithDefaults() *PatchUserParams

WithDefaults hydrates default values in the patch user params (not the query body).

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

func (*PatchUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch user params

func (*PatchUserParams) WithTimeout

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

WithTimeout adds the timeout to the patch user params

func (*PatchUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchUserReader

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

PatchUserReader is a Reader for the PatchUser structure.

func (*PatchUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateTokenDefault

type UpdateTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

UpdateTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateTokenDefault

func NewUpdateTokenDefault(code int) *UpdateTokenDefault

NewUpdateTokenDefault creates a UpdateTokenDefault with default headers values

func (*UpdateTokenDefault) Code

func (o *UpdateTokenDefault) Code() int

Code gets the status code for the update token default response

func (*UpdateTokenDefault) Error

func (o *UpdateTokenDefault) Error() string

func (*UpdateTokenDefault) GetPayload

func (*UpdateTokenDefault) IsClientError

func (o *UpdateTokenDefault) IsClientError() bool

IsClientError returns true when this update token default response has a 4xx status code

func (*UpdateTokenDefault) IsCode

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

IsCode returns true when this update token default response a status code equal to that given

func (*UpdateTokenDefault) IsRedirect

func (o *UpdateTokenDefault) IsRedirect() bool

IsRedirect returns true when this update token default response has a 3xx status code

func (*UpdateTokenDefault) IsServerError

func (o *UpdateTokenDefault) IsServerError() bool

IsServerError returns true when this update token default response has a 5xx status code

func (*UpdateTokenDefault) IsSuccess

func (o *UpdateTokenDefault) IsSuccess() bool

IsSuccess returns true when this update token default response has a 2xx status code

func (*UpdateTokenDefault) String

func (o *UpdateTokenDefault) String() string

type UpdateTokenForbidden

type UpdateTokenForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewUpdateTokenForbidden

func NewUpdateTokenForbidden() *UpdateTokenForbidden

NewUpdateTokenForbidden creates a UpdateTokenForbidden with default headers values

func (*UpdateTokenForbidden) Code

func (o *UpdateTokenForbidden) Code() int

Code gets the status code for the update token forbidden response

func (*UpdateTokenForbidden) Error

func (o *UpdateTokenForbidden) Error() string

func (*UpdateTokenForbidden) GetPayload

func (o *UpdateTokenForbidden) GetPayload() interface{}

func (*UpdateTokenForbidden) IsClientError

func (o *UpdateTokenForbidden) IsClientError() bool

IsClientError returns true when this update token forbidden response has a 4xx status code

func (*UpdateTokenForbidden) IsCode

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

IsCode returns true when this update token forbidden response a status code equal to that given

func (*UpdateTokenForbidden) IsRedirect

func (o *UpdateTokenForbidden) IsRedirect() bool

IsRedirect returns true when this update token forbidden response has a 3xx status code

func (*UpdateTokenForbidden) IsServerError

func (o *UpdateTokenForbidden) IsServerError() bool

IsServerError returns true when this update token forbidden response has a 5xx status code

func (*UpdateTokenForbidden) IsSuccess

func (o *UpdateTokenForbidden) IsSuccess() bool

IsSuccess returns true when this update token forbidden response has a 2xx status code

func (*UpdateTokenForbidden) String

func (o *UpdateTokenForbidden) String() string

type UpdateTokenNoContent

type UpdateTokenNoContent struct {
	Payload interface{}
}

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

No content.

func NewUpdateTokenNoContent

func NewUpdateTokenNoContent() *UpdateTokenNoContent

NewUpdateTokenNoContent creates a UpdateTokenNoContent with default headers values

func (*UpdateTokenNoContent) Code

func (o *UpdateTokenNoContent) Code() int

Code gets the status code for the update token no content response

func (*UpdateTokenNoContent) Error

func (o *UpdateTokenNoContent) Error() string

func (*UpdateTokenNoContent) GetPayload

func (o *UpdateTokenNoContent) GetPayload() interface{}

func (*UpdateTokenNoContent) IsClientError

func (o *UpdateTokenNoContent) IsClientError() bool

IsClientError returns true when this update token no content response has a 4xx status code

func (*UpdateTokenNoContent) IsCode

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

IsCode returns true when this update token no content response a status code equal to that given

func (*UpdateTokenNoContent) IsRedirect

func (o *UpdateTokenNoContent) IsRedirect() bool

IsRedirect returns true when this update token no content response has a 3xx status code

func (*UpdateTokenNoContent) IsServerError

func (o *UpdateTokenNoContent) IsServerError() bool

IsServerError returns true when this update token no content response has a 5xx status code

func (*UpdateTokenNoContent) IsSuccess

func (o *UpdateTokenNoContent) IsSuccess() bool

IsSuccess returns true when this update token no content response has a 2xx status code

func (*UpdateTokenNoContent) String

func (o *UpdateTokenNoContent) String() string

type UpdateTokenNotFound

type UpdateTokenNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewUpdateTokenNotFound

func NewUpdateTokenNotFound() *UpdateTokenNotFound

NewUpdateTokenNotFound creates a UpdateTokenNotFound with default headers values

func (*UpdateTokenNotFound) Code

func (o *UpdateTokenNotFound) Code() int

Code gets the status code for the update token not found response

func (*UpdateTokenNotFound) Error

func (o *UpdateTokenNotFound) Error() string

func (*UpdateTokenNotFound) GetPayload

func (o *UpdateTokenNotFound) GetPayload() interface{}

func (*UpdateTokenNotFound) IsClientError

func (o *UpdateTokenNotFound) IsClientError() bool

IsClientError returns true when this update token not found response has a 4xx status code

func (*UpdateTokenNotFound) IsCode

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

IsCode returns true when this update token not found response a status code equal to that given

func (*UpdateTokenNotFound) IsRedirect

func (o *UpdateTokenNotFound) IsRedirect() bool

IsRedirect returns true when this update token not found response has a 3xx status code

func (*UpdateTokenNotFound) IsServerError

func (o *UpdateTokenNotFound) IsServerError() bool

IsServerError returns true when this update token not found response has a 5xx status code

func (*UpdateTokenNotFound) IsSuccess

func (o *UpdateTokenNotFound) IsSuccess() bool

IsSuccess returns true when this update token not found response has a 2xx status code

func (*UpdateTokenNotFound) String

func (o *UpdateTokenNotFound) String() string

type UpdateTokenOK

type UpdateTokenOK struct {
	Payload *service_model.V1Token
}

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

A successful response.

func NewUpdateTokenOK

func NewUpdateTokenOK() *UpdateTokenOK

NewUpdateTokenOK creates a UpdateTokenOK with default headers values

func (*UpdateTokenOK) Code

func (o *UpdateTokenOK) Code() int

Code gets the status code for the update token o k response

func (*UpdateTokenOK) Error

func (o *UpdateTokenOK) Error() string

func (*UpdateTokenOK) GetPayload

func (o *UpdateTokenOK) GetPayload() *service_model.V1Token

func (*UpdateTokenOK) IsClientError

func (o *UpdateTokenOK) IsClientError() bool

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

func (*UpdateTokenOK) IsCode

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

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

func (*UpdateTokenOK) IsRedirect

func (o *UpdateTokenOK) IsRedirect() bool

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

func (*UpdateTokenOK) IsServerError

func (o *UpdateTokenOK) IsServerError() bool

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

func (*UpdateTokenOK) IsSuccess

func (o *UpdateTokenOK) IsSuccess() bool

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

func (*UpdateTokenOK) String

func (o *UpdateTokenOK) String() string

type UpdateTokenParams

type UpdateTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

	/* TokenUUID.

	   UUID
	*/
	TokenUUID string

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

UpdateTokenParams contains all the parameters to send to the API endpoint

for the update token operation.

Typically these are written to a http.Request.

func NewUpdateTokenParams

func NewUpdateTokenParams() *UpdateTokenParams

NewUpdateTokenParams creates a new UpdateTokenParams 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 NewUpdateTokenParamsWithContext

func NewUpdateTokenParamsWithContext(ctx context.Context) *UpdateTokenParams

NewUpdateTokenParamsWithContext creates a new UpdateTokenParams object with the ability to set a context for a request.

func NewUpdateTokenParamsWithHTTPClient

func NewUpdateTokenParamsWithHTTPClient(client *http.Client) *UpdateTokenParams

NewUpdateTokenParamsWithHTTPClient creates a new UpdateTokenParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTokenParamsWithTimeout

func NewUpdateTokenParamsWithTimeout(timeout time.Duration) *UpdateTokenParams

NewUpdateTokenParamsWithTimeout creates a new UpdateTokenParams object with the ability to set a timeout on a request.

func (*UpdateTokenParams) SetBody

func (o *UpdateTokenParams) SetBody(body *service_model.V1Token)

SetBody adds the body to the update token params

func (*UpdateTokenParams) SetContext

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

SetContext adds the context to the update token params

func (*UpdateTokenParams) SetDefaults

func (o *UpdateTokenParams) SetDefaults()

SetDefaults hydrates default values in the update token params (not the query body).

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

func (*UpdateTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update token params

func (*UpdateTokenParams) SetTimeout

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

SetTimeout adds the timeout to the update token params

func (*UpdateTokenParams) SetTokenUUID

func (o *UpdateTokenParams) SetTokenUUID(tokenUUID string)

SetTokenUUID adds the tokenUuid to the update token params

func (*UpdateTokenParams) WithBody

WithBody adds the body to the update token params

func (*UpdateTokenParams) WithContext

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

WithContext adds the context to the update token params

func (*UpdateTokenParams) WithDefaults

func (o *UpdateTokenParams) WithDefaults() *UpdateTokenParams

WithDefaults hydrates default values in the update token params (not the query body).

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

func (*UpdateTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update token params

func (*UpdateTokenParams) WithTimeout

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

WithTimeout adds the timeout to the update token params

func (*UpdateTokenParams) WithTokenUUID

func (o *UpdateTokenParams) WithTokenUUID(tokenUUID string) *UpdateTokenParams

WithTokenUUID adds the tokenUUID to the update token params

func (*UpdateTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateTokenReader

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

UpdateTokenReader is a Reader for the UpdateToken structure.

func (*UpdateTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserDefault

type UpdateUserDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}

UpdateUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateUserDefault

func NewUpdateUserDefault(code int) *UpdateUserDefault

NewUpdateUserDefault creates a UpdateUserDefault with default headers values

func (*UpdateUserDefault) Code

func (o *UpdateUserDefault) Code() int

Code gets the status code for the update user default response

func (*UpdateUserDefault) Error

func (o *UpdateUserDefault) Error() string

func (*UpdateUserDefault) GetPayload

func (o *UpdateUserDefault) GetPayload() *service_model.RuntimeError

func (*UpdateUserDefault) IsClientError

func (o *UpdateUserDefault) IsClientError() bool

IsClientError returns true when this update user default response has a 4xx status code

func (*UpdateUserDefault) IsCode

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

IsCode returns true when this update user default response a status code equal to that given

func (*UpdateUserDefault) IsRedirect

func (o *UpdateUserDefault) IsRedirect() bool

IsRedirect returns true when this update user default response has a 3xx status code

func (*UpdateUserDefault) IsServerError

func (o *UpdateUserDefault) IsServerError() bool

IsServerError returns true when this update user default response has a 5xx status code

func (*UpdateUserDefault) IsSuccess

func (o *UpdateUserDefault) IsSuccess() bool

IsSuccess returns true when this update user default response has a 2xx status code

func (*UpdateUserDefault) String

func (o *UpdateUserDefault) String() string

type UpdateUserForbidden

type UpdateUserForbidden struct {
	Payload interface{}
}

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

You don't have permission to access the resource.

func NewUpdateUserForbidden

func NewUpdateUserForbidden() *UpdateUserForbidden

NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values

func (*UpdateUserForbidden) Code

func (o *UpdateUserForbidden) Code() int

Code gets the status code for the update user forbidden response

func (*UpdateUserForbidden) Error

func (o *UpdateUserForbidden) Error() string

func (*UpdateUserForbidden) GetPayload

func (o *UpdateUserForbidden) GetPayload() interface{}

func (*UpdateUserForbidden) IsClientError

func (o *UpdateUserForbidden) IsClientError() bool

IsClientError returns true when this update user forbidden response has a 4xx status code

func (*UpdateUserForbidden) IsCode

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

IsCode returns true when this update user forbidden response a status code equal to that given

func (*UpdateUserForbidden) IsRedirect

func (o *UpdateUserForbidden) IsRedirect() bool

IsRedirect returns true when this update user forbidden response has a 3xx status code

func (*UpdateUserForbidden) IsServerError

func (o *UpdateUserForbidden) IsServerError() bool

IsServerError returns true when this update user forbidden response has a 5xx status code

func (*UpdateUserForbidden) IsSuccess

func (o *UpdateUserForbidden) IsSuccess() bool

IsSuccess returns true when this update user forbidden response has a 2xx status code

func (*UpdateUserForbidden) String

func (o *UpdateUserForbidden) String() string

type UpdateUserNoContent

type UpdateUserNoContent struct {
	Payload interface{}
}

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

No content.

func NewUpdateUserNoContent

func NewUpdateUserNoContent() *UpdateUserNoContent

NewUpdateUserNoContent creates a UpdateUserNoContent with default headers values

func (*UpdateUserNoContent) Code

func (o *UpdateUserNoContent) Code() int

Code gets the status code for the update user no content response

func (*UpdateUserNoContent) Error

func (o *UpdateUserNoContent) Error() string

func (*UpdateUserNoContent) GetPayload

func (o *UpdateUserNoContent) GetPayload() interface{}

func (*UpdateUserNoContent) IsClientError

func (o *UpdateUserNoContent) IsClientError() bool

IsClientError returns true when this update user no content response has a 4xx status code

func (*UpdateUserNoContent) IsCode

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

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

func (*UpdateUserNoContent) IsRedirect

func (o *UpdateUserNoContent) IsRedirect() bool

IsRedirect returns true when this update user no content response has a 3xx status code

func (*UpdateUserNoContent) IsServerError

func (o *UpdateUserNoContent) IsServerError() bool

IsServerError returns true when this update user no content response has a 5xx status code

func (*UpdateUserNoContent) IsSuccess

func (o *UpdateUserNoContent) IsSuccess() bool

IsSuccess returns true when this update user no content response has a 2xx status code

func (*UpdateUserNoContent) String

func (o *UpdateUserNoContent) String() string

type UpdateUserNotFound

type UpdateUserNotFound struct {
	Payload interface{}
}

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

Resource does not exist.

func NewUpdateUserNotFound

func NewUpdateUserNotFound() *UpdateUserNotFound

NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values

func (*UpdateUserNotFound) Code

func (o *UpdateUserNotFound) Code() int

Code gets the status code for the update user not found response

func (*UpdateUserNotFound) Error

func (o *UpdateUserNotFound) Error() string

func (*UpdateUserNotFound) GetPayload

func (o *UpdateUserNotFound) GetPayload() interface{}

func (*UpdateUserNotFound) IsClientError

func (o *UpdateUserNotFound) IsClientError() bool

IsClientError returns true when this update user not found response has a 4xx status code

func (*UpdateUserNotFound) IsCode

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

IsCode returns true when this update user not found response a status code equal to that given

func (*UpdateUserNotFound) IsRedirect

func (o *UpdateUserNotFound) IsRedirect() bool

IsRedirect returns true when this update user not found response has a 3xx status code

func (*UpdateUserNotFound) IsServerError

func (o *UpdateUserNotFound) IsServerError() bool

IsServerError returns true when this update user not found response has a 5xx status code

func (*UpdateUserNotFound) IsSuccess

func (o *UpdateUserNotFound) IsSuccess() bool

IsSuccess returns true when this update user not found response has a 2xx status code

func (*UpdateUserNotFound) String

func (o *UpdateUserNotFound) String() string

type UpdateUserOK

type UpdateUserOK struct {
	Payload *service_model.V1User
}

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

A successful response.

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Code

func (o *UpdateUserOK) Code() int

Code gets the status code for the update user o k response

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *service_model.V1User

func (*UpdateUserOK) IsClientError

func (o *UpdateUserOK) IsClientError() bool

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

func (*UpdateUserOK) IsCode

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

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

func (*UpdateUserOK) IsRedirect

func (o *UpdateUserOK) IsRedirect() bool

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

func (*UpdateUserOK) IsServerError

func (o *UpdateUserOK) IsServerError() bool

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

func (*UpdateUserOK) IsSuccess

func (o *UpdateUserOK) IsSuccess() bool

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

func (*UpdateUserOK) String

func (o *UpdateUserOK) String() string

type UpdateUserParams

type UpdateUserParams struct {

	// Body.
	Body *service_model.V1User

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

UpdateUserParams contains all the parameters to send to the API endpoint

for the update user operation.

Typically these are written to a http.Request.

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams 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 NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.

func (*UpdateUserParams) SetBody

func (o *UpdateUserParams) SetBody(body *service_model.V1User)

SetBody adds the body to the update user params

func (*UpdateUserParams) SetContext

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

SetContext adds the context to the update user params

func (*UpdateUserParams) SetDefaults

func (o *UpdateUserParams) SetDefaults()

SetDefaults hydrates default values in the update user params (not the query body).

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

func (*UpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithBody

WithBody adds the body to the update user params

func (*UpdateUserParams) WithContext

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

WithContext adds the context to the update user params

func (*UpdateUserParams) WithDefaults

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

WithDefaults hydrates default values in the update user params (not the query body).

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

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithTimeout

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

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateUserReader

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

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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