auth_token_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 auth token controller API

func (*Client) CreateAuthToken

func (a *Client) CreateAuthToken(params *CreateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthTokenCreated, error)

CreateAuthToken creates

func (*Client) DeleteAuthToken

func (a *Client) DeleteAuthToken(params *DeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthTokenOK, error)

DeleteAuthToken deletes

func (*Client) ListAuthToken

func (a *Client) ListAuthToken(params *ListAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuthTokenOK, error)

ListAuthToken lists

func (*Client) MultiDeleteAuthToken

func (a *Client) MultiDeleteAuthToken(params *MultiDeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteAuthTokenOK, error)

MultiDeleteAuthToken revokes authentication tokens using o n e of two choices 1 all tokens owned by the requesting user o r 2 list of token ids

func (*Client) RevokeAuthToken

func (a *Client) RevokeAuthToken(params *RevokeAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAuthTokenOK, error)

RevokeAuthToken revokes authentication tokens by value

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAuthToken

func (a *Client) UpdateAuthToken(params *UpdateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAuthTokenOK, error)

UpdateAuthToken updates

type ClientService

type ClientService interface {
	CreateAuthToken(params *CreateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthTokenCreated, error)

	DeleteAuthToken(params *DeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthTokenOK, error)

	ListAuthToken(params *ListAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuthTokenOK, error)

	MultiDeleteAuthToken(params *MultiDeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteAuthTokenOK, error)

	RevokeAuthToken(params *RevokeAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAuthTokenOK, error)

	UpdateAuthToken(params *UpdateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAuthTokenOK, 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 auth token controller API client.

type CreateAuthTokenBadRequest

type CreateAuthTokenBadRequest struct {
	Payload *models.APIResult
}

CreateAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewCreateAuthTokenBadRequest

func NewCreateAuthTokenBadRequest() *CreateAuthTokenBadRequest

NewCreateAuthTokenBadRequest creates a CreateAuthTokenBadRequest with default headers values

func (*CreateAuthTokenBadRequest) Error

func (o *CreateAuthTokenBadRequest) Error() string

func (*CreateAuthTokenBadRequest) GetPayload

func (o *CreateAuthTokenBadRequest) GetPayload() *models.APIResult

type CreateAuthTokenConflict

type CreateAuthTokenConflict struct {
	Payload *models.APIResult
}

CreateAuthTokenConflict handles this case with default header values.

Conflict

func NewCreateAuthTokenConflict

func NewCreateAuthTokenConflict() *CreateAuthTokenConflict

NewCreateAuthTokenConflict creates a CreateAuthTokenConflict with default headers values

func (*CreateAuthTokenConflict) Error

func (o *CreateAuthTokenConflict) Error() string

func (*CreateAuthTokenConflict) GetPayload

func (o *CreateAuthTokenConflict) GetPayload() *models.APIResult

type CreateAuthTokenCreated

type CreateAuthTokenCreated struct {
	Payload *models.APIResultAuthenticationToken
}

CreateAuthTokenCreated handles this case with default header values.

Created

func NewCreateAuthTokenCreated

func NewCreateAuthTokenCreated() *CreateAuthTokenCreated

NewCreateAuthTokenCreated creates a CreateAuthTokenCreated with default headers values

func (*CreateAuthTokenCreated) Error

func (o *CreateAuthTokenCreated) Error() string

func (*CreateAuthTokenCreated) GetPayload

type CreateAuthTokenForbidden

type CreateAuthTokenForbidden struct {
	Payload *models.APIResult
}

CreateAuthTokenForbidden handles this case with default header values.

Forbidden

func NewCreateAuthTokenForbidden

func NewCreateAuthTokenForbidden() *CreateAuthTokenForbidden

NewCreateAuthTokenForbidden creates a CreateAuthTokenForbidden with default headers values

func (*CreateAuthTokenForbidden) Error

func (o *CreateAuthTokenForbidden) Error() string

func (*CreateAuthTokenForbidden) GetPayload

func (o *CreateAuthTokenForbidden) GetPayload() *models.APIResult

type CreateAuthTokenInternalServerError

type CreateAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

CreateAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateAuthTokenInternalServerError

func NewCreateAuthTokenInternalServerError() *CreateAuthTokenInternalServerError

NewCreateAuthTokenInternalServerError creates a CreateAuthTokenInternalServerError with default headers values

func (*CreateAuthTokenInternalServerError) Error

func (*CreateAuthTokenInternalServerError) GetPayload

type CreateAuthTokenNotFound

type CreateAuthTokenNotFound struct {
	Payload *models.APIResult
}

CreateAuthTokenNotFound handles this case with default header values.

Not Found

func NewCreateAuthTokenNotFound

func NewCreateAuthTokenNotFound() *CreateAuthTokenNotFound

NewCreateAuthTokenNotFound creates a CreateAuthTokenNotFound with default headers values

func (*CreateAuthTokenNotFound) Error

func (o *CreateAuthTokenNotFound) Error() string

func (*CreateAuthTokenNotFound) GetPayload

func (o *CreateAuthTokenNotFound) GetPayload() *models.APIResult

type CreateAuthTokenParams

type CreateAuthTokenParams struct {

	/*AuthToken
	  authToken

	*/
	AuthToken *models.AuthenticationToken

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

CreateAuthTokenParams contains all the parameters to send to the API endpoint for the create auth token operation typically these are written to a http.Request

func NewCreateAuthTokenParams

func NewCreateAuthTokenParams() *CreateAuthTokenParams

NewCreateAuthTokenParams creates a new CreateAuthTokenParams object with the default values initialized.

func NewCreateAuthTokenParamsWithContext

func NewCreateAuthTokenParamsWithContext(ctx context.Context) *CreateAuthTokenParams

NewCreateAuthTokenParamsWithContext creates a new CreateAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewCreateAuthTokenParamsWithHTTPClient

func NewCreateAuthTokenParamsWithHTTPClient(client *http.Client) *CreateAuthTokenParams

NewCreateAuthTokenParamsWithHTTPClient creates a new CreateAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateAuthTokenParamsWithTimeout

func NewCreateAuthTokenParamsWithTimeout(timeout time.Duration) *CreateAuthTokenParams

NewCreateAuthTokenParamsWithTimeout creates a new CreateAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateAuthTokenParams) SetAuthToken

func (o *CreateAuthTokenParams) SetAuthToken(authToken *models.AuthenticationToken)

SetAuthToken adds the authToken to the create auth token params

func (*CreateAuthTokenParams) SetContext

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

SetContext adds the context to the create auth token params

func (*CreateAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create auth token params

func (*CreateAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the create auth token params

func (*CreateAuthTokenParams) WithAuthToken

WithAuthToken adds the authToken to the create auth token params

func (*CreateAuthTokenParams) WithContext

WithContext adds the context to the create auth token params

func (*CreateAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create auth token params

func (*CreateAuthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the create auth token params

func (*CreateAuthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAuthTokenReader

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

CreateAuthTokenReader is a Reader for the CreateAuthToken structure.

func (*CreateAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAuthTokenUnauthorized

type CreateAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

CreateAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewCreateAuthTokenUnauthorized

func NewCreateAuthTokenUnauthorized() *CreateAuthTokenUnauthorized

NewCreateAuthTokenUnauthorized creates a CreateAuthTokenUnauthorized with default headers values

func (*CreateAuthTokenUnauthorized) Error

func (*CreateAuthTokenUnauthorized) GetPayload

func (o *CreateAuthTokenUnauthorized) GetPayload() *models.APIResult

type DeleteAuthTokenBadRequest

type DeleteAuthTokenBadRequest struct {
	Payload *models.APIResult
}

DeleteAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewDeleteAuthTokenBadRequest

func NewDeleteAuthTokenBadRequest() *DeleteAuthTokenBadRequest

NewDeleteAuthTokenBadRequest creates a DeleteAuthTokenBadRequest with default headers values

func (*DeleteAuthTokenBadRequest) Error

func (o *DeleteAuthTokenBadRequest) Error() string

func (*DeleteAuthTokenBadRequest) GetPayload

func (o *DeleteAuthTokenBadRequest) GetPayload() *models.APIResult

type DeleteAuthTokenConflict

type DeleteAuthTokenConflict struct {
	Payload *models.APIResult
}

DeleteAuthTokenConflict handles this case with default header values.

Conflict

func NewDeleteAuthTokenConflict

func NewDeleteAuthTokenConflict() *DeleteAuthTokenConflict

NewDeleteAuthTokenConflict creates a DeleteAuthTokenConflict with default headers values

func (*DeleteAuthTokenConflict) Error

func (o *DeleteAuthTokenConflict) Error() string

func (*DeleteAuthTokenConflict) GetPayload

func (o *DeleteAuthTokenConflict) GetPayload() *models.APIResult

type DeleteAuthTokenForbidden

type DeleteAuthTokenForbidden struct {
	Payload *models.APIResult
}

DeleteAuthTokenForbidden handles this case with default header values.

Forbidden

func NewDeleteAuthTokenForbidden

func NewDeleteAuthTokenForbidden() *DeleteAuthTokenForbidden

NewDeleteAuthTokenForbidden creates a DeleteAuthTokenForbidden with default headers values

func (*DeleteAuthTokenForbidden) Error

func (o *DeleteAuthTokenForbidden) Error() string

func (*DeleteAuthTokenForbidden) GetPayload

func (o *DeleteAuthTokenForbidden) GetPayload() *models.APIResult

type DeleteAuthTokenInternalServerError

type DeleteAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

DeleteAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteAuthTokenInternalServerError

func NewDeleteAuthTokenInternalServerError() *DeleteAuthTokenInternalServerError

NewDeleteAuthTokenInternalServerError creates a DeleteAuthTokenInternalServerError with default headers values

func (*DeleteAuthTokenInternalServerError) Error

func (*DeleteAuthTokenInternalServerError) GetPayload

type DeleteAuthTokenNotFound

type DeleteAuthTokenNotFound struct {
	Payload *models.APIResult
}

DeleteAuthTokenNotFound handles this case with default header values.

Not Found

func NewDeleteAuthTokenNotFound

func NewDeleteAuthTokenNotFound() *DeleteAuthTokenNotFound

NewDeleteAuthTokenNotFound creates a DeleteAuthTokenNotFound with default headers values

func (*DeleteAuthTokenNotFound) Error

func (o *DeleteAuthTokenNotFound) Error() string

func (*DeleteAuthTokenNotFound) GetPayload

func (o *DeleteAuthTokenNotFound) GetPayload() *models.APIResult

type DeleteAuthTokenOK

type DeleteAuthTokenOK struct {
	Payload *models.APIResultVoid
}

DeleteAuthTokenOK handles this case with default header values.

OK

func NewDeleteAuthTokenOK

func NewDeleteAuthTokenOK() *DeleteAuthTokenOK

NewDeleteAuthTokenOK creates a DeleteAuthTokenOK with default headers values

func (*DeleteAuthTokenOK) Error

func (o *DeleteAuthTokenOK) Error() string

func (*DeleteAuthTokenOK) GetPayload

func (o *DeleteAuthTokenOK) GetPayload() *models.APIResultVoid

type DeleteAuthTokenParams

type DeleteAuthTokenParams struct {

	/*ID
	  id

	*/
	ID int64

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

DeleteAuthTokenParams contains all the parameters to send to the API endpoint for the delete auth token operation typically these are written to a http.Request

func NewDeleteAuthTokenParams

func NewDeleteAuthTokenParams() *DeleteAuthTokenParams

NewDeleteAuthTokenParams creates a new DeleteAuthTokenParams object with the default values initialized.

func NewDeleteAuthTokenParamsWithContext

func NewDeleteAuthTokenParamsWithContext(ctx context.Context) *DeleteAuthTokenParams

NewDeleteAuthTokenParamsWithContext creates a new DeleteAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAuthTokenParamsWithHTTPClient

func NewDeleteAuthTokenParamsWithHTTPClient(client *http.Client) *DeleteAuthTokenParams

NewDeleteAuthTokenParamsWithHTTPClient creates a new DeleteAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAuthTokenParamsWithTimeout

func NewDeleteAuthTokenParamsWithTimeout(timeout time.Duration) *DeleteAuthTokenParams

NewDeleteAuthTokenParamsWithTimeout creates a new DeleteAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAuthTokenParams) SetContext

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

SetContext adds the context to the delete auth token params

func (*DeleteAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete auth token params

func (*DeleteAuthTokenParams) SetID

func (o *DeleteAuthTokenParams) SetID(id int64)

SetID adds the id to the delete auth token params

func (*DeleteAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the delete auth token params

func (*DeleteAuthTokenParams) WithContext

WithContext adds the context to the delete auth token params

func (*DeleteAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete auth token params

func (*DeleteAuthTokenParams) WithID

WithID adds the id to the delete auth token params

func (*DeleteAuthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the delete auth token params

func (*DeleteAuthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAuthTokenReader

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

DeleteAuthTokenReader is a Reader for the DeleteAuthToken structure.

func (*DeleteAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAuthTokenUnauthorized

type DeleteAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

DeleteAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteAuthTokenUnauthorized

func NewDeleteAuthTokenUnauthorized() *DeleteAuthTokenUnauthorized

NewDeleteAuthTokenUnauthorized creates a DeleteAuthTokenUnauthorized with default headers values

func (*DeleteAuthTokenUnauthorized) Error

func (*DeleteAuthTokenUnauthorized) GetPayload

func (o *DeleteAuthTokenUnauthorized) GetPayload() *models.APIResult

type ListAuthTokenBadRequest

type ListAuthTokenBadRequest struct {
	Payload *models.APIResult
}

ListAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewListAuthTokenBadRequest

func NewListAuthTokenBadRequest() *ListAuthTokenBadRequest

NewListAuthTokenBadRequest creates a ListAuthTokenBadRequest with default headers values

func (*ListAuthTokenBadRequest) Error

func (o *ListAuthTokenBadRequest) Error() string

func (*ListAuthTokenBadRequest) GetPayload

func (o *ListAuthTokenBadRequest) GetPayload() *models.APIResult

type ListAuthTokenConflict

type ListAuthTokenConflict struct {
	Payload *models.APIResult
}

ListAuthTokenConflict handles this case with default header values.

Conflict

func NewListAuthTokenConflict

func NewListAuthTokenConflict() *ListAuthTokenConflict

NewListAuthTokenConflict creates a ListAuthTokenConflict with default headers values

func (*ListAuthTokenConflict) Error

func (o *ListAuthTokenConflict) Error() string

func (*ListAuthTokenConflict) GetPayload

func (o *ListAuthTokenConflict) GetPayload() *models.APIResult

type ListAuthTokenForbidden

type ListAuthTokenForbidden struct {
	Payload *models.APIResult
}

ListAuthTokenForbidden handles this case with default header values.

Forbidden

func NewListAuthTokenForbidden

func NewListAuthTokenForbidden() *ListAuthTokenForbidden

NewListAuthTokenForbidden creates a ListAuthTokenForbidden with default headers values

func (*ListAuthTokenForbidden) Error

func (o *ListAuthTokenForbidden) Error() string

func (*ListAuthTokenForbidden) GetPayload

func (o *ListAuthTokenForbidden) GetPayload() *models.APIResult

type ListAuthTokenInternalServerError

type ListAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

ListAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewListAuthTokenInternalServerError

func NewListAuthTokenInternalServerError() *ListAuthTokenInternalServerError

NewListAuthTokenInternalServerError creates a ListAuthTokenInternalServerError with default headers values

func (*ListAuthTokenInternalServerError) Error

func (*ListAuthTokenInternalServerError) GetPayload

type ListAuthTokenNotFound

type ListAuthTokenNotFound struct {
	Payload *models.APIResult
}

ListAuthTokenNotFound handles this case with default header values.

Not Found

func NewListAuthTokenNotFound

func NewListAuthTokenNotFound() *ListAuthTokenNotFound

NewListAuthTokenNotFound creates a ListAuthTokenNotFound with default headers values

func (*ListAuthTokenNotFound) Error

func (o *ListAuthTokenNotFound) Error() string

func (*ListAuthTokenNotFound) GetPayload

func (o *ListAuthTokenNotFound) GetPayload() *models.APIResult

type ListAuthTokenOK

type ListAuthTokenOK struct {
	Payload *models.APIResultListAuthenticationToken
}

ListAuthTokenOK handles this case with default header values.

OK

func NewListAuthTokenOK

func NewListAuthTokenOK() *ListAuthTokenOK

NewListAuthTokenOK creates a ListAuthTokenOK with default headers values

func (*ListAuthTokenOK) Error

func (o *ListAuthTokenOK) Error() string

func (*ListAuthTokenOK) GetPayload

type ListAuthTokenParams

type ListAuthTokenParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search query

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

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

ListAuthTokenParams contains all the parameters to send to the API endpoint for the list auth token operation typically these are written to a http.Request

func NewListAuthTokenParams

func NewListAuthTokenParams() *ListAuthTokenParams

NewListAuthTokenParams creates a new ListAuthTokenParams object with the default values initialized.

func NewListAuthTokenParamsWithContext

func NewListAuthTokenParamsWithContext(ctx context.Context) *ListAuthTokenParams

NewListAuthTokenParamsWithContext creates a new ListAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewListAuthTokenParamsWithHTTPClient

func NewListAuthTokenParamsWithHTTPClient(client *http.Client) *ListAuthTokenParams

NewListAuthTokenParamsWithHTTPClient creates a new ListAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAuthTokenParamsWithTimeout

func NewListAuthTokenParamsWithTimeout(timeout time.Duration) *ListAuthTokenParams

NewListAuthTokenParamsWithTimeout creates a new ListAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAuthTokenParams) SetContext

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

SetContext adds the context to the list auth token params

func (*ListAuthTokenParams) SetFields

func (o *ListAuthTokenParams) SetFields(fields *string)

SetFields adds the fields to the list auth token params

func (*ListAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list auth token params

func (*ListAuthTokenParams) SetLimit

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

SetLimit adds the limit to the list auth token params

func (*ListAuthTokenParams) SetOrderby

func (o *ListAuthTokenParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list auth token params

func (*ListAuthTokenParams) SetQ

func (o *ListAuthTokenParams) SetQ(q *string)

SetQ adds the q to the list auth token params

func (*ListAuthTokenParams) SetStart

func (o *ListAuthTokenParams) SetStart(start *int32)

SetStart adds the start to the list auth token params

func (*ListAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the list auth token params

func (*ListAuthTokenParams) WithContext

WithContext adds the context to the list auth token params

func (*ListAuthTokenParams) WithFields

func (o *ListAuthTokenParams) WithFields(fields *string) *ListAuthTokenParams

WithFields adds the fields to the list auth token params

func (*ListAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list auth token params

func (*ListAuthTokenParams) WithLimit

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

WithLimit adds the limit to the list auth token params

func (*ListAuthTokenParams) WithOrderby

func (o *ListAuthTokenParams) WithOrderby(orderby *string) *ListAuthTokenParams

WithOrderby adds the orderby to the list auth token params

func (*ListAuthTokenParams) WithQ

WithQ adds the q to the list auth token params

func (*ListAuthTokenParams) WithStart

func (o *ListAuthTokenParams) WithStart(start *int32) *ListAuthTokenParams

WithStart adds the start to the list auth token params

func (*ListAuthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the list auth token params

func (*ListAuthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAuthTokenReader

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

ListAuthTokenReader is a Reader for the ListAuthToken structure.

func (*ListAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAuthTokenUnauthorized

type ListAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

ListAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewListAuthTokenUnauthorized

func NewListAuthTokenUnauthorized() *ListAuthTokenUnauthorized

NewListAuthTokenUnauthorized creates a ListAuthTokenUnauthorized with default headers values

func (*ListAuthTokenUnauthorized) Error

func (o *ListAuthTokenUnauthorized) Error() string

func (*ListAuthTokenUnauthorized) GetPayload

func (o *ListAuthTokenUnauthorized) GetPayload() *models.APIResult

type MultiDeleteAuthTokenBadRequest

type MultiDeleteAuthTokenBadRequest struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewMultiDeleteAuthTokenBadRequest

func NewMultiDeleteAuthTokenBadRequest() *MultiDeleteAuthTokenBadRequest

NewMultiDeleteAuthTokenBadRequest creates a MultiDeleteAuthTokenBadRequest with default headers values

func (*MultiDeleteAuthTokenBadRequest) Error

func (*MultiDeleteAuthTokenBadRequest) GetPayload

type MultiDeleteAuthTokenConflict

type MultiDeleteAuthTokenConflict struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenConflict handles this case with default header values.

Conflict

func NewMultiDeleteAuthTokenConflict

func NewMultiDeleteAuthTokenConflict() *MultiDeleteAuthTokenConflict

NewMultiDeleteAuthTokenConflict creates a MultiDeleteAuthTokenConflict with default headers values

func (*MultiDeleteAuthTokenConflict) Error

func (*MultiDeleteAuthTokenConflict) GetPayload

type MultiDeleteAuthTokenForbidden

type MultiDeleteAuthTokenForbidden struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenForbidden handles this case with default header values.

Forbidden

func NewMultiDeleteAuthTokenForbidden

func NewMultiDeleteAuthTokenForbidden() *MultiDeleteAuthTokenForbidden

NewMultiDeleteAuthTokenForbidden creates a MultiDeleteAuthTokenForbidden with default headers values

func (*MultiDeleteAuthTokenForbidden) Error

func (*MultiDeleteAuthTokenForbidden) GetPayload

type MultiDeleteAuthTokenInternalServerError

type MultiDeleteAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewMultiDeleteAuthTokenInternalServerError

func NewMultiDeleteAuthTokenInternalServerError() *MultiDeleteAuthTokenInternalServerError

NewMultiDeleteAuthTokenInternalServerError creates a MultiDeleteAuthTokenInternalServerError with default headers values

func (*MultiDeleteAuthTokenInternalServerError) Error

func (*MultiDeleteAuthTokenInternalServerError) GetPayload

type MultiDeleteAuthTokenNotFound

type MultiDeleteAuthTokenNotFound struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenNotFound handles this case with default header values.

Not Found

func NewMultiDeleteAuthTokenNotFound

func NewMultiDeleteAuthTokenNotFound() *MultiDeleteAuthTokenNotFound

NewMultiDeleteAuthTokenNotFound creates a MultiDeleteAuthTokenNotFound with default headers values

func (*MultiDeleteAuthTokenNotFound) Error

func (*MultiDeleteAuthTokenNotFound) GetPayload

type MultiDeleteAuthTokenOK

type MultiDeleteAuthTokenOK struct {
	Payload *models.APIResultVoid
}

MultiDeleteAuthTokenOK handles this case with default header values.

OK

func NewMultiDeleteAuthTokenOK

func NewMultiDeleteAuthTokenOK() *MultiDeleteAuthTokenOK

NewMultiDeleteAuthTokenOK creates a MultiDeleteAuthTokenOK with default headers values

func (*MultiDeleteAuthTokenOK) Error

func (o *MultiDeleteAuthTokenOK) Error() string

func (*MultiDeleteAuthTokenOK) GetPayload

func (o *MultiDeleteAuthTokenOK) GetPayload() *models.APIResultVoid

type MultiDeleteAuthTokenParams

type MultiDeleteAuthTokenParams struct {

	/*All
	  Specify value 'true' to revoke all authentication tokens of current logged-in user. This parameter can only be used if the 'ids' parameter is not being used.

	*/
	All *bool
	/*Ids
	  A comma-separated list of resource identifiers

	*/
	Ids *string

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

MultiDeleteAuthTokenParams contains all the parameters to send to the API endpoint for the multi delete auth token operation typically these are written to a http.Request

func NewMultiDeleteAuthTokenParams

func NewMultiDeleteAuthTokenParams() *MultiDeleteAuthTokenParams

NewMultiDeleteAuthTokenParams creates a new MultiDeleteAuthTokenParams object with the default values initialized.

func NewMultiDeleteAuthTokenParamsWithContext

func NewMultiDeleteAuthTokenParamsWithContext(ctx context.Context) *MultiDeleteAuthTokenParams

NewMultiDeleteAuthTokenParamsWithContext creates a new MultiDeleteAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewMultiDeleteAuthTokenParamsWithHTTPClient

func NewMultiDeleteAuthTokenParamsWithHTTPClient(client *http.Client) *MultiDeleteAuthTokenParams

NewMultiDeleteAuthTokenParamsWithHTTPClient creates a new MultiDeleteAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMultiDeleteAuthTokenParamsWithTimeout

func NewMultiDeleteAuthTokenParamsWithTimeout(timeout time.Duration) *MultiDeleteAuthTokenParams

NewMultiDeleteAuthTokenParamsWithTimeout creates a new MultiDeleteAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*MultiDeleteAuthTokenParams) SetAll

func (o *MultiDeleteAuthTokenParams) SetAll(all *bool)

SetAll adds the all to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) SetContext

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

SetContext adds the context to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) SetIds

func (o *MultiDeleteAuthTokenParams) SetIds(ids *string)

SetIds adds the ids to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WithAll

WithAll adds the all to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WithContext

WithContext adds the context to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WithIds

WithIds adds the ids to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WithTimeout

WithTimeout adds the timeout to the multi delete auth token params

func (*MultiDeleteAuthTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MultiDeleteAuthTokenReader

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

MultiDeleteAuthTokenReader is a Reader for the MultiDeleteAuthToken structure.

func (*MultiDeleteAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MultiDeleteAuthTokenUnauthorized

type MultiDeleteAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

MultiDeleteAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewMultiDeleteAuthTokenUnauthorized

func NewMultiDeleteAuthTokenUnauthorized() *MultiDeleteAuthTokenUnauthorized

NewMultiDeleteAuthTokenUnauthorized creates a MultiDeleteAuthTokenUnauthorized with default headers values

func (*MultiDeleteAuthTokenUnauthorized) Error

func (*MultiDeleteAuthTokenUnauthorized) GetPayload

type RevokeAuthTokenBadRequest

type RevokeAuthTokenBadRequest struct {
	Payload *models.APIResult
}

RevokeAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewRevokeAuthTokenBadRequest

func NewRevokeAuthTokenBadRequest() *RevokeAuthTokenBadRequest

NewRevokeAuthTokenBadRequest creates a RevokeAuthTokenBadRequest with default headers values

func (*RevokeAuthTokenBadRequest) Error

func (o *RevokeAuthTokenBadRequest) Error() string

func (*RevokeAuthTokenBadRequest) GetPayload

func (o *RevokeAuthTokenBadRequest) GetPayload() *models.APIResult

type RevokeAuthTokenConflict

type RevokeAuthTokenConflict struct {
	Payload *models.APIResult
}

RevokeAuthTokenConflict handles this case with default header values.

Conflict

func NewRevokeAuthTokenConflict

func NewRevokeAuthTokenConflict() *RevokeAuthTokenConflict

NewRevokeAuthTokenConflict creates a RevokeAuthTokenConflict with default headers values

func (*RevokeAuthTokenConflict) Error

func (o *RevokeAuthTokenConflict) Error() string

func (*RevokeAuthTokenConflict) GetPayload

func (o *RevokeAuthTokenConflict) GetPayload() *models.APIResult

type RevokeAuthTokenForbidden

type RevokeAuthTokenForbidden struct {
	Payload *models.APIResult
}

RevokeAuthTokenForbidden handles this case with default header values.

Forbidden

func NewRevokeAuthTokenForbidden

func NewRevokeAuthTokenForbidden() *RevokeAuthTokenForbidden

NewRevokeAuthTokenForbidden creates a RevokeAuthTokenForbidden with default headers values

func (*RevokeAuthTokenForbidden) Error

func (o *RevokeAuthTokenForbidden) Error() string

func (*RevokeAuthTokenForbidden) GetPayload

func (o *RevokeAuthTokenForbidden) GetPayload() *models.APIResult

type RevokeAuthTokenInternalServerError

type RevokeAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

RevokeAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewRevokeAuthTokenInternalServerError

func NewRevokeAuthTokenInternalServerError() *RevokeAuthTokenInternalServerError

NewRevokeAuthTokenInternalServerError creates a RevokeAuthTokenInternalServerError with default headers values

func (*RevokeAuthTokenInternalServerError) Error

func (*RevokeAuthTokenInternalServerError) GetPayload

type RevokeAuthTokenNotFound

type RevokeAuthTokenNotFound struct {
	Payload *models.APIResult
}

RevokeAuthTokenNotFound handles this case with default header values.

Not Found

func NewRevokeAuthTokenNotFound

func NewRevokeAuthTokenNotFound() *RevokeAuthTokenNotFound

NewRevokeAuthTokenNotFound creates a RevokeAuthTokenNotFound with default headers values

func (*RevokeAuthTokenNotFound) Error

func (o *RevokeAuthTokenNotFound) Error() string

func (*RevokeAuthTokenNotFound) GetPayload

func (o *RevokeAuthTokenNotFound) GetPayload() *models.APIResult

type RevokeAuthTokenOK

type RevokeAuthTokenOK struct {
	Payload *models.APIResultVoid
}

RevokeAuthTokenOK handles this case with default header values.

OK

func NewRevokeAuthTokenOK

func NewRevokeAuthTokenOK() *RevokeAuthTokenOK

NewRevokeAuthTokenOK creates a RevokeAuthTokenOK with default headers values

func (*RevokeAuthTokenOK) Error

func (o *RevokeAuthTokenOK) Error() string

func (*RevokeAuthTokenOK) GetPayload

func (o *RevokeAuthTokenOK) GetPayload() *models.APIResultVoid

type RevokeAuthTokenParams

type RevokeAuthTokenParams struct {

	/*Resource
	  resource

	*/
	Resource *models.AuthTokenRevokeRequest

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

RevokeAuthTokenParams contains all the parameters to send to the API endpoint for the revoke auth token operation typically these are written to a http.Request

func NewRevokeAuthTokenParams

func NewRevokeAuthTokenParams() *RevokeAuthTokenParams

NewRevokeAuthTokenParams creates a new RevokeAuthTokenParams object with the default values initialized.

func NewRevokeAuthTokenParamsWithContext

func NewRevokeAuthTokenParamsWithContext(ctx context.Context) *RevokeAuthTokenParams

NewRevokeAuthTokenParamsWithContext creates a new RevokeAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewRevokeAuthTokenParamsWithHTTPClient

func NewRevokeAuthTokenParamsWithHTTPClient(client *http.Client) *RevokeAuthTokenParams

NewRevokeAuthTokenParamsWithHTTPClient creates a new RevokeAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRevokeAuthTokenParamsWithTimeout

func NewRevokeAuthTokenParamsWithTimeout(timeout time.Duration) *RevokeAuthTokenParams

NewRevokeAuthTokenParamsWithTimeout creates a new RevokeAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*RevokeAuthTokenParams) SetContext

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

SetContext adds the context to the revoke auth token params

func (*RevokeAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke auth token params

func (*RevokeAuthTokenParams) SetResource

func (o *RevokeAuthTokenParams) SetResource(resource *models.AuthTokenRevokeRequest)

SetResource adds the resource to the revoke auth token params

func (*RevokeAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the revoke auth token params

func (*RevokeAuthTokenParams) WithContext

WithContext adds the context to the revoke auth token params

func (*RevokeAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke auth token params

func (*RevokeAuthTokenParams) WithResource

WithResource adds the resource to the revoke auth token params

func (*RevokeAuthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the revoke auth token params

func (*RevokeAuthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeAuthTokenReader

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

RevokeAuthTokenReader is a Reader for the RevokeAuthToken structure.

func (*RevokeAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeAuthTokenUnauthorized

type RevokeAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

RevokeAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewRevokeAuthTokenUnauthorized

func NewRevokeAuthTokenUnauthorized() *RevokeAuthTokenUnauthorized

NewRevokeAuthTokenUnauthorized creates a RevokeAuthTokenUnauthorized with default headers values

func (*RevokeAuthTokenUnauthorized) Error

func (*RevokeAuthTokenUnauthorized) GetPayload

func (o *RevokeAuthTokenUnauthorized) GetPayload() *models.APIResult

type UpdateAuthTokenBadRequest

type UpdateAuthTokenBadRequest struct {
	Payload *models.APIResult
}

UpdateAuthTokenBadRequest handles this case with default header values.

Bad Request

func NewUpdateAuthTokenBadRequest

func NewUpdateAuthTokenBadRequest() *UpdateAuthTokenBadRequest

NewUpdateAuthTokenBadRequest creates a UpdateAuthTokenBadRequest with default headers values

func (*UpdateAuthTokenBadRequest) Error

func (o *UpdateAuthTokenBadRequest) Error() string

func (*UpdateAuthTokenBadRequest) GetPayload

func (o *UpdateAuthTokenBadRequest) GetPayload() *models.APIResult

type UpdateAuthTokenConflict

type UpdateAuthTokenConflict struct {
	Payload *models.APIResult
}

UpdateAuthTokenConflict handles this case with default header values.

Conflict

func NewUpdateAuthTokenConflict

func NewUpdateAuthTokenConflict() *UpdateAuthTokenConflict

NewUpdateAuthTokenConflict creates a UpdateAuthTokenConflict with default headers values

func (*UpdateAuthTokenConflict) Error

func (o *UpdateAuthTokenConflict) Error() string

func (*UpdateAuthTokenConflict) GetPayload

func (o *UpdateAuthTokenConflict) GetPayload() *models.APIResult

type UpdateAuthTokenForbidden

type UpdateAuthTokenForbidden struct {
	Payload *models.APIResult
}

UpdateAuthTokenForbidden handles this case with default header values.

Forbidden

func NewUpdateAuthTokenForbidden

func NewUpdateAuthTokenForbidden() *UpdateAuthTokenForbidden

NewUpdateAuthTokenForbidden creates a UpdateAuthTokenForbidden with default headers values

func (*UpdateAuthTokenForbidden) Error

func (o *UpdateAuthTokenForbidden) Error() string

func (*UpdateAuthTokenForbidden) GetPayload

func (o *UpdateAuthTokenForbidden) GetPayload() *models.APIResult

type UpdateAuthTokenInternalServerError

type UpdateAuthTokenInternalServerError struct {
	Payload *models.APIResult
}

UpdateAuthTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateAuthTokenInternalServerError

func NewUpdateAuthTokenInternalServerError() *UpdateAuthTokenInternalServerError

NewUpdateAuthTokenInternalServerError creates a UpdateAuthTokenInternalServerError with default headers values

func (*UpdateAuthTokenInternalServerError) Error

func (*UpdateAuthTokenInternalServerError) GetPayload

type UpdateAuthTokenNotFound

type UpdateAuthTokenNotFound struct {
	Payload *models.APIResult
}

UpdateAuthTokenNotFound handles this case with default header values.

Not Found

func NewUpdateAuthTokenNotFound

func NewUpdateAuthTokenNotFound() *UpdateAuthTokenNotFound

NewUpdateAuthTokenNotFound creates a UpdateAuthTokenNotFound with default headers values

func (*UpdateAuthTokenNotFound) Error

func (o *UpdateAuthTokenNotFound) Error() string

func (*UpdateAuthTokenNotFound) GetPayload

func (o *UpdateAuthTokenNotFound) GetPayload() *models.APIResult

type UpdateAuthTokenOK

type UpdateAuthTokenOK struct {
	Payload *models.APIResultAuthenticationToken
}

UpdateAuthTokenOK handles this case with default header values.

OK

func NewUpdateAuthTokenOK

func NewUpdateAuthTokenOK() *UpdateAuthTokenOK

NewUpdateAuthTokenOK creates a UpdateAuthTokenOK with default headers values

func (*UpdateAuthTokenOK) Error

func (o *UpdateAuthTokenOK) Error() string

func (*UpdateAuthTokenOK) GetPayload

type UpdateAuthTokenParams

type UpdateAuthTokenParams struct {

	/*ID
	  id

	*/
	ID int64
	/*Resource
	  resource

	*/
	Resource *models.AuthenticationToken

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

UpdateAuthTokenParams contains all the parameters to send to the API endpoint for the update auth token operation typically these are written to a http.Request

func NewUpdateAuthTokenParams

func NewUpdateAuthTokenParams() *UpdateAuthTokenParams

NewUpdateAuthTokenParams creates a new UpdateAuthTokenParams object with the default values initialized.

func NewUpdateAuthTokenParamsWithContext

func NewUpdateAuthTokenParamsWithContext(ctx context.Context) *UpdateAuthTokenParams

NewUpdateAuthTokenParamsWithContext creates a new UpdateAuthTokenParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAuthTokenParamsWithHTTPClient

func NewUpdateAuthTokenParamsWithHTTPClient(client *http.Client) *UpdateAuthTokenParams

NewUpdateAuthTokenParamsWithHTTPClient creates a new UpdateAuthTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAuthTokenParamsWithTimeout

func NewUpdateAuthTokenParamsWithTimeout(timeout time.Duration) *UpdateAuthTokenParams

NewUpdateAuthTokenParamsWithTimeout creates a new UpdateAuthTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAuthTokenParams) SetContext

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

SetContext adds the context to the update auth token params

func (*UpdateAuthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update auth token params

func (*UpdateAuthTokenParams) SetID

func (o *UpdateAuthTokenParams) SetID(id int64)

SetID adds the id to the update auth token params

func (*UpdateAuthTokenParams) SetResource

func (o *UpdateAuthTokenParams) SetResource(resource *models.AuthenticationToken)

SetResource adds the resource to the update auth token params

func (*UpdateAuthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the update auth token params

func (*UpdateAuthTokenParams) WithContext

WithContext adds the context to the update auth token params

func (*UpdateAuthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update auth token params

func (*UpdateAuthTokenParams) WithID

WithID adds the id to the update auth token params

func (*UpdateAuthTokenParams) WithResource

WithResource adds the resource to the update auth token params

func (*UpdateAuthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the update auth token params

func (*UpdateAuthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAuthTokenReader

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

UpdateAuthTokenReader is a Reader for the UpdateAuthToken structure.

func (*UpdateAuthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAuthTokenUnauthorized

type UpdateAuthTokenUnauthorized struct {
	Payload *models.APIResult
}

UpdateAuthTokenUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateAuthTokenUnauthorized

func NewUpdateAuthTokenUnauthorized() *UpdateAuthTokenUnauthorized

NewUpdateAuthTokenUnauthorized creates a UpdateAuthTokenUnauthorized with default headers values

func (*UpdateAuthTokenUnauthorized) Error

func (*UpdateAuthTokenUnauthorized) GetPayload

func (o *UpdateAuthTokenUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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