Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRootUser(params *CreateRootUserParams, opts ...ClientOption) (*CreateRootUserOK, error)
- func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
- func (a *Client) GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)
- func (a *Client) GetUsersConnection(params *GetUsersConnectionParams, opts ...ClientOption) (*GetUsersConnectionOK, error)
- func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)
- type ClientOption
- type ClientService
- type CreateRootUserBadRequest
- type CreateRootUserInternalServerError
- type CreateRootUserNotFound
- type CreateRootUserOK
- type CreateRootUserParams
- func NewCreateRootUserParams() *CreateRootUserParams
- func NewCreateRootUserParamsWithContext(ctx context.Context) *CreateRootUserParams
- func NewCreateRootUserParamsWithHTTPClient(client *http.Client) *CreateRootUserParams
- func NewCreateRootUserParamsWithTimeout(timeout time.Duration) *CreateRootUserParams
- func (o *CreateRootUserParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateRootUserParams) SetContext(ctx context.Context)
- func (o *CreateRootUserParams) SetDefaults()
- func (o *CreateRootUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateRootUserParams) SetRequestBody(requestBody *models.RootUserCreationParams)
- func (o *CreateRootUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateRootUserParams) WithContentLanguage(contentLanguage *string) *CreateRootUserParams
- func (o *CreateRootUserParams) WithContext(ctx context.Context) *CreateRootUserParams
- func (o *CreateRootUserParams) WithDefaults() *CreateRootUserParams
- func (o *CreateRootUserParams) WithHTTPClient(client *http.Client) *CreateRootUserParams
- func (o *CreateRootUserParams) WithRequestBody(requestBody *models.RootUserCreationParams) *CreateRootUserParams
- func (o *CreateRootUserParams) WithTimeout(timeout time.Duration) *CreateRootUserParams
- func (o *CreateRootUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRootUserReader
- type CreateUserBadRequest
- type CreateUserInternalServerError
- type CreateUserNotFound
- type CreateUserOK
- type CreateUserParams
- func (o *CreateUserParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetRequestBody(requestBody []*models.UserCreationParams)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithContentLanguage(contentLanguage *string) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithRequestBody(requestBody []*models.UserCreationParams) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type DeleteUserBadRequest
- type DeleteUserInternalServerError
- type DeleteUserNotFound
- type DeleteUserOK
- type DeleteUserParams
- func (o *DeleteUserParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetRequestBody(requestBody *models.UserDeletionParams)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) WithContentLanguage(contentLanguage *string) *DeleteUserParams
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithRequestBody(requestBody *models.UserDeletionParams) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type GetUsersBadRequest
- type GetUsersConnectionBadRequest
- type GetUsersConnectionInternalServerError
- type GetUsersConnectionNotFound
- type GetUsersConnectionOK
- type GetUsersConnectionParams
- func NewGetUsersConnectionParams() *GetUsersConnectionParams
- func NewGetUsersConnectionParamsWithContext(ctx context.Context) *GetUsersConnectionParams
- func NewGetUsersConnectionParamsWithHTTPClient(client *http.Client) *GetUsersConnectionParams
- func NewGetUsersConnectionParamsWithTimeout(timeout time.Duration) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUsersConnectionParams) SetContext(ctx context.Context)
- func (o *GetUsersConnectionParams) SetDefaults()
- func (o *GetUsersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersConnectionParams) SetRequestBody(requestBody *models.GetUsersConnectionRequestBody)
- func (o *GetUsersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersConnectionParams) WithContentLanguage(contentLanguage *string) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WithContext(ctx context.Context) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WithDefaults() *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WithHTTPClient(client *http.Client) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WithRequestBody(requestBody *models.GetUsersConnectionRequestBody) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WithTimeout(timeout time.Duration) *GetUsersConnectionParams
- func (o *GetUsersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersConnectionReader
- type GetUsersInternalServerError
- type GetUsersNotFound
- type GetUsersOK
- type GetUsersParams
- func (o *GetUsersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetUsersParams) SetContext(ctx context.Context)
- func (o *GetUsersParams) SetDefaults()
- func (o *GetUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersParams) SetRequestBody(requestBody *models.GetUsersRequestBody)
- func (o *GetUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersParams) WithContentLanguage(contentLanguage *string) *GetUsersParams
- func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
- func (o *GetUsersParams) WithDefaults() *GetUsersParams
- func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
- func (o *GetUsersParams) WithRequestBody(requestBody *models.GetUsersRequestBody) *GetUsersParams
- func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
- func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersReader
- type LoginBadRequest
- type LoginInternalServerError
- type LoginNotFound
- type LoginOK
- type LoginParams
- func (o *LoginParams) SetContentLanguage(contentLanguage *string)
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetDefaults()
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetRequestBody(requestBody *models.LoginInput)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithContentLanguage(contentLanguage *string) *LoginParams
- func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
- func (o *LoginParams) WithDefaults() *LoginParams
- func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
- func (o *LoginParams) WithRequestBody(requestBody *models.LoginInput) *LoginParams
- func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
- func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginReader
- type UpdateUserBadRequest
- type UpdateUserInternalServerError
- type UpdateUserNotFound
- type UpdateUserOK
- type UpdateUserParams
- func (o *UpdateUserParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetRequestBody(requestBody *models.UserUpdationParams)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) WithContentLanguage(contentLanguage *string) *UpdateUserParams
- func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
- func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
- func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
- func (o *UpdateUserParams) WithRequestBody(requestBody *models.UserUpdationParams) *UpdateUserParams
- func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserReader
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 user API
func (*Client) CreateRootUser ¶ added in v1.10.0
func (a *Client) CreateRootUser(params *CreateRootUserParams, opts ...ClientOption) (*CreateRootUserOK, error)
CreateRootUser create root user API
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)
CreateUser create user API
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
DeleteUser delete user API
func (*Client) GetUsers ¶
func (a *Client) GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)
GetUsers get users API
func (*Client) GetUsersConnection ¶
func (a *Client) GetUsersConnection(params *GetUsersConnectionParams, opts ...ClientOption) (*GetUsersConnectionOK, error)
GetUsersConnection get users connection API
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
Login login API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUser ¶
func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser update user API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateRootUser(params *CreateRootUserParams, opts ...ClientOption) (*CreateRootUserOK, error) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error) GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error) GetUsersConnection(params *GetUsersConnectionParams, opts ...ClientOption) (*GetUsersConnectionOK, error) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, 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 user API client.
type CreateRootUserBadRequest ¶ added in v1.10.0
CreateRootUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateRootUserBadRequest ¶ added in v1.10.0
func NewCreateRootUserBadRequest() *CreateRootUserBadRequest
NewCreateRootUserBadRequest creates a CreateRootUserBadRequest with default headers values
func (*CreateRootUserBadRequest) Error ¶ added in v1.10.0
func (o *CreateRootUserBadRequest) Error() string
func (*CreateRootUserBadRequest) GetPayload ¶ added in v1.10.0
func (o *CreateRootUserBadRequest) GetPayload() *models.ErrorBody
type CreateRootUserInternalServerError ¶ added in v1.10.0
CreateRootUserInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateRootUserInternalServerError ¶ added in v1.10.0
func NewCreateRootUserInternalServerError() *CreateRootUserInternalServerError
NewCreateRootUserInternalServerError creates a CreateRootUserInternalServerError with default headers values
func (*CreateRootUserInternalServerError) Error ¶ added in v1.10.0
func (o *CreateRootUserInternalServerError) Error() string
func (*CreateRootUserInternalServerError) GetPayload ¶ added in v1.10.0
func (o *CreateRootUserInternalServerError) GetPayload() *models.ErrorBody
type CreateRootUserNotFound ¶ added in v1.10.0
CreateRootUserNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateRootUserNotFound ¶ added in v1.10.0
func NewCreateRootUserNotFound() *CreateRootUserNotFound
NewCreateRootUserNotFound creates a CreateRootUserNotFound with default headers values
func (*CreateRootUserNotFound) Error ¶ added in v1.10.0
func (o *CreateRootUserNotFound) Error() string
func (*CreateRootUserNotFound) GetPayload ¶ added in v1.10.0
func (o *CreateRootUserNotFound) GetPayload() *models.ErrorBody
type CreateRootUserOK ¶ added in v1.10.0
type CreateRootUserOK struct {
Payload *models.WithTaskUser
}
CreateRootUserOK describes a response with status code 200, with default header values.
Ok
func NewCreateRootUserOK ¶ added in v1.10.0
func NewCreateRootUserOK() *CreateRootUserOK
NewCreateRootUserOK creates a CreateRootUserOK with default headers values
func (*CreateRootUserOK) Error ¶ added in v1.10.0
func (o *CreateRootUserOK) Error() string
func (*CreateRootUserOK) GetPayload ¶ added in v1.10.0
func (o *CreateRootUserOK) GetPayload() *models.WithTaskUser
type CreateRootUserParams ¶ added in v1.10.0
type CreateRootUserParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.RootUserCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRootUserParams contains all the parameters to send to the API endpoint
for the create root user operation. Typically these are written to a http.Request.
func NewCreateRootUserParams ¶ added in v1.10.0
func NewCreateRootUserParams() *CreateRootUserParams
NewCreateRootUserParams creates a new CreateRootUserParams 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 NewCreateRootUserParamsWithContext ¶ added in v1.10.0
func NewCreateRootUserParamsWithContext(ctx context.Context) *CreateRootUserParams
NewCreateRootUserParamsWithContext creates a new CreateRootUserParams object with the ability to set a context for a request.
func NewCreateRootUserParamsWithHTTPClient ¶ added in v1.10.0
func NewCreateRootUserParamsWithHTTPClient(client *http.Client) *CreateRootUserParams
NewCreateRootUserParamsWithHTTPClient creates a new CreateRootUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRootUserParamsWithTimeout ¶ added in v1.10.0
func NewCreateRootUserParamsWithTimeout(timeout time.Duration) *CreateRootUserParams
NewCreateRootUserParamsWithTimeout creates a new CreateRootUserParams object with the ability to set a timeout on a request.
func (*CreateRootUserParams) SetContentLanguage ¶ added in v1.10.0
func (o *CreateRootUserParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create root user params
func (*CreateRootUserParams) SetContext ¶ added in v1.10.0
func (o *CreateRootUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create root user params
func (*CreateRootUserParams) SetDefaults ¶ added in v1.10.0
func (o *CreateRootUserParams) SetDefaults()
SetDefaults hydrates default values in the create root user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRootUserParams) SetHTTPClient ¶ added in v1.10.0
func (o *CreateRootUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create root user params
func (*CreateRootUserParams) SetRequestBody ¶ added in v1.10.0
func (o *CreateRootUserParams) SetRequestBody(requestBody *models.RootUserCreationParams)
SetRequestBody adds the requestBody to the create root user params
func (*CreateRootUserParams) SetTimeout ¶ added in v1.10.0
func (o *CreateRootUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create root user params
func (*CreateRootUserParams) WithContentLanguage ¶ added in v1.10.0
func (o *CreateRootUserParams) WithContentLanguage(contentLanguage *string) *CreateRootUserParams
WithContentLanguage adds the contentLanguage to the create root user params
func (*CreateRootUserParams) WithContext ¶ added in v1.10.0
func (o *CreateRootUserParams) WithContext(ctx context.Context) *CreateRootUserParams
WithContext adds the context to the create root user params
func (*CreateRootUserParams) WithDefaults ¶ added in v1.10.0
func (o *CreateRootUserParams) WithDefaults() *CreateRootUserParams
WithDefaults hydrates default values in the create root user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRootUserParams) WithHTTPClient ¶ added in v1.10.0
func (o *CreateRootUserParams) WithHTTPClient(client *http.Client) *CreateRootUserParams
WithHTTPClient adds the HTTPClient to the create root user params
func (*CreateRootUserParams) WithRequestBody ¶ added in v1.10.0
func (o *CreateRootUserParams) WithRequestBody(requestBody *models.RootUserCreationParams) *CreateRootUserParams
WithRequestBody adds the requestBody to the create root user params
func (*CreateRootUserParams) WithTimeout ¶ added in v1.10.0
func (o *CreateRootUserParams) WithTimeout(timeout time.Duration) *CreateRootUserParams
WithTimeout adds the timeout to the create root user params
func (*CreateRootUserParams) WriteToRequest ¶ added in v1.10.0
func (o *CreateRootUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRootUserReader ¶ added in v1.10.0
type CreateRootUserReader struct {
// contains filtered or unexported fields
}
CreateRootUserReader is a Reader for the CreateRootUser structure.
func (*CreateRootUserReader) ReadResponse ¶ added in v1.10.0
func (o *CreateRootUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserBadRequest ¶
CreateUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateUserBadRequest ¶
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Error ¶
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) GetPayload ¶
func (o *CreateUserBadRequest) GetPayload() *models.ErrorBody
type CreateUserInternalServerError ¶ added in v1.10.0
CreateUserInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateUserInternalServerError ¶ added in v1.10.0
func NewCreateUserInternalServerError() *CreateUserInternalServerError
NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values
func (*CreateUserInternalServerError) Error ¶ added in v1.10.0
func (o *CreateUserInternalServerError) Error() string
func (*CreateUserInternalServerError) GetPayload ¶ added in v1.10.0
func (o *CreateUserInternalServerError) GetPayload() *models.ErrorBody
type CreateUserNotFound ¶ added in v1.10.0
CreateUserNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateUserNotFound ¶ added in v1.10.0
func NewCreateUserNotFound() *CreateUserNotFound
NewCreateUserNotFound creates a CreateUserNotFound with default headers values
func (*CreateUserNotFound) Error ¶ added in v1.10.0
func (o *CreateUserNotFound) Error() string
func (*CreateUserNotFound) GetPayload ¶ added in v1.10.0
func (o *CreateUserNotFound) GetPayload() *models.ErrorBody
type CreateUserOK ¶
type CreateUserOK struct {
Payload []*models.WithTaskUser
}
CreateUserOK describes a response with status code 200, with default header values.
Ok
func NewCreateUserOK ¶
func NewCreateUserOK() *CreateUserOK
NewCreateUserOK creates a CreateUserOK with default headers values
func (*CreateUserOK) Error ¶
func (o *CreateUserOK) Error() string
func (*CreateUserOK) GetPayload ¶
func (o *CreateUserOK) GetPayload() []*models.WithTaskUser
type CreateUserParams ¶
type CreateUserParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.UserCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetContentLanguage ¶
func (o *CreateUserParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetRequestBody ¶
func (o *CreateUserParams) SetRequestBody(requestBody []*models.UserCreationParams)
SetRequestBody adds the requestBody to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithContentLanguage ¶
func (o *CreateUserParams) WithContentLanguage(contentLanguage *string) *CreateUserParams
WithContentLanguage adds the contentLanguage to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithRequestBody ¶
func (o *CreateUserParams) WithRequestBody(requestBody []*models.UserCreationParams) *CreateUserParams
WithRequestBody adds the requestBody to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserBadRequest ¶
DeleteUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteUserBadRequest ¶
func NewDeleteUserBadRequest() *DeleteUserBadRequest
NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values
func (*DeleteUserBadRequest) Error ¶
func (o *DeleteUserBadRequest) Error() string
func (*DeleteUserBadRequest) GetPayload ¶
func (o *DeleteUserBadRequest) GetPayload() *models.ErrorBody
type DeleteUserInternalServerError ¶ added in v1.10.0
DeleteUserInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteUserInternalServerError ¶ added in v1.10.0
func NewDeleteUserInternalServerError() *DeleteUserInternalServerError
NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values
func (*DeleteUserInternalServerError) Error ¶ added in v1.10.0
func (o *DeleteUserInternalServerError) Error() string
func (*DeleteUserInternalServerError) GetPayload ¶ added in v1.10.0
func (o *DeleteUserInternalServerError) GetPayload() *models.ErrorBody
type DeleteUserNotFound ¶ added in v1.10.0
DeleteUserNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteUserNotFound ¶ added in v1.10.0
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Error ¶ added in v1.10.0
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) GetPayload ¶ added in v1.10.0
func (o *DeleteUserNotFound) GetPayload() *models.ErrorBody
type DeleteUserOK ¶
type DeleteUserOK struct {
Payload []*models.WithTaskDeleteUser
}
DeleteUserOK describes a response with status code 200, with default header values.
Ok
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
func (*DeleteUserOK) GetPayload ¶
func (o *DeleteUserOK) GetPayload() []*models.WithTaskDeleteUser
type DeleteUserParams ¶
type DeleteUserParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.UserDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserParams contains all the parameters to send to the API endpoint
for the delete user operation. Typically these are written to a http.Request.
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams 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 NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.
func NewDeleteUserParamsWithHTTPClient ¶
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserParamsWithTimeout ¶
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.
func (*DeleteUserParams) SetContentLanguage ¶
func (o *DeleteUserParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete user params
func (*DeleteUserParams) SetContext ¶
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetDefaults ¶
func (o *DeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetRequestBody ¶
func (o *DeleteUserParams) SetRequestBody(requestBody *models.UserDeletionParams)
SetRequestBody adds the requestBody to the delete user params
func (*DeleteUserParams) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithContentLanguage ¶
func (o *DeleteUserParams) WithContentLanguage(contentLanguage *string) *DeleteUserParams
WithContentLanguage adds the contentLanguage to the delete user params
func (*DeleteUserParams) WithContext ¶
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithDefaults ¶
func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
WithDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithRequestBody ¶
func (o *DeleteUserParams) WithRequestBody(requestBody *models.UserDeletionParams) *DeleteUserParams
WithRequestBody adds the requestBody to the delete user params
func (*DeleteUserParams) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WriteToRequest ¶
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersBadRequest ¶
GetUsersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUsersBadRequest ¶
func NewGetUsersBadRequest() *GetUsersBadRequest
NewGetUsersBadRequest creates a GetUsersBadRequest with default headers values
func (*GetUsersBadRequest) Error ¶
func (o *GetUsersBadRequest) Error() string
func (*GetUsersBadRequest) GetPayload ¶
func (o *GetUsersBadRequest) GetPayload() *models.ErrorBody
type GetUsersConnectionBadRequest ¶
GetUsersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetUsersConnectionBadRequest ¶
func NewGetUsersConnectionBadRequest() *GetUsersConnectionBadRequest
NewGetUsersConnectionBadRequest creates a GetUsersConnectionBadRequest with default headers values
func (*GetUsersConnectionBadRequest) Error ¶
func (o *GetUsersConnectionBadRequest) Error() string
func (*GetUsersConnectionBadRequest) GetPayload ¶
func (o *GetUsersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetUsersConnectionInternalServerError ¶ added in v1.10.0
GetUsersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUsersConnectionInternalServerError ¶ added in v1.10.0
func NewGetUsersConnectionInternalServerError() *GetUsersConnectionInternalServerError
NewGetUsersConnectionInternalServerError creates a GetUsersConnectionInternalServerError with default headers values
func (*GetUsersConnectionInternalServerError) Error ¶ added in v1.10.0
func (o *GetUsersConnectionInternalServerError) Error() string
func (*GetUsersConnectionInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetUsersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetUsersConnectionNotFound ¶ added in v1.10.0
GetUsersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUsersConnectionNotFound ¶ added in v1.10.0
func NewGetUsersConnectionNotFound() *GetUsersConnectionNotFound
NewGetUsersConnectionNotFound creates a GetUsersConnectionNotFound with default headers values
func (*GetUsersConnectionNotFound) Error ¶ added in v1.10.0
func (o *GetUsersConnectionNotFound) Error() string
func (*GetUsersConnectionNotFound) GetPayload ¶ added in v1.10.0
func (o *GetUsersConnectionNotFound) GetPayload() *models.ErrorBody
type GetUsersConnectionOK ¶
type GetUsersConnectionOK struct {
Payload *models.UserConnection
}
GetUsersConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetUsersConnectionOK ¶
func NewGetUsersConnectionOK() *GetUsersConnectionOK
NewGetUsersConnectionOK creates a GetUsersConnectionOK with default headers values
func (*GetUsersConnectionOK) Error ¶
func (o *GetUsersConnectionOK) Error() string
func (*GetUsersConnectionOK) GetPayload ¶
func (o *GetUsersConnectionOK) GetPayload() *models.UserConnection
type GetUsersConnectionParams ¶
type GetUsersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetUsersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersConnectionParams contains all the parameters to send to the API endpoint
for the get users connection operation. Typically these are written to a http.Request.
func NewGetUsersConnectionParams ¶
func NewGetUsersConnectionParams() *GetUsersConnectionParams
NewGetUsersConnectionParams creates a new GetUsersConnectionParams 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 NewGetUsersConnectionParamsWithContext ¶
func NewGetUsersConnectionParamsWithContext(ctx context.Context) *GetUsersConnectionParams
NewGetUsersConnectionParamsWithContext creates a new GetUsersConnectionParams object with the ability to set a context for a request.
func NewGetUsersConnectionParamsWithHTTPClient ¶
func NewGetUsersConnectionParamsWithHTTPClient(client *http.Client) *GetUsersConnectionParams
NewGetUsersConnectionParamsWithHTTPClient creates a new GetUsersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersConnectionParamsWithTimeout ¶
func NewGetUsersConnectionParamsWithTimeout(timeout time.Duration) *GetUsersConnectionParams
NewGetUsersConnectionParamsWithTimeout creates a new GetUsersConnectionParams object with the ability to set a timeout on a request.
func (*GetUsersConnectionParams) SetContentLanguage ¶
func (o *GetUsersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get users connection params
func (*GetUsersConnectionParams) SetContext ¶
func (o *GetUsersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get users connection params
func (*GetUsersConnectionParams) SetDefaults ¶
func (o *GetUsersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get users connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersConnectionParams) SetHTTPClient ¶
func (o *GetUsersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users connection params
func (*GetUsersConnectionParams) SetRequestBody ¶
func (o *GetUsersConnectionParams) SetRequestBody(requestBody *models.GetUsersConnectionRequestBody)
SetRequestBody adds the requestBody to the get users connection params
func (*GetUsersConnectionParams) SetTimeout ¶
func (o *GetUsersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users connection params
func (*GetUsersConnectionParams) WithContentLanguage ¶
func (o *GetUsersConnectionParams) WithContentLanguage(contentLanguage *string) *GetUsersConnectionParams
WithContentLanguage adds the contentLanguage to the get users connection params
func (*GetUsersConnectionParams) WithContext ¶
func (o *GetUsersConnectionParams) WithContext(ctx context.Context) *GetUsersConnectionParams
WithContext adds the context to the get users connection params
func (*GetUsersConnectionParams) WithDefaults ¶
func (o *GetUsersConnectionParams) WithDefaults() *GetUsersConnectionParams
WithDefaults hydrates default values in the get users connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersConnectionParams) WithHTTPClient ¶
func (o *GetUsersConnectionParams) WithHTTPClient(client *http.Client) *GetUsersConnectionParams
WithHTTPClient adds the HTTPClient to the get users connection params
func (*GetUsersConnectionParams) WithRequestBody ¶
func (o *GetUsersConnectionParams) WithRequestBody(requestBody *models.GetUsersConnectionRequestBody) *GetUsersConnectionParams
WithRequestBody adds the requestBody to the get users connection params
func (*GetUsersConnectionParams) WithTimeout ¶
func (o *GetUsersConnectionParams) WithTimeout(timeout time.Duration) *GetUsersConnectionParams
WithTimeout adds the timeout to the get users connection params
func (*GetUsersConnectionParams) WriteToRequest ¶
func (o *GetUsersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersConnectionReader ¶
type GetUsersConnectionReader struct {
// contains filtered or unexported fields
}
GetUsersConnectionReader is a Reader for the GetUsersConnection structure.
func (*GetUsersConnectionReader) ReadResponse ¶
func (o *GetUsersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersInternalServerError ¶ added in v1.10.0
GetUsersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetUsersInternalServerError ¶ added in v1.10.0
func NewGetUsersInternalServerError() *GetUsersInternalServerError
NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values
func (*GetUsersInternalServerError) Error ¶ added in v1.10.0
func (o *GetUsersInternalServerError) Error() string
func (*GetUsersInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetUsersInternalServerError) GetPayload() *models.ErrorBody
type GetUsersNotFound ¶ added in v1.10.0
GetUsersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetUsersNotFound ¶ added in v1.10.0
func NewGetUsersNotFound() *GetUsersNotFound
NewGetUsersNotFound creates a GetUsersNotFound with default headers values
func (*GetUsersNotFound) Error ¶ added in v1.10.0
func (o *GetUsersNotFound) Error() string
func (*GetUsersNotFound) GetPayload ¶ added in v1.10.0
func (o *GetUsersNotFound) GetPayload() *models.ErrorBody
type GetUsersOK ¶
GetUsersOK describes a response with status code 200, with default header values.
Ok
func NewGetUsersOK ¶
func NewGetUsersOK() *GetUsersOK
NewGetUsersOK creates a GetUsersOK with default headers values
func (*GetUsersOK) Error ¶
func (o *GetUsersOK) Error() string
func (*GetUsersOK) GetPayload ¶
func (o *GetUsersOK) GetPayload() []*models.User
type GetUsersParams ¶
type GetUsersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetUsersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersParams contains all the parameters to send to the API endpoint
for the get users operation. Typically these are written to a http.Request.
func NewGetUsersParams ¶
func NewGetUsersParams() *GetUsersParams
NewGetUsersParams creates a new GetUsersParams 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 NewGetUsersParamsWithContext ¶
func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams
NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.
func NewGetUsersParamsWithHTTPClient ¶
func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams
NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersParamsWithTimeout ¶
func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams
NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.
func (*GetUsersParams) SetContentLanguage ¶
func (o *GetUsersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get users params
func (*GetUsersParams) SetContext ¶
func (o *GetUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get users params
func (*GetUsersParams) SetDefaults ¶
func (o *GetUsersParams) SetDefaults()
SetDefaults hydrates default values in the get users params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersParams) SetHTTPClient ¶
func (o *GetUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) SetRequestBody ¶
func (o *GetUsersParams) SetRequestBody(requestBody *models.GetUsersRequestBody)
SetRequestBody adds the requestBody to the get users params
func (*GetUsersParams) SetTimeout ¶
func (o *GetUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users params
func (*GetUsersParams) WithContentLanguage ¶
func (o *GetUsersParams) WithContentLanguage(contentLanguage *string) *GetUsersParams
WithContentLanguage adds the contentLanguage to the get users params
func (*GetUsersParams) WithContext ¶
func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
WithContext adds the context to the get users params
func (*GetUsersParams) WithDefaults ¶
func (o *GetUsersParams) WithDefaults() *GetUsersParams
WithDefaults hydrates default values in the get users params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersParams) WithHTTPClient ¶
func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
WithHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) WithRequestBody ¶
func (o *GetUsersParams) WithRequestBody(requestBody *models.GetUsersRequestBody) *GetUsersParams
WithRequestBody adds the requestBody to the get users params
func (*GetUsersParams) WithTimeout ¶
func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
WithTimeout adds the timeout to the get users params
func (*GetUsersParams) WriteToRequest ¶
func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersReader ¶
type GetUsersReader struct {
// contains filtered or unexported fields
}
GetUsersReader is a Reader for the GetUsers structure.
func (*GetUsersReader) ReadResponse ¶
func (o *GetUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginBadRequest ¶
LoginBadRequest describes a response with status code 400, with default header values.
Bad request
func NewLoginBadRequest ¶
func NewLoginBadRequest() *LoginBadRequest
NewLoginBadRequest creates a LoginBadRequest with default headers values
func (*LoginBadRequest) Error ¶
func (o *LoginBadRequest) Error() string
func (*LoginBadRequest) GetPayload ¶
func (o *LoginBadRequest) GetPayload() *models.ErrorBody
type LoginInternalServerError ¶ added in v1.10.0
LoginInternalServerError describes a response with status code 500, with default header values.
Server error
func NewLoginInternalServerError ¶ added in v1.10.0
func NewLoginInternalServerError() *LoginInternalServerError
NewLoginInternalServerError creates a LoginInternalServerError with default headers values
func (*LoginInternalServerError) Error ¶ added in v1.10.0
func (o *LoginInternalServerError) Error() string
func (*LoginInternalServerError) GetPayload ¶ added in v1.10.0
func (o *LoginInternalServerError) GetPayload() *models.ErrorBody
type LoginNotFound ¶ added in v1.10.0
LoginNotFound describes a response with status code 404, with default header values.
Not found
func NewLoginNotFound ¶ added in v1.10.0
func NewLoginNotFound() *LoginNotFound
NewLoginNotFound creates a LoginNotFound with default headers values
func (*LoginNotFound) Error ¶ added in v1.10.0
func (o *LoginNotFound) Error() string
func (*LoginNotFound) GetPayload ¶ added in v1.10.0
func (o *LoginNotFound) GetPayload() *models.ErrorBody
type LoginOK ¶
type LoginOK struct {
Payload *models.WithTaskTokenString
}
LoginOK describes a response with status code 200, with default header values.
Ok
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
func (*LoginOK) GetPayload ¶
func (o *LoginOK) GetPayload() *models.WithTaskTokenString
type LoginParams ¶
type LoginParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.LoginInput Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginParams contains all the parameters to send to the API endpoint
for the login operation. Typically these are written to a http.Request.
func NewLoginParams ¶
func NewLoginParams() *LoginParams
NewLoginParams creates a new LoginParams 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 NewLoginParamsWithContext ¶
func NewLoginParamsWithContext(ctx context.Context) *LoginParams
NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.
func NewLoginParamsWithHTTPClient ¶
func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams
NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.
func NewLoginParamsWithTimeout ¶
func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams
NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.
func (*LoginParams) SetContentLanguage ¶
func (o *LoginParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the login params
func (*LoginParams) SetContext ¶
func (o *LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the login params
func (*LoginParams) SetDefaults ¶
func (o *LoginParams) SetDefaults()
SetDefaults hydrates default values in the login params (not the query body).
All values with no default are reset to their zero value.
func (*LoginParams) SetHTTPClient ¶
func (o *LoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login params
func (*LoginParams) SetRequestBody ¶
func (o *LoginParams) SetRequestBody(requestBody *models.LoginInput)
SetRequestBody adds the requestBody to the login params
func (*LoginParams) SetTimeout ¶
func (o *LoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login params
func (*LoginParams) WithContentLanguage ¶
func (o *LoginParams) WithContentLanguage(contentLanguage *string) *LoginParams
WithContentLanguage adds the contentLanguage to the login params
func (*LoginParams) WithContext ¶
func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
WithContext adds the context to the login params
func (*LoginParams) WithDefaults ¶
func (o *LoginParams) WithDefaults() *LoginParams
WithDefaults hydrates default values in the login params (not the query body).
All values with no default are reset to their zero value.
func (*LoginParams) WithHTTPClient ¶
func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
WithHTTPClient adds the HTTPClient to the login params
func (*LoginParams) WithRequestBody ¶
func (o *LoginParams) WithRequestBody(requestBody *models.LoginInput) *LoginParams
WithRequestBody adds the requestBody to the login params
func (*LoginParams) WithTimeout ¶
func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
WithTimeout adds the timeout to the login params
func (*LoginParams) WriteToRequest ¶
func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginReader ¶
type LoginReader struct {
// contains filtered or unexported fields
}
LoginReader is a Reader for the Login structure.
func (*LoginReader) ReadResponse ¶
func (o *LoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserBadRequest ¶
UpdateUserBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateUserBadRequest ¶
func NewUpdateUserBadRequest() *UpdateUserBadRequest
NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values
func (*UpdateUserBadRequest) Error ¶
func (o *UpdateUserBadRequest) Error() string
func (*UpdateUserBadRequest) GetPayload ¶
func (o *UpdateUserBadRequest) GetPayload() *models.ErrorBody
type UpdateUserInternalServerError ¶ added in v1.10.0
UpdateUserInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateUserInternalServerError ¶ added in v1.10.0
func NewUpdateUserInternalServerError() *UpdateUserInternalServerError
NewUpdateUserInternalServerError creates a UpdateUserInternalServerError with default headers values
func (*UpdateUserInternalServerError) Error ¶ added in v1.10.0
func (o *UpdateUserInternalServerError) Error() string
func (*UpdateUserInternalServerError) GetPayload ¶ added in v1.10.0
func (o *UpdateUserInternalServerError) GetPayload() *models.ErrorBody
type UpdateUserNotFound ¶ added in v1.10.0
UpdateUserNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateUserNotFound ¶ added in v1.10.0
func NewUpdateUserNotFound() *UpdateUserNotFound
NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values
func (*UpdateUserNotFound) Error ¶ added in v1.10.0
func (o *UpdateUserNotFound) Error() string
func (*UpdateUserNotFound) GetPayload ¶ added in v1.10.0
func (o *UpdateUserNotFound) GetPayload() *models.ErrorBody
type UpdateUserOK ¶
type UpdateUserOK struct {
Payload []*models.WithTaskUser
}
UpdateUserOK describes a response with status code 200, with default header values.
Ok
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() []*models.WithTaskUser
type UpdateUserParams ¶
type UpdateUserParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.UserUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserParams contains all the parameters to send to the API endpoint
for the update user operation. Typically these are written to a http.Request.
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams creates a new UpdateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUserParamsWithContext ¶
func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams
NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.
func NewUpdateUserParamsWithHTTPClient ¶
func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams
NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserParamsWithTimeout ¶
func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams
NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.
func (*UpdateUserParams) SetContentLanguage ¶
func (o *UpdateUserParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update user params
func (*UpdateUserParams) SetContext ¶
func (o *UpdateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update user params
func (*UpdateUserParams) SetDefaults ¶
func (o *UpdateUserParams) SetDefaults()
SetDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) SetHTTPClient ¶
func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) SetRequestBody ¶
func (o *UpdateUserParams) SetRequestBody(requestBody *models.UserUpdationParams)
SetRequestBody adds the requestBody to the update user params
func (*UpdateUserParams) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithContentLanguage ¶
func (o *UpdateUserParams) WithContentLanguage(contentLanguage *string) *UpdateUserParams
WithContentLanguage adds the contentLanguage to the update user params
func (*UpdateUserParams) WithContext ¶
func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
WithContext adds the context to the update user params
func (*UpdateUserParams) WithDefaults ¶
func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
WithDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) WithHTTPClient ¶
func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
WithHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) WithRequestBody ¶
func (o *UpdateUserParams) WithRequestBody(requestBody *models.UserUpdationParams) *UpdateUserParams
WithRequestBody adds the requestBody to the update user params
func (*UpdateUserParams) WithTimeout ¶
func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
WithTimeout adds the timeout to the update user params
func (*UpdateUserParams) WriteToRequest ¶
func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserReader ¶
type UpdateUserReader struct {
// contains filtered or unexported fields
}
UpdateUserReader is a Reader for the UpdateUser structure.
func (*UpdateUserReader) ReadResponse ¶
func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_root_user_parameters.go
- create_root_user_responses.go
- create_user_parameters.go
- create_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_users_connection_parameters.go
- get_users_connection_responses.go
- get_users_parameters.go
- get_users_responses.go
- login_parameters.go
- login_responses.go
- update_user_parameters.go
- update_user_responses.go
- user_client.go