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
- func (o *GenerateDocumentAccessTokenForbidden) Code() int
- func (o *GenerateDocumentAccessTokenForbidden) Error() string
- func (o *GenerateDocumentAccessTokenForbidden) GetPayload() *models.RestError
- func (o *GenerateDocumentAccessTokenForbidden) IsClientError() bool
- func (o *GenerateDocumentAccessTokenForbidden) IsCode(code int) bool
- func (o *GenerateDocumentAccessTokenForbidden) IsRedirect() bool
- func (o *GenerateDocumentAccessTokenForbidden) IsServerError() bool
- func (o *GenerateDocumentAccessTokenForbidden) IsSuccess() bool
- func (o *GenerateDocumentAccessTokenForbidden) String() string
- type GenerateDocumentAccessTokenInternalServerError
- func (o *GenerateDocumentAccessTokenInternalServerError) Code() int
- func (o *GenerateDocumentAccessTokenInternalServerError) Error() string
- func (o *GenerateDocumentAccessTokenInternalServerError) GetPayload() *models.RestError
- func (o *GenerateDocumentAccessTokenInternalServerError) IsClientError() bool
- func (o *GenerateDocumentAccessTokenInternalServerError) IsCode(code int) bool
- func (o *GenerateDocumentAccessTokenInternalServerError) IsRedirect() bool
- func (o *GenerateDocumentAccessTokenInternalServerError) IsServerError() bool
- func (o *GenerateDocumentAccessTokenInternalServerError) IsSuccess() bool
- func (o *GenerateDocumentAccessTokenInternalServerError) String() string
- type GenerateDocumentAccessTokenNotFound
- func (o *GenerateDocumentAccessTokenNotFound) Code() int
- func (o *GenerateDocumentAccessTokenNotFound) Error() string
- func (o *GenerateDocumentAccessTokenNotFound) GetPayload() *models.RestError
- func (o *GenerateDocumentAccessTokenNotFound) IsClientError() bool
- func (o *GenerateDocumentAccessTokenNotFound) IsCode(code int) bool
- func (o *GenerateDocumentAccessTokenNotFound) IsRedirect() bool
- func (o *GenerateDocumentAccessTokenNotFound) IsServerError() bool
- func (o *GenerateDocumentAccessTokenNotFound) IsSuccess() bool
- func (o *GenerateDocumentAccessTokenNotFound) String() string
- type GenerateDocumentAccessTokenOK
- func (o *GenerateDocumentAccessTokenOK) Code() int
- func (o *GenerateDocumentAccessTokenOK) Error() string
- func (o *GenerateDocumentAccessTokenOK) GetPayload() *models.RestDocumentAccessTokenResponse
- func (o *GenerateDocumentAccessTokenOK) IsClientError() bool
- func (o *GenerateDocumentAccessTokenOK) IsCode(code int) bool
- func (o *GenerateDocumentAccessTokenOK) IsRedirect() bool
- func (o *GenerateDocumentAccessTokenOK) IsServerError() bool
- func (o *GenerateDocumentAccessTokenOK) IsSuccess() bool
- func (o *GenerateDocumentAccessTokenOK) String() string
- 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
- func (o *GenerateDocumentAccessTokenUnauthorized) Code() int
- func (o *GenerateDocumentAccessTokenUnauthorized) Error() string
- func (o *GenerateDocumentAccessTokenUnauthorized) IsClientError() bool
- func (o *GenerateDocumentAccessTokenUnauthorized) IsCode(code int) bool
- func (o *GenerateDocumentAccessTokenUnauthorized) IsRedirect() bool
- func (o *GenerateDocumentAccessTokenUnauthorized) IsServerError() bool
- func (o *GenerateDocumentAccessTokenUnauthorized) IsSuccess() bool
- func (o *GenerateDocumentAccessTokenUnauthorized) String() string
- type ResetPasswordForbidden
- func (o *ResetPasswordForbidden) Code() int
- func (o *ResetPasswordForbidden) Error() string
- func (o *ResetPasswordForbidden) GetPayload() *models.RestError
- func (o *ResetPasswordForbidden) IsClientError() bool
- func (o *ResetPasswordForbidden) IsCode(code int) bool
- func (o *ResetPasswordForbidden) IsRedirect() bool
- func (o *ResetPasswordForbidden) IsServerError() bool
- func (o *ResetPasswordForbidden) IsSuccess() bool
- func (o *ResetPasswordForbidden) String() string
- type ResetPasswordInternalServerError
- func (o *ResetPasswordInternalServerError) Code() int
- func (o *ResetPasswordInternalServerError) Error() string
- func (o *ResetPasswordInternalServerError) GetPayload() *models.RestError
- func (o *ResetPasswordInternalServerError) IsClientError() bool
- func (o *ResetPasswordInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordInternalServerError) IsRedirect() bool
- func (o *ResetPasswordInternalServerError) IsServerError() bool
- func (o *ResetPasswordInternalServerError) IsSuccess() bool
- func (o *ResetPasswordInternalServerError) String() string
- type ResetPasswordNotFound
- func (o *ResetPasswordNotFound) Code() int
- func (o *ResetPasswordNotFound) Error() string
- func (o *ResetPasswordNotFound) GetPayload() *models.RestError
- func (o *ResetPasswordNotFound) IsClientError() bool
- func (o *ResetPasswordNotFound) IsCode(code int) bool
- func (o *ResetPasswordNotFound) IsRedirect() bool
- func (o *ResetPasswordNotFound) IsServerError() bool
- func (o *ResetPasswordNotFound) IsSuccess() bool
- func (o *ResetPasswordNotFound) String() string
- type ResetPasswordOK
- func (o *ResetPasswordOK) Code() int
- func (o *ResetPasswordOK) Error() string
- func (o *ResetPasswordOK) GetPayload() *models.RestResetPasswordResponse
- func (o *ResetPasswordOK) IsClientError() bool
- func (o *ResetPasswordOK) IsCode(code int) bool
- func (o *ResetPasswordOK) IsRedirect() bool
- func (o *ResetPasswordOK) IsServerError() bool
- func (o *ResetPasswordOK) IsSuccess() bool
- func (o *ResetPasswordOK) String() string
- 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 ResetPasswordTokenBody
- func (o *ResetPasswordTokenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ResetPasswordTokenBody) MarshalBinary() ([]byte, error)
- func (o *ResetPasswordTokenBody) UnmarshalBinary(b []byte) error
- func (o *ResetPasswordTokenBody) Validate(formats strfmt.Registry) error
- type ResetPasswordTokenForbidden
- func (o *ResetPasswordTokenForbidden) Code() int
- func (o *ResetPasswordTokenForbidden) Error() string
- func (o *ResetPasswordTokenForbidden) GetPayload() *models.RestError
- func (o *ResetPasswordTokenForbidden) IsClientError() bool
- func (o *ResetPasswordTokenForbidden) IsCode(code int) bool
- func (o *ResetPasswordTokenForbidden) IsRedirect() bool
- func (o *ResetPasswordTokenForbidden) IsServerError() bool
- func (o *ResetPasswordTokenForbidden) IsSuccess() bool
- func (o *ResetPasswordTokenForbidden) String() string
- type ResetPasswordTokenInternalServerError
- func (o *ResetPasswordTokenInternalServerError) Code() int
- func (o *ResetPasswordTokenInternalServerError) Error() string
- func (o *ResetPasswordTokenInternalServerError) GetPayload() *models.RestError
- func (o *ResetPasswordTokenInternalServerError) IsClientError() bool
- func (o *ResetPasswordTokenInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordTokenInternalServerError) IsRedirect() bool
- func (o *ResetPasswordTokenInternalServerError) IsServerError() bool
- func (o *ResetPasswordTokenInternalServerError) IsSuccess() bool
- func (o *ResetPasswordTokenInternalServerError) String() string
- type ResetPasswordTokenNotFound
- func (o *ResetPasswordTokenNotFound) Code() int
- func (o *ResetPasswordTokenNotFound) Error() string
- func (o *ResetPasswordTokenNotFound) GetPayload() *models.RestError
- func (o *ResetPasswordTokenNotFound) IsClientError() bool
- func (o *ResetPasswordTokenNotFound) IsCode(code int) bool
- func (o *ResetPasswordTokenNotFound) IsRedirect() bool
- func (o *ResetPasswordTokenNotFound) IsServerError() bool
- func (o *ResetPasswordTokenNotFound) IsSuccess() bool
- func (o *ResetPasswordTokenNotFound) String() string
- type ResetPasswordTokenOK
- func (o *ResetPasswordTokenOK) Code() int
- func (o *ResetPasswordTokenOK) Error() string
- func (o *ResetPasswordTokenOK) GetPayload() *models.RestResetPasswordTokenResponse
- func (o *ResetPasswordTokenOK) IsClientError() bool
- func (o *ResetPasswordTokenOK) IsCode(code int) bool
- func (o *ResetPasswordTokenOK) IsRedirect() bool
- func (o *ResetPasswordTokenOK) IsServerError() bool
- func (o *ResetPasswordTokenOK) IsSuccess() bool
- func (o *ResetPasswordTokenOK) String() string
- 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) SetBody(body ResetPasswordTokenBody)
- 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) WithBody(body ResetPasswordTokenBody) *ResetPasswordTokenParams
- 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
- func (o *ResetPasswordTokenUnauthorized) Code() int
- func (o *ResetPasswordTokenUnauthorized) Error() string
- func (o *ResetPasswordTokenUnauthorized) IsClientError() bool
- func (o *ResetPasswordTokenUnauthorized) IsCode(code int) bool
- func (o *ResetPasswordTokenUnauthorized) IsRedirect() bool
- func (o *ResetPasswordTokenUnauthorized) IsServerError() bool
- func (o *ResetPasswordTokenUnauthorized) IsSuccess() bool
- func (o *ResetPasswordTokenUnauthorized) String() string
- type ResetPasswordUnauthorized
- func (o *ResetPasswordUnauthorized) Code() int
- func (o *ResetPasswordUnauthorized) Error() string
- func (o *ResetPasswordUnauthorized) IsClientError() bool
- func (o *ResetPasswordUnauthorized) IsCode(code int) bool
- func (o *ResetPasswordUnauthorized) IsRedirect() bool
- func (o *ResetPasswordUnauthorized) IsServerError() bool
- func (o *ResetPasswordUnauthorized) IsSuccess() bool
- func (o *ResetPasswordUnauthorized) String() string
- type RevokeForbidden
- func (o *RevokeForbidden) Code() int
- func (o *RevokeForbidden) Error() string
- func (o *RevokeForbidden) GetPayload() *models.RestError
- func (o *RevokeForbidden) IsClientError() bool
- func (o *RevokeForbidden) IsCode(code int) bool
- func (o *RevokeForbidden) IsRedirect() bool
- func (o *RevokeForbidden) IsServerError() bool
- func (o *RevokeForbidden) IsSuccess() bool
- func (o *RevokeForbidden) String() string
- type RevokeInternalServerError
- func (o *RevokeInternalServerError) Code() int
- func (o *RevokeInternalServerError) Error() string
- func (o *RevokeInternalServerError) GetPayload() *models.RestError
- func (o *RevokeInternalServerError) IsClientError() bool
- func (o *RevokeInternalServerError) IsCode(code int) bool
- func (o *RevokeInternalServerError) IsRedirect() bool
- func (o *RevokeInternalServerError) IsServerError() bool
- func (o *RevokeInternalServerError) IsSuccess() bool
- func (o *RevokeInternalServerError) String() string
- type RevokeNotFound
- func (o *RevokeNotFound) Code() int
- func (o *RevokeNotFound) Error() string
- func (o *RevokeNotFound) GetPayload() *models.RestError
- func (o *RevokeNotFound) IsClientError() bool
- func (o *RevokeNotFound) IsCode(code int) bool
- func (o *RevokeNotFound) IsRedirect() bool
- func (o *RevokeNotFound) IsServerError() bool
- func (o *RevokeNotFound) IsSuccess() bool
- func (o *RevokeNotFound) String() string
- type RevokeOK
- func (o *RevokeOK) Code() int
- func (o *RevokeOK) Error() string
- func (o *RevokeOK) GetPayload() *models.RestRevokeResponse
- func (o *RevokeOK) IsClientError() bool
- func (o *RevokeOK) IsCode(code int) bool
- func (o *RevokeOK) IsRedirect() bool
- func (o *RevokeOK) IsServerError() bool
- func (o *RevokeOK) IsSuccess() bool
- func (o *RevokeOK) String() string
- 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
- func (o *RevokeUnauthorized) Code() int
- func (o *RevokeUnauthorized) Error() string
- func (o *RevokeUnauthorized) IsClientError() bool
- func (o *RevokeUnauthorized) IsCode(code int) bool
- func (o *RevokeUnauthorized) IsRedirect() bool
- func (o *RevokeUnauthorized) IsServerError() bool
- func (o *RevokeUnauthorized) IsSuccess() bool
- func (o *RevokeUnauthorized) String() string
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) Code ¶ added in v4.0.1
func (o *GenerateDocumentAccessTokenForbidden) Code() int
Code gets the status code for the generate document access token forbidden response
func (*GenerateDocumentAccessTokenForbidden) Error ¶
func (o *GenerateDocumentAccessTokenForbidden) Error() string
func (*GenerateDocumentAccessTokenForbidden) GetPayload ¶
func (o *GenerateDocumentAccessTokenForbidden) GetPayload() *models.RestError
func (*GenerateDocumentAccessTokenForbidden) IsClientError ¶
func (o *GenerateDocumentAccessTokenForbidden) IsClientError() bool
IsClientError returns true when this generate document access token forbidden response has a 4xx status code
func (*GenerateDocumentAccessTokenForbidden) IsCode ¶
func (o *GenerateDocumentAccessTokenForbidden) IsCode(code int) bool
IsCode returns true when this generate document access token forbidden response a status code equal to that given
func (*GenerateDocumentAccessTokenForbidden) IsRedirect ¶
func (o *GenerateDocumentAccessTokenForbidden) IsRedirect() bool
IsRedirect returns true when this generate document access token forbidden response has a 3xx status code
func (*GenerateDocumentAccessTokenForbidden) IsServerError ¶
func (o *GenerateDocumentAccessTokenForbidden) IsServerError() bool
IsServerError returns true when this generate document access token forbidden response has a 5xx status code
func (*GenerateDocumentAccessTokenForbidden) IsSuccess ¶
func (o *GenerateDocumentAccessTokenForbidden) IsSuccess() bool
IsSuccess returns true when this generate document access token forbidden response has a 2xx status code
func (*GenerateDocumentAccessTokenForbidden) String ¶
func (o *GenerateDocumentAccessTokenForbidden) String() string
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) Code ¶ added in v4.0.1
func (o *GenerateDocumentAccessTokenInternalServerError) Code() int
Code gets the status code for the generate document access token internal server error response
func (*GenerateDocumentAccessTokenInternalServerError) Error ¶
func (o *GenerateDocumentAccessTokenInternalServerError) Error() string
func (*GenerateDocumentAccessTokenInternalServerError) GetPayload ¶
func (o *GenerateDocumentAccessTokenInternalServerError) GetPayload() *models.RestError
func (*GenerateDocumentAccessTokenInternalServerError) IsClientError ¶
func (o *GenerateDocumentAccessTokenInternalServerError) IsClientError() bool
IsClientError returns true when this generate document access token internal server error response has a 4xx status code
func (*GenerateDocumentAccessTokenInternalServerError) IsCode ¶
func (o *GenerateDocumentAccessTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this generate document access token internal server error response a status code equal to that given
func (*GenerateDocumentAccessTokenInternalServerError) IsRedirect ¶
func (o *GenerateDocumentAccessTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this generate document access token internal server error response has a 3xx status code
func (*GenerateDocumentAccessTokenInternalServerError) IsServerError ¶
func (o *GenerateDocumentAccessTokenInternalServerError) IsServerError() bool
IsServerError returns true when this generate document access token internal server error response has a 5xx status code
func (*GenerateDocumentAccessTokenInternalServerError) IsSuccess ¶
func (o *GenerateDocumentAccessTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this generate document access token internal server error response has a 2xx status code
func (*GenerateDocumentAccessTokenInternalServerError) String ¶
func (o *GenerateDocumentAccessTokenInternalServerError) String() string
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) Code ¶ added in v4.0.1
func (o *GenerateDocumentAccessTokenNotFound) Code() int
Code gets the status code for the generate document access token not found response
func (*GenerateDocumentAccessTokenNotFound) Error ¶
func (o *GenerateDocumentAccessTokenNotFound) Error() string
func (*GenerateDocumentAccessTokenNotFound) GetPayload ¶
func (o *GenerateDocumentAccessTokenNotFound) GetPayload() *models.RestError
func (*GenerateDocumentAccessTokenNotFound) IsClientError ¶
func (o *GenerateDocumentAccessTokenNotFound) IsClientError() bool
IsClientError returns true when this generate document access token not found response has a 4xx status code
func (*GenerateDocumentAccessTokenNotFound) IsCode ¶
func (o *GenerateDocumentAccessTokenNotFound) IsCode(code int) bool
IsCode returns true when this generate document access token not found response a status code equal to that given
func (*GenerateDocumentAccessTokenNotFound) IsRedirect ¶
func (o *GenerateDocumentAccessTokenNotFound) IsRedirect() bool
IsRedirect returns true when this generate document access token not found response has a 3xx status code
func (*GenerateDocumentAccessTokenNotFound) IsServerError ¶
func (o *GenerateDocumentAccessTokenNotFound) IsServerError() bool
IsServerError returns true when this generate document access token not found response has a 5xx status code
func (*GenerateDocumentAccessTokenNotFound) IsSuccess ¶
func (o *GenerateDocumentAccessTokenNotFound) IsSuccess() bool
IsSuccess returns true when this generate document access token not found response has a 2xx status code
func (*GenerateDocumentAccessTokenNotFound) String ¶
func (o *GenerateDocumentAccessTokenNotFound) String() string
type GenerateDocumentAccessTokenOK ¶
type GenerateDocumentAccessTokenOK struct {
Payload *models.RestDocumentAccessTokenResponse
}
GenerateDocumentAccessTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewGenerateDocumentAccessTokenOK ¶
func NewGenerateDocumentAccessTokenOK() *GenerateDocumentAccessTokenOK
NewGenerateDocumentAccessTokenOK creates a GenerateDocumentAccessTokenOK with default headers values
func (*GenerateDocumentAccessTokenOK) Code ¶ added in v4.0.1
func (o *GenerateDocumentAccessTokenOK) Code() int
Code gets the status code for the generate document access token o k response
func (*GenerateDocumentAccessTokenOK) Error ¶
func (o *GenerateDocumentAccessTokenOK) Error() string
func (*GenerateDocumentAccessTokenOK) GetPayload ¶
func (o *GenerateDocumentAccessTokenOK) GetPayload() *models.RestDocumentAccessTokenResponse
func (*GenerateDocumentAccessTokenOK) IsClientError ¶
func (o *GenerateDocumentAccessTokenOK) IsClientError() bool
IsClientError returns true when this generate document access token o k response has a 4xx status code
func (*GenerateDocumentAccessTokenOK) IsCode ¶
func (o *GenerateDocumentAccessTokenOK) IsCode(code int) bool
IsCode returns true when this generate document access token o k response a status code equal to that given
func (*GenerateDocumentAccessTokenOK) IsRedirect ¶
func (o *GenerateDocumentAccessTokenOK) IsRedirect() bool
IsRedirect returns true when this generate document access token o k response has a 3xx status code
func (*GenerateDocumentAccessTokenOK) IsServerError ¶
func (o *GenerateDocumentAccessTokenOK) IsServerError() bool
IsServerError returns true when this generate document access token o k response has a 5xx status code
func (*GenerateDocumentAccessTokenOK) IsSuccess ¶
func (o *GenerateDocumentAccessTokenOK) IsSuccess() bool
IsSuccess returns true when this generate document access token o k response has a 2xx status code
func (*GenerateDocumentAccessTokenOK) String ¶
func (o *GenerateDocumentAccessTokenOK) String() string
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) Code ¶ added in v4.0.1
func (o *GenerateDocumentAccessTokenUnauthorized) Code() int
Code gets the status code for the generate document access token unauthorized response
func (*GenerateDocumentAccessTokenUnauthorized) Error ¶
func (o *GenerateDocumentAccessTokenUnauthorized) Error() string
func (*GenerateDocumentAccessTokenUnauthorized) IsClientError ¶
func (o *GenerateDocumentAccessTokenUnauthorized) IsClientError() bool
IsClientError returns true when this generate document access token unauthorized response has a 4xx status code
func (*GenerateDocumentAccessTokenUnauthorized) IsCode ¶
func (o *GenerateDocumentAccessTokenUnauthorized) IsCode(code int) bool
IsCode returns true when this generate document access token unauthorized response a status code equal to that given
func (*GenerateDocumentAccessTokenUnauthorized) IsRedirect ¶
func (o *GenerateDocumentAccessTokenUnauthorized) IsRedirect() bool
IsRedirect returns true when this generate document access token unauthorized response has a 3xx status code
func (*GenerateDocumentAccessTokenUnauthorized) IsServerError ¶
func (o *GenerateDocumentAccessTokenUnauthorized) IsServerError() bool
IsServerError returns true when this generate document access token unauthorized response has a 5xx status code
func (*GenerateDocumentAccessTokenUnauthorized) IsSuccess ¶
func (o *GenerateDocumentAccessTokenUnauthorized) IsSuccess() bool
IsSuccess returns true when this generate document access token unauthorized response has a 2xx status code
func (*GenerateDocumentAccessTokenUnauthorized) String ¶
func (o *GenerateDocumentAccessTokenUnauthorized) String() 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) Code ¶ added in v4.0.1
func (o *ResetPasswordForbidden) Code() int
Code gets the status code for the reset password forbidden response
func (*ResetPasswordForbidden) Error ¶
func (o *ResetPasswordForbidden) Error() string
func (*ResetPasswordForbidden) GetPayload ¶
func (o *ResetPasswordForbidden) GetPayload() *models.RestError
func (*ResetPasswordForbidden) IsClientError ¶
func (o *ResetPasswordForbidden) IsClientError() bool
IsClientError returns true when this reset password forbidden response has a 4xx status code
func (*ResetPasswordForbidden) IsCode ¶
func (o *ResetPasswordForbidden) IsCode(code int) bool
IsCode returns true when this reset password forbidden response a status code equal to that given
func (*ResetPasswordForbidden) IsRedirect ¶
func (o *ResetPasswordForbidden) IsRedirect() bool
IsRedirect returns true when this reset password forbidden response has a 3xx status code
func (*ResetPasswordForbidden) IsServerError ¶
func (o *ResetPasswordForbidden) IsServerError() bool
IsServerError returns true when this reset password forbidden response has a 5xx status code
func (*ResetPasswordForbidden) IsSuccess ¶
func (o *ResetPasswordForbidden) IsSuccess() bool
IsSuccess returns true when this reset password forbidden response has a 2xx status code
func (*ResetPasswordForbidden) String ¶
func (o *ResetPasswordForbidden) String() string
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) Code ¶ added in v4.0.1
func (o *ResetPasswordInternalServerError) Code() int
Code gets the status code for the reset password internal server error response
func (*ResetPasswordInternalServerError) Error ¶
func (o *ResetPasswordInternalServerError) Error() string
func (*ResetPasswordInternalServerError) GetPayload ¶
func (o *ResetPasswordInternalServerError) GetPayload() *models.RestError
func (*ResetPasswordInternalServerError) IsClientError ¶
func (o *ResetPasswordInternalServerError) IsClientError() bool
IsClientError returns true when this reset password internal server error response has a 4xx status code
func (*ResetPasswordInternalServerError) IsCode ¶
func (o *ResetPasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this reset password internal server error response a status code equal to that given
func (*ResetPasswordInternalServerError) IsRedirect ¶
func (o *ResetPasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this reset password internal server error response has a 3xx status code
func (*ResetPasswordInternalServerError) IsServerError ¶
func (o *ResetPasswordInternalServerError) IsServerError() bool
IsServerError returns true when this reset password internal server error response has a 5xx status code
func (*ResetPasswordInternalServerError) IsSuccess ¶
func (o *ResetPasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset password internal server error response has a 2xx status code
func (*ResetPasswordInternalServerError) String ¶
func (o *ResetPasswordInternalServerError) String() string
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) Code ¶ added in v4.0.1
func (o *ResetPasswordNotFound) Code() int
Code gets the status code for the reset password not found response
func (*ResetPasswordNotFound) Error ¶
func (o *ResetPasswordNotFound) Error() string
func (*ResetPasswordNotFound) GetPayload ¶
func (o *ResetPasswordNotFound) GetPayload() *models.RestError
func (*ResetPasswordNotFound) IsClientError ¶
func (o *ResetPasswordNotFound) IsClientError() bool
IsClientError returns true when this reset password not found response has a 4xx status code
func (*ResetPasswordNotFound) IsCode ¶
func (o *ResetPasswordNotFound) IsCode(code int) bool
IsCode returns true when this reset password not found response a status code equal to that given
func (*ResetPasswordNotFound) IsRedirect ¶
func (o *ResetPasswordNotFound) IsRedirect() bool
IsRedirect returns true when this reset password not found response has a 3xx status code
func (*ResetPasswordNotFound) IsServerError ¶
func (o *ResetPasswordNotFound) IsServerError() bool
IsServerError returns true when this reset password not found response has a 5xx status code
func (*ResetPasswordNotFound) IsSuccess ¶
func (o *ResetPasswordNotFound) IsSuccess() bool
IsSuccess returns true when this reset password not found response has a 2xx status code
func (*ResetPasswordNotFound) String ¶
func (o *ResetPasswordNotFound) String() string
type ResetPasswordOK ¶
type ResetPasswordOK struct {
Payload *models.RestResetPasswordResponse
}
ResetPasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Code ¶ added in v4.0.1
func (o *ResetPasswordOK) Code() int
Code gets the status code for the reset password o k response
func (*ResetPasswordOK) Error ¶
func (o *ResetPasswordOK) Error() string
func (*ResetPasswordOK) GetPayload ¶
func (o *ResetPasswordOK) GetPayload() *models.RestResetPasswordResponse
func (*ResetPasswordOK) IsClientError ¶
func (o *ResetPasswordOK) IsClientError() bool
IsClientError returns true when this reset password o k response has a 4xx status code
func (*ResetPasswordOK) IsCode ¶
func (o *ResetPasswordOK) IsCode(code int) bool
IsCode returns true when this reset password o k response a status code equal to that given
func (*ResetPasswordOK) IsRedirect ¶
func (o *ResetPasswordOK) IsRedirect() bool
IsRedirect returns true when this reset password o k response has a 3xx status code
func (*ResetPasswordOK) IsServerError ¶
func (o *ResetPasswordOK) IsServerError() bool
IsServerError returns true when this reset password o k response has a 5xx status code
func (*ResetPasswordOK) IsSuccess ¶
func (o *ResetPasswordOK) IsSuccess() bool
IsSuccess returns true when this reset password o k response has a 2xx status code
func (*ResetPasswordOK) String ¶
func (o *ResetPasswordOK) String() string
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 ResetPasswordTokenBody ¶
type ResetPasswordTokenBody struct { // create Create bool `json:"Create,omitempty"` }
ResetPasswordTokenBody reset password token body swagger:model ResetPasswordTokenBody
func (*ResetPasswordTokenBody) ContextValidate ¶
func (o *ResetPasswordTokenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this reset password token body based on context it is used
func (*ResetPasswordTokenBody) MarshalBinary ¶
func (o *ResetPasswordTokenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordTokenBody) UnmarshalBinary ¶
func (o *ResetPasswordTokenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) Code ¶ added in v4.0.1
func (o *ResetPasswordTokenForbidden) Code() int
Code gets the status code for the reset password token forbidden response
func (*ResetPasswordTokenForbidden) Error ¶
func (o *ResetPasswordTokenForbidden) Error() string
func (*ResetPasswordTokenForbidden) GetPayload ¶
func (o *ResetPasswordTokenForbidden) GetPayload() *models.RestError
func (*ResetPasswordTokenForbidden) IsClientError ¶
func (o *ResetPasswordTokenForbidden) IsClientError() bool
IsClientError returns true when this reset password token forbidden response has a 4xx status code
func (*ResetPasswordTokenForbidden) IsCode ¶
func (o *ResetPasswordTokenForbidden) IsCode(code int) bool
IsCode returns true when this reset password token forbidden response a status code equal to that given
func (*ResetPasswordTokenForbidden) IsRedirect ¶
func (o *ResetPasswordTokenForbidden) IsRedirect() bool
IsRedirect returns true when this reset password token forbidden response has a 3xx status code
func (*ResetPasswordTokenForbidden) IsServerError ¶
func (o *ResetPasswordTokenForbidden) IsServerError() bool
IsServerError returns true when this reset password token forbidden response has a 5xx status code
func (*ResetPasswordTokenForbidden) IsSuccess ¶
func (o *ResetPasswordTokenForbidden) IsSuccess() bool
IsSuccess returns true when this reset password token forbidden response has a 2xx status code
func (*ResetPasswordTokenForbidden) String ¶
func (o *ResetPasswordTokenForbidden) String() string
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) Code ¶ added in v4.0.1
func (o *ResetPasswordTokenInternalServerError) Code() int
Code gets the status code for the reset password token internal server error response
func (*ResetPasswordTokenInternalServerError) Error ¶
func (o *ResetPasswordTokenInternalServerError) Error() string
func (*ResetPasswordTokenInternalServerError) GetPayload ¶
func (o *ResetPasswordTokenInternalServerError) GetPayload() *models.RestError
func (*ResetPasswordTokenInternalServerError) IsClientError ¶
func (o *ResetPasswordTokenInternalServerError) IsClientError() bool
IsClientError returns true when this reset password token internal server error response has a 4xx status code
func (*ResetPasswordTokenInternalServerError) IsCode ¶
func (o *ResetPasswordTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this reset password token internal server error response a status code equal to that given
func (*ResetPasswordTokenInternalServerError) IsRedirect ¶
func (o *ResetPasswordTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this reset password token internal server error response has a 3xx status code
func (*ResetPasswordTokenInternalServerError) IsServerError ¶
func (o *ResetPasswordTokenInternalServerError) IsServerError() bool
IsServerError returns true when this reset password token internal server error response has a 5xx status code
func (*ResetPasswordTokenInternalServerError) IsSuccess ¶
func (o *ResetPasswordTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset password token internal server error response has a 2xx status code
func (*ResetPasswordTokenInternalServerError) String ¶
func (o *ResetPasswordTokenInternalServerError) String() string
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) Code ¶ added in v4.0.1
func (o *ResetPasswordTokenNotFound) Code() int
Code gets the status code for the reset password token not found response
func (*ResetPasswordTokenNotFound) Error ¶
func (o *ResetPasswordTokenNotFound) Error() string
func (*ResetPasswordTokenNotFound) GetPayload ¶
func (o *ResetPasswordTokenNotFound) GetPayload() *models.RestError
func (*ResetPasswordTokenNotFound) IsClientError ¶
func (o *ResetPasswordTokenNotFound) IsClientError() bool
IsClientError returns true when this reset password token not found response has a 4xx status code
func (*ResetPasswordTokenNotFound) IsCode ¶
func (o *ResetPasswordTokenNotFound) IsCode(code int) bool
IsCode returns true when this reset password token not found response a status code equal to that given
func (*ResetPasswordTokenNotFound) IsRedirect ¶
func (o *ResetPasswordTokenNotFound) IsRedirect() bool
IsRedirect returns true when this reset password token not found response has a 3xx status code
func (*ResetPasswordTokenNotFound) IsServerError ¶
func (o *ResetPasswordTokenNotFound) IsServerError() bool
IsServerError returns true when this reset password token not found response has a 5xx status code
func (*ResetPasswordTokenNotFound) IsSuccess ¶
func (o *ResetPasswordTokenNotFound) IsSuccess() bool
IsSuccess returns true when this reset password token not found response has a 2xx status code
func (*ResetPasswordTokenNotFound) String ¶
func (o *ResetPasswordTokenNotFound) String() string
type ResetPasswordTokenOK ¶
type ResetPasswordTokenOK struct {
Payload *models.RestResetPasswordTokenResponse
}
ResetPasswordTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewResetPasswordTokenOK ¶
func NewResetPasswordTokenOK() *ResetPasswordTokenOK
NewResetPasswordTokenOK creates a ResetPasswordTokenOK with default headers values
func (*ResetPasswordTokenOK) Code ¶ added in v4.0.1
func (o *ResetPasswordTokenOK) Code() int
Code gets the status code for the reset password token o k response
func (*ResetPasswordTokenOK) Error ¶
func (o *ResetPasswordTokenOK) Error() string
func (*ResetPasswordTokenOK) GetPayload ¶
func (o *ResetPasswordTokenOK) GetPayload() *models.RestResetPasswordTokenResponse
func (*ResetPasswordTokenOK) IsClientError ¶
func (o *ResetPasswordTokenOK) IsClientError() bool
IsClientError returns true when this reset password token o k response has a 4xx status code
func (*ResetPasswordTokenOK) IsCode ¶
func (o *ResetPasswordTokenOK) IsCode(code int) bool
IsCode returns true when this reset password token o k response a status code equal to that given
func (*ResetPasswordTokenOK) IsRedirect ¶
func (o *ResetPasswordTokenOK) IsRedirect() bool
IsRedirect returns true when this reset password token o k response has a 3xx status code
func (*ResetPasswordTokenOK) IsServerError ¶
func (o *ResetPasswordTokenOK) IsServerError() bool
IsServerError returns true when this reset password token o k response has a 5xx status code
func (*ResetPasswordTokenOK) IsSuccess ¶
func (o *ResetPasswordTokenOK) IsSuccess() bool
IsSuccess returns true when this reset password token o k response has a 2xx status code
func (*ResetPasswordTokenOK) String ¶
func (o *ResetPasswordTokenOK) String() string
type ResetPasswordTokenParams ¶
type ResetPasswordTokenParams struct { /* UserLogin. Start a ResetPassword workflow for this user */ UserLogin string // Body. Body ResetPasswordTokenBody 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) SetBody ¶
func (o *ResetPasswordTokenParams) SetBody(body ResetPasswordTokenBody)
SetBody adds the body to the reset password token params
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) WithBody ¶
func (o *ResetPasswordTokenParams) WithBody(body ResetPasswordTokenBody) *ResetPasswordTokenParams
WithBody adds the body 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) Code ¶ added in v4.0.1
func (o *ResetPasswordTokenUnauthorized) Code() int
Code gets the status code for the reset password token unauthorized response
func (*ResetPasswordTokenUnauthorized) Error ¶
func (o *ResetPasswordTokenUnauthorized) Error() string
func (*ResetPasswordTokenUnauthorized) IsClientError ¶
func (o *ResetPasswordTokenUnauthorized) IsClientError() bool
IsClientError returns true when this reset password token unauthorized response has a 4xx status code
func (*ResetPasswordTokenUnauthorized) IsCode ¶
func (o *ResetPasswordTokenUnauthorized) IsCode(code int) bool
IsCode returns true when this reset password token unauthorized response a status code equal to that given
func (*ResetPasswordTokenUnauthorized) IsRedirect ¶
func (o *ResetPasswordTokenUnauthorized) IsRedirect() bool
IsRedirect returns true when this reset password token unauthorized response has a 3xx status code
func (*ResetPasswordTokenUnauthorized) IsServerError ¶
func (o *ResetPasswordTokenUnauthorized) IsServerError() bool
IsServerError returns true when this reset password token unauthorized response has a 5xx status code
func (*ResetPasswordTokenUnauthorized) IsSuccess ¶
func (o *ResetPasswordTokenUnauthorized) IsSuccess() bool
IsSuccess returns true when this reset password token unauthorized response has a 2xx status code
func (*ResetPasswordTokenUnauthorized) String ¶
func (o *ResetPasswordTokenUnauthorized) String() 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) Code ¶ added in v4.0.1
func (o *ResetPasswordUnauthorized) Code() int
Code gets the status code for the reset password unauthorized response
func (*ResetPasswordUnauthorized) Error ¶
func (o *ResetPasswordUnauthorized) Error() string
func (*ResetPasswordUnauthorized) IsClientError ¶
func (o *ResetPasswordUnauthorized) IsClientError() bool
IsClientError returns true when this reset password unauthorized response has a 4xx status code
func (*ResetPasswordUnauthorized) IsCode ¶
func (o *ResetPasswordUnauthorized) IsCode(code int) bool
IsCode returns true when this reset password unauthorized response a status code equal to that given
func (*ResetPasswordUnauthorized) IsRedirect ¶
func (o *ResetPasswordUnauthorized) IsRedirect() bool
IsRedirect returns true when this reset password unauthorized response has a 3xx status code
func (*ResetPasswordUnauthorized) IsServerError ¶
func (o *ResetPasswordUnauthorized) IsServerError() bool
IsServerError returns true when this reset password unauthorized response has a 5xx status code
func (*ResetPasswordUnauthorized) IsSuccess ¶
func (o *ResetPasswordUnauthorized) IsSuccess() bool
IsSuccess returns true when this reset password unauthorized response has a 2xx status code
func (*ResetPasswordUnauthorized) String ¶
func (o *ResetPasswordUnauthorized) String() 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) Code ¶ added in v4.0.1
func (o *RevokeForbidden) Code() int
Code gets the status code for the revoke forbidden response
func (*RevokeForbidden) Error ¶
func (o *RevokeForbidden) Error() string
func (*RevokeForbidden) GetPayload ¶
func (o *RevokeForbidden) GetPayload() *models.RestError
func (*RevokeForbidden) IsClientError ¶
func (o *RevokeForbidden) IsClientError() bool
IsClientError returns true when this revoke forbidden response has a 4xx status code
func (*RevokeForbidden) IsCode ¶
func (o *RevokeForbidden) IsCode(code int) bool
IsCode returns true when this revoke forbidden response a status code equal to that given
func (*RevokeForbidden) IsRedirect ¶
func (o *RevokeForbidden) IsRedirect() bool
IsRedirect returns true when this revoke forbidden response has a 3xx status code
func (*RevokeForbidden) IsServerError ¶
func (o *RevokeForbidden) IsServerError() bool
IsServerError returns true when this revoke forbidden response has a 5xx status code
func (*RevokeForbidden) IsSuccess ¶
func (o *RevokeForbidden) IsSuccess() bool
IsSuccess returns true when this revoke forbidden response has a 2xx status code
func (*RevokeForbidden) String ¶
func (o *RevokeForbidden) String() string
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) Code ¶ added in v4.0.1
func (o *RevokeInternalServerError) Code() int
Code gets the status code for the revoke internal server error response
func (*RevokeInternalServerError) Error ¶
func (o *RevokeInternalServerError) Error() string
func (*RevokeInternalServerError) GetPayload ¶
func (o *RevokeInternalServerError) GetPayload() *models.RestError
func (*RevokeInternalServerError) IsClientError ¶
func (o *RevokeInternalServerError) IsClientError() bool
IsClientError returns true when this revoke internal server error response has a 4xx status code
func (*RevokeInternalServerError) IsCode ¶
func (o *RevokeInternalServerError) IsCode(code int) bool
IsCode returns true when this revoke internal server error response a status code equal to that given
func (*RevokeInternalServerError) IsRedirect ¶
func (o *RevokeInternalServerError) IsRedirect() bool
IsRedirect returns true when this revoke internal server error response has a 3xx status code
func (*RevokeInternalServerError) IsServerError ¶
func (o *RevokeInternalServerError) IsServerError() bool
IsServerError returns true when this revoke internal server error response has a 5xx status code
func (*RevokeInternalServerError) IsSuccess ¶
func (o *RevokeInternalServerError) IsSuccess() bool
IsSuccess returns true when this revoke internal server error response has a 2xx status code
func (*RevokeInternalServerError) String ¶
func (o *RevokeInternalServerError) String() string
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) Code ¶ added in v4.0.1
func (o *RevokeNotFound) Code() int
Code gets the status code for the revoke not found response
func (*RevokeNotFound) Error ¶
func (o *RevokeNotFound) Error() string
func (*RevokeNotFound) GetPayload ¶
func (o *RevokeNotFound) GetPayload() *models.RestError
func (*RevokeNotFound) IsClientError ¶
func (o *RevokeNotFound) IsClientError() bool
IsClientError returns true when this revoke not found response has a 4xx status code
func (*RevokeNotFound) IsCode ¶
func (o *RevokeNotFound) IsCode(code int) bool
IsCode returns true when this revoke not found response a status code equal to that given
func (*RevokeNotFound) IsRedirect ¶
func (o *RevokeNotFound) IsRedirect() bool
IsRedirect returns true when this revoke not found response has a 3xx status code
func (*RevokeNotFound) IsServerError ¶
func (o *RevokeNotFound) IsServerError() bool
IsServerError returns true when this revoke not found response has a 5xx status code
func (*RevokeNotFound) IsSuccess ¶
func (o *RevokeNotFound) IsSuccess() bool
IsSuccess returns true when this revoke not found response has a 2xx status code
func (*RevokeNotFound) String ¶
func (o *RevokeNotFound) String() string
type RevokeOK ¶
type RevokeOK struct {
Payload *models.RestRevokeResponse
}
RevokeOK describes a response with status code 200, with default header values.
A successful response.
func NewRevokeOK ¶
func NewRevokeOK() *RevokeOK
NewRevokeOK creates a RevokeOK with default headers values
func (*RevokeOK) GetPayload ¶
func (o *RevokeOK) GetPayload() *models.RestRevokeResponse
func (*RevokeOK) IsClientError ¶
IsClientError returns true when this revoke o k response has a 4xx status code
func (*RevokeOK) IsCode ¶
IsCode returns true when this revoke o k response a status code equal to that given
func (*RevokeOK) IsRedirect ¶
IsRedirect returns true when this revoke o k response has a 3xx status code
func (*RevokeOK) IsServerError ¶
IsServerError returns true when this revoke o k response has a 5xx status code
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) Code ¶ added in v4.0.1
func (o *RevokeUnauthorized) Code() int
Code gets the status code for the revoke unauthorized response
func (*RevokeUnauthorized) Error ¶
func (o *RevokeUnauthorized) Error() string
func (*RevokeUnauthorized) IsClientError ¶
func (o *RevokeUnauthorized) IsClientError() bool
IsClientError returns true when this revoke unauthorized response has a 4xx status code
func (*RevokeUnauthorized) IsCode ¶
func (o *RevokeUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke unauthorized response a status code equal to that given
func (*RevokeUnauthorized) IsRedirect ¶
func (o *RevokeUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke unauthorized response has a 3xx status code
func (*RevokeUnauthorized) IsServerError ¶
func (o *RevokeUnauthorized) IsServerError() bool
IsServerError returns true when this revoke unauthorized response has a 5xx status code
func (*RevokeUnauthorized) IsSuccess ¶
func (o *RevokeUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke unauthorized response has a 2xx status code
func (*RevokeUnauthorized) String ¶
func (o *RevokeUnauthorized) String() string