Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOauthProvidersOK, error)
- func (a *Client) CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUsersOK, error)
- func (a *Client) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOauthProvidersOK, error)
- func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUsersOK, error)
- func (a *Client) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOauthProvidersOK, 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) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OauthOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserOK, error)
- type ClientOption
- type ClientService
- type CreateOauthProvidersOK
- func (o *CreateOauthProvidersOK) Code() int
- func (o *CreateOauthProvidersOK) Error() string
- func (o *CreateOauthProvidersOK) GetPayload() *models.ActivityResponse
- func (o *CreateOauthProvidersOK) IsClientError() bool
- func (o *CreateOauthProvidersOK) IsCode(code int) bool
- func (o *CreateOauthProvidersOK) IsRedirect() bool
- func (o *CreateOauthProvidersOK) IsServerError() bool
- func (o *CreateOauthProvidersOK) IsSuccess() bool
- func (o *CreateOauthProvidersOK) String() string
- type CreateOauthProvidersParams
- func NewCreateOauthProvidersParams() *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithContext(ctx context.Context) *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithHTTPClient(client *http.Client) *CreateOauthProvidersParams
- func NewCreateOauthProvidersParamsWithTimeout(timeout time.Duration) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) SetBody(body *models.CreateOauthProvidersRequest)
- func (o *CreateOauthProvidersParams) SetContext(ctx context.Context)
- func (o *CreateOauthProvidersParams) SetDefaults()
- func (o *CreateOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *CreateOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *CreateOauthProvidersParams) WithBody(body *models.CreateOauthProvidersRequest) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithContext(ctx context.Context) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithDefaults() *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithHTTPClient(client *http.Client) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WithTimeout(timeout time.Duration) *CreateOauthProvidersParams
- func (o *CreateOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOauthProvidersReader
- 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 DeleteOauthProvidersOK
- func (o *DeleteOauthProvidersOK) Code() int
- func (o *DeleteOauthProvidersOK) Error() string
- func (o *DeleteOauthProvidersOK) GetPayload() *models.ActivityResponse
- func (o *DeleteOauthProvidersOK) IsClientError() bool
- func (o *DeleteOauthProvidersOK) IsCode(code int) bool
- func (o *DeleteOauthProvidersOK) IsRedirect() bool
- func (o *DeleteOauthProvidersOK) IsServerError() bool
- func (o *DeleteOauthProvidersOK) IsSuccess() bool
- func (o *DeleteOauthProvidersOK) String() string
- type DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParams() *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithContext(ctx context.Context) *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
- func NewDeleteOauthProvidersParamsWithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) SetBody(body *models.DeleteOauthProvidersRequest)
- func (o *DeleteOauthProvidersParams) SetContext(ctx context.Context)
- func (o *DeleteOauthProvidersParams) SetDefaults()
- func (o *DeleteOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOauthProvidersParams) WithBody(body *models.DeleteOauthProvidersRequest) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithContext(ctx context.Context) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithDefaults() *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
- func (o *DeleteOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOauthProvidersReader
- 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 GetOauthProvidersOK
- func (o *GetOauthProvidersOK) Code() int
- func (o *GetOauthProvidersOK) Error() string
- func (o *GetOauthProvidersOK) GetPayload() *models.GetOauthProvidersResponse
- func (o *GetOauthProvidersOK) IsClientError() bool
- func (o *GetOauthProvidersOK) IsCode(code int) bool
- func (o *GetOauthProvidersOK) IsRedirect() bool
- func (o *GetOauthProvidersOK) IsServerError() bool
- func (o *GetOauthProvidersOK) IsSuccess() bool
- func (o *GetOauthProvidersOK) String() string
- type GetOauthProvidersParams
- func NewGetOauthProvidersParams() *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithContext(ctx context.Context) *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithHTTPClient(client *http.Client) *GetOauthProvidersParams
- func NewGetOauthProvidersParamsWithTimeout(timeout time.Duration) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) SetBody(body *models.GetOauthProvidersRequest)
- func (o *GetOauthProvidersParams) SetContext(ctx context.Context)
- func (o *GetOauthProvidersParams) SetDefaults()
- func (o *GetOauthProvidersParams) SetHTTPClient(client *http.Client)
- func (o *GetOauthProvidersParams) SetTimeout(timeout time.Duration)
- func (o *GetOauthProvidersParams) WithBody(body *models.GetOauthProvidersRequest) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithContext(ctx context.Context) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithDefaults() *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithHTTPClient(client *http.Client) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WithTimeout(timeout time.Duration) *GetOauthProvidersParams
- func (o *GetOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOauthProvidersReader
- 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 OauthOK
- func (o *OauthOK) Code() int
- func (o *OauthOK) Error() string
- func (o *OauthOK) GetPayload() *models.ActivityResponse
- func (o *OauthOK) IsClientError() bool
- func (o *OauthOK) IsCode(code int) bool
- func (o *OauthOK) IsRedirect() bool
- func (o *OauthOK) IsServerError() bool
- func (o *OauthOK) IsSuccess() bool
- func (o *OauthOK) String() string
- type OauthParams
- func (o *OauthParams) SetBody(body *models.OauthRequest)
- func (o *OauthParams) SetContext(ctx context.Context)
- func (o *OauthParams) SetDefaults()
- func (o *OauthParams) SetHTTPClient(client *http.Client)
- func (o *OauthParams) SetTimeout(timeout time.Duration)
- func (o *OauthParams) WithBody(body *models.OauthRequest) *OauthParams
- func (o *OauthParams) WithContext(ctx context.Context) *OauthParams
- func (o *OauthParams) WithDefaults() *OauthParams
- func (o *OauthParams) WithHTTPClient(client *http.Client) *OauthParams
- func (o *OauthParams) WithTimeout(timeout time.Duration) *OauthParams
- func (o *OauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OauthReader
- 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 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) CreateOauthProviders ¶
func (a *Client) CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error)
CreateOauthProviders creates oauth providers
Creates Oauth providers for a specified user - BETA
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) DeleteOauthProviders ¶
func (a *Client) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error)
DeleteOauthProviders deletes oauth providers
Removes Oauth providers for a specified user - BETA
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) GetOauthProviders ¶
func (a *Client) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error)
GetOauthProviders gets oauth providers
Get details about Oauth providers for a user
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) Oauth ¶
func (a *Client) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error)
Oauth oauths
Authenticate a user with an Oidc token (Oauth) - BETA
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
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error) CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUsersOK, error) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersOK, error) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, 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 users API client.
type CreateOauthProvidersOK ¶
type CreateOauthProvidersOK struct {
Payload *models.ActivityResponse
}
CreateOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOauthProvidersOK ¶
func NewCreateOauthProvidersOK() *CreateOauthProvidersOK
NewCreateOauthProvidersOK creates a CreateOauthProvidersOK with default headers values
func (*CreateOauthProvidersOK) Code ¶
func (o *CreateOauthProvidersOK) Code() int
Code gets the status code for the create oauth providers o k response
func (*CreateOauthProvidersOK) Error ¶
func (o *CreateOauthProvidersOK) Error() string
func (*CreateOauthProvidersOK) GetPayload ¶
func (o *CreateOauthProvidersOK) GetPayload() *models.ActivityResponse
func (*CreateOauthProvidersOK) IsClientError ¶
func (o *CreateOauthProvidersOK) IsClientError() bool
IsClientError returns true when this create oauth providers o k response has a 4xx status code
func (*CreateOauthProvidersOK) IsCode ¶
func (o *CreateOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this create oauth providers o k response a status code equal to that given
func (*CreateOauthProvidersOK) IsRedirect ¶
func (o *CreateOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this create oauth providers o k response has a 3xx status code
func (*CreateOauthProvidersOK) IsServerError ¶
func (o *CreateOauthProvidersOK) IsServerError() bool
IsServerError returns true when this create oauth providers o k response has a 5xx status code
func (*CreateOauthProvidersOK) IsSuccess ¶
func (o *CreateOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this create oauth providers o k response has a 2xx status code
func (*CreateOauthProvidersOK) String ¶
func (o *CreateOauthProvidersOK) String() string
type CreateOauthProvidersParams ¶
type CreateOauthProvidersParams struct { // Body. Body *models.CreateOauthProvidersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOauthProvidersParams contains all the parameters to send to the API endpoint
for the create oauth providers operation. Typically these are written to a http.Request.
func NewCreateOauthProvidersParams ¶
func NewCreateOauthProvidersParams() *CreateOauthProvidersParams
NewCreateOauthProvidersParams creates a new CreateOauthProvidersParams 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 NewCreateOauthProvidersParamsWithContext ¶
func NewCreateOauthProvidersParamsWithContext(ctx context.Context) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithContext creates a new CreateOauthProvidersParams object with the ability to set a context for a request.
func NewCreateOauthProvidersParamsWithHTTPClient ¶
func NewCreateOauthProvidersParamsWithHTTPClient(client *http.Client) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithHTTPClient creates a new CreateOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateOauthProvidersParamsWithTimeout ¶
func NewCreateOauthProvidersParamsWithTimeout(timeout time.Duration) *CreateOauthProvidersParams
NewCreateOauthProvidersParamsWithTimeout creates a new CreateOauthProvidersParams object with the ability to set a timeout on a request.
func (*CreateOauthProvidersParams) SetBody ¶
func (o *CreateOauthProvidersParams) SetBody(body *models.CreateOauthProvidersRequest)
SetBody adds the body to the create oauth providers params
func (*CreateOauthProvidersParams) SetContext ¶
func (o *CreateOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the create oauth providers params
func (*CreateOauthProvidersParams) SetDefaults ¶
func (o *CreateOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the create oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauthProvidersParams) SetHTTPClient ¶
func (o *CreateOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create oauth providers params
func (*CreateOauthProvidersParams) SetTimeout ¶
func (o *CreateOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create oauth providers params
func (*CreateOauthProvidersParams) WithBody ¶
func (o *CreateOauthProvidersParams) WithBody(body *models.CreateOauthProvidersRequest) *CreateOauthProvidersParams
WithBody adds the body to the create oauth providers params
func (*CreateOauthProvidersParams) WithContext ¶
func (o *CreateOauthProvidersParams) WithContext(ctx context.Context) *CreateOauthProvidersParams
WithContext adds the context to the create oauth providers params
func (*CreateOauthProvidersParams) WithDefaults ¶
func (o *CreateOauthProvidersParams) WithDefaults() *CreateOauthProvidersParams
WithDefaults hydrates default values in the create oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateOauthProvidersParams) WithHTTPClient ¶
func (o *CreateOauthProvidersParams) WithHTTPClient(client *http.Client) *CreateOauthProvidersParams
WithHTTPClient adds the HTTPClient to the create oauth providers params
func (*CreateOauthProvidersParams) WithTimeout ¶
func (o *CreateOauthProvidersParams) WithTimeout(timeout time.Duration) *CreateOauthProvidersParams
WithTimeout adds the timeout to the create oauth providers params
func (*CreateOauthProvidersParams) WriteToRequest ¶
func (o *CreateOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOauthProvidersReader ¶
type CreateOauthProvidersReader struct {
// contains filtered or unexported fields
}
CreateOauthProvidersReader is a Reader for the CreateOauthProviders structure.
func (*CreateOauthProvidersReader) ReadResponse ¶
func (o *CreateOauthProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 DeleteOauthProvidersOK ¶
type DeleteOauthProvidersOK struct {
Payload *models.ActivityResponse
}
DeleteOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOauthProvidersOK ¶
func NewDeleteOauthProvidersOK() *DeleteOauthProvidersOK
NewDeleteOauthProvidersOK creates a DeleteOauthProvidersOK with default headers values
func (*DeleteOauthProvidersOK) Code ¶
func (o *DeleteOauthProvidersOK) Code() int
Code gets the status code for the delete oauth providers o k response
func (*DeleteOauthProvidersOK) Error ¶
func (o *DeleteOauthProvidersOK) Error() string
func (*DeleteOauthProvidersOK) GetPayload ¶
func (o *DeleteOauthProvidersOK) GetPayload() *models.ActivityResponse
func (*DeleteOauthProvidersOK) IsClientError ¶
func (o *DeleteOauthProvidersOK) IsClientError() bool
IsClientError returns true when this delete oauth providers o k response has a 4xx status code
func (*DeleteOauthProvidersOK) IsCode ¶
func (o *DeleteOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this delete oauth providers o k response a status code equal to that given
func (*DeleteOauthProvidersOK) IsRedirect ¶
func (o *DeleteOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this delete oauth providers o k response has a 3xx status code
func (*DeleteOauthProvidersOK) IsServerError ¶
func (o *DeleteOauthProvidersOK) IsServerError() bool
IsServerError returns true when this delete oauth providers o k response has a 5xx status code
func (*DeleteOauthProvidersOK) IsSuccess ¶
func (o *DeleteOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this delete oauth providers o k response has a 2xx status code
func (*DeleteOauthProvidersOK) String ¶
func (o *DeleteOauthProvidersOK) String() string
type DeleteOauthProvidersParams ¶
type DeleteOauthProvidersParams struct { // Body. Body *models.DeleteOauthProvidersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOauthProvidersParams contains all the parameters to send to the API endpoint
for the delete oauth providers operation. Typically these are written to a http.Request.
func NewDeleteOauthProvidersParams ¶
func NewDeleteOauthProvidersParams() *DeleteOauthProvidersParams
NewDeleteOauthProvidersParams creates a new DeleteOauthProvidersParams 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 NewDeleteOauthProvidersParamsWithContext ¶
func NewDeleteOauthProvidersParamsWithContext(ctx context.Context) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithContext creates a new DeleteOauthProvidersParams object with the ability to set a context for a request.
func NewDeleteOauthProvidersParamsWithHTTPClient ¶
func NewDeleteOauthProvidersParamsWithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithHTTPClient creates a new DeleteOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOauthProvidersParamsWithTimeout ¶
func NewDeleteOauthProvidersParamsWithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
NewDeleteOauthProvidersParamsWithTimeout creates a new DeleteOauthProvidersParams object with the ability to set a timeout on a request.
func (*DeleteOauthProvidersParams) SetBody ¶
func (o *DeleteOauthProvidersParams) SetBody(body *models.DeleteOauthProvidersRequest)
SetBody adds the body to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetContext ¶
func (o *DeleteOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetDefaults ¶
func (o *DeleteOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the delete oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauthProvidersParams) SetHTTPClient ¶
func (o *DeleteOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete oauth providers params
func (*DeleteOauthProvidersParams) SetTimeout ¶
func (o *DeleteOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithBody ¶
func (o *DeleteOauthProvidersParams) WithBody(body *models.DeleteOauthProvidersRequest) *DeleteOauthProvidersParams
WithBody adds the body to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithContext ¶
func (o *DeleteOauthProvidersParams) WithContext(ctx context.Context) *DeleteOauthProvidersParams
WithContext adds the context to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithDefaults ¶
func (o *DeleteOauthProvidersParams) WithDefaults() *DeleteOauthProvidersParams
WithDefaults hydrates default values in the delete oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOauthProvidersParams) WithHTTPClient ¶
func (o *DeleteOauthProvidersParams) WithHTTPClient(client *http.Client) *DeleteOauthProvidersParams
WithHTTPClient adds the HTTPClient to the delete oauth providers params
func (*DeleteOauthProvidersParams) WithTimeout ¶
func (o *DeleteOauthProvidersParams) WithTimeout(timeout time.Duration) *DeleteOauthProvidersParams
WithTimeout adds the timeout to the delete oauth providers params
func (*DeleteOauthProvidersParams) WriteToRequest ¶
func (o *DeleteOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOauthProvidersReader ¶
type DeleteOauthProvidersReader struct {
// contains filtered or unexported fields
}
DeleteOauthProvidersReader is a Reader for the DeleteOauthProviders structure.
func (*DeleteOauthProvidersReader) ReadResponse ¶
func (o *DeleteOauthProvidersReader) 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 GetOauthProvidersOK ¶
type GetOauthProvidersOK struct {
Payload *models.GetOauthProvidersResponse
}
GetOauthProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewGetOauthProvidersOK ¶
func NewGetOauthProvidersOK() *GetOauthProvidersOK
NewGetOauthProvidersOK creates a GetOauthProvidersOK with default headers values
func (*GetOauthProvidersOK) Code ¶
func (o *GetOauthProvidersOK) Code() int
Code gets the status code for the get oauth providers o k response
func (*GetOauthProvidersOK) Error ¶
func (o *GetOauthProvidersOK) Error() string
func (*GetOauthProvidersOK) GetPayload ¶
func (o *GetOauthProvidersOK) GetPayload() *models.GetOauthProvidersResponse
func (*GetOauthProvidersOK) IsClientError ¶
func (o *GetOauthProvidersOK) IsClientError() bool
IsClientError returns true when this get oauth providers o k response has a 4xx status code
func (*GetOauthProvidersOK) IsCode ¶
func (o *GetOauthProvidersOK) IsCode(code int) bool
IsCode returns true when this get oauth providers o k response a status code equal to that given
func (*GetOauthProvidersOK) IsRedirect ¶
func (o *GetOauthProvidersOK) IsRedirect() bool
IsRedirect returns true when this get oauth providers o k response has a 3xx status code
func (*GetOauthProvidersOK) IsServerError ¶
func (o *GetOauthProvidersOK) IsServerError() bool
IsServerError returns true when this get oauth providers o k response has a 5xx status code
func (*GetOauthProvidersOK) IsSuccess ¶
func (o *GetOauthProvidersOK) IsSuccess() bool
IsSuccess returns true when this get oauth providers o k response has a 2xx status code
func (*GetOauthProvidersOK) String ¶
func (o *GetOauthProvidersOK) String() string
type GetOauthProvidersParams ¶
type GetOauthProvidersParams struct { // Body. Body *models.GetOauthProvidersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOauthProvidersParams contains all the parameters to send to the API endpoint
for the get oauth providers operation. Typically these are written to a http.Request.
func NewGetOauthProvidersParams ¶
func NewGetOauthProvidersParams() *GetOauthProvidersParams
NewGetOauthProvidersParams creates a new GetOauthProvidersParams 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 NewGetOauthProvidersParamsWithContext ¶
func NewGetOauthProvidersParamsWithContext(ctx context.Context) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithContext creates a new GetOauthProvidersParams object with the ability to set a context for a request.
func NewGetOauthProvidersParamsWithHTTPClient ¶
func NewGetOauthProvidersParamsWithHTTPClient(client *http.Client) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithHTTPClient creates a new GetOauthProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewGetOauthProvidersParamsWithTimeout ¶
func NewGetOauthProvidersParamsWithTimeout(timeout time.Duration) *GetOauthProvidersParams
NewGetOauthProvidersParamsWithTimeout creates a new GetOauthProvidersParams object with the ability to set a timeout on a request.
func (*GetOauthProvidersParams) SetBody ¶
func (o *GetOauthProvidersParams) SetBody(body *models.GetOauthProvidersRequest)
SetBody adds the body to the get oauth providers params
func (*GetOauthProvidersParams) SetContext ¶
func (o *GetOauthProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the get oauth providers params
func (*GetOauthProvidersParams) SetDefaults ¶
func (o *GetOauthProvidersParams) SetDefaults()
SetDefaults hydrates default values in the get oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetOauthProvidersParams) SetHTTPClient ¶
func (o *GetOauthProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get oauth providers params
func (*GetOauthProvidersParams) SetTimeout ¶
func (o *GetOauthProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get oauth providers params
func (*GetOauthProvidersParams) WithBody ¶
func (o *GetOauthProvidersParams) WithBody(body *models.GetOauthProvidersRequest) *GetOauthProvidersParams
WithBody adds the body to the get oauth providers params
func (*GetOauthProvidersParams) WithContext ¶
func (o *GetOauthProvidersParams) WithContext(ctx context.Context) *GetOauthProvidersParams
WithContext adds the context to the get oauth providers params
func (*GetOauthProvidersParams) WithDefaults ¶
func (o *GetOauthProvidersParams) WithDefaults() *GetOauthProvidersParams
WithDefaults hydrates default values in the get oauth providers params (not the query body).
All values with no default are reset to their zero value.
func (*GetOauthProvidersParams) WithHTTPClient ¶
func (o *GetOauthProvidersParams) WithHTTPClient(client *http.Client) *GetOauthProvidersParams
WithHTTPClient adds the HTTPClient to the get oauth providers params
func (*GetOauthProvidersParams) WithTimeout ¶
func (o *GetOauthProvidersParams) WithTimeout(timeout time.Duration) *GetOauthProvidersParams
WithTimeout adds the timeout to the get oauth providers params
func (*GetOauthProvidersParams) WriteToRequest ¶
func (o *GetOauthProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOauthProvidersReader ¶
type GetOauthProvidersReader struct {
// contains filtered or unexported fields
}
GetOauthProvidersReader is a Reader for the GetOauthProviders structure.
func (*GetOauthProvidersReader) ReadResponse ¶
func (o *GetOauthProvidersReader) 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 OauthOK ¶
type OauthOK struct {
Payload *models.ActivityResponse
}
OauthOK describes a response with status code 200, with default header values.
A successful response.
func NewOauthOK ¶
func NewOauthOK() *OauthOK
NewOauthOK creates a OauthOK with default headers values
func (*OauthOK) GetPayload ¶
func (o *OauthOK) GetPayload() *models.ActivityResponse
func (*OauthOK) IsClientError ¶
IsClientError returns true when this oauth o k response has a 4xx status code
func (*OauthOK) IsCode ¶
IsCode returns true when this oauth o k response a status code equal to that given
func (*OauthOK) IsRedirect ¶
IsRedirect returns true when this oauth o k response has a 3xx status code
func (*OauthOK) IsServerError ¶
IsServerError returns true when this oauth o k response has a 5xx status code
type OauthParams ¶
type OauthParams struct { // Body. Body *models.OauthRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OauthParams contains all the parameters to send to the API endpoint
for the oauth operation. Typically these are written to a http.Request.
func NewOauthParams ¶
func NewOauthParams() *OauthParams
NewOauthParams creates a new OauthParams 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 NewOauthParamsWithContext ¶
func NewOauthParamsWithContext(ctx context.Context) *OauthParams
NewOauthParamsWithContext creates a new OauthParams object with the ability to set a context for a request.
func NewOauthParamsWithHTTPClient ¶
func NewOauthParamsWithHTTPClient(client *http.Client) *OauthParams
NewOauthParamsWithHTTPClient creates a new OauthParams object with the ability to set a custom HTTPClient for a request.
func NewOauthParamsWithTimeout ¶
func NewOauthParamsWithTimeout(timeout time.Duration) *OauthParams
NewOauthParamsWithTimeout creates a new OauthParams object with the ability to set a timeout on a request.
func (*OauthParams) SetBody ¶
func (o *OauthParams) SetBody(body *models.OauthRequest)
SetBody adds the body to the oauth params
func (*OauthParams) SetContext ¶
func (o *OauthParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth params
func (*OauthParams) SetDefaults ¶
func (o *OauthParams) SetDefaults()
SetDefaults hydrates default values in the oauth params (not the query body).
All values with no default are reset to their zero value.
func (*OauthParams) SetHTTPClient ¶
func (o *OauthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth params
func (*OauthParams) SetTimeout ¶
func (o *OauthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth params
func (*OauthParams) WithBody ¶
func (o *OauthParams) WithBody(body *models.OauthRequest) *OauthParams
WithBody adds the body to the oauth params
func (*OauthParams) WithContext ¶
func (o *OauthParams) WithContext(ctx context.Context) *OauthParams
WithContext adds the context to the oauth params
func (*OauthParams) WithDefaults ¶
func (o *OauthParams) WithDefaults() *OauthParams
WithDefaults hydrates default values in the oauth params (not the query body).
All values with no default are reset to their zero value.
func (*OauthParams) WithHTTPClient ¶
func (o *OauthParams) WithHTTPClient(client *http.Client) *OauthParams
WithHTTPClient adds the HTTPClient to the oauth params
func (*OauthParams) WithTimeout ¶
func (o *OauthParams) WithTimeout(timeout time.Duration) *OauthParams
WithTimeout adds the timeout to the oauth params
func (*OauthParams) WriteToRequest ¶
func (o *OauthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OauthReader ¶
type OauthReader struct {
// contains filtered or unexported fields
}
OauthReader is a Reader for the Oauth structure.
func (*OauthReader) ReadResponse ¶
func (o *OauthReader) 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 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_oauth_providers_parameters.go
- create_oauth_providers_responses.go
- create_users_parameters.go
- create_users_responses.go
- delete_oauth_providers_parameters.go
- delete_oauth_providers_responses.go
- delete_users_parameters.go
- delete_users_responses.go
- get_oauth_providers_parameters.go
- get_oauth_providers_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_parameters.go
- get_users_responses.go
- oauth_parameters.go
- oauth_responses.go
- update_user_parameters.go
- update_user_responses.go
- users_client.go