Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUsersOK, error)
- func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUsersOK, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserOK, error)
- func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserOK, error)
- func (a *Client) UpdateUserEmail(params *UpdateUserEmailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserEmailOK, error)
- func (a *Client) UpdateUserName(params *UpdateUserNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserNameOK, error)
- func (a *Client) UpdateUserPhoneNumber(params *UpdateUserPhoneNumberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserPhoneNumberOK, error)
- type ClientOption
- type ClientService
- type CreateUsersOK
- func (o *CreateUsersOK) Code() int
- func (o *CreateUsersOK) Error() string
- func (o *CreateUsersOK) GetPayload() *models.ActivityResponse
- func (o *CreateUsersOK) IsClientError() bool
- func (o *CreateUsersOK) IsCode(code int) bool
- func (o *CreateUsersOK) IsRedirect() bool
- func (o *CreateUsersOK) IsServerError() bool
- func (o *CreateUsersOK) IsSuccess() bool
- func (o *CreateUsersOK) String() string
- type CreateUsersParams
- func (o *CreateUsersParams) SetBody(body *models.CreateUsersRequest)
- func (o *CreateUsersParams) SetContext(ctx context.Context)
- func (o *CreateUsersParams) SetDefaults()
- func (o *CreateUsersParams) SetHTTPClient(client *http.Client)
- func (o *CreateUsersParams) SetTimeout(timeout time.Duration)
- func (o *CreateUsersParams) WithBody(body *models.CreateUsersRequest) *CreateUsersParams
- func (o *CreateUsersParams) WithContext(ctx context.Context) *CreateUsersParams
- func (o *CreateUsersParams) WithDefaults() *CreateUsersParams
- func (o *CreateUsersParams) WithHTTPClient(client *http.Client) *CreateUsersParams
- func (o *CreateUsersParams) WithTimeout(timeout time.Duration) *CreateUsersParams
- func (o *CreateUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUsersReader
- type DeleteUsersOK
- func (o *DeleteUsersOK) Code() int
- func (o *DeleteUsersOK) Error() string
- func (o *DeleteUsersOK) GetPayload() *models.ActivityResponse
- func (o *DeleteUsersOK) IsClientError() bool
- func (o *DeleteUsersOK) IsCode(code int) bool
- func (o *DeleteUsersOK) IsRedirect() bool
- func (o *DeleteUsersOK) IsServerError() bool
- func (o *DeleteUsersOK) IsSuccess() bool
- func (o *DeleteUsersOK) String() string
- type DeleteUsersParams
- func (o *DeleteUsersParams) SetBody(body *models.DeleteUsersRequest)
- func (o *DeleteUsersParams) SetContext(ctx context.Context)
- func (o *DeleteUsersParams) SetDefaults()
- func (o *DeleteUsersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUsersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUsersParams) WithBody(body *models.DeleteUsersRequest) *DeleteUsersParams
- func (o *DeleteUsersParams) WithContext(ctx context.Context) *DeleteUsersParams
- func (o *DeleteUsersParams) WithDefaults() *DeleteUsersParams
- func (o *DeleteUsersParams) WithHTTPClient(client *http.Client) *DeleteUsersParams
- func (o *DeleteUsersParams) WithTimeout(timeout time.Duration) *DeleteUsersParams
- func (o *DeleteUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsersReader
- type GetUserOK
- func (o *GetUserOK) Code() int
- func (o *GetUserOK) Error() string
- func (o *GetUserOK) GetPayload() *models.GetUserResponse
- func (o *GetUserOK) IsClientError() bool
- func (o *GetUserOK) IsCode(code int) bool
- func (o *GetUserOK) IsRedirect() bool
- func (o *GetUserOK) IsServerError() bool
- func (o *GetUserOK) IsSuccess() bool
- func (o *GetUserOK) String() string
- type GetUserParams
- func (o *GetUserParams) SetBody(body *models.GetUserRequest)
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetDefaults()
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithBody(body *models.GetUserRequest) *GetUserParams
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUsersOK
- func (o *GetUsersOK) Code() int
- func (o *GetUsersOK) Error() string
- func (o *GetUsersOK) GetPayload() *models.GetUsersResponse
- func (o *GetUsersOK) IsClientError() bool
- func (o *GetUsersOK) IsCode(code int) bool
- func (o *GetUsersOK) IsRedirect() bool
- func (o *GetUsersOK) IsServerError() bool
- func (o *GetUsersOK) IsSuccess() bool
- func (o *GetUsersOK) String() string
- type GetUsersParams
- func (o *GetUsersParams) SetBody(body *models.GetUsersRequest)
- func (o *GetUsersParams) SetContext(ctx context.Context)
- func (o *GetUsersParams) SetDefaults()
- func (o *GetUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersParams) WithBody(body *models.GetUsersRequest) *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) WithTimeout(timeout time.Duration) *GetUsersParams
- func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersReader
- type UpdateUserEmailOK
- func (o *UpdateUserEmailOK) Code() int
- func (o *UpdateUserEmailOK) Error() string
- func (o *UpdateUserEmailOK) GetPayload() *models.ActivityResponse
- func (o *UpdateUserEmailOK) IsClientError() bool
- func (o *UpdateUserEmailOK) IsCode(code int) bool
- func (o *UpdateUserEmailOK) IsRedirect() bool
- func (o *UpdateUserEmailOK) IsServerError() bool
- func (o *UpdateUserEmailOK) IsSuccess() bool
- func (o *UpdateUserEmailOK) String() string
- type UpdateUserEmailParams
- func NewUpdateUserEmailParams() *UpdateUserEmailParams
- func NewUpdateUserEmailParamsWithContext(ctx context.Context) *UpdateUserEmailParams
- func NewUpdateUserEmailParamsWithHTTPClient(client *http.Client) *UpdateUserEmailParams
- func NewUpdateUserEmailParamsWithTimeout(timeout time.Duration) *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) SetBody(body *models.UpdateUserEmailRequest)
- func (o *UpdateUserEmailParams) SetContext(ctx context.Context)
- func (o *UpdateUserEmailParams) SetDefaults()
- func (o *UpdateUserEmailParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserEmailParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserEmailParams) WithBody(body *models.UpdateUserEmailRequest) *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) WithContext(ctx context.Context) *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) WithDefaults() *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) WithHTTPClient(client *http.Client) *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) WithTimeout(timeout time.Duration) *UpdateUserEmailParams
- func (o *UpdateUserEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserEmailReader
- type UpdateUserNameOK
- func (o *UpdateUserNameOK) Code() int
- func (o *UpdateUserNameOK) Error() string
- func (o *UpdateUserNameOK) GetPayload() *models.ActivityResponse
- func (o *UpdateUserNameOK) IsClientError() bool
- func (o *UpdateUserNameOK) IsCode(code int) bool
- func (o *UpdateUserNameOK) IsRedirect() bool
- func (o *UpdateUserNameOK) IsServerError() bool
- func (o *UpdateUserNameOK) IsSuccess() bool
- func (o *UpdateUserNameOK) String() string
- type UpdateUserNameParams
- func NewUpdateUserNameParams() *UpdateUserNameParams
- func NewUpdateUserNameParamsWithContext(ctx context.Context) *UpdateUserNameParams
- func NewUpdateUserNameParamsWithHTTPClient(client *http.Client) *UpdateUserNameParams
- func NewUpdateUserNameParamsWithTimeout(timeout time.Duration) *UpdateUserNameParams
- func (o *UpdateUserNameParams) SetBody(body *models.UpdateUserNameRequest)
- func (o *UpdateUserNameParams) SetContext(ctx context.Context)
- func (o *UpdateUserNameParams) SetDefaults()
- func (o *UpdateUserNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserNameParams) WithBody(body *models.UpdateUserNameRequest) *UpdateUserNameParams
- func (o *UpdateUserNameParams) WithContext(ctx context.Context) *UpdateUserNameParams
- func (o *UpdateUserNameParams) WithDefaults() *UpdateUserNameParams
- func (o *UpdateUserNameParams) WithHTTPClient(client *http.Client) *UpdateUserNameParams
- func (o *UpdateUserNameParams) WithTimeout(timeout time.Duration) *UpdateUserNameParams
- func (o *UpdateUserNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserNameReader
- type UpdateUserOK
- func (o *UpdateUserOK) Code() int
- func (o *UpdateUserOK) Error() string
- func (o *UpdateUserOK) GetPayload() *models.ActivityResponse
- func (o *UpdateUserOK) IsClientError() bool
- func (o *UpdateUserOK) IsCode(code int) bool
- func (o *UpdateUserOK) IsRedirect() bool
- func (o *UpdateUserOK) IsServerError() bool
- func (o *UpdateUserOK) IsSuccess() bool
- func (o *UpdateUserOK) String() string
- type UpdateUserParams
- func (o *UpdateUserParams) SetBody(body *models.UpdateUserRequest)
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) WithBody(body *models.UpdateUserRequest) *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) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserPhoneNumberOK
- func (o *UpdateUserPhoneNumberOK) Code() int
- func (o *UpdateUserPhoneNumberOK) Error() string
- func (o *UpdateUserPhoneNumberOK) GetPayload() *models.ActivityResponse
- func (o *UpdateUserPhoneNumberOK) IsClientError() bool
- func (o *UpdateUserPhoneNumberOK) IsCode(code int) bool
- func (o *UpdateUserPhoneNumberOK) IsRedirect() bool
- func (o *UpdateUserPhoneNumberOK) IsServerError() bool
- func (o *UpdateUserPhoneNumberOK) IsSuccess() bool
- func (o *UpdateUserPhoneNumberOK) String() string
- type UpdateUserPhoneNumberParams
- func NewUpdateUserPhoneNumberParams() *UpdateUserPhoneNumberParams
- func NewUpdateUserPhoneNumberParamsWithContext(ctx context.Context) *UpdateUserPhoneNumberParams
- func NewUpdateUserPhoneNumberParamsWithHTTPClient(client *http.Client) *UpdateUserPhoneNumberParams
- func NewUpdateUserPhoneNumberParamsWithTimeout(timeout time.Duration) *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) SetBody(body *models.UpdateUserPhoneNumberRequest)
- func (o *UpdateUserPhoneNumberParams) SetContext(ctx context.Context)
- func (o *UpdateUserPhoneNumberParams) SetDefaults()
- func (o *UpdateUserPhoneNumberParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserPhoneNumberParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserPhoneNumberParams) WithBody(body *models.UpdateUserPhoneNumberRequest) *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) WithContext(ctx context.Context) *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) WithDefaults() *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) WithHTTPClient(client *http.Client) *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) WithTimeout(timeout time.Duration) *UpdateUserPhoneNumberParams
- func (o *UpdateUserPhoneNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserPhoneNumberReader
- 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 users API
func (*Client) CreateUsers ¶
func (a *Client) CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUsersOK, error)
CreateUsers creates users
Create users in an existing organization.
func (*Client) DeleteUsers ¶
func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersOK, error)
DeleteUsers deletes users
Delete users within an organization.
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets user
Get details about a user.
func (*Client) GetUsers ¶
func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)
GetUsers lists users
List all users within an organization.
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, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser updates user
Update a user in an existing organization.
func (*Client) UpdateUserEmail ¶ added in v0.6.0
func (a *Client) UpdateUserEmail(params *UpdateUserEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserEmailOK, error)
UpdateUserEmail updates user s email
Update a user's email in an existing organization.
func (*Client) UpdateUserName ¶ added in v0.6.0
func (a *Client) UpdateUserName(params *UpdateUserNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserNameOK, error)
UpdateUserName updates user s name
Update a user's name in an existing organization.
func (*Client) UpdateUserPhoneNumber ¶ added in v0.6.0
func (a *Client) UpdateUserPhoneNumber(params *UpdateUserPhoneNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserPhoneNumberOK, error)
UpdateUserPhoneNumber updates user s phone number
Update a user's phone number in an existing organization.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUsersOK, error)
DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersOK, error)
GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)
UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUserEmail(params *UpdateUserEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserEmailOK, error)
UpdateUserName(params *UpdateUserNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserNameOK, error)
UpdateUserPhoneNumber(params *UpdateUserPhoneNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserPhoneNumberOK, 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 users API client.
type CreateUsersOK ¶
type CreateUsersOK struct {
Payload *models.ActivityResponse
}
CreateUsersOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateUsersOK ¶
func NewCreateUsersOK() *CreateUsersOK
NewCreateUsersOK creates a CreateUsersOK with default headers values
func (*CreateUsersOK) Code ¶
func (o *CreateUsersOK) Code() int
Code gets the status code for the create users o k response
func (*CreateUsersOK) Error ¶
func (o *CreateUsersOK) Error() string
func (*CreateUsersOK) GetPayload ¶
func (o *CreateUsersOK) GetPayload() *models.ActivityResponse
func (*CreateUsersOK) IsClientError ¶
func (o *CreateUsersOK) IsClientError() bool
IsClientError returns true when this create users o k response has a 4xx status code
func (*CreateUsersOK) IsCode ¶
func (o *CreateUsersOK) IsCode(code int) bool
IsCode returns true when this create users o k response a status code equal to that given
func (*CreateUsersOK) IsRedirect ¶
func (o *CreateUsersOK) IsRedirect() bool
IsRedirect returns true when this create users o k response has a 3xx status code
func (*CreateUsersOK) IsServerError ¶
func (o *CreateUsersOK) IsServerError() bool
IsServerError returns true when this create users o k response has a 5xx status code
func (*CreateUsersOK) IsSuccess ¶
func (o *CreateUsersOK) IsSuccess() bool
IsSuccess returns true when this create users o k response has a 2xx status code
func (*CreateUsersOK) String ¶
func (o *CreateUsersOK) String() string
type CreateUsersParams ¶
type CreateUsersParams struct {
// Body.
Body *models.CreateUsersRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateUsersParams contains all the parameters to send to the API endpoint
for the create users operation. Typically these are written to a http.Request.
func NewCreateUsersParams ¶
func NewCreateUsersParams() *CreateUsersParams
NewCreateUsersParams creates a new CreateUsersParams 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 NewCreateUsersParamsWithContext ¶
func NewCreateUsersParamsWithContext(ctx context.Context) *CreateUsersParams
NewCreateUsersParamsWithContext creates a new CreateUsersParams object with the ability to set a context for a request.
func NewCreateUsersParamsWithHTTPClient ¶
func NewCreateUsersParamsWithHTTPClient(client *http.Client) *CreateUsersParams
NewCreateUsersParamsWithHTTPClient creates a new CreateUsersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUsersParamsWithTimeout ¶
func NewCreateUsersParamsWithTimeout(timeout time.Duration) *CreateUsersParams
NewCreateUsersParamsWithTimeout creates a new CreateUsersParams object with the ability to set a timeout on a request.
func (*CreateUsersParams) SetBody ¶
func (o *CreateUsersParams) SetBody(body *models.CreateUsersRequest)
SetBody adds the body to the create users params
func (*CreateUsersParams) SetContext ¶
func (o *CreateUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the create users params
func (*CreateUsersParams) SetDefaults ¶
func (o *CreateUsersParams) SetDefaults()
SetDefaults hydrates default values in the create users params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUsersParams) SetHTTPClient ¶
func (o *CreateUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create users params
func (*CreateUsersParams) SetTimeout ¶
func (o *CreateUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create users params
func (*CreateUsersParams) WithBody ¶
func (o *CreateUsersParams) WithBody(body *models.CreateUsersRequest) *CreateUsersParams
WithBody adds the body to the create users params
func (*CreateUsersParams) WithContext ¶
func (o *CreateUsersParams) WithContext(ctx context.Context) *CreateUsersParams
WithContext adds the context to the create users params
func (*CreateUsersParams) WithDefaults ¶
func (o *CreateUsersParams) WithDefaults() *CreateUsersParams
WithDefaults hydrates default values in the create users params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUsersParams) WithHTTPClient ¶
func (o *CreateUsersParams) WithHTTPClient(client *http.Client) *CreateUsersParams
WithHTTPClient adds the HTTPClient to the create users params
func (*CreateUsersParams) WithTimeout ¶
func (o *CreateUsersParams) WithTimeout(timeout time.Duration) *CreateUsersParams
WithTimeout adds the timeout to the create users params
func (*CreateUsersParams) WriteToRequest ¶
func (o *CreateUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUsersReader ¶
type CreateUsersReader struct {
// contains filtered or unexported fields
}
CreateUsersReader is a Reader for the CreateUsers structure.
func (*CreateUsersReader) ReadResponse ¶
func (o *CreateUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUsersOK ¶
type DeleteUsersOK struct {
Payload *models.ActivityResponse
}
DeleteUsersOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteUsersOK ¶
func NewDeleteUsersOK() *DeleteUsersOK
NewDeleteUsersOK creates a DeleteUsersOK with default headers values
func (*DeleteUsersOK) Code ¶
func (o *DeleteUsersOK) Code() int
Code gets the status code for the delete users o k response
func (*DeleteUsersOK) Error ¶
func (o *DeleteUsersOK) Error() string
func (*DeleteUsersOK) GetPayload ¶
func (o *DeleteUsersOK) GetPayload() *models.ActivityResponse
func (*DeleteUsersOK) IsClientError ¶
func (o *DeleteUsersOK) IsClientError() bool
IsClientError returns true when this delete users o k response has a 4xx status code
func (*DeleteUsersOK) IsCode ¶
func (o *DeleteUsersOK) IsCode(code int) bool
IsCode returns true when this delete users o k response a status code equal to that given
func (*DeleteUsersOK) IsRedirect ¶
func (o *DeleteUsersOK) IsRedirect() bool
IsRedirect returns true when this delete users o k response has a 3xx status code
func (*DeleteUsersOK) IsServerError ¶
func (o *DeleteUsersOK) IsServerError() bool
IsServerError returns true when this delete users o k response has a 5xx status code
func (*DeleteUsersOK) IsSuccess ¶
func (o *DeleteUsersOK) IsSuccess() bool
IsSuccess returns true when this delete users o k response has a 2xx status code
func (*DeleteUsersOK) String ¶
func (o *DeleteUsersOK) String() string
type DeleteUsersParams ¶
type DeleteUsersParams struct {
// Body.
Body *models.DeleteUsersRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteUsersParams contains all the parameters to send to the API endpoint
for the delete users operation. Typically these are written to a http.Request.
func NewDeleteUsersParams ¶
func NewDeleteUsersParams() *DeleteUsersParams
NewDeleteUsersParams creates a new DeleteUsersParams 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 NewDeleteUsersParamsWithContext ¶
func NewDeleteUsersParamsWithContext(ctx context.Context) *DeleteUsersParams
NewDeleteUsersParamsWithContext creates a new DeleteUsersParams object with the ability to set a context for a request.
func NewDeleteUsersParamsWithHTTPClient ¶
func NewDeleteUsersParamsWithHTTPClient(client *http.Client) *DeleteUsersParams
NewDeleteUsersParamsWithHTTPClient creates a new DeleteUsersParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUsersParamsWithTimeout ¶
func NewDeleteUsersParamsWithTimeout(timeout time.Duration) *DeleteUsersParams
NewDeleteUsersParamsWithTimeout creates a new DeleteUsersParams object with the ability to set a timeout on a request.
func (*DeleteUsersParams) SetBody ¶
func (o *DeleteUsersParams) SetBody(body *models.DeleteUsersRequest)
SetBody adds the body to the delete users params
func (*DeleteUsersParams) SetContext ¶
func (o *DeleteUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete users params
func (*DeleteUsersParams) SetDefaults ¶
func (o *DeleteUsersParams) SetDefaults()
SetDefaults hydrates default values in the delete users params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsersParams) SetHTTPClient ¶
func (o *DeleteUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete users params
func (*DeleteUsersParams) SetTimeout ¶
func (o *DeleteUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete users params
func (*DeleteUsersParams) WithBody ¶
func (o *DeleteUsersParams) WithBody(body *models.DeleteUsersRequest) *DeleteUsersParams
WithBody adds the body to the delete users params
func (*DeleteUsersParams) WithContext ¶
func (o *DeleteUsersParams) WithContext(ctx context.Context) *DeleteUsersParams
WithContext adds the context to the delete users params
func (*DeleteUsersParams) WithDefaults ¶
func (o *DeleteUsersParams) WithDefaults() *DeleteUsersParams
WithDefaults hydrates default values in the delete users params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsersParams) WithHTTPClient ¶
func (o *DeleteUsersParams) WithHTTPClient(client *http.Client) *DeleteUsersParams
WithHTTPClient adds the HTTPClient to the delete users params
func (*DeleteUsersParams) WithTimeout ¶
func (o *DeleteUsersParams) WithTimeout(timeout time.Duration) *DeleteUsersParams
WithTimeout adds the timeout to the delete users params
func (*DeleteUsersParams) WriteToRequest ¶
func (o *DeleteUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsersReader ¶
type DeleteUsersReader struct {
// contains filtered or unexported fields
}
DeleteUsersReader is a Reader for the DeleteUsers structure.
func (*DeleteUsersReader) ReadResponse ¶
func (o *DeleteUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserOK ¶
type GetUserOK struct {
Payload *models.GetUserResponse
}
GetUserOK describes a response with status code 200, with default header values.
A successful response.
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
func (o *GetUserOK) GetPayload() *models.GetUserResponse
func (*GetUserOK) IsClientError ¶
IsClientError returns true when this get user o k response has a 4xx status code
func (*GetUserOK) IsCode ¶
IsCode returns true when this get user o k response a status code equal to that given
func (*GetUserOK) IsRedirect ¶
IsRedirect returns true when this get user o k response has a 3xx status code
func (*GetUserOK) IsServerError ¶
IsServerError returns true when this get user o k response has a 5xx status code
type GetUserParams ¶
type GetUserParams struct {
// Body.
Body *models.GetUserRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserParams contains all the parameters to send to the API endpoint
for the get user operation. Typically these are written to a http.Request.
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.
func (*GetUserParams) SetBody ¶
func (o *GetUserParams) SetBody(body *models.GetUserRequest)
SetBody adds the body to the get user params
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetDefaults ¶
func (o *GetUserParams) SetDefaults()
SetDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithBody ¶
func (o *GetUserParams) WithBody(body *models.GetUserRequest) *GetUserParams
WithBody adds the body to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithDefaults ¶
func (o *GetUserParams) WithDefaults() *GetUserParams
WithDefaults hydrates default values in the get user params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersOK ¶
type GetUsersOK struct {
Payload *models.GetUsersResponse
}
GetUsersOK describes a response with status code 200, with default header values.
A successful response.
func NewGetUsersOK ¶
func NewGetUsersOK() *GetUsersOK
NewGetUsersOK creates a GetUsersOK with default headers values
func (*GetUsersOK) Code ¶
func (o *GetUsersOK) Code() int
Code gets the status code for the get users o k response
func (*GetUsersOK) Error ¶
func (o *GetUsersOK) Error() string
func (*GetUsersOK) GetPayload ¶
func (o *GetUsersOK) GetPayload() *models.GetUsersResponse
func (*GetUsersOK) IsClientError ¶
func (o *GetUsersOK) IsClientError() bool
IsClientError returns true when this get users o k response has a 4xx status code
func (*GetUsersOK) IsCode ¶
func (o *GetUsersOK) IsCode(code int) bool
IsCode returns true when this get users o k response a status code equal to that given
func (*GetUsersOK) IsRedirect ¶
func (o *GetUsersOK) IsRedirect() bool
IsRedirect returns true when this get users o k response has a 3xx status code
func (*GetUsersOK) IsServerError ¶
func (o *GetUsersOK) IsServerError() bool
IsServerError returns true when this get users o k response has a 5xx status code
func (*GetUsersOK) IsSuccess ¶
func (o *GetUsersOK) IsSuccess() bool
IsSuccess returns true when this get users o k response has a 2xx status code
func (*GetUsersOK) String ¶
func (o *GetUsersOK) String() string
type GetUsersParams ¶
type GetUsersParams struct {
// Body.
Body *models.GetUsersRequest
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) SetBody ¶
func (o *GetUsersParams) SetBody(body *models.GetUsersRequest)
SetBody adds the body 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) SetTimeout ¶
func (o *GetUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users params
func (*GetUsersParams) WithBody ¶
func (o *GetUsersParams) WithBody(body *models.GetUsersRequest) *GetUsersParams
WithBody adds the body 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) 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 UpdateUserEmailOK ¶ added in v0.6.0
type UpdateUserEmailOK struct {
Payload *models.ActivityResponse
}
UpdateUserEmailOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateUserEmailOK ¶ added in v0.6.0
func NewUpdateUserEmailOK() *UpdateUserEmailOK
NewUpdateUserEmailOK creates a UpdateUserEmailOK with default headers values
func (*UpdateUserEmailOK) Code ¶ added in v0.6.0
func (o *UpdateUserEmailOK) Code() int
Code gets the status code for the update user email o k response
func (*UpdateUserEmailOK) Error ¶ added in v0.6.0
func (o *UpdateUserEmailOK) Error() string
func (*UpdateUserEmailOK) GetPayload ¶ added in v0.6.0
func (o *UpdateUserEmailOK) GetPayload() *models.ActivityResponse
func (*UpdateUserEmailOK) IsClientError ¶ added in v0.6.0
func (o *UpdateUserEmailOK) IsClientError() bool
IsClientError returns true when this update user email o k response has a 4xx status code
func (*UpdateUserEmailOK) IsCode ¶ added in v0.6.0
func (o *UpdateUserEmailOK) IsCode(code int) bool
IsCode returns true when this update user email o k response a status code equal to that given
func (*UpdateUserEmailOK) IsRedirect ¶ added in v0.6.0
func (o *UpdateUserEmailOK) IsRedirect() bool
IsRedirect returns true when this update user email o k response has a 3xx status code
func (*UpdateUserEmailOK) IsServerError ¶ added in v0.6.0
func (o *UpdateUserEmailOK) IsServerError() bool
IsServerError returns true when this update user email o k response has a 5xx status code
func (*UpdateUserEmailOK) IsSuccess ¶ added in v0.6.0
func (o *UpdateUserEmailOK) IsSuccess() bool
IsSuccess returns true when this update user email o k response has a 2xx status code
func (*UpdateUserEmailOK) String ¶ added in v0.6.0
func (o *UpdateUserEmailOK) String() string
type UpdateUserEmailParams ¶ added in v0.6.0
type UpdateUserEmailParams struct {
// Body.
Body *models.UpdateUserEmailRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUserEmailParams contains all the parameters to send to the API endpoint
for the update user email operation. Typically these are written to a http.Request.
func NewUpdateUserEmailParams ¶ added in v0.6.0
func NewUpdateUserEmailParams() *UpdateUserEmailParams
NewUpdateUserEmailParams creates a new UpdateUserEmailParams 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 NewUpdateUserEmailParamsWithContext ¶ added in v0.6.0
func NewUpdateUserEmailParamsWithContext(ctx context.Context) *UpdateUserEmailParams
NewUpdateUserEmailParamsWithContext creates a new UpdateUserEmailParams object with the ability to set a context for a request.
func NewUpdateUserEmailParamsWithHTTPClient ¶ added in v0.6.0
func NewUpdateUserEmailParamsWithHTTPClient(client *http.Client) *UpdateUserEmailParams
NewUpdateUserEmailParamsWithHTTPClient creates a new UpdateUserEmailParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserEmailParamsWithTimeout ¶ added in v0.6.0
func NewUpdateUserEmailParamsWithTimeout(timeout time.Duration) *UpdateUserEmailParams
NewUpdateUserEmailParamsWithTimeout creates a new UpdateUserEmailParams object with the ability to set a timeout on a request.
func (*UpdateUserEmailParams) SetBody ¶ added in v0.6.0
func (o *UpdateUserEmailParams) SetBody(body *models.UpdateUserEmailRequest)
SetBody adds the body to the update user email params
func (*UpdateUserEmailParams) SetContext ¶ added in v0.6.0
func (o *UpdateUserEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the update user email params
func (*UpdateUserEmailParams) SetDefaults ¶ added in v0.6.0
func (o *UpdateUserEmailParams) SetDefaults()
SetDefaults hydrates default values in the update user email params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserEmailParams) SetHTTPClient ¶ added in v0.6.0
func (o *UpdateUserEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user email params
func (*UpdateUserEmailParams) SetTimeout ¶ added in v0.6.0
func (o *UpdateUserEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user email params
func (*UpdateUserEmailParams) WithBody ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WithBody(body *models.UpdateUserEmailRequest) *UpdateUserEmailParams
WithBody adds the body to the update user email params
func (*UpdateUserEmailParams) WithContext ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WithContext(ctx context.Context) *UpdateUserEmailParams
WithContext adds the context to the update user email params
func (*UpdateUserEmailParams) WithDefaults ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WithDefaults() *UpdateUserEmailParams
WithDefaults hydrates default values in the update user email params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserEmailParams) WithHTTPClient ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WithHTTPClient(client *http.Client) *UpdateUserEmailParams
WithHTTPClient adds the HTTPClient to the update user email params
func (*UpdateUserEmailParams) WithTimeout ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WithTimeout(timeout time.Duration) *UpdateUserEmailParams
WithTimeout adds the timeout to the update user email params
func (*UpdateUserEmailParams) WriteToRequest ¶ added in v0.6.0
func (o *UpdateUserEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserEmailReader ¶ added in v0.6.0
type UpdateUserEmailReader struct {
// contains filtered or unexported fields
}
UpdateUserEmailReader is a Reader for the UpdateUserEmail structure.
func (*UpdateUserEmailReader) ReadResponse ¶ added in v0.6.0
func (o *UpdateUserEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserNameOK ¶ added in v0.6.0
type UpdateUserNameOK struct {
Payload *models.ActivityResponse
}
UpdateUserNameOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateUserNameOK ¶ added in v0.6.0
func NewUpdateUserNameOK() *UpdateUserNameOK
NewUpdateUserNameOK creates a UpdateUserNameOK with default headers values
func (*UpdateUserNameOK) Code ¶ added in v0.6.0
func (o *UpdateUserNameOK) Code() int
Code gets the status code for the update user name o k response
func (*UpdateUserNameOK) Error ¶ added in v0.6.0
func (o *UpdateUserNameOK) Error() string
func (*UpdateUserNameOK) GetPayload ¶ added in v0.6.0
func (o *UpdateUserNameOK) GetPayload() *models.ActivityResponse
func (*UpdateUserNameOK) IsClientError ¶ added in v0.6.0
func (o *UpdateUserNameOK) IsClientError() bool
IsClientError returns true when this update user name o k response has a 4xx status code
func (*UpdateUserNameOK) IsCode ¶ added in v0.6.0
func (o *UpdateUserNameOK) IsCode(code int) bool
IsCode returns true when this update user name o k response a status code equal to that given
func (*UpdateUserNameOK) IsRedirect ¶ added in v0.6.0
func (o *UpdateUserNameOK) IsRedirect() bool
IsRedirect returns true when this update user name o k response has a 3xx status code
func (*UpdateUserNameOK) IsServerError ¶ added in v0.6.0
func (o *UpdateUserNameOK) IsServerError() bool
IsServerError returns true when this update user name o k response has a 5xx status code
func (*UpdateUserNameOK) IsSuccess ¶ added in v0.6.0
func (o *UpdateUserNameOK) IsSuccess() bool
IsSuccess returns true when this update user name o k response has a 2xx status code
func (*UpdateUserNameOK) String ¶ added in v0.6.0
func (o *UpdateUserNameOK) String() string
type UpdateUserNameParams ¶ added in v0.6.0
type UpdateUserNameParams struct {
// Body.
Body *models.UpdateUserNameRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUserNameParams contains all the parameters to send to the API endpoint
for the update user name operation. Typically these are written to a http.Request.
func NewUpdateUserNameParams ¶ added in v0.6.0
func NewUpdateUserNameParams() *UpdateUserNameParams
NewUpdateUserNameParams creates a new UpdateUserNameParams 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 NewUpdateUserNameParamsWithContext ¶ added in v0.6.0
func NewUpdateUserNameParamsWithContext(ctx context.Context) *UpdateUserNameParams
NewUpdateUserNameParamsWithContext creates a new UpdateUserNameParams object with the ability to set a context for a request.
func NewUpdateUserNameParamsWithHTTPClient ¶ added in v0.6.0
func NewUpdateUserNameParamsWithHTTPClient(client *http.Client) *UpdateUserNameParams
NewUpdateUserNameParamsWithHTTPClient creates a new UpdateUserNameParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserNameParamsWithTimeout ¶ added in v0.6.0
func NewUpdateUserNameParamsWithTimeout(timeout time.Duration) *UpdateUserNameParams
NewUpdateUserNameParamsWithTimeout creates a new UpdateUserNameParams object with the ability to set a timeout on a request.
func (*UpdateUserNameParams) SetBody ¶ added in v0.6.0
func (o *UpdateUserNameParams) SetBody(body *models.UpdateUserNameRequest)
SetBody adds the body to the update user name params
func (*UpdateUserNameParams) SetContext ¶ added in v0.6.0
func (o *UpdateUserNameParams) SetContext(ctx context.Context)
SetContext adds the context to the update user name params
func (*UpdateUserNameParams) SetDefaults ¶ added in v0.6.0
func (o *UpdateUserNameParams) SetDefaults()
SetDefaults hydrates default values in the update user name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserNameParams) SetHTTPClient ¶ added in v0.6.0
func (o *UpdateUserNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user name params
func (*UpdateUserNameParams) SetTimeout ¶ added in v0.6.0
func (o *UpdateUserNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user name params
func (*UpdateUserNameParams) WithBody ¶ added in v0.6.0
func (o *UpdateUserNameParams) WithBody(body *models.UpdateUserNameRequest) *UpdateUserNameParams
WithBody adds the body to the update user name params
func (*UpdateUserNameParams) WithContext ¶ added in v0.6.0
func (o *UpdateUserNameParams) WithContext(ctx context.Context) *UpdateUserNameParams
WithContext adds the context to the update user name params
func (*UpdateUserNameParams) WithDefaults ¶ added in v0.6.0
func (o *UpdateUserNameParams) WithDefaults() *UpdateUserNameParams
WithDefaults hydrates default values in the update user name params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserNameParams) WithHTTPClient ¶ added in v0.6.0
func (o *UpdateUserNameParams) WithHTTPClient(client *http.Client) *UpdateUserNameParams
WithHTTPClient adds the HTTPClient to the update user name params
func (*UpdateUserNameParams) WithTimeout ¶ added in v0.6.0
func (o *UpdateUserNameParams) WithTimeout(timeout time.Duration) *UpdateUserNameParams
WithTimeout adds the timeout to the update user name params
func (*UpdateUserNameParams) WriteToRequest ¶ added in v0.6.0
func (o *UpdateUserNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserNameReader ¶ added in v0.6.0
type UpdateUserNameReader struct {
// contains filtered or unexported fields
}
UpdateUserNameReader is a Reader for the UpdateUserName structure.
func (*UpdateUserNameReader) ReadResponse ¶ added in v0.6.0
func (o *UpdateUserNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserOK ¶
type UpdateUserOK struct {
Payload *models.ActivityResponse
}
UpdateUserOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Code ¶
func (o *UpdateUserOK) Code() int
Code gets the status code for the update user o k response
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() *models.ActivityResponse
func (*UpdateUserOK) IsClientError ¶
func (o *UpdateUserOK) IsClientError() bool
IsClientError returns true when this update user o k response has a 4xx status code
func (*UpdateUserOK) IsCode ¶
func (o *UpdateUserOK) IsCode(code int) bool
IsCode returns true when this update user o k response a status code equal to that given
func (*UpdateUserOK) IsRedirect ¶
func (o *UpdateUserOK) IsRedirect() bool
IsRedirect returns true when this update user o k response has a 3xx status code
func (*UpdateUserOK) IsServerError ¶
func (o *UpdateUserOK) IsServerError() bool
IsServerError returns true when this update user o k response has a 5xx status code
func (*UpdateUserOK) IsSuccess ¶
func (o *UpdateUserOK) IsSuccess() bool
IsSuccess returns true when this update user o k response has a 2xx status code
func (*UpdateUserOK) String ¶
func (o *UpdateUserOK) String() string
type UpdateUserParams ¶
type UpdateUserParams struct {
// Body.
Body *models.UpdateUserRequest
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) SetBody ¶
func (o *UpdateUserParams) SetBody(body *models.UpdateUserRequest)
SetBody adds the body 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) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithBody ¶
func (o *UpdateUserParams) WithBody(body *models.UpdateUserRequest) *UpdateUserParams
WithBody adds the body 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) 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 UpdateUserPhoneNumberOK ¶ added in v0.6.0
type UpdateUserPhoneNumberOK struct {
Payload *models.ActivityResponse
}
UpdateUserPhoneNumberOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateUserPhoneNumberOK ¶ added in v0.6.0
func NewUpdateUserPhoneNumberOK() *UpdateUserPhoneNumberOK
NewUpdateUserPhoneNumberOK creates a UpdateUserPhoneNumberOK with default headers values
func (*UpdateUserPhoneNumberOK) Code ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) Code() int
Code gets the status code for the update user phone number o k response
func (*UpdateUserPhoneNumberOK) Error ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) Error() string
func (*UpdateUserPhoneNumberOK) GetPayload ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) GetPayload() *models.ActivityResponse
func (*UpdateUserPhoneNumberOK) IsClientError ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) IsClientError() bool
IsClientError returns true when this update user phone number o k response has a 4xx status code
func (*UpdateUserPhoneNumberOK) IsCode ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) IsCode(code int) bool
IsCode returns true when this update user phone number o k response a status code equal to that given
func (*UpdateUserPhoneNumberOK) IsRedirect ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) IsRedirect() bool
IsRedirect returns true when this update user phone number o k response has a 3xx status code
func (*UpdateUserPhoneNumberOK) IsServerError ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) IsServerError() bool
IsServerError returns true when this update user phone number o k response has a 5xx status code
func (*UpdateUserPhoneNumberOK) IsSuccess ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) IsSuccess() bool
IsSuccess returns true when this update user phone number o k response has a 2xx status code
func (*UpdateUserPhoneNumberOK) String ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberOK) String() string
type UpdateUserPhoneNumberParams ¶ added in v0.6.0
type UpdateUserPhoneNumberParams struct {
// Body.
Body *models.UpdateUserPhoneNumberRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUserPhoneNumberParams contains all the parameters to send to the API endpoint
for the update user phone number operation. Typically these are written to a http.Request.
func NewUpdateUserPhoneNumberParams ¶ added in v0.6.0
func NewUpdateUserPhoneNumberParams() *UpdateUserPhoneNumberParams
NewUpdateUserPhoneNumberParams creates a new UpdateUserPhoneNumberParams 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 NewUpdateUserPhoneNumberParamsWithContext ¶ added in v0.6.0
func NewUpdateUserPhoneNumberParamsWithContext(ctx context.Context) *UpdateUserPhoneNumberParams
NewUpdateUserPhoneNumberParamsWithContext creates a new UpdateUserPhoneNumberParams object with the ability to set a context for a request.
func NewUpdateUserPhoneNumberParamsWithHTTPClient ¶ added in v0.6.0
func NewUpdateUserPhoneNumberParamsWithHTTPClient(client *http.Client) *UpdateUserPhoneNumberParams
NewUpdateUserPhoneNumberParamsWithHTTPClient creates a new UpdateUserPhoneNumberParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserPhoneNumberParamsWithTimeout ¶ added in v0.6.0
func NewUpdateUserPhoneNumberParamsWithTimeout(timeout time.Duration) *UpdateUserPhoneNumberParams
NewUpdateUserPhoneNumberParamsWithTimeout creates a new UpdateUserPhoneNumberParams object with the ability to set a timeout on a request.
func (*UpdateUserPhoneNumberParams) SetBody ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) SetBody(body *models.UpdateUserPhoneNumberRequest)
SetBody adds the body to the update user phone number params
func (*UpdateUserPhoneNumberParams) SetContext ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the update user phone number params
func (*UpdateUserPhoneNumberParams) SetDefaults ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) SetDefaults()
SetDefaults hydrates default values in the update user phone number params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserPhoneNumberParams) SetHTTPClient ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user phone number params
func (*UpdateUserPhoneNumberParams) SetTimeout ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user phone number params
func (*UpdateUserPhoneNumberParams) WithBody ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WithBody(body *models.UpdateUserPhoneNumberRequest) *UpdateUserPhoneNumberParams
WithBody adds the body to the update user phone number params
func (*UpdateUserPhoneNumberParams) WithContext ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WithContext(ctx context.Context) *UpdateUserPhoneNumberParams
WithContext adds the context to the update user phone number params
func (*UpdateUserPhoneNumberParams) WithDefaults ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WithDefaults() *UpdateUserPhoneNumberParams
WithDefaults hydrates default values in the update user phone number params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserPhoneNumberParams) WithHTTPClient ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WithHTTPClient(client *http.Client) *UpdateUserPhoneNumberParams
WithHTTPClient adds the HTTPClient to the update user phone number params
func (*UpdateUserPhoneNumberParams) WithTimeout ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WithTimeout(timeout time.Duration) *UpdateUserPhoneNumberParams
WithTimeout adds the timeout to the update user phone number params
func (*UpdateUserPhoneNumberParams) WriteToRequest ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserPhoneNumberReader ¶ added in v0.6.0
type UpdateUserPhoneNumberReader struct {
// contains filtered or unexported fields
}
UpdateUserPhoneNumberReader is a Reader for the UpdateUserPhoneNumber structure.
func (*UpdateUserPhoneNumberReader) ReadResponse ¶ added in v0.6.0
func (o *UpdateUserPhoneNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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_users_parameters.go
- create_users_responses.go
- delete_users_parameters.go
- delete_users_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_parameters.go
- get_users_responses.go
- update_user_email_parameters.go
- update_user_email_responses.go
- update_user_name_parameters.go
- update_user_name_responses.go
- update_user_parameters.go
- update_user_phone_number_parameters.go
- update_user_phone_number_responses.go
- update_user_responses.go
- users_client.go