users

package
v2.14.13+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserToProjectCreated

type AddUserToProjectCreated struct {
	Payload *models.User
}

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

WithBody adds the body to the add user to project params

func (*AddUserToProjectParams) WithContext

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

WithTimeout adds the timeout to the add user to project params

func (*AddUserToProjectParams) WriteToRequest

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

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) LogoutCurrentUser

func (a *Client) LogoutCurrentUser(params *LogoutCurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*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 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)

	LogoutCurrentUser(params *LogoutCurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*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 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

Code gets the status code for the delete user from project default response

func (*DeleteUserFromProjectDefault) Error

func (*DeleteUserFromProjectDefault) GetPayload

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

type DeleteUserFromProjectOK

type DeleteUserFromProjectOK struct {
	Payload *models.User
}

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

WithContext adds the context to the delete user from project params

func (*DeleteUserFromProjectParams) WithHTTPClient

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

WithTimeout adds the timeout to the delete user from project params

func (*DeleteUserFromProjectParams) WithUserID

WithUserID adds the userID to the delete user from project params

func (*DeleteUserFromProjectParams) WriteToRequest

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

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

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

type EditUserInProjectOK

type EditUserInProjectOK struct {
	Payload *models.User
}

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

WithBody adds the body to the edit user in project params

func (*EditUserInProjectParams) WithContext

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

WithTimeout adds the timeout to the edit user in project params

func (*EditUserInProjectParams) WithUserID

WithUserID adds the userID to the edit user in project params

func (*EditUserInProjectParams) WriteToRequest

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

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

type GetCurrentUserOK struct {
	Payload *models.User
}

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

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

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

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

type GetUsersForProjectOK

type GetUsersForProjectOK struct {
	Payload []*models.User
}

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

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

WithTimeout adds the timeout to the get users for project params

func (*GetUsersForProjectParams) WriteToRequest

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

type LogoutCurrentUserDefault

type LogoutCurrentUserDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

LogoutCurrentUserDefault handles this case 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

type LogoutCurrentUserOK

type LogoutCurrentUserOK struct {
}

LogoutCurrentUserOK handles this case 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 values initialized.

func NewLogoutCurrentUserParamsWithContext

func NewLogoutCurrentUserParamsWithContext(ctx context.Context) *LogoutCurrentUserParams

NewLogoutCurrentUserParamsWithContext creates a new LogoutCurrentUserParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the logout current user params

func (*LogoutCurrentUserParams) WithHTTPClient

func (o *LogoutCurrentUserParams) WithHTTPClient(client *http.Client) *LogoutCurrentUserParams

WithHTTPClient adds the HTTPClient to the logout current user params

func (*LogoutCurrentUserParams) WithTimeout

WithTimeout adds the timeout to the logout current user params

func (*LogoutCurrentUserParams) WriteToRequest

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 handles this case 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL