Documentation ¶
Index ¶
- type Client
- func (a *Client) GenerateDocumentAccessToken(params *GenerateDocumentAccessTokenParams, opts ...ClientOption) (*GenerateDocumentAccessTokenOK, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
- func (a *Client) ResetPasswordToken(params *ResetPasswordTokenParams, opts ...ClientOption) (*ResetPasswordTokenOK, error)
- func (a *Client) Revoke(params *RevokeParams, opts ...ClientOption) (*RevokeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GenerateDocumentAccessTokenForbidden
- type GenerateDocumentAccessTokenInternalServerError
- type GenerateDocumentAccessTokenNotFound
- type GenerateDocumentAccessTokenOK
- type GenerateDocumentAccessTokenParams
- func NewGenerateDocumentAccessTokenParams() *GenerateDocumentAccessTokenParams
- func NewGenerateDocumentAccessTokenParamsWithContext(ctx context.Context) *GenerateDocumentAccessTokenParams
- func NewGenerateDocumentAccessTokenParamsWithHTTPClient(client *http.Client) *GenerateDocumentAccessTokenParams
- func NewGenerateDocumentAccessTokenParamsWithTimeout(timeout time.Duration) *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) SetBody(body *models.RestDocumentAccessTokenRequest)
- func (o *GenerateDocumentAccessTokenParams) SetContext(ctx context.Context)
- func (o *GenerateDocumentAccessTokenParams) SetDefaults()
- func (o *GenerateDocumentAccessTokenParams) SetHTTPClient(client *http.Client)
- func (o *GenerateDocumentAccessTokenParams) SetTimeout(timeout time.Duration)
- func (o *GenerateDocumentAccessTokenParams) WithBody(body *models.RestDocumentAccessTokenRequest) *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) WithContext(ctx context.Context) *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) WithDefaults() *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) WithHTTPClient(client *http.Client) *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) WithTimeout(timeout time.Duration) *GenerateDocumentAccessTokenParams
- func (o *GenerateDocumentAccessTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateDocumentAccessTokenReader
- type GenerateDocumentAccessTokenUnauthorized
- type ResetPasswordForbidden
- type ResetPasswordInternalServerError
- type ResetPasswordNotFound
- type ResetPasswordOK
- type ResetPasswordParams
- func (o *ResetPasswordParams) SetBody(body *models.RestResetPasswordRequest)
- func (o *ResetPasswordParams) SetContext(ctx context.Context)
- func (o *ResetPasswordParams) SetDefaults()
- func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordParams) WithBody(body *models.RestResetPasswordRequest) *ResetPasswordParams
- func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
- func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
- func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
- func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
- func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordReader
- type ResetPasswordTokenForbidden
- type ResetPasswordTokenInternalServerError
- type ResetPasswordTokenNotFound
- type ResetPasswordTokenOK
- type ResetPasswordTokenParams
- func NewResetPasswordTokenParams() *ResetPasswordTokenParams
- func NewResetPasswordTokenParamsWithContext(ctx context.Context) *ResetPasswordTokenParams
- func NewResetPasswordTokenParamsWithHTTPClient(client *http.Client) *ResetPasswordTokenParams
- func NewResetPasswordTokenParamsWithTimeout(timeout time.Duration) *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) SetContext(ctx context.Context)
- func (o *ResetPasswordTokenParams) SetDefaults()
- func (o *ResetPasswordTokenParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordTokenParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordTokenParams) SetUserLogin(userLogin string)
- func (o *ResetPasswordTokenParams) WithContext(ctx context.Context) *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) WithDefaults() *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) WithHTTPClient(client *http.Client) *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) WithTimeout(timeout time.Duration) *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) WithUserLogin(userLogin string) *ResetPasswordTokenParams
- func (o *ResetPasswordTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordTokenReader
- type ResetPasswordTokenUnauthorized
- type ResetPasswordUnauthorized
- type RevokeForbidden
- type RevokeInternalServerError
- type RevokeNotFound
- type RevokeOK
- type RevokeParams
- func (o *RevokeParams) SetBody(body *models.RestRevokeRequest)
- func (o *RevokeParams) SetContext(ctx context.Context)
- func (o *RevokeParams) SetDefaults()
- func (o *RevokeParams) SetHTTPClient(client *http.Client)
- func (o *RevokeParams) SetTimeout(timeout time.Duration)
- func (o *RevokeParams) WithBody(body *models.RestRevokeRequest) *RevokeParams
- func (o *RevokeParams) WithContext(ctx context.Context) *RevokeParams
- func (o *RevokeParams) WithDefaults() *RevokeParams
- func (o *RevokeParams) WithHTTPClient(client *http.Client) *RevokeParams
- func (o *RevokeParams) WithTimeout(timeout time.Duration) *RevokeParams
- func (o *RevokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeReader
- type RevokeUnauthorized
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 token service API
func (*Client) GenerateDocumentAccessToken ¶
func (a *Client) GenerateDocumentAccessToken(params *GenerateDocumentAccessTokenParams, opts ...ClientOption) (*GenerateDocumentAccessTokenOK, error)
GenerateDocumentAccessToken generates a temporary access token for a specific document for the current user
func (*Client) ResetPassword ¶
func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPassword finishes up the reset password process by providing the unique token
func (*Client) ResetPasswordToken ¶
func (a *Client) ResetPasswordToken(params *ResetPasswordTokenParams, opts ...ClientOption) (*ResetPasswordTokenOK, error)
ResetPasswordToken generates a unique token for the reset password process
func (*Client) Revoke ¶
func (a *Client) Revoke(params *RevokeParams, opts ...ClientOption) (*RevokeOK, error)
Revoke revokes a j w t token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GenerateDocumentAccessToken(params *GenerateDocumentAccessTokenParams, opts ...ClientOption) (*GenerateDocumentAccessTokenOK, error) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error) ResetPasswordToken(params *ResetPasswordTokenParams, opts ...ClientOption) (*ResetPasswordTokenOK, error) Revoke(params *RevokeParams, opts ...ClientOption) (*RevokeOK, 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 token service API client.
type GenerateDocumentAccessTokenForbidden ¶
GenerateDocumentAccessTokenForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewGenerateDocumentAccessTokenForbidden ¶
func NewGenerateDocumentAccessTokenForbidden() *GenerateDocumentAccessTokenForbidden
NewGenerateDocumentAccessTokenForbidden creates a GenerateDocumentAccessTokenForbidden with default headers values
func (*GenerateDocumentAccessTokenForbidden) Error ¶
func (o *GenerateDocumentAccessTokenForbidden) Error() string
func (*GenerateDocumentAccessTokenForbidden) GetPayload ¶
func (o *GenerateDocumentAccessTokenForbidden) GetPayload() *models.RestError
type GenerateDocumentAccessTokenInternalServerError ¶
GenerateDocumentAccessTokenInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewGenerateDocumentAccessTokenInternalServerError ¶
func NewGenerateDocumentAccessTokenInternalServerError() *GenerateDocumentAccessTokenInternalServerError
NewGenerateDocumentAccessTokenInternalServerError creates a GenerateDocumentAccessTokenInternalServerError with default headers values
func (*GenerateDocumentAccessTokenInternalServerError) Error ¶
func (o *GenerateDocumentAccessTokenInternalServerError) Error() string
func (*GenerateDocumentAccessTokenInternalServerError) GetPayload ¶
func (o *GenerateDocumentAccessTokenInternalServerError) GetPayload() *models.RestError
type GenerateDocumentAccessTokenNotFound ¶
GenerateDocumentAccessTokenNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewGenerateDocumentAccessTokenNotFound ¶
func NewGenerateDocumentAccessTokenNotFound() *GenerateDocumentAccessTokenNotFound
NewGenerateDocumentAccessTokenNotFound creates a GenerateDocumentAccessTokenNotFound with default headers values
func (*GenerateDocumentAccessTokenNotFound) Error ¶
func (o *GenerateDocumentAccessTokenNotFound) Error() string
func (*GenerateDocumentAccessTokenNotFound) GetPayload ¶
func (o *GenerateDocumentAccessTokenNotFound) GetPayload() *models.RestError
type GenerateDocumentAccessTokenOK ¶
type GenerateDocumentAccessTokenOK struct {
Payload *models.RestDocumentAccessTokenResponse
}
GenerateDocumentAccessTokenOK describes a response with status code 200, with default header values.
GenerateDocumentAccessTokenOK generate document access token o k
func NewGenerateDocumentAccessTokenOK ¶
func NewGenerateDocumentAccessTokenOK() *GenerateDocumentAccessTokenOK
NewGenerateDocumentAccessTokenOK creates a GenerateDocumentAccessTokenOK with default headers values
func (*GenerateDocumentAccessTokenOK) Error ¶
func (o *GenerateDocumentAccessTokenOK) Error() string
func (*GenerateDocumentAccessTokenOK) GetPayload ¶
func (o *GenerateDocumentAccessTokenOK) GetPayload() *models.RestDocumentAccessTokenResponse
type GenerateDocumentAccessTokenParams ¶
type GenerateDocumentAccessTokenParams struct { // Body. Body *models.RestDocumentAccessTokenRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateDocumentAccessTokenParams contains all the parameters to send to the API endpoint
for the generate document access token operation. Typically these are written to a http.Request.
func NewGenerateDocumentAccessTokenParams ¶
func NewGenerateDocumentAccessTokenParams() *GenerateDocumentAccessTokenParams
NewGenerateDocumentAccessTokenParams creates a new GenerateDocumentAccessTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGenerateDocumentAccessTokenParamsWithContext ¶
func NewGenerateDocumentAccessTokenParamsWithContext(ctx context.Context) *GenerateDocumentAccessTokenParams
NewGenerateDocumentAccessTokenParamsWithContext creates a new GenerateDocumentAccessTokenParams object with the ability to set a context for a request.
func NewGenerateDocumentAccessTokenParamsWithHTTPClient ¶
func NewGenerateDocumentAccessTokenParamsWithHTTPClient(client *http.Client) *GenerateDocumentAccessTokenParams
NewGenerateDocumentAccessTokenParamsWithHTTPClient creates a new GenerateDocumentAccessTokenParams object with the ability to set a custom HTTPClient for a request.
func NewGenerateDocumentAccessTokenParamsWithTimeout ¶
func NewGenerateDocumentAccessTokenParamsWithTimeout(timeout time.Duration) *GenerateDocumentAccessTokenParams
NewGenerateDocumentAccessTokenParamsWithTimeout creates a new GenerateDocumentAccessTokenParams object with the ability to set a timeout on a request.
func (*GenerateDocumentAccessTokenParams) SetBody ¶
func (o *GenerateDocumentAccessTokenParams) SetBody(body *models.RestDocumentAccessTokenRequest)
SetBody adds the body to the generate document access token params
func (*GenerateDocumentAccessTokenParams) SetContext ¶
func (o *GenerateDocumentAccessTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the generate document access token params
func (*GenerateDocumentAccessTokenParams) SetDefaults ¶
func (o *GenerateDocumentAccessTokenParams) SetDefaults()
SetDefaults hydrates default values in the generate document access token params (not the query body).
All values with no default are reset to their zero value.
func (*GenerateDocumentAccessTokenParams) SetHTTPClient ¶
func (o *GenerateDocumentAccessTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate document access token params
func (*GenerateDocumentAccessTokenParams) SetTimeout ¶
func (o *GenerateDocumentAccessTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate document access token params
func (*GenerateDocumentAccessTokenParams) WithBody ¶
func (o *GenerateDocumentAccessTokenParams) WithBody(body *models.RestDocumentAccessTokenRequest) *GenerateDocumentAccessTokenParams
WithBody adds the body to the generate document access token params
func (*GenerateDocumentAccessTokenParams) WithContext ¶
func (o *GenerateDocumentAccessTokenParams) WithContext(ctx context.Context) *GenerateDocumentAccessTokenParams
WithContext adds the context to the generate document access token params
func (*GenerateDocumentAccessTokenParams) WithDefaults ¶
func (o *GenerateDocumentAccessTokenParams) WithDefaults() *GenerateDocumentAccessTokenParams
WithDefaults hydrates default values in the generate document access token params (not the query body).
All values with no default are reset to their zero value.
func (*GenerateDocumentAccessTokenParams) WithHTTPClient ¶
func (o *GenerateDocumentAccessTokenParams) WithHTTPClient(client *http.Client) *GenerateDocumentAccessTokenParams
WithHTTPClient adds the HTTPClient to the generate document access token params
func (*GenerateDocumentAccessTokenParams) WithTimeout ¶
func (o *GenerateDocumentAccessTokenParams) WithTimeout(timeout time.Duration) *GenerateDocumentAccessTokenParams
WithTimeout adds the timeout to the generate document access token params
func (*GenerateDocumentAccessTokenParams) WriteToRequest ¶
func (o *GenerateDocumentAccessTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateDocumentAccessTokenReader ¶
type GenerateDocumentAccessTokenReader struct {
// contains filtered or unexported fields
}
GenerateDocumentAccessTokenReader is a Reader for the GenerateDocumentAccessToken structure.
func (*GenerateDocumentAccessTokenReader) ReadResponse ¶
func (o *GenerateDocumentAccessTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateDocumentAccessTokenUnauthorized ¶
type GenerateDocumentAccessTokenUnauthorized struct { }
GenerateDocumentAccessTokenUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewGenerateDocumentAccessTokenUnauthorized ¶
func NewGenerateDocumentAccessTokenUnauthorized() *GenerateDocumentAccessTokenUnauthorized
NewGenerateDocumentAccessTokenUnauthorized creates a GenerateDocumentAccessTokenUnauthorized with default headers values
func (*GenerateDocumentAccessTokenUnauthorized) Error ¶
func (o *GenerateDocumentAccessTokenUnauthorized) Error() string
type ResetPasswordForbidden ¶
ResetPasswordForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewResetPasswordForbidden ¶
func NewResetPasswordForbidden() *ResetPasswordForbidden
NewResetPasswordForbidden creates a ResetPasswordForbidden with default headers values
func (*ResetPasswordForbidden) Error ¶
func (o *ResetPasswordForbidden) Error() string
func (*ResetPasswordForbidden) GetPayload ¶
func (o *ResetPasswordForbidden) GetPayload() *models.RestError
type ResetPasswordInternalServerError ¶
ResetPasswordInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewResetPasswordInternalServerError ¶
func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError
NewResetPasswordInternalServerError creates a ResetPasswordInternalServerError with default headers values
func (*ResetPasswordInternalServerError) Error ¶
func (o *ResetPasswordInternalServerError) Error() string
func (*ResetPasswordInternalServerError) GetPayload ¶
func (o *ResetPasswordInternalServerError) GetPayload() *models.RestError
type ResetPasswordNotFound ¶
ResetPasswordNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewResetPasswordNotFound ¶
func NewResetPasswordNotFound() *ResetPasswordNotFound
NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values
func (*ResetPasswordNotFound) Error ¶
func (o *ResetPasswordNotFound) Error() string
func (*ResetPasswordNotFound) GetPayload ¶
func (o *ResetPasswordNotFound) GetPayload() *models.RestError
type ResetPasswordOK ¶
type ResetPasswordOK struct {
Payload *models.RestResetPasswordResponse
}
ResetPasswordOK describes a response with status code 200, with default header values.
ResetPasswordOK reset password o k
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Error ¶
func (o *ResetPasswordOK) Error() string
func (*ResetPasswordOK) GetPayload ¶
func (o *ResetPasswordOK) GetPayload() *models.RestResetPasswordResponse
type ResetPasswordParams ¶
type ResetPasswordParams struct { // Body. Body *models.RestResetPasswordRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordParams contains all the parameters to send to the API endpoint
for the reset password operation. Typically these are written to a http.Request.
func NewResetPasswordParams ¶
func NewResetPasswordParams() *ResetPasswordParams
NewResetPasswordParams creates a new ResetPasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResetPasswordParamsWithContext ¶
func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams
NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.
func NewResetPasswordParamsWithHTTPClient ¶
func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams
NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordParamsWithTimeout ¶
func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams
NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.
func (*ResetPasswordParams) SetBody ¶
func (o *ResetPasswordParams) SetBody(body *models.RestResetPasswordRequest)
SetBody adds the body to the reset password params
func (*ResetPasswordParams) SetContext ¶
func (o *ResetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password params
func (*ResetPasswordParams) SetDefaults ¶
func (o *ResetPasswordParams) SetDefaults()
SetDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) SetHTTPClient ¶
func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) SetTimeout ¶
func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WithBody ¶
func (o *ResetPasswordParams) WithBody(body *models.RestResetPasswordRequest) *ResetPasswordParams
WithBody adds the body to the reset password params
func (*ResetPasswordParams) WithContext ¶
func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
WithContext adds the context to the reset password params
func (*ResetPasswordParams) WithDefaults ¶
func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
WithDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) WithHTTPClient ¶
func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
WithHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) WithTimeout ¶
func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
WithTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WriteToRequest ¶
func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordReader ¶
type ResetPasswordReader struct {
// contains filtered or unexported fields
}
ResetPasswordReader is a Reader for the ResetPassword structure.
func (*ResetPasswordReader) ReadResponse ¶
func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordTokenForbidden ¶
ResetPasswordTokenForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewResetPasswordTokenForbidden ¶
func NewResetPasswordTokenForbidden() *ResetPasswordTokenForbidden
NewResetPasswordTokenForbidden creates a ResetPasswordTokenForbidden with default headers values
func (*ResetPasswordTokenForbidden) Error ¶
func (o *ResetPasswordTokenForbidden) Error() string
func (*ResetPasswordTokenForbidden) GetPayload ¶
func (o *ResetPasswordTokenForbidden) GetPayload() *models.RestError
type ResetPasswordTokenInternalServerError ¶
ResetPasswordTokenInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewResetPasswordTokenInternalServerError ¶
func NewResetPasswordTokenInternalServerError() *ResetPasswordTokenInternalServerError
NewResetPasswordTokenInternalServerError creates a ResetPasswordTokenInternalServerError with default headers values
func (*ResetPasswordTokenInternalServerError) Error ¶
func (o *ResetPasswordTokenInternalServerError) Error() string
func (*ResetPasswordTokenInternalServerError) GetPayload ¶
func (o *ResetPasswordTokenInternalServerError) GetPayload() *models.RestError
type ResetPasswordTokenNotFound ¶
ResetPasswordTokenNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewResetPasswordTokenNotFound ¶
func NewResetPasswordTokenNotFound() *ResetPasswordTokenNotFound
NewResetPasswordTokenNotFound creates a ResetPasswordTokenNotFound with default headers values
func (*ResetPasswordTokenNotFound) Error ¶
func (o *ResetPasswordTokenNotFound) Error() string
func (*ResetPasswordTokenNotFound) GetPayload ¶
func (o *ResetPasswordTokenNotFound) GetPayload() *models.RestError
type ResetPasswordTokenOK ¶
type ResetPasswordTokenOK struct {
Payload *models.RestResetPasswordTokenResponse
}
ResetPasswordTokenOK describes a response with status code 200, with default header values.
ResetPasswordTokenOK reset password token o k
func NewResetPasswordTokenOK ¶
func NewResetPasswordTokenOK() *ResetPasswordTokenOK
NewResetPasswordTokenOK creates a ResetPasswordTokenOK with default headers values
func (*ResetPasswordTokenOK) Error ¶
func (o *ResetPasswordTokenOK) Error() string
func (*ResetPasswordTokenOK) GetPayload ¶
func (o *ResetPasswordTokenOK) GetPayload() *models.RestResetPasswordTokenResponse
type ResetPasswordTokenParams ¶
type ResetPasswordTokenParams struct { // UserLogin. UserLogin string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordTokenParams contains all the parameters to send to the API endpoint
for the reset password token operation. Typically these are written to a http.Request.
func NewResetPasswordTokenParams ¶
func NewResetPasswordTokenParams() *ResetPasswordTokenParams
NewResetPasswordTokenParams creates a new ResetPasswordTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResetPasswordTokenParamsWithContext ¶
func NewResetPasswordTokenParamsWithContext(ctx context.Context) *ResetPasswordTokenParams
NewResetPasswordTokenParamsWithContext creates a new ResetPasswordTokenParams object with the ability to set a context for a request.
func NewResetPasswordTokenParamsWithHTTPClient ¶
func NewResetPasswordTokenParamsWithHTTPClient(client *http.Client) *ResetPasswordTokenParams
NewResetPasswordTokenParamsWithHTTPClient creates a new ResetPasswordTokenParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordTokenParamsWithTimeout ¶
func NewResetPasswordTokenParamsWithTimeout(timeout time.Duration) *ResetPasswordTokenParams
NewResetPasswordTokenParamsWithTimeout creates a new ResetPasswordTokenParams object with the ability to set a timeout on a request.
func (*ResetPasswordTokenParams) SetContext ¶
func (o *ResetPasswordTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password token params
func (*ResetPasswordTokenParams) SetDefaults ¶
func (o *ResetPasswordTokenParams) SetDefaults()
SetDefaults hydrates default values in the reset password token params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordTokenParams) SetHTTPClient ¶
func (o *ResetPasswordTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password token params
func (*ResetPasswordTokenParams) SetTimeout ¶
func (o *ResetPasswordTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password token params
func (*ResetPasswordTokenParams) SetUserLogin ¶
func (o *ResetPasswordTokenParams) SetUserLogin(userLogin string)
SetUserLogin adds the userLogin to the reset password token params
func (*ResetPasswordTokenParams) WithContext ¶
func (o *ResetPasswordTokenParams) WithContext(ctx context.Context) *ResetPasswordTokenParams
WithContext adds the context to the reset password token params
func (*ResetPasswordTokenParams) WithDefaults ¶
func (o *ResetPasswordTokenParams) WithDefaults() *ResetPasswordTokenParams
WithDefaults hydrates default values in the reset password token params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordTokenParams) WithHTTPClient ¶
func (o *ResetPasswordTokenParams) WithHTTPClient(client *http.Client) *ResetPasswordTokenParams
WithHTTPClient adds the HTTPClient to the reset password token params
func (*ResetPasswordTokenParams) WithTimeout ¶
func (o *ResetPasswordTokenParams) WithTimeout(timeout time.Duration) *ResetPasswordTokenParams
WithTimeout adds the timeout to the reset password token params
func (*ResetPasswordTokenParams) WithUserLogin ¶
func (o *ResetPasswordTokenParams) WithUserLogin(userLogin string) *ResetPasswordTokenParams
WithUserLogin adds the userLogin to the reset password token params
func (*ResetPasswordTokenParams) WriteToRequest ¶
func (o *ResetPasswordTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordTokenReader ¶
type ResetPasswordTokenReader struct {
// contains filtered or unexported fields
}
ResetPasswordTokenReader is a Reader for the ResetPasswordToken structure.
func (*ResetPasswordTokenReader) ReadResponse ¶
func (o *ResetPasswordTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordTokenUnauthorized ¶
type ResetPasswordTokenUnauthorized struct { }
ResetPasswordTokenUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewResetPasswordTokenUnauthorized ¶
func NewResetPasswordTokenUnauthorized() *ResetPasswordTokenUnauthorized
NewResetPasswordTokenUnauthorized creates a ResetPasswordTokenUnauthorized with default headers values
func (*ResetPasswordTokenUnauthorized) Error ¶
func (o *ResetPasswordTokenUnauthorized) Error() string
type ResetPasswordUnauthorized ¶
type ResetPasswordUnauthorized struct { }
ResetPasswordUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewResetPasswordUnauthorized ¶
func NewResetPasswordUnauthorized() *ResetPasswordUnauthorized
NewResetPasswordUnauthorized creates a ResetPasswordUnauthorized with default headers values
func (*ResetPasswordUnauthorized) Error ¶
func (o *ResetPasswordUnauthorized) Error() string
type RevokeForbidden ¶
RevokeForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewRevokeForbidden ¶
func NewRevokeForbidden() *RevokeForbidden
NewRevokeForbidden creates a RevokeForbidden with default headers values
func (*RevokeForbidden) Error ¶
func (o *RevokeForbidden) Error() string
func (*RevokeForbidden) GetPayload ¶
func (o *RevokeForbidden) GetPayload() *models.RestError
type RevokeInternalServerError ¶
RevokeInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewRevokeInternalServerError ¶
func NewRevokeInternalServerError() *RevokeInternalServerError
NewRevokeInternalServerError creates a RevokeInternalServerError with default headers values
func (*RevokeInternalServerError) Error ¶
func (o *RevokeInternalServerError) Error() string
func (*RevokeInternalServerError) GetPayload ¶
func (o *RevokeInternalServerError) GetPayload() *models.RestError
type RevokeNotFound ¶
RevokeNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewRevokeNotFound ¶
func NewRevokeNotFound() *RevokeNotFound
NewRevokeNotFound creates a RevokeNotFound with default headers values
func (*RevokeNotFound) Error ¶
func (o *RevokeNotFound) Error() string
func (*RevokeNotFound) GetPayload ¶
func (o *RevokeNotFound) GetPayload() *models.RestError
type RevokeOK ¶
type RevokeOK struct {
Payload *models.RestRevokeResponse
}
RevokeOK describes a response with status code 200, with default header values.
RevokeOK revoke o k
func NewRevokeOK ¶
func NewRevokeOK() *RevokeOK
NewRevokeOK creates a RevokeOK with default headers values
func (*RevokeOK) GetPayload ¶
func (o *RevokeOK) GetPayload() *models.RestRevokeResponse
type RevokeParams ¶
type RevokeParams struct { // Body. Body *models.RestRevokeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeParams contains all the parameters to send to the API endpoint
for the revoke operation. Typically these are written to a http.Request.
func NewRevokeParams ¶
func NewRevokeParams() *RevokeParams
NewRevokeParams creates a new RevokeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRevokeParamsWithContext ¶
func NewRevokeParamsWithContext(ctx context.Context) *RevokeParams
NewRevokeParamsWithContext creates a new RevokeParams object with the ability to set a context for a request.
func NewRevokeParamsWithHTTPClient ¶
func NewRevokeParamsWithHTTPClient(client *http.Client) *RevokeParams
NewRevokeParamsWithHTTPClient creates a new RevokeParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeParamsWithTimeout ¶
func NewRevokeParamsWithTimeout(timeout time.Duration) *RevokeParams
NewRevokeParamsWithTimeout creates a new RevokeParams object with the ability to set a timeout on a request.
func (*RevokeParams) SetBody ¶
func (o *RevokeParams) SetBody(body *models.RestRevokeRequest)
SetBody adds the body to the revoke params
func (*RevokeParams) SetContext ¶
func (o *RevokeParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke params
func (*RevokeParams) SetDefaults ¶
func (o *RevokeParams) SetDefaults()
SetDefaults hydrates default values in the revoke params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeParams) SetHTTPClient ¶
func (o *RevokeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke params
func (*RevokeParams) SetTimeout ¶
func (o *RevokeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke params
func (*RevokeParams) WithBody ¶
func (o *RevokeParams) WithBody(body *models.RestRevokeRequest) *RevokeParams
WithBody adds the body to the revoke params
func (*RevokeParams) WithContext ¶
func (o *RevokeParams) WithContext(ctx context.Context) *RevokeParams
WithContext adds the context to the revoke params
func (*RevokeParams) WithDefaults ¶
func (o *RevokeParams) WithDefaults() *RevokeParams
WithDefaults hydrates default values in the revoke params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeParams) WithHTTPClient ¶
func (o *RevokeParams) WithHTTPClient(client *http.Client) *RevokeParams
WithHTTPClient adds the HTTPClient to the revoke params
func (*RevokeParams) WithTimeout ¶
func (o *RevokeParams) WithTimeout(timeout time.Duration) *RevokeParams
WithTimeout adds the timeout to the revoke params
func (*RevokeParams) WriteToRequest ¶
func (o *RevokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeReader ¶
type RevokeReader struct {
// contains filtered or unexported fields
}
RevokeReader is a Reader for the Revoke structure.
func (*RevokeReader) ReadResponse ¶
func (o *RevokeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUnauthorized ¶
type RevokeUnauthorized struct { }
RevokeUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewRevokeUnauthorized ¶
func NewRevokeUnauthorized() *RevokeUnauthorized
NewRevokeUnauthorized creates a RevokeUnauthorized with default headers values
func (*RevokeUnauthorized) Error ¶
func (o *RevokeUnauthorized) Error() string