Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAuthToken(params *CreateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAuthTokenCreated, error)
- func (a *Client) DeleteAuthToken(params *DeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAuthTokenOK, error)
- func (a *Client) ListAuthToken(params *ListAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuthTokenOK, error)
- func (a *Client) MultiDeleteAuthToken(params *MultiDeleteAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*MultiDeleteAuthTokenOK, error)
- func (a *Client) RevokeAuthToken(params *RevokeAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAuthTokenOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAuthToken(params *UpdateAuthTokenParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAuthTokenOK, error)
- type ClientService
- type CreateAuthTokenBadRequest
- type CreateAuthTokenConflict
- type CreateAuthTokenCreated
- type CreateAuthTokenForbidden
- type CreateAuthTokenInternalServerError
- type CreateAuthTokenNotFound
- type CreateAuthTokenParams
- func NewCreateAuthTokenParams() *CreateAuthTokenParams
- func NewCreateAuthTokenParamsWithContext(ctx context.Context) *CreateAuthTokenParams
- func NewCreateAuthTokenParamsWithHTTPClient(client *http.Client) *CreateAuthTokenParams
- func NewCreateAuthTokenParamsWithTimeout(timeout time.Duration) *CreateAuthTokenParams
- func (o *CreateAuthTokenParams) SetAuthToken(authToken *models.AuthenticationToken)
- func (o *CreateAuthTokenParams) SetContext(ctx context.Context)
- func (o *CreateAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *CreateAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *CreateAuthTokenParams) WithAuthToken(authToken *models.AuthenticationToken) *CreateAuthTokenParams
- func (o *CreateAuthTokenParams) WithContext(ctx context.Context) *CreateAuthTokenParams
- func (o *CreateAuthTokenParams) WithHTTPClient(client *http.Client) *CreateAuthTokenParams
- func (o *CreateAuthTokenParams) WithTimeout(timeout time.Duration) *CreateAuthTokenParams
- func (o *CreateAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAuthTokenReader
- type CreateAuthTokenUnauthorized
- type DeleteAuthTokenBadRequest
- type DeleteAuthTokenConflict
- type DeleteAuthTokenForbidden
- type DeleteAuthTokenInternalServerError
- type DeleteAuthTokenNotFound
- type DeleteAuthTokenOK
- type DeleteAuthTokenParams
- func NewDeleteAuthTokenParams() *DeleteAuthTokenParams
- func NewDeleteAuthTokenParamsWithContext(ctx context.Context) *DeleteAuthTokenParams
- func NewDeleteAuthTokenParamsWithHTTPClient(client *http.Client) *DeleteAuthTokenParams
- func NewDeleteAuthTokenParamsWithTimeout(timeout time.Duration) *DeleteAuthTokenParams
- func (o *DeleteAuthTokenParams) SetContext(ctx context.Context)
- func (o *DeleteAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAuthTokenParams) SetID(id int64)
- func (o *DeleteAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAuthTokenParams) WithContext(ctx context.Context) *DeleteAuthTokenParams
- func (o *DeleteAuthTokenParams) WithHTTPClient(client *http.Client) *DeleteAuthTokenParams
- func (o *DeleteAuthTokenParams) WithID(id int64) *DeleteAuthTokenParams
- func (o *DeleteAuthTokenParams) WithTimeout(timeout time.Duration) *DeleteAuthTokenParams
- func (o *DeleteAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAuthTokenReader
- type DeleteAuthTokenUnauthorized
- type ListAuthTokenBadRequest
- type ListAuthTokenConflict
- type ListAuthTokenForbidden
- type ListAuthTokenInternalServerError
- type ListAuthTokenNotFound
- type ListAuthTokenOK
- type ListAuthTokenParams
- func (o *ListAuthTokenParams) SetContext(ctx context.Context)
- func (o *ListAuthTokenParams) SetFields(fields *string)
- func (o *ListAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *ListAuthTokenParams) SetLimit(limit *int32)
- func (o *ListAuthTokenParams) SetOrderby(orderby *string)
- func (o *ListAuthTokenParams) SetQ(q *string)
- func (o *ListAuthTokenParams) SetStart(start *int32)
- func (o *ListAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *ListAuthTokenParams) WithContext(ctx context.Context) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithFields(fields *string) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithHTTPClient(client *http.Client) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithLimit(limit *int32) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithOrderby(orderby *string) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithQ(q *string) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithStart(start *int32) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WithTimeout(timeout time.Duration) *ListAuthTokenParams
- func (o *ListAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuthTokenReader
- type ListAuthTokenUnauthorized
- type MultiDeleteAuthTokenBadRequest
- type MultiDeleteAuthTokenConflict
- type MultiDeleteAuthTokenForbidden
- type MultiDeleteAuthTokenInternalServerError
- type MultiDeleteAuthTokenNotFound
- type MultiDeleteAuthTokenOK
- type MultiDeleteAuthTokenParams
- func NewMultiDeleteAuthTokenParams() *MultiDeleteAuthTokenParams
- func NewMultiDeleteAuthTokenParamsWithContext(ctx context.Context) *MultiDeleteAuthTokenParams
- func NewMultiDeleteAuthTokenParamsWithHTTPClient(client *http.Client) *MultiDeleteAuthTokenParams
- func NewMultiDeleteAuthTokenParamsWithTimeout(timeout time.Duration) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) SetAll(all *bool)
- func (o *MultiDeleteAuthTokenParams) SetContext(ctx context.Context)
- func (o *MultiDeleteAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *MultiDeleteAuthTokenParams) SetIds(ids *string)
- func (o *MultiDeleteAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *MultiDeleteAuthTokenParams) WithAll(all *bool) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) WithContext(ctx context.Context) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) WithHTTPClient(client *http.Client) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) WithIds(ids *string) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) WithTimeout(timeout time.Duration) *MultiDeleteAuthTokenParams
- func (o *MultiDeleteAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MultiDeleteAuthTokenReader
- type MultiDeleteAuthTokenUnauthorized
- type RevokeAuthTokenBadRequest
- type RevokeAuthTokenConflict
- type RevokeAuthTokenForbidden
- type RevokeAuthTokenInternalServerError
- type RevokeAuthTokenNotFound
- type RevokeAuthTokenOK
- type RevokeAuthTokenParams
- func NewRevokeAuthTokenParams() *RevokeAuthTokenParams
- func NewRevokeAuthTokenParamsWithContext(ctx context.Context) *RevokeAuthTokenParams
- func NewRevokeAuthTokenParamsWithHTTPClient(client *http.Client) *RevokeAuthTokenParams
- func NewRevokeAuthTokenParamsWithTimeout(timeout time.Duration) *RevokeAuthTokenParams
- func (o *RevokeAuthTokenParams) SetContext(ctx context.Context)
- func (o *RevokeAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *RevokeAuthTokenParams) SetResource(resource *models.AuthTokenRevokeRequest)
- func (o *RevokeAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *RevokeAuthTokenParams) WithContext(ctx context.Context) *RevokeAuthTokenParams
- func (o *RevokeAuthTokenParams) WithHTTPClient(client *http.Client) *RevokeAuthTokenParams
- func (o *RevokeAuthTokenParams) WithResource(resource *models.AuthTokenRevokeRequest) *RevokeAuthTokenParams
- func (o *RevokeAuthTokenParams) WithTimeout(timeout time.Duration) *RevokeAuthTokenParams
- func (o *RevokeAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeAuthTokenReader
- type RevokeAuthTokenUnauthorized
- type UpdateAuthTokenBadRequest
- type UpdateAuthTokenConflict
- type UpdateAuthTokenForbidden
- type UpdateAuthTokenInternalServerError
- type UpdateAuthTokenNotFound
- type UpdateAuthTokenOK
- type UpdateAuthTokenParams
- func NewUpdateAuthTokenParams() *UpdateAuthTokenParams
- func NewUpdateAuthTokenParamsWithContext(ctx context.Context) *UpdateAuthTokenParams
- func NewUpdateAuthTokenParamsWithHTTPClient(client *http.Client) *UpdateAuthTokenParams
- func NewUpdateAuthTokenParamsWithTimeout(timeout time.Duration) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) SetContext(ctx context.Context)
- func (o *UpdateAuthTokenParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAuthTokenParams) SetID(id int64)
- func (o *UpdateAuthTokenParams) SetResource(resource *models.AuthenticationToken)
- func (o *UpdateAuthTokenParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAuthTokenParams) WithContext(ctx context.Context) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) WithHTTPClient(client *http.Client) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) WithID(id int64) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) WithResource(resource *models.AuthenticationToken) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) WithTimeout(timeout time.Duration) *UpdateAuthTokenParams
- func (o *UpdateAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAuthTokenReader
- type UpdateAuthTokenUnauthorized
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 ¶
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 ¶
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 ¶
func (o *CreateAuthTokenCreated) GetPayload() *models.APIResultAuthenticationToken
type CreateAuthTokenForbidden ¶
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 ¶
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 (o *CreateAuthTokenInternalServerError) Error() string
func (*CreateAuthTokenInternalServerError) GetPayload ¶
func (o *CreateAuthTokenInternalServerError) GetPayload() *models.APIResult
type CreateAuthTokenNotFound ¶
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 ¶
func (o *CreateAuthTokenParams) WithAuthToken(authToken *models.AuthenticationToken) *CreateAuthTokenParams
WithAuthToken adds the authToken to the create auth token params
func (*CreateAuthTokenParams) WithContext ¶
func (o *CreateAuthTokenParams) WithContext(ctx context.Context) *CreateAuthTokenParams
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 {
}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 (o *CreateAuthTokenUnauthorized) Error() string
func (*CreateAuthTokenUnauthorized) GetPayload ¶
func (o *CreateAuthTokenUnauthorized) GetPayload() *models.APIResult
type DeleteAuthTokenBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *DeleteAuthTokenInternalServerError) Error() string
func (*DeleteAuthTokenInternalServerError) GetPayload ¶
func (o *DeleteAuthTokenInternalServerError) GetPayload() *models.APIResult
type DeleteAuthTokenNotFound ¶
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 ¶
func (o *DeleteAuthTokenParams) WithContext(ctx context.Context) *DeleteAuthTokenParams
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 ¶
func (o *DeleteAuthTokenParams) WithID(id int64) *DeleteAuthTokenParams
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 {
}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 (o *DeleteAuthTokenUnauthorized) Error() string
func (*DeleteAuthTokenUnauthorized) GetPayload ¶
func (o *DeleteAuthTokenUnauthorized) GetPayload() *models.APIResult
type ListAuthTokenBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *ListAuthTokenInternalServerError) Error() string
func (*ListAuthTokenInternalServerError) GetPayload ¶
func (o *ListAuthTokenInternalServerError) GetPayload() *models.APIResult
type ListAuthTokenNotFound ¶
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 ¶
func (o *ListAuthTokenOK) GetPayload() *models.APIResultListAuthenticationToken
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 ¶
func (o *ListAuthTokenParams) WithContext(ctx context.Context) *ListAuthTokenParams
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 ¶
func (o *ListAuthTokenParams) WithQ(q *string) *ListAuthTokenParams
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 {
}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 ¶
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 (o *MultiDeleteAuthTokenBadRequest) Error() string
func (*MultiDeleteAuthTokenBadRequest) GetPayload ¶
func (o *MultiDeleteAuthTokenBadRequest) GetPayload() *models.APIResult
type MultiDeleteAuthTokenConflict ¶
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 (o *MultiDeleteAuthTokenConflict) Error() string
func (*MultiDeleteAuthTokenConflict) GetPayload ¶
func (o *MultiDeleteAuthTokenConflict) GetPayload() *models.APIResult
type MultiDeleteAuthTokenForbidden ¶
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 (o *MultiDeleteAuthTokenForbidden) Error() string
func (*MultiDeleteAuthTokenForbidden) GetPayload ¶
func (o *MultiDeleteAuthTokenForbidden) GetPayload() *models.APIResult
type MultiDeleteAuthTokenInternalServerError ¶
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 (o *MultiDeleteAuthTokenInternalServerError) Error() string
func (*MultiDeleteAuthTokenInternalServerError) GetPayload ¶
func (o *MultiDeleteAuthTokenInternalServerError) GetPayload() *models.APIResult
type MultiDeleteAuthTokenNotFound ¶
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 (o *MultiDeleteAuthTokenNotFound) Error() string
func (*MultiDeleteAuthTokenNotFound) GetPayload ¶
func (o *MultiDeleteAuthTokenNotFound) GetPayload() *models.APIResult
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 ¶
func (o *MultiDeleteAuthTokenParams) WithAll(all *bool) *MultiDeleteAuthTokenParams
WithAll adds the all to the multi delete auth token params
func (*MultiDeleteAuthTokenParams) WithContext ¶
func (o *MultiDeleteAuthTokenParams) WithContext(ctx context.Context) *MultiDeleteAuthTokenParams
WithContext adds the context to the multi delete auth token params
func (*MultiDeleteAuthTokenParams) WithHTTPClient ¶
func (o *MultiDeleteAuthTokenParams) WithHTTPClient(client *http.Client) *MultiDeleteAuthTokenParams
WithHTTPClient adds the HTTPClient to the multi delete auth token params
func (*MultiDeleteAuthTokenParams) WithIds ¶
func (o *MultiDeleteAuthTokenParams) WithIds(ids *string) *MultiDeleteAuthTokenParams
WithIds adds the ids to the multi delete auth token params
func (*MultiDeleteAuthTokenParams) WithTimeout ¶
func (o *MultiDeleteAuthTokenParams) WithTimeout(timeout time.Duration) *MultiDeleteAuthTokenParams
WithTimeout adds the timeout to the multi delete auth token params
func (*MultiDeleteAuthTokenParams) WriteToRequest ¶
func (o *MultiDeleteAuthTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *MultiDeleteAuthTokenUnauthorized) Error() string
func (*MultiDeleteAuthTokenUnauthorized) GetPayload ¶
func (o *MultiDeleteAuthTokenUnauthorized) GetPayload() *models.APIResult
type RevokeAuthTokenBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *RevokeAuthTokenInternalServerError) Error() string
func (*RevokeAuthTokenInternalServerError) GetPayload ¶
func (o *RevokeAuthTokenInternalServerError) GetPayload() *models.APIResult
type RevokeAuthTokenNotFound ¶
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 ¶
func (o *RevokeAuthTokenParams) WithContext(ctx context.Context) *RevokeAuthTokenParams
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 ¶
func (o *RevokeAuthTokenParams) WithResource(resource *models.AuthTokenRevokeRequest) *RevokeAuthTokenParams
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 {
}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 (o *RevokeAuthTokenUnauthorized) Error() string
func (*RevokeAuthTokenUnauthorized) GetPayload ¶
func (o *RevokeAuthTokenUnauthorized) GetPayload() *models.APIResult
type UpdateAuthTokenBadRequest ¶
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 ¶
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 ¶
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 ¶
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 (o *UpdateAuthTokenInternalServerError) Error() string
func (*UpdateAuthTokenInternalServerError) GetPayload ¶
func (o *UpdateAuthTokenInternalServerError) GetPayload() *models.APIResult
type UpdateAuthTokenNotFound ¶
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 ¶
func (o *UpdateAuthTokenOK) GetPayload() *models.APIResultAuthenticationToken
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 ¶
func (o *UpdateAuthTokenParams) WithContext(ctx context.Context) *UpdateAuthTokenParams
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 ¶
func (o *UpdateAuthTokenParams) WithID(id int64) *UpdateAuthTokenParams
WithID adds the id to the update auth token params
func (*UpdateAuthTokenParams) WithResource ¶
func (o *UpdateAuthTokenParams) WithResource(resource *models.AuthenticationToken) *UpdateAuthTokenParams
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 {
}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 (o *UpdateAuthTokenUnauthorized) Error() string
func (*UpdateAuthTokenUnauthorized) GetPayload ¶
func (o *UpdateAuthTokenUnauthorized) GetPayload() *models.APIResult
Source Files ¶
- auth_token_controller_client.go
- create_auth_token_parameters.go
- create_auth_token_responses.go
- delete_auth_token_parameters.go
- delete_auth_token_responses.go
- list_auth_token_parameters.go
- list_auth_token_responses.go
- multi_delete_auth_token_parameters.go
- multi_delete_auth_token_responses.go
- revoke_auth_token_parameters.go
- revoke_auth_token_responses.go
- update_auth_token_parameters.go
- update_auth_token_responses.go