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) 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) 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) SetTransport(transport runtime.ClientTransport)
- 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) 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) 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) 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) 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) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserParams) WithContext(ctx context.Context) *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) 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) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserToProjectCreated ¶
AddUserToProjectCreated handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewAddUserToProjectParamsWithContext ¶
func NewAddUserToProjectParamsWithContext(ctx context.Context) *AddUserToProjectParams
NewAddUserToProjectParamsWithContext creates a new AddUserToProjectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) (*AddUserToProjectCreated, error)
AddUserToProject Adds the given user to the given project
func (*Client) DeleteUserFromProject ¶
func (a *Client) DeleteUserFromProject(params *DeleteUserFromProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserFromProjectOK, error)
DeleteUserFromProject Removes the given member from the project
func (*Client) EditUserInProject ¶
func (a *Client) EditUserInProject(params *EditUserInProjectParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*GetCurrentUserOK, error)
GetCurrentUser returns information about the current user
func (*Client) GetUsersForProject ¶
func (a *Client) GetUsersForProject(params *GetUsersForProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersForProjectOK, error)
GetUsersForProject Get list of users for the given project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AddUserToProject(params *AddUserToProjectParams, authInfo runtime.ClientAuthInfoWriter) (*AddUserToProjectCreated, error) DeleteUserFromProject(params *DeleteUserFromProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserFromProjectOK, error) EditUserInProject(params *EditUserInProjectParams, authInfo runtime.ClientAuthInfoWriter) (*EditUserInProjectOK, error) GetCurrentUser(params *GetCurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserOK, error) GetUsersForProject(params *GetUsersForProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersForProjectOK, 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewDeleteUserFromProjectParamsWithContext ¶
func NewDeleteUserFromProjectParamsWithContext(ctx context.Context) *DeleteUserFromProjectParams
NewDeleteUserFromProjectParamsWithContext creates a new DeleteUserFromProjectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewEditUserInProjectParamsWithContext ¶
func NewEditUserInProjectParamsWithContext(ctx context.Context) *EditUserInProjectParams
NewEditUserInProjectParamsWithContext creates a new EditUserInProjectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewGetCurrentUserParamsWithContext ¶
func NewGetCurrentUserParamsWithContext(ctx context.Context) *GetCurrentUserParams
NewGetCurrentUserParamsWithContext creates a new GetCurrentUserParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewGetUsersForProjectParamsWithContext ¶
func NewGetUsersForProjectParamsWithContext(ctx context.Context) *GetUsersForProjectParams
NewGetUsersForProjectParamsWithContext creates a new GetUsersForProjectParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
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
- users_client.go