users

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

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

func (*AddUserToProjectCreated) IsClientError

func (o *AddUserToProjectCreated) IsClientError() bool

IsClientError returns true when this add user to project created response has a 4xx status code

func (*AddUserToProjectCreated) IsCode

func (o *AddUserToProjectCreated) IsCode(code int) bool

IsCode returns true when this add user to project created response a status code equal to that given

func (*AddUserToProjectCreated) IsRedirect

func (o *AddUserToProjectCreated) IsRedirect() bool

IsRedirect returns true when this add user to project created response has a 3xx status code

func (*AddUserToProjectCreated) IsServerError

func (o *AddUserToProjectCreated) IsServerError() bool

IsServerError returns true when this add user to project created response has a 5xx status code

func (*AddUserToProjectCreated) IsSuccess

func (o *AddUserToProjectCreated) IsSuccess() bool

IsSuccess returns true when this add user to project created response has a 2xx status code

func (*AddUserToProjectCreated) String

func (o *AddUserToProjectCreated) String() string

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

func (*AddUserToProjectDefault) IsClientError

func (o *AddUserToProjectDefault) IsClientError() bool

IsClientError returns true when this add user to project default response has a 4xx status code

func (*AddUserToProjectDefault) IsCode

func (o *AddUserToProjectDefault) IsCode(code int) bool

IsCode returns true when this add user to project default response a status code equal to that given

func (*AddUserToProjectDefault) IsRedirect

func (o *AddUserToProjectDefault) IsRedirect() bool

IsRedirect returns true when this add user to project default response has a 3xx status code

func (*AddUserToProjectDefault) IsServerError

func (o *AddUserToProjectDefault) IsServerError() bool

IsServerError returns true when this add user to project default response has a 5xx status code

func (*AddUserToProjectDefault) IsSuccess

func (o *AddUserToProjectDefault) IsSuccess() bool

IsSuccess returns true when this add user to project default response has a 2xx status code

func (*AddUserToProjectDefault) String

func (o *AddUserToProjectDefault) String() string

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

func (*AddUserToProjectForbidden) IsClientError

func (o *AddUserToProjectForbidden) IsClientError() bool

IsClientError returns true when this add user to project forbidden response has a 4xx status code

func (*AddUserToProjectForbidden) IsCode

func (o *AddUserToProjectForbidden) IsCode(code int) bool

IsCode returns true when this add user to project forbidden response a status code equal to that given

func (*AddUserToProjectForbidden) IsRedirect

func (o *AddUserToProjectForbidden) IsRedirect() bool

IsRedirect returns true when this add user to project forbidden response has a 3xx status code

func (*AddUserToProjectForbidden) IsServerError

func (o *AddUserToProjectForbidden) IsServerError() bool

IsServerError returns true when this add user to project forbidden response has a 5xx status code

func (*AddUserToProjectForbidden) IsSuccess

func (o *AddUserToProjectForbidden) IsSuccess() bool

IsSuccess returns true when this add user to project forbidden response has a 2xx status code

func (*AddUserToProjectForbidden) String

func (o *AddUserToProjectForbidden) String() 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

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

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

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 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 (*AddUserToProjectUnauthorized) IsClientError

func (o *AddUserToProjectUnauthorized) IsClientError() bool

IsClientError returns true when this add user to project unauthorized response has a 4xx status code

func (*AddUserToProjectUnauthorized) IsCode

func (o *AddUserToProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this add user to project unauthorized response a status code equal to that given

func (*AddUserToProjectUnauthorized) IsRedirect

func (o *AddUserToProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this add user to project unauthorized response has a 3xx status code

func (*AddUserToProjectUnauthorized) IsServerError

func (o *AddUserToProjectUnauthorized) IsServerError() bool

IsServerError returns true when this add user to project unauthorized response has a 5xx status code

func (*AddUserToProjectUnauthorized) IsSuccess

func (o *AddUserToProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this add user to project unauthorized response has a 2xx status code

func (*AddUserToProjectUnauthorized) 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

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

func (*DeleteUserFromProjectDefault) Error

func (*DeleteUserFromProjectDefault) GetPayload

func (*DeleteUserFromProjectDefault) IsClientError

func (o *DeleteUserFromProjectDefault) IsClientError() bool

IsClientError returns true when this delete user from project default response has a 4xx status code

func (*DeleteUserFromProjectDefault) IsCode

func (o *DeleteUserFromProjectDefault) IsCode(code int) bool

IsCode returns true when this delete user from project default response a status code equal to that given

func (*DeleteUserFromProjectDefault) IsRedirect

func (o *DeleteUserFromProjectDefault) IsRedirect() bool

IsRedirect returns true when this delete user from project default response has a 3xx status code

func (*DeleteUserFromProjectDefault) IsServerError

func (o *DeleteUserFromProjectDefault) IsServerError() bool

IsServerError returns true when this delete user from project default response has a 5xx status code

func (*DeleteUserFromProjectDefault) IsSuccess

func (o *DeleteUserFromProjectDefault) IsSuccess() bool

IsSuccess returns true when this delete user from project default response has a 2xx status code

func (*DeleteUserFromProjectDefault) String

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 (*DeleteUserFromProjectForbidden) IsClientError

func (o *DeleteUserFromProjectForbidden) IsClientError() bool

IsClientError returns true when this delete user from project forbidden response has a 4xx status code

func (*DeleteUserFromProjectForbidden) IsCode

func (o *DeleteUserFromProjectForbidden) IsCode(code int) bool

IsCode returns true when this delete user from project forbidden response a status code equal to that given

func (*DeleteUserFromProjectForbidden) IsRedirect

func (o *DeleteUserFromProjectForbidden) IsRedirect() bool

IsRedirect returns true when this delete user from project forbidden response has a 3xx status code

func (*DeleteUserFromProjectForbidden) IsServerError

func (o *DeleteUserFromProjectForbidden) IsServerError() bool

IsServerError returns true when this delete user from project forbidden response has a 5xx status code

func (*DeleteUserFromProjectForbidden) IsSuccess

func (o *DeleteUserFromProjectForbidden) IsSuccess() bool

IsSuccess returns true when this delete user from project forbidden response has a 2xx status code

func (*DeleteUserFromProjectForbidden) String

type DeleteUserFromProjectOK

type DeleteUserFromProjectOK struct {
	Payload *models.User
}

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

func (*DeleteUserFromProjectOK) IsClientError

func (o *DeleteUserFromProjectOK) IsClientError() bool

IsClientError returns true when this delete user from project o k response has a 4xx status code

func (*DeleteUserFromProjectOK) IsCode

func (o *DeleteUserFromProjectOK) IsCode(code int) bool

IsCode returns true when this delete user from project o k response a status code equal to that given

func (*DeleteUserFromProjectOK) IsRedirect

func (o *DeleteUserFromProjectOK) IsRedirect() bool

IsRedirect returns true when this delete user from project o k response has a 3xx status code

func (*DeleteUserFromProjectOK) IsServerError

func (o *DeleteUserFromProjectOK) IsServerError() bool

IsServerError returns true when this delete user from project o k response has a 5xx status code

func (*DeleteUserFromProjectOK) IsSuccess

func (o *DeleteUserFromProjectOK) IsSuccess() bool

IsSuccess returns true when this delete user from project o k response has a 2xx status code

func (*DeleteUserFromProjectOK) String

func (o *DeleteUserFromProjectOK) String() string

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

WithContext adds the context to the delete user from project params

func (*DeleteUserFromProjectParams) WithDefaults

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

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 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 (*DeleteUserFromProjectUnauthorized) IsClientError

func (o *DeleteUserFromProjectUnauthorized) IsClientError() bool

IsClientError returns true when this delete user from project unauthorized response has a 4xx status code

func (*DeleteUserFromProjectUnauthorized) IsCode

func (o *DeleteUserFromProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this delete user from project unauthorized response a status code equal to that given

func (*DeleteUserFromProjectUnauthorized) IsRedirect

func (o *DeleteUserFromProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete user from project unauthorized response has a 3xx status code

func (*DeleteUserFromProjectUnauthorized) IsServerError

func (o *DeleteUserFromProjectUnauthorized) IsServerError() bool

IsServerError returns true when this delete user from project unauthorized response has a 5xx status code

func (*DeleteUserFromProjectUnauthorized) IsSuccess

func (o *DeleteUserFromProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete user from project unauthorized response has a 2xx status code

func (*DeleteUserFromProjectUnauthorized) 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 (*EditUserInProjectDefault) IsClientError

func (o *EditUserInProjectDefault) IsClientError() bool

IsClientError returns true when this edit user in project default response has a 4xx status code

func (*EditUserInProjectDefault) IsCode

func (o *EditUserInProjectDefault) IsCode(code int) bool

IsCode returns true when this edit user in project default response a status code equal to that given

func (*EditUserInProjectDefault) IsRedirect

func (o *EditUserInProjectDefault) IsRedirect() bool

IsRedirect returns true when this edit user in project default response has a 3xx status code

func (*EditUserInProjectDefault) IsServerError

func (o *EditUserInProjectDefault) IsServerError() bool

IsServerError returns true when this edit user in project default response has a 5xx status code

func (*EditUserInProjectDefault) IsSuccess

func (o *EditUserInProjectDefault) IsSuccess() bool

IsSuccess returns true when this edit user in project default response has a 2xx status code

func (*EditUserInProjectDefault) String

func (o *EditUserInProjectDefault) String() string

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 (*EditUserInProjectForbidden) IsClientError

func (o *EditUserInProjectForbidden) IsClientError() bool

IsClientError returns true when this edit user in project forbidden response has a 4xx status code

func (*EditUserInProjectForbidden) IsCode

func (o *EditUserInProjectForbidden) IsCode(code int) bool

IsCode returns true when this edit user in project forbidden response a status code equal to that given

func (*EditUserInProjectForbidden) IsRedirect

func (o *EditUserInProjectForbidden) IsRedirect() bool

IsRedirect returns true when this edit user in project forbidden response has a 3xx status code

func (*EditUserInProjectForbidden) IsServerError

func (o *EditUserInProjectForbidden) IsServerError() bool

IsServerError returns true when this edit user in project forbidden response has a 5xx status code

func (*EditUserInProjectForbidden) IsSuccess

func (o *EditUserInProjectForbidden) IsSuccess() bool

IsSuccess returns true when this edit user in project forbidden response has a 2xx status code

func (*EditUserInProjectForbidden) String

func (o *EditUserInProjectForbidden) String() string

type EditUserInProjectOK

type EditUserInProjectOK struct {
	Payload *models.User
}

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

func (*EditUserInProjectOK) IsClientError

func (o *EditUserInProjectOK) IsClientError() bool

IsClientError returns true when this edit user in project o k response has a 4xx status code

func (*EditUserInProjectOK) IsCode

func (o *EditUserInProjectOK) IsCode(code int) bool

IsCode returns true when this edit user in project o k response a status code equal to that given

func (*EditUserInProjectOK) IsRedirect

func (o *EditUserInProjectOK) IsRedirect() bool

IsRedirect returns true when this edit user in project o k response has a 3xx status code

func (*EditUserInProjectOK) IsServerError

func (o *EditUserInProjectOK) IsServerError() bool

IsServerError returns true when this edit user in project o k response has a 5xx status code

func (*EditUserInProjectOK) IsSuccess

func (o *EditUserInProjectOK) IsSuccess() bool

IsSuccess returns true when this edit user in project o k response has a 2xx status code

func (*EditUserInProjectOK) String

func (o *EditUserInProjectOK) String() string

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

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

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

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 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 (*EditUserInProjectUnauthorized) IsClientError

func (o *EditUserInProjectUnauthorized) IsClientError() bool

IsClientError returns true when this edit user in project unauthorized response has a 4xx status code

func (*EditUserInProjectUnauthorized) IsCode

func (o *EditUserInProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this edit user in project unauthorized response a status code equal to that given

func (*EditUserInProjectUnauthorized) IsRedirect

func (o *EditUserInProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this edit user in project unauthorized response has a 3xx status code

func (*EditUserInProjectUnauthorized) IsServerError

func (o *EditUserInProjectUnauthorized) IsServerError() bool

IsServerError returns true when this edit user in project unauthorized response has a 5xx status code

func (*EditUserInProjectUnauthorized) IsSuccess

func (o *EditUserInProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this edit user in project unauthorized response has a 2xx status code

func (*EditUserInProjectUnauthorized) 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

func (*GetCurrentUserDefault) IsClientError

func (o *GetCurrentUserDefault) IsClientError() bool

IsClientError returns true when this get current user default response has a 4xx status code

func (*GetCurrentUserDefault) IsCode

func (o *GetCurrentUserDefault) IsCode(code int) bool

IsCode returns true when this get current user default response a status code equal to that given

func (*GetCurrentUserDefault) IsRedirect

func (o *GetCurrentUserDefault) IsRedirect() bool

IsRedirect returns true when this get current user default response has a 3xx status code

func (*GetCurrentUserDefault) IsServerError

func (o *GetCurrentUserDefault) IsServerError() bool

IsServerError returns true when this get current user default response has a 5xx status code

func (*GetCurrentUserDefault) IsSuccess

func (o *GetCurrentUserDefault) IsSuccess() bool

IsSuccess returns true when this get current user default response has a 2xx status code

func (*GetCurrentUserDefault) String

func (o *GetCurrentUserDefault) String() string

type GetCurrentUserOK

type GetCurrentUserOK struct {
	Payload *models.User
}

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

func (*GetCurrentUserOK) IsClientError

func (o *GetCurrentUserOK) IsClientError() bool

IsClientError returns true when this get current user o k response has a 4xx status code

func (*GetCurrentUserOK) IsCode

func (o *GetCurrentUserOK) IsCode(code int) bool

IsCode returns true when this get current user o k response a status code equal to that given

func (*GetCurrentUserOK) IsRedirect

func (o *GetCurrentUserOK) IsRedirect() bool

IsRedirect returns true when this get current user o k response has a 3xx status code

func (*GetCurrentUserOK) IsServerError

func (o *GetCurrentUserOK) IsServerError() bool

IsServerError returns true when this get current user o k response has a 5xx status code

func (*GetCurrentUserOK) IsSuccess

func (o *GetCurrentUserOK) IsSuccess() bool

IsSuccess returns true when this get current user o k response has a 2xx status code

func (*GetCurrentUserOK) String

func (o *GetCurrentUserOK) String() string

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

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 (*GetCurrentUserUnauthorized) IsClientError

func (o *GetCurrentUserUnauthorized) IsClientError() bool

IsClientError returns true when this get current user unauthorized response has a 4xx status code

func (*GetCurrentUserUnauthorized) IsCode

func (o *GetCurrentUserUnauthorized) IsCode(code int) bool

IsCode returns true when this get current user unauthorized response a status code equal to that given

func (*GetCurrentUserUnauthorized) IsRedirect

func (o *GetCurrentUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get current user unauthorized response has a 3xx status code

func (*GetCurrentUserUnauthorized) IsServerError

func (o *GetCurrentUserUnauthorized) IsServerError() bool

IsServerError returns true when this get current user unauthorized response has a 5xx status code

func (*GetCurrentUserUnauthorized) IsSuccess

func (o *GetCurrentUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get current user unauthorized response has a 2xx status code

func (*GetCurrentUserUnauthorized) String

func (o *GetCurrentUserUnauthorized) String() 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 (*GetUsersForProjectDefault) IsClientError

func (o *GetUsersForProjectDefault) IsClientError() bool

IsClientError returns true when this get users for project default response has a 4xx status code

func (*GetUsersForProjectDefault) IsCode

func (o *GetUsersForProjectDefault) IsCode(code int) bool

IsCode returns true when this get users for project default response a status code equal to that given

func (*GetUsersForProjectDefault) IsRedirect

func (o *GetUsersForProjectDefault) IsRedirect() bool

IsRedirect returns true when this get users for project default response has a 3xx status code

func (*GetUsersForProjectDefault) IsServerError

func (o *GetUsersForProjectDefault) IsServerError() bool

IsServerError returns true when this get users for project default response has a 5xx status code

func (*GetUsersForProjectDefault) IsSuccess

func (o *GetUsersForProjectDefault) IsSuccess() bool

IsSuccess returns true when this get users for project default response has a 2xx status code

func (*GetUsersForProjectDefault) String

func (o *GetUsersForProjectDefault) String() string

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 (*GetUsersForProjectForbidden) IsClientError

func (o *GetUsersForProjectForbidden) IsClientError() bool

IsClientError returns true when this get users for project forbidden response has a 4xx status code

func (*GetUsersForProjectForbidden) IsCode

func (o *GetUsersForProjectForbidden) IsCode(code int) bool

IsCode returns true when this get users for project forbidden response a status code equal to that given

func (*GetUsersForProjectForbidden) IsRedirect

func (o *GetUsersForProjectForbidden) IsRedirect() bool

IsRedirect returns true when this get users for project forbidden response has a 3xx status code

func (*GetUsersForProjectForbidden) IsServerError

func (o *GetUsersForProjectForbidden) IsServerError() bool

IsServerError returns true when this get users for project forbidden response has a 5xx status code

func (*GetUsersForProjectForbidden) IsSuccess

func (o *GetUsersForProjectForbidden) IsSuccess() bool

IsSuccess returns true when this get users for project forbidden response has a 2xx status code

func (*GetUsersForProjectForbidden) String

func (o *GetUsersForProjectForbidden) String() string

type GetUsersForProjectOK

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

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

func (*GetUsersForProjectOK) IsClientError

func (o *GetUsersForProjectOK) IsClientError() bool

IsClientError returns true when this get users for project o k response has a 4xx status code

func (*GetUsersForProjectOK) IsCode

func (o *GetUsersForProjectOK) IsCode(code int) bool

IsCode returns true when this get users for project o k response a status code equal to that given

func (*GetUsersForProjectOK) IsRedirect

func (o *GetUsersForProjectOK) IsRedirect() bool

IsRedirect returns true when this get users for project o k response has a 3xx status code

func (*GetUsersForProjectOK) IsServerError

func (o *GetUsersForProjectOK) IsServerError() bool

IsServerError returns true when this get users for project o k response has a 5xx status code

func (*GetUsersForProjectOK) IsSuccess

func (o *GetUsersForProjectOK) IsSuccess() bool

IsSuccess returns true when this get users for project o k response has a 2xx status code

func (*GetUsersForProjectOK) String

func (o *GetUsersForProjectOK) String() string

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

WithContext adds the context to the get users for project params

func (*GetUsersForProjectParams) WithDefaults

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

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 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 (*GetUsersForProjectUnauthorized) IsClientError

func (o *GetUsersForProjectUnauthorized) IsClientError() bool

IsClientError returns true when this get users for project unauthorized response has a 4xx status code

func (*GetUsersForProjectUnauthorized) IsCode

func (o *GetUsersForProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this get users for project unauthorized response a status code equal to that given

func (*GetUsersForProjectUnauthorized) IsRedirect

func (o *GetUsersForProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this get users for project unauthorized response has a 3xx status code

func (*GetUsersForProjectUnauthorized) IsServerError

func (o *GetUsersForProjectUnauthorized) IsServerError() bool

IsServerError returns true when this get users for project unauthorized response has a 5xx status code

func (*GetUsersForProjectUnauthorized) IsSuccess

func (o *GetUsersForProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this get users for project unauthorized response has a 2xx status code

func (*GetUsersForProjectUnauthorized) 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 (*LogoutCurrentUserDefault) IsClientError

func (o *LogoutCurrentUserDefault) IsClientError() bool

IsClientError returns true when this logout current user default response has a 4xx status code

func (*LogoutCurrentUserDefault) IsCode

func (o *LogoutCurrentUserDefault) IsCode(code int) bool

IsCode returns true when this logout current user default response a status code equal to that given

func (*LogoutCurrentUserDefault) IsRedirect

func (o *LogoutCurrentUserDefault) IsRedirect() bool

IsRedirect returns true when this logout current user default response has a 3xx status code

func (*LogoutCurrentUserDefault) IsServerError

func (o *LogoutCurrentUserDefault) IsServerError() bool

IsServerError returns true when this logout current user default response has a 5xx status code

func (*LogoutCurrentUserDefault) IsSuccess

func (o *LogoutCurrentUserDefault) IsSuccess() bool

IsSuccess returns true when this logout current user default response has a 2xx status code

func (*LogoutCurrentUserDefault) String

func (o *LogoutCurrentUserDefault) String() string

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

func (*LogoutCurrentUserOK) IsClientError

func (o *LogoutCurrentUserOK) IsClientError() bool

IsClientError returns true when this logout current user o k response has a 4xx status code

func (*LogoutCurrentUserOK) IsCode

func (o *LogoutCurrentUserOK) IsCode(code int) bool

IsCode returns true when this logout current user o k response a status code equal to that given

func (*LogoutCurrentUserOK) IsRedirect

func (o *LogoutCurrentUserOK) IsRedirect() bool

IsRedirect returns true when this logout current user o k response has a 3xx status code

func (*LogoutCurrentUserOK) IsServerError

func (o *LogoutCurrentUserOK) IsServerError() bool

IsServerError returns true when this logout current user o k response has a 5xx status code

func (*LogoutCurrentUserOK) IsSuccess

func (o *LogoutCurrentUserOK) IsSuccess() bool

IsSuccess returns true when this logout current user o k response has a 2xx status code

func (*LogoutCurrentUserOK) String

func (o *LogoutCurrentUserOK) String() 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

WithContext adds the context to the logout current user params

func (*LogoutCurrentUserParams) WithDefaults

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

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 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 (*LogoutCurrentUserUnauthorized) IsClientError

func (o *LogoutCurrentUserUnauthorized) IsClientError() bool

IsClientError returns true when this logout current user unauthorized response has a 4xx status code

func (*LogoutCurrentUserUnauthorized) IsCode

func (o *LogoutCurrentUserUnauthorized) IsCode(code int) bool

IsCode returns true when this logout current user unauthorized response a status code equal to that given

func (*LogoutCurrentUserUnauthorized) IsRedirect

func (o *LogoutCurrentUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this logout current user unauthorized response has a 3xx status code

func (*LogoutCurrentUserUnauthorized) IsServerError

func (o *LogoutCurrentUserUnauthorized) IsServerError() bool

IsServerError returns true when this logout current user unauthorized response has a 5xx status code

func (*LogoutCurrentUserUnauthorized) IsSuccess

func (o *LogoutCurrentUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this logout current user unauthorized response has a 2xx status code

func (*LogoutCurrentUserUnauthorized) String

Jump to

Keyboard shortcuts

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