Documentation ¶
Index ¶
- type AddUserToProjectCreated
- type AddUserToProjectDefault
- type AddUserToProjectForbidden
- type AddUserToProjectParams
- func NewAddUserToProjectParams() *AddUserToProjectParams
- func NewAddUserToProjectParamsWithContext(ctx context.Context) *AddUserToProjectParams
- func NewAddUserToProjectParamsWithHTTPClient(client *http.Client) *AddUserToProjectParams
- func NewAddUserToProjectParamsWithTimeout(timeout time.Duration) *AddUserToProjectParams
- func (o *AddUserToProjectParams) SetBody(body *models.User)
- func (o *AddUserToProjectParams) SetContext(ctx context.Context)
- func (o *AddUserToProjectParams) SetDefaults()
- func (o *AddUserToProjectParams) SetHTTPClient(client *http.Client)
- func (o *AddUserToProjectParams) SetProjectID(projectID string)
- func (o *AddUserToProjectParams) SetTimeout(timeout time.Duration)
- func (o *AddUserToProjectParams) WithBody(body *models.User) *AddUserToProjectParams
- func (o *AddUserToProjectParams) WithContext(ctx context.Context) *AddUserToProjectParams
- func (o *AddUserToProjectParams) WithDefaults() *AddUserToProjectParams
- func (o *AddUserToProjectParams) WithHTTPClient(client *http.Client) *AddUserToProjectParams
- func (o *AddUserToProjectParams) WithProjectID(projectID string) *AddUserToProjectParams
- func (o *AddUserToProjectParams) WithTimeout(timeout time.Duration) *AddUserToProjectParams
- func (o *AddUserToProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddUserToProjectReader
- type AddUserToProjectUnauthorized
- type Client
- func (a *Client) AddUserToProject(params *AddUserToProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddUserToProjectCreated, error)
- func (a *Client) DeleteUserFromProject(params *DeleteUserFromProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserFromProjectOK, error)
- func (a *Client) EditUserInProject(params *EditUserInProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EditUserInProjectOK, error)
- func (a *Client) GetCurrentUser(params *GetCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentUserOK, error)
- func (a *Client) GetUsersForProject(params *GetUsersForProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUsersForProjectOK, error)
- func (a *Client) LogoutCurrentUser(params *LogoutCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LogoutCurrentUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteUserFromProjectDefault
- type DeleteUserFromProjectForbidden
- type DeleteUserFromProjectOK
- type DeleteUserFromProjectParams
- func NewDeleteUserFromProjectParams() *DeleteUserFromProjectParams
- func NewDeleteUserFromProjectParamsWithContext(ctx context.Context) *DeleteUserFromProjectParams
- func NewDeleteUserFromProjectParamsWithHTTPClient(client *http.Client) *DeleteUserFromProjectParams
- func NewDeleteUserFromProjectParamsWithTimeout(timeout time.Duration) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) SetContext(ctx context.Context)
- func (o *DeleteUserFromProjectParams) SetDefaults()
- func (o *DeleteUserFromProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserFromProjectParams) SetProjectID(projectID string)
- func (o *DeleteUserFromProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserFromProjectParams) SetUserID(userID string)
- func (o *DeleteUserFromProjectParams) WithContext(ctx context.Context) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WithDefaults() *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WithHTTPClient(client *http.Client) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WithProjectID(projectID string) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WithTimeout(timeout time.Duration) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WithUserID(userID string) *DeleteUserFromProjectParams
- func (o *DeleteUserFromProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserFromProjectReader
- type DeleteUserFromProjectUnauthorized
- type EditUserInProjectDefault
- type EditUserInProjectForbidden
- type EditUserInProjectOK
- type EditUserInProjectParams
- func NewEditUserInProjectParams() *EditUserInProjectParams
- func NewEditUserInProjectParamsWithContext(ctx context.Context) *EditUserInProjectParams
- func NewEditUserInProjectParamsWithHTTPClient(client *http.Client) *EditUserInProjectParams
- func NewEditUserInProjectParamsWithTimeout(timeout time.Duration) *EditUserInProjectParams
- func (o *EditUserInProjectParams) SetBody(body *models.User)
- func (o *EditUserInProjectParams) SetContext(ctx context.Context)
- func (o *EditUserInProjectParams) SetDefaults()
- func (o *EditUserInProjectParams) SetHTTPClient(client *http.Client)
- func (o *EditUserInProjectParams) SetProjectID(projectID string)
- func (o *EditUserInProjectParams) SetTimeout(timeout time.Duration)
- func (o *EditUserInProjectParams) SetUserID(userID string)
- func (o *EditUserInProjectParams) WithBody(body *models.User) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithContext(ctx context.Context) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithDefaults() *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithHTTPClient(client *http.Client) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithProjectID(projectID string) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithTimeout(timeout time.Duration) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WithUserID(userID string) *EditUserInProjectParams
- func (o *EditUserInProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditUserInProjectReader
- type EditUserInProjectUnauthorized
- type GetCurrentUserDefault
- type GetCurrentUserOK
- type GetCurrentUserParams
- func NewGetCurrentUserParams() *GetCurrentUserParams
- func NewGetCurrentUserParamsWithContext(ctx context.Context) *GetCurrentUserParams
- func NewGetCurrentUserParamsWithHTTPClient(client *http.Client) *GetCurrentUserParams
- func NewGetCurrentUserParamsWithTimeout(timeout time.Duration) *GetCurrentUserParams
- func (o *GetCurrentUserParams) SetContext(ctx context.Context)
- func (o *GetCurrentUserParams) SetDefaults()
- func (o *GetCurrentUserParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserParams) WithContext(ctx context.Context) *GetCurrentUserParams
- func (o *GetCurrentUserParams) WithDefaults() *GetCurrentUserParams
- func (o *GetCurrentUserParams) WithHTTPClient(client *http.Client) *GetCurrentUserParams
- func (o *GetCurrentUserParams) WithTimeout(timeout time.Duration) *GetCurrentUserParams
- func (o *GetCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentUserReader
- type GetCurrentUserUnauthorized
- type GetUsersForProjectDefault
- type GetUsersForProjectForbidden
- type GetUsersForProjectOK
- type GetUsersForProjectParams
- func NewGetUsersForProjectParams() *GetUsersForProjectParams
- func NewGetUsersForProjectParamsWithContext(ctx context.Context) *GetUsersForProjectParams
- func NewGetUsersForProjectParamsWithHTTPClient(client *http.Client) *GetUsersForProjectParams
- func NewGetUsersForProjectParamsWithTimeout(timeout time.Duration) *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) SetContext(ctx context.Context)
- func (o *GetUsersForProjectParams) SetDefaults()
- func (o *GetUsersForProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersForProjectParams) SetProjectID(projectID string)
- func (o *GetUsersForProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersForProjectParams) WithContext(ctx context.Context) *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) WithDefaults() *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) WithHTTPClient(client *http.Client) *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) WithProjectID(projectID string) *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) WithTimeout(timeout time.Duration) *GetUsersForProjectParams
- func (o *GetUsersForProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersForProjectReader
- type GetUsersForProjectUnauthorized
- type LogoutCurrentUserDefault
- type LogoutCurrentUserOK
- type LogoutCurrentUserParams
- func NewLogoutCurrentUserParams() *LogoutCurrentUserParams
- func NewLogoutCurrentUserParamsWithContext(ctx context.Context) *LogoutCurrentUserParams
- func NewLogoutCurrentUserParamsWithHTTPClient(client *http.Client) *LogoutCurrentUserParams
- func NewLogoutCurrentUserParamsWithTimeout(timeout time.Duration) *LogoutCurrentUserParams
- func (o *LogoutCurrentUserParams) SetContext(ctx context.Context)
- func (o *LogoutCurrentUserParams) SetDefaults()
- func (o *LogoutCurrentUserParams) SetHTTPClient(client *http.Client)
- func (o *LogoutCurrentUserParams) SetTimeout(timeout time.Duration)
- func (o *LogoutCurrentUserParams) WithContext(ctx context.Context) *LogoutCurrentUserParams
- func (o *LogoutCurrentUserParams) WithDefaults() *LogoutCurrentUserParams
- func (o *LogoutCurrentUserParams) WithHTTPClient(client *http.Client) *LogoutCurrentUserParams
- func (o *LogoutCurrentUserParams) WithTimeout(timeout time.Duration) *LogoutCurrentUserParams
- func (o *LogoutCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogoutCurrentUserReader
- type LogoutCurrentUserUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserToProjectCreated ¶
AddUserToProjectCreated describes a response with status code 201, with default header values.
User
func NewAddUserToProjectCreated ¶
func NewAddUserToProjectCreated() *AddUserToProjectCreated
NewAddUserToProjectCreated creates a AddUserToProjectCreated with default headers values
func (*AddUserToProjectCreated) Error ¶
func (o *AddUserToProjectCreated) Error() string
func (*AddUserToProjectCreated) GetPayload ¶
func (o *AddUserToProjectCreated) GetPayload() *models.User
type AddUserToProjectDefault ¶
type AddUserToProjectDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
AddUserToProjectDefault describes a response with status code -1, with default header values.
errorResponse
func NewAddUserToProjectDefault ¶
func NewAddUserToProjectDefault(code int) *AddUserToProjectDefault
NewAddUserToProjectDefault creates a AddUserToProjectDefault with default headers values
func (*AddUserToProjectDefault) Code ¶
func (o *AddUserToProjectDefault) Code() int
Code gets the status code for the add user to project default response
func (*AddUserToProjectDefault) Error ¶
func (o *AddUserToProjectDefault) Error() string
func (*AddUserToProjectDefault) GetPayload ¶
func (o *AddUserToProjectDefault) GetPayload() *models.ErrorResponse
type AddUserToProjectForbidden ¶
type AddUserToProjectForbidden struct { }
AddUserToProjectForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewAddUserToProjectForbidden ¶
func NewAddUserToProjectForbidden() *AddUserToProjectForbidden
NewAddUserToProjectForbidden creates a AddUserToProjectForbidden with default headers values
func (*AddUserToProjectForbidden) Error ¶
func (o *AddUserToProjectForbidden) Error() string
type AddUserToProjectParams ¶
type AddUserToProjectParams struct { // Body. Body *models.User // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddUserToProjectParams contains all the parameters to send to the API endpoint
for the add user to project operation. Typically these are written to a http.Request.
func NewAddUserToProjectParams ¶
func NewAddUserToProjectParams() *AddUserToProjectParams
NewAddUserToProjectParams creates a new AddUserToProjectParams 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 NewAddUserToProjectParamsWithContext ¶
func NewAddUserToProjectParamsWithContext(ctx context.Context) *AddUserToProjectParams
NewAddUserToProjectParamsWithContext creates a new AddUserToProjectParams object with the ability to set a context for a request.
func NewAddUserToProjectParamsWithHTTPClient ¶
func NewAddUserToProjectParamsWithHTTPClient(client *http.Client) *AddUserToProjectParams
NewAddUserToProjectParamsWithHTTPClient creates a new AddUserToProjectParams object with the ability to set a custom HTTPClient for a request.
func NewAddUserToProjectParamsWithTimeout ¶
func NewAddUserToProjectParamsWithTimeout(timeout time.Duration) *AddUserToProjectParams
NewAddUserToProjectParamsWithTimeout creates a new AddUserToProjectParams object with the ability to set a timeout on a request.
func (*AddUserToProjectParams) SetBody ¶
func (o *AddUserToProjectParams) SetBody(body *models.User)
SetBody adds the body to the add user to project params
func (*AddUserToProjectParams) SetContext ¶
func (o *AddUserToProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the add user to project params
func (*AddUserToProjectParams) SetDefaults ¶
func (o *AddUserToProjectParams) SetDefaults()
SetDefaults hydrates default values in the add user to project params (not the query body).
All values with no default are reset to their zero value.
func (*AddUserToProjectParams) SetHTTPClient ¶
func (o *AddUserToProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add user to project params
func (*AddUserToProjectParams) SetProjectID ¶
func (o *AddUserToProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the add user to project params
func (*AddUserToProjectParams) SetTimeout ¶
func (o *AddUserToProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add user to project params
func (*AddUserToProjectParams) WithBody ¶
func (o *AddUserToProjectParams) WithBody(body *models.User) *AddUserToProjectParams
WithBody adds the body to the add user to project params
func (*AddUserToProjectParams) WithContext ¶
func (o *AddUserToProjectParams) WithContext(ctx context.Context) *AddUserToProjectParams
WithContext adds the context to the add user to project params
func (*AddUserToProjectParams) WithDefaults ¶
func (o *AddUserToProjectParams) WithDefaults() *AddUserToProjectParams
WithDefaults hydrates default values in the add user to project params (not the query body).
All values with no default are reset to their zero value.
func (*AddUserToProjectParams) WithHTTPClient ¶
func (o *AddUserToProjectParams) WithHTTPClient(client *http.Client) *AddUserToProjectParams
WithHTTPClient adds the HTTPClient to the add user to project params
func (*AddUserToProjectParams) WithProjectID ¶
func (o *AddUserToProjectParams) WithProjectID(projectID string) *AddUserToProjectParams
WithProjectID adds the projectID to the add user to project params
func (*AddUserToProjectParams) WithTimeout ¶
func (o *AddUserToProjectParams) WithTimeout(timeout time.Duration) *AddUserToProjectParams
WithTimeout adds the timeout to the add user to project params
func (*AddUserToProjectParams) WriteToRequest ¶
func (o *AddUserToProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddUserToProjectReader ¶
type AddUserToProjectReader struct {
// contains filtered or unexported fields
}
AddUserToProjectReader is a Reader for the AddUserToProject structure.
func (*AddUserToProjectReader) ReadResponse ¶
func (o *AddUserToProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddUserToProjectUnauthorized ¶
type AddUserToProjectUnauthorized struct { }
AddUserToProjectUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewAddUserToProjectUnauthorized ¶
func NewAddUserToProjectUnauthorized() *AddUserToProjectUnauthorized
NewAddUserToProjectUnauthorized creates a AddUserToProjectUnauthorized with default headers values
func (*AddUserToProjectUnauthorized) Error ¶
func (o *AddUserToProjectUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for users API
func (*Client) AddUserToProject ¶
func (a *Client) AddUserToProject(params *AddUserToProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddUserToProjectCreated, error)
AddUserToProject Adds the given user to the given project
func (*Client) DeleteUserFromProject ¶
func (a *Client) DeleteUserFromProject(params *DeleteUserFromProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromProjectOK, error)
DeleteUserFromProject Removes the given member from the project
func (*Client) EditUserInProject ¶
func (a *Client) EditUserInProject(params *EditUserInProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserInProjectOK, error)
EditUserInProject Changes membership of the given user for the given project
func (*Client) GetCurrentUser ¶
func (a *Client) GetCurrentUser(params *GetCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentUserOK, error)
GetCurrentUser returns information about the current user
func (*Client) GetUsersForProject ¶
func (a *Client) GetUsersForProject(params *GetUsersForProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForProjectOK, error)
GetUsersForProject Get list of users for the given project
func (*Client) LogoutCurrentUser ¶
func (a *Client) LogoutCurrentUser(params *LogoutCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogoutCurrentUserOK, error)
LogoutCurrentUser adds current authorization bearer token to the blacklist
Enforces user to login again with the new token.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddUserToProject(params *AddUserToProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddUserToProjectCreated, error) DeleteUserFromProject(params *DeleteUserFromProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromProjectOK, error) EditUserInProject(params *EditUserInProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserInProjectOK, error) GetCurrentUser(params *GetCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentUserOK, error) GetUsersForProject(params *GetUsersForProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersForProjectOK, error) LogoutCurrentUser(params *LogoutCurrentUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogoutCurrentUserOK, 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 DeleteUserFromProjectDefault ¶
type DeleteUserFromProjectDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteUserFromProjectDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteUserFromProjectDefault ¶
func NewDeleteUserFromProjectDefault(code int) *DeleteUserFromProjectDefault
NewDeleteUserFromProjectDefault creates a DeleteUserFromProjectDefault with default headers values
func (*DeleteUserFromProjectDefault) Code ¶
func (o *DeleteUserFromProjectDefault) Code() int
Code gets the status code for the delete user from project default response
func (*DeleteUserFromProjectDefault) Error ¶
func (o *DeleteUserFromProjectDefault) Error() string
func (*DeleteUserFromProjectDefault) GetPayload ¶
func (o *DeleteUserFromProjectDefault) GetPayload() *models.ErrorResponse
type DeleteUserFromProjectForbidden ¶
type DeleteUserFromProjectForbidden struct { }
DeleteUserFromProjectForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteUserFromProjectForbidden ¶
func NewDeleteUserFromProjectForbidden() *DeleteUserFromProjectForbidden
NewDeleteUserFromProjectForbidden creates a DeleteUserFromProjectForbidden with default headers values
func (*DeleteUserFromProjectForbidden) Error ¶
func (o *DeleteUserFromProjectForbidden) Error() string
type DeleteUserFromProjectOK ¶
DeleteUserFromProjectOK describes a response with status code 200, with default header values.
User
func NewDeleteUserFromProjectOK ¶
func NewDeleteUserFromProjectOK() *DeleteUserFromProjectOK
NewDeleteUserFromProjectOK creates a DeleteUserFromProjectOK with default headers values
func (*DeleteUserFromProjectOK) Error ¶
func (o *DeleteUserFromProjectOK) Error() string
func (*DeleteUserFromProjectOK) GetPayload ¶
func (o *DeleteUserFromProjectOK) GetPayload() *models.User
type DeleteUserFromProjectParams ¶
type DeleteUserFromProjectParams struct { // ProjectID. ProjectID string // UserID. UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserFromProjectParams contains all the parameters to send to the API endpoint
for the delete user from project operation. Typically these are written to a http.Request.
func NewDeleteUserFromProjectParams ¶
func NewDeleteUserFromProjectParams() *DeleteUserFromProjectParams
NewDeleteUserFromProjectParams creates a new DeleteUserFromProjectParams 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 NewDeleteUserFromProjectParamsWithContext ¶
func NewDeleteUserFromProjectParamsWithContext(ctx context.Context) *DeleteUserFromProjectParams
NewDeleteUserFromProjectParamsWithContext creates a new DeleteUserFromProjectParams object with the ability to set a context for a request.
func NewDeleteUserFromProjectParamsWithHTTPClient ¶
func NewDeleteUserFromProjectParamsWithHTTPClient(client *http.Client) *DeleteUserFromProjectParams
NewDeleteUserFromProjectParamsWithHTTPClient creates a new DeleteUserFromProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserFromProjectParamsWithTimeout ¶
func NewDeleteUserFromProjectParamsWithTimeout(timeout time.Duration) *DeleteUserFromProjectParams
NewDeleteUserFromProjectParamsWithTimeout creates a new DeleteUserFromProjectParams object with the ability to set a timeout on a request.
func (*DeleteUserFromProjectParams) SetContext ¶
func (o *DeleteUserFromProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user from project params
func (*DeleteUserFromProjectParams) SetDefaults ¶
func (o *DeleteUserFromProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete user from project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromProjectParams) SetHTTPClient ¶
func (o *DeleteUserFromProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user from project params
func (*DeleteUserFromProjectParams) SetProjectID ¶
func (o *DeleteUserFromProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete user from project params
func (*DeleteUserFromProjectParams) SetTimeout ¶
func (o *DeleteUserFromProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user from project params
func (*DeleteUserFromProjectParams) SetUserID ¶
func (o *DeleteUserFromProjectParams) SetUserID(userID string)
SetUserID adds the userId to the delete user from project params
func (*DeleteUserFromProjectParams) WithContext ¶
func (o *DeleteUserFromProjectParams) WithContext(ctx context.Context) *DeleteUserFromProjectParams
WithContext adds the context to the delete user from project params
func (*DeleteUserFromProjectParams) WithDefaults ¶
func (o *DeleteUserFromProjectParams) WithDefaults() *DeleteUserFromProjectParams
WithDefaults hydrates default values in the delete user from project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromProjectParams) WithHTTPClient ¶
func (o *DeleteUserFromProjectParams) WithHTTPClient(client *http.Client) *DeleteUserFromProjectParams
WithHTTPClient adds the HTTPClient to the delete user from project params
func (*DeleteUserFromProjectParams) WithProjectID ¶
func (o *DeleteUserFromProjectParams) WithProjectID(projectID string) *DeleteUserFromProjectParams
WithProjectID adds the projectID to the delete user from project params
func (*DeleteUserFromProjectParams) WithTimeout ¶
func (o *DeleteUserFromProjectParams) WithTimeout(timeout time.Duration) *DeleteUserFromProjectParams
WithTimeout adds the timeout to the delete user from project params
func (*DeleteUserFromProjectParams) WithUserID ¶
func (o *DeleteUserFromProjectParams) WithUserID(userID string) *DeleteUserFromProjectParams
WithUserID adds the userID to the delete user from project params
func (*DeleteUserFromProjectParams) WriteToRequest ¶
func (o *DeleteUserFromProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserFromProjectReader ¶
type DeleteUserFromProjectReader struct {
// contains filtered or unexported fields
}
DeleteUserFromProjectReader is a Reader for the DeleteUserFromProject structure.
func (*DeleteUserFromProjectReader) ReadResponse ¶
func (o *DeleteUserFromProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserFromProjectUnauthorized ¶
type DeleteUserFromProjectUnauthorized struct { }
DeleteUserFromProjectUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteUserFromProjectUnauthorized ¶
func NewDeleteUserFromProjectUnauthorized() *DeleteUserFromProjectUnauthorized
NewDeleteUserFromProjectUnauthorized creates a DeleteUserFromProjectUnauthorized with default headers values
func (*DeleteUserFromProjectUnauthorized) Error ¶
func (o *DeleteUserFromProjectUnauthorized) Error() string
type EditUserInProjectDefault ¶
type EditUserInProjectDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
EditUserInProjectDefault describes a response with status code -1, with default header values.
errorResponse
func NewEditUserInProjectDefault ¶
func NewEditUserInProjectDefault(code int) *EditUserInProjectDefault
NewEditUserInProjectDefault creates a EditUserInProjectDefault with default headers values
func (*EditUserInProjectDefault) Code ¶
func (o *EditUserInProjectDefault) Code() int
Code gets the status code for the edit user in project default response
func (*EditUserInProjectDefault) Error ¶
func (o *EditUserInProjectDefault) Error() string
func (*EditUserInProjectDefault) GetPayload ¶
func (o *EditUserInProjectDefault) GetPayload() *models.ErrorResponse
type EditUserInProjectForbidden ¶
type EditUserInProjectForbidden struct { }
EditUserInProjectForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewEditUserInProjectForbidden ¶
func NewEditUserInProjectForbidden() *EditUserInProjectForbidden
NewEditUserInProjectForbidden creates a EditUserInProjectForbidden with default headers values
func (*EditUserInProjectForbidden) Error ¶
func (o *EditUserInProjectForbidden) Error() string
type EditUserInProjectOK ¶
EditUserInProjectOK describes a response with status code 200, with default header values.
User
func NewEditUserInProjectOK ¶
func NewEditUserInProjectOK() *EditUserInProjectOK
NewEditUserInProjectOK creates a EditUserInProjectOK with default headers values
func (*EditUserInProjectOK) Error ¶
func (o *EditUserInProjectOK) Error() string
func (*EditUserInProjectOK) GetPayload ¶
func (o *EditUserInProjectOK) GetPayload() *models.User
type EditUserInProjectParams ¶
type EditUserInProjectParams struct { // Body. Body *models.User // ProjectID. ProjectID string // UserID. UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditUserInProjectParams contains all the parameters to send to the API endpoint
for the edit user in project operation. Typically these are written to a http.Request.
func NewEditUserInProjectParams ¶
func NewEditUserInProjectParams() *EditUserInProjectParams
NewEditUserInProjectParams creates a new EditUserInProjectParams 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 NewEditUserInProjectParamsWithContext ¶
func NewEditUserInProjectParamsWithContext(ctx context.Context) *EditUserInProjectParams
NewEditUserInProjectParamsWithContext creates a new EditUserInProjectParams object with the ability to set a context for a request.
func NewEditUserInProjectParamsWithHTTPClient ¶
func NewEditUserInProjectParamsWithHTTPClient(client *http.Client) *EditUserInProjectParams
NewEditUserInProjectParamsWithHTTPClient creates a new EditUserInProjectParams object with the ability to set a custom HTTPClient for a request.
func NewEditUserInProjectParamsWithTimeout ¶
func NewEditUserInProjectParamsWithTimeout(timeout time.Duration) *EditUserInProjectParams
NewEditUserInProjectParamsWithTimeout creates a new EditUserInProjectParams object with the ability to set a timeout on a request.
func (*EditUserInProjectParams) SetBody ¶
func (o *EditUserInProjectParams) SetBody(body *models.User)
SetBody adds the body to the edit user in project params
func (*EditUserInProjectParams) SetContext ¶
func (o *EditUserInProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the edit user in project params
func (*EditUserInProjectParams) SetDefaults ¶
func (o *EditUserInProjectParams) SetDefaults()
SetDefaults hydrates default values in the edit user in project params (not the query body).
All values with no default are reset to their zero value.
func (*EditUserInProjectParams) SetHTTPClient ¶
func (o *EditUserInProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit user in project params
func (*EditUserInProjectParams) SetProjectID ¶
func (o *EditUserInProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the edit user in project params
func (*EditUserInProjectParams) SetTimeout ¶
func (o *EditUserInProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit user in project params
func (*EditUserInProjectParams) SetUserID ¶
func (o *EditUserInProjectParams) SetUserID(userID string)
SetUserID adds the userId to the edit user in project params
func (*EditUserInProjectParams) WithBody ¶
func (o *EditUserInProjectParams) WithBody(body *models.User) *EditUserInProjectParams
WithBody adds the body to the edit user in project params
func (*EditUserInProjectParams) WithContext ¶
func (o *EditUserInProjectParams) WithContext(ctx context.Context) *EditUserInProjectParams
WithContext adds the context to the edit user in project params
func (*EditUserInProjectParams) WithDefaults ¶
func (o *EditUserInProjectParams) WithDefaults() *EditUserInProjectParams
WithDefaults hydrates default values in the edit user in project params (not the query body).
All values with no default are reset to their zero value.
func (*EditUserInProjectParams) WithHTTPClient ¶
func (o *EditUserInProjectParams) WithHTTPClient(client *http.Client) *EditUserInProjectParams
WithHTTPClient adds the HTTPClient to the edit user in project params
func (*EditUserInProjectParams) WithProjectID ¶
func (o *EditUserInProjectParams) WithProjectID(projectID string) *EditUserInProjectParams
WithProjectID adds the projectID to the edit user in project params
func (*EditUserInProjectParams) WithTimeout ¶
func (o *EditUserInProjectParams) WithTimeout(timeout time.Duration) *EditUserInProjectParams
WithTimeout adds the timeout to the edit user in project params
func (*EditUserInProjectParams) WithUserID ¶
func (o *EditUserInProjectParams) WithUserID(userID string) *EditUserInProjectParams
WithUserID adds the userID to the edit user in project params
func (*EditUserInProjectParams) WriteToRequest ¶
func (o *EditUserInProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditUserInProjectReader ¶
type EditUserInProjectReader struct {
// contains filtered or unexported fields
}
EditUserInProjectReader is a Reader for the EditUserInProject structure.
func (*EditUserInProjectReader) ReadResponse ¶
func (o *EditUserInProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditUserInProjectUnauthorized ¶
type EditUserInProjectUnauthorized struct { }
EditUserInProjectUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewEditUserInProjectUnauthorized ¶
func NewEditUserInProjectUnauthorized() *EditUserInProjectUnauthorized
NewEditUserInProjectUnauthorized creates a EditUserInProjectUnauthorized with default headers values
func (*EditUserInProjectUnauthorized) Error ¶
func (o *EditUserInProjectUnauthorized) Error() string
type GetCurrentUserDefault ¶
type GetCurrentUserDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetCurrentUserDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetCurrentUserDefault ¶
func NewGetCurrentUserDefault(code int) *GetCurrentUserDefault
NewGetCurrentUserDefault creates a GetCurrentUserDefault with default headers values
func (*GetCurrentUserDefault) Code ¶
func (o *GetCurrentUserDefault) Code() int
Code gets the status code for the get current user default response
func (*GetCurrentUserDefault) Error ¶
func (o *GetCurrentUserDefault) Error() string
func (*GetCurrentUserDefault) GetPayload ¶
func (o *GetCurrentUserDefault) GetPayload() *models.ErrorResponse
type GetCurrentUserOK ¶
GetCurrentUserOK describes a response with status code 200, with default header values.
User
func NewGetCurrentUserOK ¶
func NewGetCurrentUserOK() *GetCurrentUserOK
NewGetCurrentUserOK creates a GetCurrentUserOK with default headers values
func (*GetCurrentUserOK) Error ¶
func (o *GetCurrentUserOK) Error() string
func (*GetCurrentUserOK) GetPayload ¶
func (o *GetCurrentUserOK) GetPayload() *models.User
type GetCurrentUserParams ¶
type GetCurrentUserParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCurrentUserParams contains all the parameters to send to the API endpoint
for the get current user operation. Typically these are written to a http.Request.
func NewGetCurrentUserParams ¶
func NewGetCurrentUserParams() *GetCurrentUserParams
NewGetCurrentUserParams creates a new GetCurrentUserParams 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 NewGetCurrentUserParamsWithContext ¶
func NewGetCurrentUserParamsWithContext(ctx context.Context) *GetCurrentUserParams
NewGetCurrentUserParamsWithContext creates a new GetCurrentUserParams object with the ability to set a context for a request.
func NewGetCurrentUserParamsWithHTTPClient ¶
func NewGetCurrentUserParamsWithHTTPClient(client *http.Client) *GetCurrentUserParams
NewGetCurrentUserParamsWithHTTPClient creates a new GetCurrentUserParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentUserParamsWithTimeout ¶
func NewGetCurrentUserParamsWithTimeout(timeout time.Duration) *GetCurrentUserParams
NewGetCurrentUserParamsWithTimeout creates a new GetCurrentUserParams object with the ability to set a timeout on a request.
func (*GetCurrentUserParams) SetContext ¶
func (o *GetCurrentUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get current user params
func (*GetCurrentUserParams) SetDefaults ¶
func (o *GetCurrentUserParams) SetDefaults()
SetDefaults hydrates default values in the get current user params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentUserParams) SetHTTPClient ¶
func (o *GetCurrentUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current user params
func (*GetCurrentUserParams) SetTimeout ¶
func (o *GetCurrentUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current user params
func (*GetCurrentUserParams) WithContext ¶
func (o *GetCurrentUserParams) WithContext(ctx context.Context) *GetCurrentUserParams
WithContext adds the context to the get current user params
func (*GetCurrentUserParams) WithDefaults ¶
func (o *GetCurrentUserParams) WithDefaults() *GetCurrentUserParams
WithDefaults hydrates default values in the get current user params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentUserParams) WithHTTPClient ¶
func (o *GetCurrentUserParams) WithHTTPClient(client *http.Client) *GetCurrentUserParams
WithHTTPClient adds the HTTPClient to the get current user params
func (*GetCurrentUserParams) WithTimeout ¶
func (o *GetCurrentUserParams) WithTimeout(timeout time.Duration) *GetCurrentUserParams
WithTimeout adds the timeout to the get current user params
func (*GetCurrentUserParams) WriteToRequest ¶
func (o *GetCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentUserReader ¶
type GetCurrentUserReader struct {
// contains filtered or unexported fields
}
GetCurrentUserReader is a Reader for the GetCurrentUser structure.
func (*GetCurrentUserReader) ReadResponse ¶
func (o *GetCurrentUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentUserUnauthorized ¶
type GetCurrentUserUnauthorized struct { }
GetCurrentUserUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetCurrentUserUnauthorized ¶
func NewGetCurrentUserUnauthorized() *GetCurrentUserUnauthorized
NewGetCurrentUserUnauthorized creates a GetCurrentUserUnauthorized with default headers values
func (*GetCurrentUserUnauthorized) Error ¶
func (o *GetCurrentUserUnauthorized) Error() string
type GetUsersForProjectDefault ¶
type GetUsersForProjectDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetUsersForProjectDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetUsersForProjectDefault ¶
func NewGetUsersForProjectDefault(code int) *GetUsersForProjectDefault
NewGetUsersForProjectDefault creates a GetUsersForProjectDefault with default headers values
func (*GetUsersForProjectDefault) Code ¶
func (o *GetUsersForProjectDefault) Code() int
Code gets the status code for the get users for project default response
func (*GetUsersForProjectDefault) Error ¶
func (o *GetUsersForProjectDefault) Error() string
func (*GetUsersForProjectDefault) GetPayload ¶
func (o *GetUsersForProjectDefault) GetPayload() *models.ErrorResponse
type GetUsersForProjectForbidden ¶
type GetUsersForProjectForbidden struct { }
GetUsersForProjectForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetUsersForProjectForbidden ¶
func NewGetUsersForProjectForbidden() *GetUsersForProjectForbidden
NewGetUsersForProjectForbidden creates a GetUsersForProjectForbidden with default headers values
func (*GetUsersForProjectForbidden) Error ¶
func (o *GetUsersForProjectForbidden) Error() string
type GetUsersForProjectOK ¶
GetUsersForProjectOK describes a response with status code 200, with default header values.
User
func NewGetUsersForProjectOK ¶
func NewGetUsersForProjectOK() *GetUsersForProjectOK
NewGetUsersForProjectOK creates a GetUsersForProjectOK with default headers values
func (*GetUsersForProjectOK) Error ¶
func (o *GetUsersForProjectOK) Error() string
func (*GetUsersForProjectOK) GetPayload ¶
func (o *GetUsersForProjectOK) GetPayload() []*models.User
type GetUsersForProjectParams ¶
type GetUsersForProjectParams struct { // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersForProjectParams contains all the parameters to send to the API endpoint
for the get users for project operation. Typically these are written to a http.Request.
func NewGetUsersForProjectParams ¶
func NewGetUsersForProjectParams() *GetUsersForProjectParams
NewGetUsersForProjectParams creates a new GetUsersForProjectParams 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 NewGetUsersForProjectParamsWithContext ¶
func NewGetUsersForProjectParamsWithContext(ctx context.Context) *GetUsersForProjectParams
NewGetUsersForProjectParamsWithContext creates a new GetUsersForProjectParams object with the ability to set a context for a request.
func NewGetUsersForProjectParamsWithHTTPClient ¶
func NewGetUsersForProjectParamsWithHTTPClient(client *http.Client) *GetUsersForProjectParams
NewGetUsersForProjectParamsWithHTTPClient creates a new GetUsersForProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersForProjectParamsWithTimeout ¶
func NewGetUsersForProjectParamsWithTimeout(timeout time.Duration) *GetUsersForProjectParams
NewGetUsersForProjectParamsWithTimeout creates a new GetUsersForProjectParams object with the ability to set a timeout on a request.
func (*GetUsersForProjectParams) SetContext ¶
func (o *GetUsersForProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get users for project params
func (*GetUsersForProjectParams) SetDefaults ¶
func (o *GetUsersForProjectParams) SetDefaults()
SetDefaults hydrates default values in the get users for project params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForProjectParams) SetHTTPClient ¶
func (o *GetUsersForProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users for project params
func (*GetUsersForProjectParams) SetProjectID ¶
func (o *GetUsersForProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get users for project params
func (*GetUsersForProjectParams) SetTimeout ¶
func (o *GetUsersForProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users for project params
func (*GetUsersForProjectParams) WithContext ¶
func (o *GetUsersForProjectParams) WithContext(ctx context.Context) *GetUsersForProjectParams
WithContext adds the context to the get users for project params
func (*GetUsersForProjectParams) WithDefaults ¶
func (o *GetUsersForProjectParams) WithDefaults() *GetUsersForProjectParams
WithDefaults hydrates default values in the get users for project params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForProjectParams) WithHTTPClient ¶
func (o *GetUsersForProjectParams) WithHTTPClient(client *http.Client) *GetUsersForProjectParams
WithHTTPClient adds the HTTPClient to the get users for project params
func (*GetUsersForProjectParams) WithProjectID ¶
func (o *GetUsersForProjectParams) WithProjectID(projectID string) *GetUsersForProjectParams
WithProjectID adds the projectID to the get users for project params
func (*GetUsersForProjectParams) WithTimeout ¶
func (o *GetUsersForProjectParams) WithTimeout(timeout time.Duration) *GetUsersForProjectParams
WithTimeout adds the timeout to the get users for project params
func (*GetUsersForProjectParams) WriteToRequest ¶
func (o *GetUsersForProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersForProjectReader ¶
type GetUsersForProjectReader struct {
// contains filtered or unexported fields
}
GetUsersForProjectReader is a Reader for the GetUsersForProject structure.
func (*GetUsersForProjectReader) ReadResponse ¶
func (o *GetUsersForProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersForProjectUnauthorized ¶
type GetUsersForProjectUnauthorized struct { }
GetUsersForProjectUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetUsersForProjectUnauthorized ¶
func NewGetUsersForProjectUnauthorized() *GetUsersForProjectUnauthorized
NewGetUsersForProjectUnauthorized creates a GetUsersForProjectUnauthorized with default headers values
func (*GetUsersForProjectUnauthorized) Error ¶
func (o *GetUsersForProjectUnauthorized) Error() string
type LogoutCurrentUserDefault ¶
type LogoutCurrentUserDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
LogoutCurrentUserDefault describes a response with status code -1, with default header values.
errorResponse
func NewLogoutCurrentUserDefault ¶
func NewLogoutCurrentUserDefault(code int) *LogoutCurrentUserDefault
NewLogoutCurrentUserDefault creates a LogoutCurrentUserDefault with default headers values
func (*LogoutCurrentUserDefault) Code ¶
func (o *LogoutCurrentUserDefault) Code() int
Code gets the status code for the logout current user default response
func (*LogoutCurrentUserDefault) Error ¶
func (o *LogoutCurrentUserDefault) Error() string
func (*LogoutCurrentUserDefault) GetPayload ¶
func (o *LogoutCurrentUserDefault) GetPayload() *models.ErrorResponse
type LogoutCurrentUserOK ¶
type LogoutCurrentUserOK struct { }
LogoutCurrentUserOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewLogoutCurrentUserOK ¶
func NewLogoutCurrentUserOK() *LogoutCurrentUserOK
NewLogoutCurrentUserOK creates a LogoutCurrentUserOK with default headers values
func (*LogoutCurrentUserOK) Error ¶
func (o *LogoutCurrentUserOK) Error() string
type LogoutCurrentUserParams ¶
type LogoutCurrentUserParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogoutCurrentUserParams contains all the parameters to send to the API endpoint
for the logout current user operation. Typically these are written to a http.Request.
func NewLogoutCurrentUserParams ¶
func NewLogoutCurrentUserParams() *LogoutCurrentUserParams
NewLogoutCurrentUserParams creates a new LogoutCurrentUserParams 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 NewLogoutCurrentUserParamsWithContext ¶
func NewLogoutCurrentUserParamsWithContext(ctx context.Context) *LogoutCurrentUserParams
NewLogoutCurrentUserParamsWithContext creates a new LogoutCurrentUserParams object with the ability to set a context for a request.
func NewLogoutCurrentUserParamsWithHTTPClient ¶
func NewLogoutCurrentUserParamsWithHTTPClient(client *http.Client) *LogoutCurrentUserParams
NewLogoutCurrentUserParamsWithHTTPClient creates a new LogoutCurrentUserParams object with the ability to set a custom HTTPClient for a request.
func NewLogoutCurrentUserParamsWithTimeout ¶
func NewLogoutCurrentUserParamsWithTimeout(timeout time.Duration) *LogoutCurrentUserParams
NewLogoutCurrentUserParamsWithTimeout creates a new LogoutCurrentUserParams object with the ability to set a timeout on a request.
func (*LogoutCurrentUserParams) SetContext ¶
func (o *LogoutCurrentUserParams) SetContext(ctx context.Context)
SetContext adds the context to the logout current user params
func (*LogoutCurrentUserParams) SetDefaults ¶
func (o *LogoutCurrentUserParams) SetDefaults()
SetDefaults hydrates default values in the logout current user params (not the query body).
All values with no default are reset to their zero value.
func (*LogoutCurrentUserParams) SetHTTPClient ¶
func (o *LogoutCurrentUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the logout current user params
func (*LogoutCurrentUserParams) SetTimeout ¶
func (o *LogoutCurrentUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the logout current user params
func (*LogoutCurrentUserParams) WithContext ¶
func (o *LogoutCurrentUserParams) WithContext(ctx context.Context) *LogoutCurrentUserParams
WithContext adds the context to the logout current user params
func (*LogoutCurrentUserParams) WithDefaults ¶
func (o *LogoutCurrentUserParams) WithDefaults() *LogoutCurrentUserParams
WithDefaults hydrates default values in the logout current user params (not the query body).
All values with no default are reset to their zero value.
func (*LogoutCurrentUserParams) WithHTTPClient ¶
func (o *LogoutCurrentUserParams) WithHTTPClient(client *http.Client) *LogoutCurrentUserParams
WithHTTPClient adds the HTTPClient to the logout current user params
func (*LogoutCurrentUserParams) WithTimeout ¶
func (o *LogoutCurrentUserParams) WithTimeout(timeout time.Duration) *LogoutCurrentUserParams
WithTimeout adds the timeout to the logout current user params
func (*LogoutCurrentUserParams) WriteToRequest ¶
func (o *LogoutCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogoutCurrentUserReader ¶
type LogoutCurrentUserReader struct {
// contains filtered or unexported fields
}
LogoutCurrentUserReader is a Reader for the LogoutCurrentUser structure.
func (*LogoutCurrentUserReader) ReadResponse ¶
func (o *LogoutCurrentUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogoutCurrentUserUnauthorized ¶
type LogoutCurrentUserUnauthorized struct { }
LogoutCurrentUserUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewLogoutCurrentUserUnauthorized ¶
func NewLogoutCurrentUserUnauthorized() *LogoutCurrentUserUnauthorized
NewLogoutCurrentUserUnauthorized creates a LogoutCurrentUserUnauthorized with default headers values
func (*LogoutCurrentUserUnauthorized) Error ¶
func (o *LogoutCurrentUserUnauthorized) Error() string
Source Files ¶
- add_user_to_project_parameters.go
- add_user_to_project_responses.go
- delete_user_from_project_parameters.go
- delete_user_from_project_responses.go
- edit_user_in_project_parameters.go
- edit_user_in_project_responses.go
- get_current_user_parameters.go
- get_current_user_responses.go
- get_users_for_project_parameters.go
- get_users_for_project_responses.go
- logout_current_user_parameters.go
- logout_current_user_responses.go
- users_client.go