users_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 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 added in v1.15.0

GetHistory users history

func (*Client) GetSuggestions added in v1.15.0

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

	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 added in v1.21.0

func (o *CreateTokenDefault) IsClientError() bool

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

func (*CreateTokenDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTokenDefault) IsRedirect() bool

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

func (*CreateTokenDefault) IsServerError added in v1.21.0

func (o *CreateTokenDefault) IsServerError() bool

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

func (*CreateTokenDefault) IsSuccess added in v1.21.0

func (o *CreateTokenDefault) IsSuccess() bool

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

func (*CreateTokenDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *CreateTokenForbidden) IsClientError() bool

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

func (*CreateTokenForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTokenForbidden) IsRedirect() bool

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

func (*CreateTokenForbidden) IsServerError added in v1.21.0

func (o *CreateTokenForbidden) IsServerError() bool

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

func (*CreateTokenForbidden) IsSuccess added in v1.21.0

func (o *CreateTokenForbidden) IsSuccess() bool

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

func (*CreateTokenForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *CreateTokenNoContent) IsClientError() bool

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

func (*CreateTokenNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTokenNoContent) IsRedirect() bool

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

func (*CreateTokenNoContent) IsServerError added in v1.21.0

func (o *CreateTokenNoContent) IsServerError() bool

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

func (*CreateTokenNoContent) IsSuccess added in v1.21.0

func (o *CreateTokenNoContent) IsSuccess() bool

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

func (*CreateTokenNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *CreateTokenNotFound) IsClientError() bool

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

func (*CreateTokenNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTokenNotFound) IsRedirect() bool

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

func (*CreateTokenNotFound) IsServerError added in v1.21.0

func (o *CreateTokenNotFound) IsServerError() bool

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

func (*CreateTokenNotFound) IsSuccess added in v1.21.0

func (o *CreateTokenNotFound) IsSuccess() bool

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

func (*CreateTokenNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *CreateTokenOK) IsClientError() bool

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

func (*CreateTokenOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *CreateTokenOK) IsRedirect() bool

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

func (*CreateTokenOK) IsServerError added in v1.21.0

func (o *CreateTokenOK) IsServerError() bool

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

func (*CreateTokenOK) IsSuccess added in v1.21.0

func (o *CreateTokenOK) IsSuccess() bool

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

func (*CreateTokenOK) String added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenDefault) IsClientError() bool

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

func (*DeleteTokenDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenDefault) IsRedirect() bool

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

func (*DeleteTokenDefault) IsServerError added in v1.21.0

func (o *DeleteTokenDefault) IsServerError() bool

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

func (*DeleteTokenDefault) IsSuccess added in v1.21.0

func (o *DeleteTokenDefault) IsSuccess() bool

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

func (*DeleteTokenDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *DeleteTokenForbidden) IsClientError() bool

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

func (*DeleteTokenForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenForbidden) IsRedirect() bool

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

func (*DeleteTokenForbidden) IsServerError added in v1.21.0

func (o *DeleteTokenForbidden) IsServerError() bool

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

func (*DeleteTokenForbidden) IsSuccess added in v1.21.0

func (o *DeleteTokenForbidden) IsSuccess() bool

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

func (*DeleteTokenForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *DeleteTokenNoContent) IsClientError() bool

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

func (*DeleteTokenNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenNoContent) IsRedirect() bool

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

func (*DeleteTokenNoContent) IsServerError added in v1.21.0

func (o *DeleteTokenNoContent) IsServerError() bool

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

func (*DeleteTokenNoContent) IsSuccess added in v1.21.0

func (o *DeleteTokenNoContent) IsSuccess() bool

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

func (*DeleteTokenNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *DeleteTokenNotFound) IsClientError() bool

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

func (*DeleteTokenNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenNotFound) IsRedirect() bool

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

func (*DeleteTokenNotFound) IsServerError added in v1.21.0

func (o *DeleteTokenNotFound) IsServerError() bool

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

func (*DeleteTokenNotFound) IsSuccess added in v1.21.0

func (o *DeleteTokenNotFound) IsSuccess() bool

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

func (*DeleteTokenNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *DeleteTokenOK) IsClientError() bool

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

func (*DeleteTokenOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *DeleteTokenOK) IsRedirect() bool

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

func (*DeleteTokenOK) IsServerError added in v1.21.0

func (o *DeleteTokenOK) IsServerError() bool

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

func (*DeleteTokenOK) IsSuccess added in v1.21.0

func (o *DeleteTokenOK) IsSuccess() bool

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

func (*DeleteTokenOK) String added in v1.21.0

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 added in v1.15.0

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 added in v1.15.0

func NewGetHistoryDefault(code int) *GetHistoryDefault

NewGetHistoryDefault creates a GetHistoryDefault with default headers values

func (*GetHistoryDefault) Code added in v1.15.0

func (o *GetHistoryDefault) Code() int

Code gets the status code for the get history default response

func (*GetHistoryDefault) Error added in v1.15.0

func (o *GetHistoryDefault) Error() string

func (*GetHistoryDefault) GetPayload added in v1.15.0

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

func (*GetHistoryDefault) IsClientError added in v1.21.0

func (o *GetHistoryDefault) IsClientError() bool

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

func (*GetHistoryDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetHistoryDefault) IsRedirect() bool

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

func (*GetHistoryDefault) IsServerError added in v1.21.0

func (o *GetHistoryDefault) IsServerError() bool

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

func (*GetHistoryDefault) IsSuccess added in v1.21.0

func (o *GetHistoryDefault) IsSuccess() bool

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

func (*GetHistoryDefault) String added in v1.21.0

func (o *GetHistoryDefault) String() string

type GetHistoryForbidden added in v1.15.0

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 added in v1.15.0

func NewGetHistoryForbidden() *GetHistoryForbidden

NewGetHistoryForbidden creates a GetHistoryForbidden with default headers values

func (*GetHistoryForbidden) Code added in v1.22.0

func (o *GetHistoryForbidden) Code() int

Code gets the status code for the get history forbidden response

func (*GetHistoryForbidden) Error added in v1.15.0

func (o *GetHistoryForbidden) Error() string

func (*GetHistoryForbidden) GetPayload added in v1.15.0

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

func (*GetHistoryForbidden) IsClientError added in v1.21.0

func (o *GetHistoryForbidden) IsClientError() bool

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

func (*GetHistoryForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetHistoryForbidden) IsRedirect() bool

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

func (*GetHistoryForbidden) IsServerError added in v1.21.0

func (o *GetHistoryForbidden) IsServerError() bool

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

func (*GetHistoryForbidden) IsSuccess added in v1.21.0

func (o *GetHistoryForbidden) IsSuccess() bool

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

func (*GetHistoryForbidden) String added in v1.21.0

func (o *GetHistoryForbidden) String() string

type GetHistoryNoContent added in v1.15.0

type GetHistoryNoContent struct {
	Payload interface{}
}
GetHistoryNoContent describes a response with status code 204, with default header values.

No content.

func NewGetHistoryNoContent added in v1.15.0

func NewGetHistoryNoContent() *GetHistoryNoContent

NewGetHistoryNoContent creates a GetHistoryNoContent with default headers values

func (*GetHistoryNoContent) Code added in v1.22.0

func (o *GetHistoryNoContent) Code() int

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

func (*GetHistoryNoContent) Error added in v1.15.0

func (o *GetHistoryNoContent) Error() string

func (*GetHistoryNoContent) GetPayload added in v1.15.0

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

func (*GetHistoryNoContent) IsClientError added in v1.21.0

func (o *GetHistoryNoContent) IsClientError() bool

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

func (*GetHistoryNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetHistoryNoContent) IsRedirect() bool

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

func (*GetHistoryNoContent) IsServerError added in v1.21.0

func (o *GetHistoryNoContent) IsServerError() bool

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

func (*GetHistoryNoContent) IsSuccess added in v1.21.0

func (o *GetHistoryNoContent) IsSuccess() bool

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

func (*GetHistoryNoContent) String added in v1.21.0

func (o *GetHistoryNoContent) String() string

type GetHistoryNotFound added in v1.15.0

type GetHistoryNotFound struct {
	Payload interface{}
}
GetHistoryNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetHistoryNotFound added in v1.15.0

func NewGetHistoryNotFound() *GetHistoryNotFound

NewGetHistoryNotFound creates a GetHistoryNotFound with default headers values

func (*GetHistoryNotFound) Code added in v1.22.0

func (o *GetHistoryNotFound) Code() int

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

func (*GetHistoryNotFound) Error added in v1.15.0

func (o *GetHistoryNotFound) Error() string

func (*GetHistoryNotFound) GetPayload added in v1.15.0

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

func (*GetHistoryNotFound) IsClientError added in v1.21.0

func (o *GetHistoryNotFound) IsClientError() bool

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

func (*GetHistoryNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetHistoryNotFound) IsRedirect() bool

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

func (*GetHistoryNotFound) IsServerError added in v1.21.0

func (o *GetHistoryNotFound) IsServerError() bool

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

func (*GetHistoryNotFound) IsSuccess added in v1.21.0

func (o *GetHistoryNotFound) IsSuccess() bool

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

func (*GetHistoryNotFound) String added in v1.21.0

func (o *GetHistoryNotFound) String() string

type GetHistoryOK added in v1.15.0

type GetHistoryOK struct {
	Payload *service_model.V1ListActivitiesResponse
}
GetHistoryOK describes a response with status code 200, with default header values.

A successful response.

func NewGetHistoryOK added in v1.15.0

func NewGetHistoryOK() *GetHistoryOK

NewGetHistoryOK creates a GetHistoryOK with default headers values

func (*GetHistoryOK) Code added in v1.22.0

func (o *GetHistoryOK) Code() int

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

func (*GetHistoryOK) Error added in v1.15.0

func (o *GetHistoryOK) Error() string

func (*GetHistoryOK) GetPayload added in v1.15.0

func (*GetHistoryOK) IsClientError added in v1.21.0

func (o *GetHistoryOK) IsClientError() bool

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

func (*GetHistoryOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetHistoryOK) IsRedirect() bool

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

func (*GetHistoryOK) IsServerError added in v1.21.0

func (o *GetHistoryOK) IsServerError() bool

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

func (*GetHistoryOK) IsSuccess added in v1.21.0

func (o *GetHistoryOK) IsSuccess() bool

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

func (*GetHistoryOK) String added in v1.21.0

func (o *GetHistoryOK) String() string

type GetHistoryParams added in v1.15.0

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 added in v1.15.0

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 added in v1.15.0

func NewGetHistoryParamsWithContext(ctx context.Context) *GetHistoryParams

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

func NewGetHistoryParamsWithHTTPClient added in v1.15.0

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 added in v1.15.0

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 added in v1.15.0

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

SetContext adds the context to the get history params

func (*GetHistoryParams) SetDefaults added in v1.15.0

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 added in v1.15.0

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

SetHTTPClient adds the HTTPClient to the get history params

func (*GetHistoryParams) SetLimit added in v1.15.0

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

SetLimit adds the limit to the get history params

func (*GetHistoryParams) SetNoPage added in v1.15.0

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

SetNoPage adds the noPage to the get history params

func (*GetHistoryParams) SetOffset added in v1.15.0

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

SetOffset adds the offset to the get history params

func (*GetHistoryParams) SetQuery added in v1.15.0

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

SetQuery adds the query to the get history params

func (*GetHistoryParams) SetSort added in v1.15.0

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

SetSort adds the sort to the get history params

func (*GetHistoryParams) SetTimeout added in v1.15.0

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

SetTimeout adds the timeout to the get history params

func (*GetHistoryParams) WithContext added in v1.15.0

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

WithContext adds the context to the get history params

func (*GetHistoryParams) WithDefaults added in v1.15.0

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 added in v1.15.0

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

WithHTTPClient adds the HTTPClient to the get history params

func (*GetHistoryParams) WithLimit added in v1.15.0

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

WithLimit adds the limit to the get history params

func (*GetHistoryParams) WithNoPage added in v1.15.0

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

WithNoPage adds the noPage to the get history params

func (*GetHistoryParams) WithOffset added in v1.15.0

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

WithOffset adds the offset to the get history params

func (*GetHistoryParams) WithQuery added in v1.15.0

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

WithQuery adds the query to the get history params

func (*GetHistoryParams) WithSort added in v1.15.0

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

WithSort adds the sort to the get history params

func (*GetHistoryParams) WithTimeout added in v1.15.0

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

WithTimeout adds the timeout to the get history params

func (*GetHistoryParams) WriteToRequest added in v1.15.0

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

WriteToRequest writes these params to a swagger request

type GetHistoryReader added in v1.15.0

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

GetHistoryReader is a Reader for the GetHistory structure.

func (*GetHistoryReader) ReadResponse added in v1.15.0

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

ReadResponse reads a server response into the received o.

type GetSuggestionsDefault added in v1.15.0

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 added in v1.15.0

func NewGetSuggestionsDefault(code int) *GetSuggestionsDefault

NewGetSuggestionsDefault creates a GetSuggestionsDefault with default headers values

func (*GetSuggestionsDefault) Code added in v1.15.0

func (o *GetSuggestionsDefault) Code() int

Code gets the status code for the get suggestions default response

func (*GetSuggestionsDefault) Error added in v1.15.0

func (o *GetSuggestionsDefault) Error() string

func (*GetSuggestionsDefault) GetPayload added in v1.15.0

func (*GetSuggestionsDefault) IsClientError added in v1.21.0

func (o *GetSuggestionsDefault) IsClientError() bool

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

func (*GetSuggestionsDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetSuggestionsDefault) IsRedirect() bool

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

func (*GetSuggestionsDefault) IsServerError added in v1.21.0

func (o *GetSuggestionsDefault) IsServerError() bool

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

func (*GetSuggestionsDefault) IsSuccess added in v1.21.0

func (o *GetSuggestionsDefault) IsSuccess() bool

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

func (*GetSuggestionsDefault) String added in v1.21.0

func (o *GetSuggestionsDefault) String() string

type GetSuggestionsForbidden added in v1.15.0

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 added in v1.15.0

func NewGetSuggestionsForbidden() *GetSuggestionsForbidden

NewGetSuggestionsForbidden creates a GetSuggestionsForbidden with default headers values

func (*GetSuggestionsForbidden) Code added in v1.22.0

func (o *GetSuggestionsForbidden) Code() int

Code gets the status code for the get suggestions forbidden response

func (*GetSuggestionsForbidden) Error added in v1.15.0

func (o *GetSuggestionsForbidden) Error() string

func (*GetSuggestionsForbidden) GetPayload added in v1.15.0

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

func (*GetSuggestionsForbidden) IsClientError added in v1.21.0

func (o *GetSuggestionsForbidden) IsClientError() bool

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

func (*GetSuggestionsForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetSuggestionsForbidden) IsRedirect() bool

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

func (*GetSuggestionsForbidden) IsServerError added in v1.21.0

func (o *GetSuggestionsForbidden) IsServerError() bool

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

func (*GetSuggestionsForbidden) IsSuccess added in v1.21.0

func (o *GetSuggestionsForbidden) IsSuccess() bool

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

func (*GetSuggestionsForbidden) String added in v1.21.0

func (o *GetSuggestionsForbidden) String() string

type GetSuggestionsNoContent added in v1.15.0

type GetSuggestionsNoContent struct {
	Payload interface{}
}
GetSuggestionsNoContent describes a response with status code 204, with default header values.

No content.

func NewGetSuggestionsNoContent added in v1.15.0

func NewGetSuggestionsNoContent() *GetSuggestionsNoContent

NewGetSuggestionsNoContent creates a GetSuggestionsNoContent with default headers values

func (*GetSuggestionsNoContent) Code added in v1.22.0

func (o *GetSuggestionsNoContent) Code() int

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

func (*GetSuggestionsNoContent) Error added in v1.15.0

func (o *GetSuggestionsNoContent) Error() string

func (*GetSuggestionsNoContent) GetPayload added in v1.15.0

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

func (*GetSuggestionsNoContent) IsClientError added in v1.21.0

func (o *GetSuggestionsNoContent) IsClientError() bool

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

func (*GetSuggestionsNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetSuggestionsNoContent) IsRedirect() bool

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

func (*GetSuggestionsNoContent) IsServerError added in v1.21.0

func (o *GetSuggestionsNoContent) IsServerError() bool

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

func (*GetSuggestionsNoContent) IsSuccess added in v1.21.0

func (o *GetSuggestionsNoContent) IsSuccess() bool

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

func (*GetSuggestionsNoContent) String added in v1.21.0

func (o *GetSuggestionsNoContent) String() string

type GetSuggestionsNotFound added in v1.15.0

type GetSuggestionsNotFound struct {
	Payload interface{}
}
GetSuggestionsNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetSuggestionsNotFound added in v1.15.0

func NewGetSuggestionsNotFound() *GetSuggestionsNotFound

NewGetSuggestionsNotFound creates a GetSuggestionsNotFound with default headers values

func (*GetSuggestionsNotFound) Code added in v1.22.0

func (o *GetSuggestionsNotFound) Code() int

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

func (*GetSuggestionsNotFound) Error added in v1.15.0

func (o *GetSuggestionsNotFound) Error() string

func (*GetSuggestionsNotFound) GetPayload added in v1.15.0

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

func (*GetSuggestionsNotFound) IsClientError added in v1.21.0

func (o *GetSuggestionsNotFound) IsClientError() bool

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

func (*GetSuggestionsNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetSuggestionsNotFound) IsRedirect() bool

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

func (*GetSuggestionsNotFound) IsServerError added in v1.21.0

func (o *GetSuggestionsNotFound) IsServerError() bool

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

func (*GetSuggestionsNotFound) IsSuccess added in v1.21.0

func (o *GetSuggestionsNotFound) IsSuccess() bool

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

func (*GetSuggestionsNotFound) String added in v1.21.0

func (o *GetSuggestionsNotFound) String() string

type GetSuggestionsOK added in v1.15.0

type GetSuggestionsOK struct {
	Payload interface{}
}
GetSuggestionsOK describes a response with status code 200, with default header values.

A successful response.

func NewGetSuggestionsOK added in v1.15.0

func NewGetSuggestionsOK() *GetSuggestionsOK

NewGetSuggestionsOK creates a GetSuggestionsOK with default headers values

func (*GetSuggestionsOK) Code added in v1.22.0

func (o *GetSuggestionsOK) Code() int

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

func (*GetSuggestionsOK) Error added in v1.15.0

func (o *GetSuggestionsOK) Error() string

func (*GetSuggestionsOK) GetPayload added in v1.15.0

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

func (*GetSuggestionsOK) IsClientError added in v1.21.0

func (o *GetSuggestionsOK) IsClientError() bool

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

func (*GetSuggestionsOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetSuggestionsOK) IsRedirect() bool

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

func (*GetSuggestionsOK) IsServerError added in v1.21.0

func (o *GetSuggestionsOK) IsServerError() bool

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

func (*GetSuggestionsOK) IsSuccess added in v1.21.0

func (o *GetSuggestionsOK) IsSuccess() bool

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

func (*GetSuggestionsOK) String added in v1.21.0

func (o *GetSuggestionsOK) String() string

type GetSuggestionsParams added in v1.15.0

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 added in v1.15.0

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 added in v1.15.0

func NewGetSuggestionsParamsWithContext(ctx context.Context) *GetSuggestionsParams

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

func NewGetSuggestionsParamsWithHTTPClient added in v1.15.0

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 added in v1.15.0

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 added in v1.15.0

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

SetContext adds the context to the get suggestions params

func (*GetSuggestionsParams) SetDefaults added in v1.15.0

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 added in v1.15.0

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

SetHTTPClient adds the HTTPClient to the get suggestions params

func (*GetSuggestionsParams) SetLimit added in v1.15.0

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

SetLimit adds the limit to the get suggestions params

func (*GetSuggestionsParams) SetNoPage added in v1.15.0

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

SetNoPage adds the noPage to the get suggestions params

func (*GetSuggestionsParams) SetOffset added in v1.15.0

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

SetOffset adds the offset to the get suggestions params

func (*GetSuggestionsParams) SetQuery added in v1.15.0

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

SetQuery adds the query to the get suggestions params

func (*GetSuggestionsParams) SetSort added in v1.15.0

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

SetSort adds the sort to the get suggestions params

func (*GetSuggestionsParams) SetTimeout added in v1.15.0

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

SetTimeout adds the timeout to the get suggestions params

func (*GetSuggestionsParams) WithContext added in v1.15.0

WithContext adds the context to the get suggestions params

func (*GetSuggestionsParams) WithDefaults added in v1.15.0

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 added in v1.15.0

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

WithHTTPClient adds the HTTPClient to the get suggestions params

func (*GetSuggestionsParams) WithLimit added in v1.15.0

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

WithLimit adds the limit to the get suggestions params

func (*GetSuggestionsParams) WithNoPage added in v1.15.0

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

WithNoPage adds the noPage to the get suggestions params

func (*GetSuggestionsParams) WithOffset added in v1.15.0

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

WithOffset adds the offset to the get suggestions params

func (*GetSuggestionsParams) WithQuery added in v1.15.0

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

WithQuery adds the query to the get suggestions params

func (*GetSuggestionsParams) WithSort added in v1.15.0

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

WithSort adds the sort to the get suggestions params

func (*GetSuggestionsParams) WithTimeout added in v1.15.0

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

WithTimeout adds the timeout to the get suggestions params

func (*GetSuggestionsParams) WriteToRequest added in v1.15.0

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

WriteToRequest writes these params to a swagger request

type GetSuggestionsReader added in v1.15.0

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

GetSuggestionsReader is a Reader for the GetSuggestions structure.

func (*GetSuggestionsReader) ReadResponse added in v1.15.0

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 added in v1.21.0

func (o *GetTokenDefault) IsClientError() bool

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

func (*GetTokenDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetTokenDefault) IsRedirect() bool

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

func (*GetTokenDefault) IsServerError added in v1.21.0

func (o *GetTokenDefault) IsServerError() bool

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

func (*GetTokenDefault) IsSuccess added in v1.21.0

func (o *GetTokenDefault) IsSuccess() bool

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

func (*GetTokenDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetTokenForbidden) IsClientError() bool

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

func (*GetTokenForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetTokenForbidden) IsRedirect() bool

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

func (*GetTokenForbidden) IsServerError added in v1.21.0

func (o *GetTokenForbidden) IsServerError() bool

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

func (*GetTokenForbidden) IsSuccess added in v1.21.0

func (o *GetTokenForbidden) IsSuccess() bool

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

func (*GetTokenForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetTokenNoContent) IsClientError() bool

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

func (*GetTokenNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetTokenNoContent) IsRedirect() bool

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

func (*GetTokenNoContent) IsServerError added in v1.21.0

func (o *GetTokenNoContent) IsServerError() bool

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

func (*GetTokenNoContent) IsSuccess added in v1.21.0

func (o *GetTokenNoContent) IsSuccess() bool

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

func (*GetTokenNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetTokenNotFound) IsClientError() bool

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

func (*GetTokenNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetTokenNotFound) IsRedirect() bool

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

func (*GetTokenNotFound) IsServerError added in v1.21.0

func (o *GetTokenNotFound) IsServerError() bool

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

func (*GetTokenNotFound) IsSuccess added in v1.21.0

func (o *GetTokenNotFound) IsSuccess() bool

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

func (*GetTokenNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetTokenOK) IsClientError() bool

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

func (*GetTokenOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetTokenOK) IsRedirect() bool

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

func (*GetTokenOK) IsServerError added in v1.21.0

func (o *GetTokenOK) IsServerError() bool

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

func (*GetTokenOK) IsSuccess added in v1.21.0

func (o *GetTokenOK) IsSuccess() bool

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

func (*GetTokenOK) String added in v1.21.0

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 added in v1.21.0

func (o *GetUserDefault) IsClientError() bool

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

func (*GetUserDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetUserDefault) IsRedirect() bool

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

func (*GetUserDefault) IsServerError added in v1.21.0

func (o *GetUserDefault) IsServerError() bool

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

func (*GetUserDefault) IsSuccess added in v1.21.0

func (o *GetUserDefault) IsSuccess() bool

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

func (*GetUserDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetUserForbidden) IsClientError() bool

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

func (*GetUserForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetUserForbidden) IsRedirect() bool

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

func (*GetUserForbidden) IsServerError added in v1.21.0

func (o *GetUserForbidden) IsServerError() bool

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

func (*GetUserForbidden) IsSuccess added in v1.21.0

func (o *GetUserForbidden) IsSuccess() bool

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

func (*GetUserForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetUserNoContent) IsClientError() bool

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

func (*GetUserNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetUserNoContent) IsRedirect() bool

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

func (*GetUserNoContent) IsServerError added in v1.21.0

func (o *GetUserNoContent) IsServerError() bool

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

func (*GetUserNoContent) IsSuccess added in v1.21.0

func (o *GetUserNoContent) IsSuccess() bool

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

func (*GetUserNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetUserNotFound) IsClientError() bool

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

func (*GetUserNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetUserNotFound) IsRedirect() bool

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

func (*GetUserNotFound) IsServerError added in v1.21.0

func (o *GetUserNotFound) IsServerError() bool

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

func (*GetUserNotFound) IsSuccess added in v1.21.0

func (o *GetUserNotFound) IsSuccess() bool

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

func (*GetUserNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *GetUserOK) IsClientError() bool

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

func (*GetUserOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *GetUserOK) IsRedirect() bool

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

func (*GetUserOK) IsServerError added in v1.21.0

func (o *GetUserOK) IsServerError() bool

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

func (*GetUserOK) IsSuccess added in v1.21.0

func (o *GetUserOK) IsSuccess() bool

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

func (*GetUserOK) String added in v1.21.0

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 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 added in v1.21.0

func (o *ListTokensDefault) IsClientError() bool

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

func (*ListTokensDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ListTokensDefault) IsRedirect() bool

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

func (*ListTokensDefault) IsServerError added in v1.21.0

func (o *ListTokensDefault) IsServerError() bool

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

func (*ListTokensDefault) IsSuccess added in v1.21.0

func (o *ListTokensDefault) IsSuccess() bool

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

func (*ListTokensDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *ListTokensForbidden) IsClientError() bool

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

func (*ListTokensForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ListTokensForbidden) IsRedirect() bool

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

func (*ListTokensForbidden) IsServerError added in v1.21.0

func (o *ListTokensForbidden) IsServerError() bool

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

func (*ListTokensForbidden) IsSuccess added in v1.21.0

func (o *ListTokensForbidden) IsSuccess() bool

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

func (*ListTokensForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *ListTokensNoContent) IsClientError() bool

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

func (*ListTokensNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ListTokensNoContent) IsRedirect() bool

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

func (*ListTokensNoContent) IsServerError added in v1.21.0

func (o *ListTokensNoContent) IsServerError() bool

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

func (*ListTokensNoContent) IsSuccess added in v1.21.0

func (o *ListTokensNoContent) IsSuccess() bool

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

func (*ListTokensNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *ListTokensNotFound) IsClientError() bool

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

func (*ListTokensNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ListTokensNotFound) IsRedirect() bool

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

func (*ListTokensNotFound) IsServerError added in v1.21.0

func (o *ListTokensNotFound) IsServerError() bool

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

func (*ListTokensNotFound) IsSuccess added in v1.21.0

func (o *ListTokensNotFound) IsSuccess() bool

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

func (*ListTokensNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *ListTokensOK) IsClientError() bool

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

func (*ListTokensOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ListTokensOK) IsRedirect() bool

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

func (*ListTokensOK) IsServerError added in v1.21.0

func (o *ListTokensOK) IsServerError() bool

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

func (*ListTokensOK) IsSuccess added in v1.21.0

func (o *ListTokensOK) IsSuccess() bool

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

func (*ListTokensOK) String added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenDefault) IsClientError() bool

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

func (*PatchTokenDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenDefault) IsRedirect() bool

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

func (*PatchTokenDefault) IsServerError added in v1.21.0

func (o *PatchTokenDefault) IsServerError() bool

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

func (*PatchTokenDefault) IsSuccess added in v1.21.0

func (o *PatchTokenDefault) IsSuccess() bool

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

func (*PatchTokenDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchTokenForbidden) IsClientError() bool

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

func (*PatchTokenForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenForbidden) IsRedirect() bool

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

func (*PatchTokenForbidden) IsServerError added in v1.21.0

func (o *PatchTokenForbidden) IsServerError() bool

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

func (*PatchTokenForbidden) IsSuccess added in v1.21.0

func (o *PatchTokenForbidden) IsSuccess() bool

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

func (*PatchTokenForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchTokenNoContent) IsClientError() bool

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

func (*PatchTokenNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenNoContent) IsRedirect() bool

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

func (*PatchTokenNoContent) IsServerError added in v1.21.0

func (o *PatchTokenNoContent) IsServerError() bool

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

func (*PatchTokenNoContent) IsSuccess added in v1.21.0

func (o *PatchTokenNoContent) IsSuccess() bool

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

func (*PatchTokenNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchTokenNotFound) IsClientError() bool

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

func (*PatchTokenNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenNotFound) IsRedirect() bool

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

func (*PatchTokenNotFound) IsServerError added in v1.21.0

func (o *PatchTokenNotFound) IsServerError() bool

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

func (*PatchTokenNotFound) IsSuccess added in v1.21.0

func (o *PatchTokenNotFound) IsSuccess() bool

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

func (*PatchTokenNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchTokenOK) IsClientError() bool

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

func (*PatchTokenOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchTokenOK) IsRedirect() bool

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

func (*PatchTokenOK) IsServerError added in v1.21.0

func (o *PatchTokenOK) IsServerError() bool

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

func (*PatchTokenOK) IsSuccess added in v1.21.0

func (o *PatchTokenOK) IsSuccess() bool

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

func (*PatchTokenOK) String added in v1.21.0

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 added in v1.21.0

func (o *PatchUserDefault) IsClientError() bool

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

func (*PatchUserDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchUserDefault) IsRedirect() bool

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

func (*PatchUserDefault) IsServerError added in v1.21.0

func (o *PatchUserDefault) IsServerError() bool

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

func (*PatchUserDefault) IsSuccess added in v1.21.0

func (o *PatchUserDefault) IsSuccess() bool

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

func (*PatchUserDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchUserForbidden) IsClientError() bool

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

func (*PatchUserForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchUserForbidden) IsRedirect() bool

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

func (*PatchUserForbidden) IsServerError added in v1.21.0

func (o *PatchUserForbidden) IsServerError() bool

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

func (*PatchUserForbidden) IsSuccess added in v1.21.0

func (o *PatchUserForbidden) IsSuccess() bool

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

func (*PatchUserForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchUserNoContent) IsClientError() bool

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

func (*PatchUserNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchUserNoContent) IsRedirect() bool

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

func (*PatchUserNoContent) IsServerError added in v1.21.0

func (o *PatchUserNoContent) IsServerError() bool

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

func (*PatchUserNoContent) IsSuccess added in v1.21.0

func (o *PatchUserNoContent) IsSuccess() bool

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

func (*PatchUserNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchUserNotFound) IsClientError() bool

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

func (*PatchUserNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchUserNotFound) IsRedirect() bool

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

func (*PatchUserNotFound) IsServerError added in v1.21.0

func (o *PatchUserNotFound) IsServerError() bool

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

func (*PatchUserNotFound) IsSuccess added in v1.21.0

func (o *PatchUserNotFound) IsSuccess() bool

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

func (*PatchUserNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *PatchUserOK) IsClientError() bool

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

func (*PatchUserOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *PatchUserOK) IsRedirect() bool

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

func (*PatchUserOK) IsServerError added in v1.21.0

func (o *PatchUserOK) IsServerError() bool

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

func (*PatchUserOK) IsSuccess added in v1.21.0

func (o *PatchUserOK) IsSuccess() bool

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

func (*PatchUserOK) String added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenDefault) IsClientError() bool

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

func (*UpdateTokenDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenDefault) IsRedirect() bool

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

func (*UpdateTokenDefault) IsServerError added in v1.21.0

func (o *UpdateTokenDefault) IsServerError() bool

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

func (*UpdateTokenDefault) IsSuccess added in v1.21.0

func (o *UpdateTokenDefault) IsSuccess() bool

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

func (*UpdateTokenDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateTokenForbidden) IsClientError() bool

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

func (*UpdateTokenForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenForbidden) IsRedirect() bool

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

func (*UpdateTokenForbidden) IsServerError added in v1.21.0

func (o *UpdateTokenForbidden) IsServerError() bool

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

func (*UpdateTokenForbidden) IsSuccess added in v1.21.0

func (o *UpdateTokenForbidden) IsSuccess() bool

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

func (*UpdateTokenForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateTokenNoContent) IsClientError() bool

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

func (*UpdateTokenNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenNoContent) IsRedirect() bool

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

func (*UpdateTokenNoContent) IsServerError added in v1.21.0

func (o *UpdateTokenNoContent) IsServerError() bool

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

func (*UpdateTokenNoContent) IsSuccess added in v1.21.0

func (o *UpdateTokenNoContent) IsSuccess() bool

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

func (*UpdateTokenNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateTokenNotFound) IsClientError() bool

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

func (*UpdateTokenNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenNotFound) IsRedirect() bool

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

func (*UpdateTokenNotFound) IsServerError added in v1.21.0

func (o *UpdateTokenNotFound) IsServerError() bool

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

func (*UpdateTokenNotFound) IsSuccess added in v1.21.0

func (o *UpdateTokenNotFound) IsSuccess() bool

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

func (*UpdateTokenNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateTokenOK) IsClientError() bool

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

func (*UpdateTokenOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateTokenOK) IsRedirect() bool

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

func (*UpdateTokenOK) IsServerError added in v1.21.0

func (o *UpdateTokenOK) IsServerError() bool

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

func (*UpdateTokenOK) IsSuccess added in v1.21.0

func (o *UpdateTokenOK) IsSuccess() bool

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

func (*UpdateTokenOK) String added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserDefault) IsClientError() bool

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

func (*UpdateUserDefault) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserDefault) IsRedirect() bool

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

func (*UpdateUserDefault) IsServerError added in v1.21.0

func (o *UpdateUserDefault) IsServerError() bool

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

func (*UpdateUserDefault) IsSuccess added in v1.21.0

func (o *UpdateUserDefault) IsSuccess() bool

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

func (*UpdateUserDefault) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateUserForbidden) IsClientError() bool

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

func (*UpdateUserForbidden) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserForbidden) IsRedirect() bool

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

func (*UpdateUserForbidden) IsServerError added in v1.21.0

func (o *UpdateUserForbidden) IsServerError() bool

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

func (*UpdateUserForbidden) IsSuccess added in v1.21.0

func (o *UpdateUserForbidden) IsSuccess() bool

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

func (*UpdateUserForbidden) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateUserNoContent) IsClientError() bool

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

func (*UpdateUserNoContent) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserNoContent) IsRedirect() bool

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

func (*UpdateUserNoContent) IsServerError added in v1.21.0

func (o *UpdateUserNoContent) IsServerError() bool

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

func (*UpdateUserNoContent) IsSuccess added in v1.21.0

func (o *UpdateUserNoContent) IsSuccess() bool

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

func (*UpdateUserNoContent) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateUserNotFound) IsClientError() bool

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

func (*UpdateUserNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserNotFound) IsRedirect() bool

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

func (*UpdateUserNotFound) IsServerError added in v1.21.0

func (o *UpdateUserNotFound) IsServerError() bool

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

func (*UpdateUserNotFound) IsSuccess added in v1.21.0

func (o *UpdateUserNotFound) IsSuccess() bool

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

func (*UpdateUserNotFound) String added in v1.21.0

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 added in v1.22.0

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 added in v1.21.0

func (o *UpdateUserOK) IsClientError() bool

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

func (*UpdateUserOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *UpdateUserOK) IsRedirect() bool

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

func (*UpdateUserOK) IsServerError added in v1.21.0

func (o *UpdateUserOK) IsServerError() bool

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

func (*UpdateUserOK) IsSuccess added in v1.21.0

func (o *UpdateUserOK) IsSuccess() bool

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

func (*UpdateUserOK) String added in v1.21.0

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