user

package
v0.0.0-...-fe695c3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendUserToTeamDefault

type AppendUserToTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

AppendUserToTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewAppendUserToTeamDefault

func NewAppendUserToTeamDefault(code int) *AppendUserToTeamDefault

NewAppendUserToTeamDefault creates a AppendUserToTeamDefault with default headers values

func (*AppendUserToTeamDefault) Code

func (o *AppendUserToTeamDefault) Code() int

Code gets the status code for the append user to team default response

func (*AppendUserToTeamDefault) Error

func (o *AppendUserToTeamDefault) Error() string

type AppendUserToTeamForbidden

type AppendUserToTeamForbidden struct {
	Payload *models.GeneralError
}

AppendUserToTeamForbidden handles this case with default header values.

User is not authorized

func NewAppendUserToTeamForbidden

func NewAppendUserToTeamForbidden() *AppendUserToTeamForbidden

NewAppendUserToTeamForbidden creates a AppendUserToTeamForbidden with default headers values

func (*AppendUserToTeamForbidden) Error

func (o *AppendUserToTeamForbidden) Error() string

type AppendUserToTeamOK

type AppendUserToTeamOK struct {
	Payload *models.GeneralError
}

AppendUserToTeamOK handles this case with default header values.

Plain success message

func NewAppendUserToTeamOK

func NewAppendUserToTeamOK() *AppendUserToTeamOK

NewAppendUserToTeamOK creates a AppendUserToTeamOK with default headers values

func (*AppendUserToTeamOK) Error

func (o *AppendUserToTeamOK) Error() string

type AppendUserToTeamParams

type AppendUserToTeamParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string
	/*UserTeam
	  The user team data to assign

	*/
	UserTeam *models.UserTeamParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppendUserToTeamParams contains all the parameters to send to the API endpoint for the append user to team operation typically these are written to a http.Request

func NewAppendUserToTeamParams

func NewAppendUserToTeamParams() *AppendUserToTeamParams

NewAppendUserToTeamParams creates a new AppendUserToTeamParams object with the default values initialized.

func NewAppendUserToTeamParamsWithContext

func NewAppendUserToTeamParamsWithContext(ctx context.Context) *AppendUserToTeamParams

NewAppendUserToTeamParamsWithContext creates a new AppendUserToTeamParams object with the default values initialized, and the ability to set a context for a request

func NewAppendUserToTeamParamsWithHTTPClient

func NewAppendUserToTeamParamsWithHTTPClient(client *http.Client) *AppendUserToTeamParams

NewAppendUserToTeamParamsWithHTTPClient creates a new AppendUserToTeamParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAppendUserToTeamParamsWithTimeout

func NewAppendUserToTeamParamsWithTimeout(timeout time.Duration) *AppendUserToTeamParams

NewAppendUserToTeamParamsWithTimeout creates a new AppendUserToTeamParams object with the default values initialized, and the ability to set a timeout on a request

func (*AppendUserToTeamParams) SetContext

func (o *AppendUserToTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the append user to team params

func (*AppendUserToTeamParams) SetHTTPClient

func (o *AppendUserToTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the append user to team params

func (*AppendUserToTeamParams) SetTimeout

func (o *AppendUserToTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the append user to team params

func (*AppendUserToTeamParams) SetUserID

func (o *AppendUserToTeamParams) SetUserID(userID string)

SetUserID adds the userId to the append user to team params

func (*AppendUserToTeamParams) SetUserTeam

func (o *AppendUserToTeamParams) SetUserTeam(userTeam *models.UserTeamParams)

SetUserTeam adds the userTeam to the append user to team params

func (*AppendUserToTeamParams) WithContext

WithContext adds the context to the append user to team params

func (*AppendUserToTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the append user to team params

func (*AppendUserToTeamParams) WithTimeout

WithTimeout adds the timeout to the append user to team params

func (*AppendUserToTeamParams) WithUserID

func (o *AppendUserToTeamParams) WithUserID(userID string) *AppendUserToTeamParams

WithUserID adds the userID to the append user to team params

func (*AppendUserToTeamParams) WithUserTeam

WithUserTeam adds the userTeam to the append user to team params

func (*AppendUserToTeamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendUserToTeamPreconditionFailed

type AppendUserToTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

AppendUserToTeamPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewAppendUserToTeamPreconditionFailed

func NewAppendUserToTeamPreconditionFailed() *AppendUserToTeamPreconditionFailed

NewAppendUserToTeamPreconditionFailed creates a AppendUserToTeamPreconditionFailed with default headers values

func (*AppendUserToTeamPreconditionFailed) Error

type AppendUserToTeamReader

type AppendUserToTeamReader struct {
	// contains filtered or unexported fields
}

AppendUserToTeamReader is a Reader for the AppendUserToTeam structure.

func (*AppendUserToTeamReader) ReadResponse

func (o *AppendUserToTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppendUserToTeamUnprocessableEntity

type AppendUserToTeamUnprocessableEntity struct {
	Payload *models.GeneralError
}

AppendUserToTeamUnprocessableEntity handles this case with default header values.

Team is already assigned

func NewAppendUserToTeamUnprocessableEntity

func NewAppendUserToTeamUnprocessableEntity() *AppendUserToTeamUnprocessableEntity

NewAppendUserToTeamUnprocessableEntity creates a AppendUserToTeamUnprocessableEntity with default headers values

func (*AppendUserToTeamUnprocessableEntity) Error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for user API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new user API client.

func (*Client) AppendUserToTeam

func (a *Client) AppendUserToTeam(params *AppendUserToTeamParams) (*AppendUserToTeamOK, error)

AppendUserToTeam assigns a team to user

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams) (*CreateUserOK, error)

CreateUser creates a new user

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams) (*DeleteUserOK, error)

DeleteUser deletes a specific user

func (*Client) DeleteUserFromTeam

func (a *Client) DeleteUserFromTeam(params *DeleteUserFromTeamParams) (*DeleteUserFromTeamOK, error)

DeleteUserFromTeam removes a team from user

func (*Client) ListUserTeams

func (a *Client) ListUserTeams(params *ListUserTeamsParams) (*ListUserTeamsOK, error)

ListUserTeams fetches all teams assigned to user

func (*Client) ListUsers

func (a *Client) ListUsers(params *ListUsersParams) (*ListUsersOK, error)

ListUsers fetches all available users

func (*Client) PermitUserTeam

func (a *Client) PermitUserTeam(params *PermitUserTeamParams) (*PermitUserTeamOK, error)

PermitUserTeam updates team perms for user

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ShowUser

func (a *Client) ShowUser(params *ShowUserParams) (*ShowUserOK, error)

ShowUser fetches a specific user

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams) (*UpdateUserOK, error)

UpdateUser updates a specific user

type CreateUserDefault

type CreateUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

CreateUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewCreateUserDefault

func NewCreateUserDefault(code int) *CreateUserDefault

NewCreateUserDefault creates a CreateUserDefault with default headers values

func (*CreateUserDefault) Code

func (o *CreateUserDefault) Code() int

Code gets the status code for the create user default response

func (*CreateUserDefault) Error

func (o *CreateUserDefault) Error() string

type CreateUserForbidden

type CreateUserForbidden struct {
	Payload *models.GeneralError
}

CreateUserForbidden handles this case with default header values.

User is not authorized

func NewCreateUserForbidden

func NewCreateUserForbidden() *CreateUserForbidden

NewCreateUserForbidden creates a CreateUserForbidden with default headers values

func (*CreateUserForbidden) Error

func (o *CreateUserForbidden) Error() string

type CreateUserOK

type CreateUserOK struct {
	Payload *models.User
}

CreateUserOK handles this case with default header values.

The created user data

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates a CreateUserOK with default headers values

func (*CreateUserOK) Error

func (o *CreateUserOK) Error() string

type CreateUserParams

type CreateUserParams struct {

	/*User
	  The user data to create

	*/
	User *models.User

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateUserParams contains all the parameters to send to the API endpoint for the create user operation typically these are written to a http.Request

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams object with the default values initialized.

func NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the default values initialized, and the ability to set a context for a request

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateUserParams) SetContext

func (o *CreateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the create user params

func (*CreateUserParams) SetHTTPClient

func (o *CreateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout

func (o *CreateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) SetUser

func (o *CreateUserParams) SetUser(user *models.User)

SetUser adds the user to the create user params

func (*CreateUserParams) WithContext

func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams

WithContext adds the context to the create user params

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout

func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WithUser

func (o *CreateUserParams) WithUser(user *models.User) *CreateUserParams

WithUser adds the user to the create user params

func (*CreateUserParams) WriteToRequest

func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateUserPreconditionFailed

type CreateUserPreconditionFailed struct {
	Payload *models.GeneralError
}

CreateUserPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewCreateUserPreconditionFailed

func NewCreateUserPreconditionFailed() *CreateUserPreconditionFailed

NewCreateUserPreconditionFailed creates a CreateUserPreconditionFailed with default headers values

func (*CreateUserPreconditionFailed) Error

type CreateUserReader

type CreateUserReader struct {
	// contains filtered or unexported fields
}

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateUserUnprocessableEntity

type CreateUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateUserUnprocessableEntity handles this case with default header values.

Failed to validate request

func NewCreateUserUnprocessableEntity

func NewCreateUserUnprocessableEntity() *CreateUserUnprocessableEntity

NewCreateUserUnprocessableEntity creates a CreateUserUnprocessableEntity with default headers values

func (*CreateUserUnprocessableEntity) Error

type DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.GeneralError
}

DeleteUserBadRequest handles this case with default header values.

Failed to delete the user

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

type DeleteUserDefault

type DeleteUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewDeleteUserDefault

func NewDeleteUserDefault(code int) *DeleteUserDefault

NewDeleteUserDefault creates a DeleteUserDefault with default headers values

func (*DeleteUserDefault) Code

func (o *DeleteUserDefault) Code() int

Code gets the status code for the delete user default response

func (*DeleteUserDefault) Error

func (o *DeleteUserDefault) Error() string

type DeleteUserForbidden

type DeleteUserForbidden struct {
	Payload *models.GeneralError
}

DeleteUserForbidden handles this case with default header values.

User is not authorized

func NewDeleteUserForbidden

func NewDeleteUserForbidden() *DeleteUserForbidden

NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values

func (*DeleteUserForbidden) Error

func (o *DeleteUserForbidden) Error() string

type DeleteUserFromTeamDefault

type DeleteUserFromTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

DeleteUserFromTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewDeleteUserFromTeamDefault

func NewDeleteUserFromTeamDefault(code int) *DeleteUserFromTeamDefault

NewDeleteUserFromTeamDefault creates a DeleteUserFromTeamDefault with default headers values

func (*DeleteUserFromTeamDefault) Code

func (o *DeleteUserFromTeamDefault) Code() int

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

func (*DeleteUserFromTeamDefault) Error

func (o *DeleteUserFromTeamDefault) Error() string

type DeleteUserFromTeamForbidden

type DeleteUserFromTeamForbidden struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamForbidden handles this case with default header values.

User is not authorized

func NewDeleteUserFromTeamForbidden

func NewDeleteUserFromTeamForbidden() *DeleteUserFromTeamForbidden

NewDeleteUserFromTeamForbidden creates a DeleteUserFromTeamForbidden with default headers values

func (*DeleteUserFromTeamForbidden) Error

type DeleteUserFromTeamOK

type DeleteUserFromTeamOK struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamOK handles this case with default header values.

Plain success message

func NewDeleteUserFromTeamOK

func NewDeleteUserFromTeamOK() *DeleteUserFromTeamOK

NewDeleteUserFromTeamOK creates a DeleteUserFromTeamOK with default headers values

func (*DeleteUserFromTeamOK) Error

func (o *DeleteUserFromTeamOK) Error() string

type DeleteUserFromTeamParams

type DeleteUserFromTeamParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string
	/*UserTeam
	  The user team data to delete

	*/
	UserTeam *models.UserTeamParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteUserFromTeamParams contains all the parameters to send to the API endpoint for the delete user from team operation typically these are written to a http.Request

func NewDeleteUserFromTeamParams

func NewDeleteUserFromTeamParams() *DeleteUserFromTeamParams

NewDeleteUserFromTeamParams creates a new DeleteUserFromTeamParams object with the default values initialized.

func NewDeleteUserFromTeamParamsWithContext

func NewDeleteUserFromTeamParamsWithContext(ctx context.Context) *DeleteUserFromTeamParams

NewDeleteUserFromTeamParamsWithContext creates a new DeleteUserFromTeamParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserFromTeamParamsWithHTTPClient

func NewDeleteUserFromTeamParamsWithHTTPClient(client *http.Client) *DeleteUserFromTeamParams

NewDeleteUserFromTeamParamsWithHTTPClient creates a new DeleteUserFromTeamParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserFromTeamParamsWithTimeout

func NewDeleteUserFromTeamParamsWithTimeout(timeout time.Duration) *DeleteUserFromTeamParams

NewDeleteUserFromTeamParamsWithTimeout creates a new DeleteUserFromTeamParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserFromTeamParams) SetContext

func (o *DeleteUserFromTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the delete user from team params

func (*DeleteUserFromTeamParams) SetHTTPClient

func (o *DeleteUserFromTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user from team params

func (*DeleteUserFromTeamParams) SetTimeout

func (o *DeleteUserFromTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user from team params

func (*DeleteUserFromTeamParams) SetUserID

func (o *DeleteUserFromTeamParams) SetUserID(userID string)

SetUserID adds the userId to the delete user from team params

func (*DeleteUserFromTeamParams) SetUserTeam

func (o *DeleteUserFromTeamParams) SetUserTeam(userTeam *models.UserTeamParams)

SetUserTeam adds the userTeam to the delete user from team params

func (*DeleteUserFromTeamParams) WithContext

WithContext adds the context to the delete user from team params

func (*DeleteUserFromTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user from team params

func (*DeleteUserFromTeamParams) WithTimeout

WithTimeout adds the timeout to the delete user from team params

func (*DeleteUserFromTeamParams) WithUserID

WithUserID adds the userID to the delete user from team params

func (*DeleteUserFromTeamParams) WithUserTeam

WithUserTeam adds the userTeam to the delete user from team params

func (*DeleteUserFromTeamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserFromTeamPreconditionFailed

type DeleteUserFromTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewDeleteUserFromTeamPreconditionFailed

func NewDeleteUserFromTeamPreconditionFailed() *DeleteUserFromTeamPreconditionFailed

NewDeleteUserFromTeamPreconditionFailed creates a DeleteUserFromTeamPreconditionFailed with default headers values

func (*DeleteUserFromTeamPreconditionFailed) Error

type DeleteUserFromTeamReader

type DeleteUserFromTeamReader struct {
	// contains filtered or unexported fields
}

DeleteUserFromTeamReader is a Reader for the DeleteUserFromTeam structure.

func (*DeleteUserFromTeamReader) ReadResponse

func (o *DeleteUserFromTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserFromTeamUnprocessableEntity

type DeleteUserFromTeamUnprocessableEntity struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamUnprocessableEntity handles this case with default header values.

Team is not assigned

func NewDeleteUserFromTeamUnprocessableEntity

func NewDeleteUserFromTeamUnprocessableEntity() *DeleteUserFromTeamUnprocessableEntity

NewDeleteUserFromTeamUnprocessableEntity creates a DeleteUserFromTeamUnprocessableEntity with default headers values

func (*DeleteUserFromTeamUnprocessableEntity) Error

type DeleteUserOK

type DeleteUserOK struct {
	Payload *models.GeneralError
}

DeleteUserOK handles this case with default header values.

Plain success message

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

type DeleteUserParams

type DeleteUserParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteUserParams contains all the parameters to send to the API endpoint for the delete user operation typically these are written to a http.Request

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams object with the default values initialized.

func NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserParams) SetContext

func (o *DeleteUserParams) SetContext(ctx context.Context)

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetHTTPClient

func (o *DeleteUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetTimeout

func (o *DeleteUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) SetUserID

func (o *DeleteUserParams) SetUserID(userID string)

SetUserID adds the userId to the delete user params

func (*DeleteUserParams) WithContext

func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithTimeout

func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithUserID

func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams

WithUserID adds the userID to the delete user params

func (*DeleteUserParams) WriteToRequest

func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteUserReader

type DeleteUserReader struct {
	// contains filtered or unexported fields
}

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListUserTeamsDefault

type ListUserTeamsDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListUserTeamsDefault handles this case with default header values.

Some error unrelated to the handler

func NewListUserTeamsDefault

func NewListUserTeamsDefault(code int) *ListUserTeamsDefault

NewListUserTeamsDefault creates a ListUserTeamsDefault with default headers values

func (*ListUserTeamsDefault) Code

func (o *ListUserTeamsDefault) Code() int

Code gets the status code for the list user teams default response

func (*ListUserTeamsDefault) Error

func (o *ListUserTeamsDefault) Error() string

type ListUserTeamsForbidden

type ListUserTeamsForbidden struct {
	Payload *models.GeneralError
}

ListUserTeamsForbidden handles this case with default header values.

User is not authorized

func NewListUserTeamsForbidden

func NewListUserTeamsForbidden() *ListUserTeamsForbidden

NewListUserTeamsForbidden creates a ListUserTeamsForbidden with default headers values

func (*ListUserTeamsForbidden) Error

func (o *ListUserTeamsForbidden) Error() string

type ListUserTeamsOK

type ListUserTeamsOK struct {
	Payload []*models.TeamUser
}

ListUserTeamsOK handles this case with default header values.

A collection of user teams

func NewListUserTeamsOK

func NewListUserTeamsOK() *ListUserTeamsOK

NewListUserTeamsOK creates a ListUserTeamsOK with default headers values

func (*ListUserTeamsOK) Error

func (o *ListUserTeamsOK) Error() string

type ListUserTeamsParams

type ListUserTeamsParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListUserTeamsParams contains all the parameters to send to the API endpoint for the list user teams operation typically these are written to a http.Request

func NewListUserTeamsParams

func NewListUserTeamsParams() *ListUserTeamsParams

NewListUserTeamsParams creates a new ListUserTeamsParams object with the default values initialized.

func NewListUserTeamsParamsWithContext

func NewListUserTeamsParamsWithContext(ctx context.Context) *ListUserTeamsParams

NewListUserTeamsParamsWithContext creates a new ListUserTeamsParams object with the default values initialized, and the ability to set a context for a request

func NewListUserTeamsParamsWithHTTPClient

func NewListUserTeamsParamsWithHTTPClient(client *http.Client) *ListUserTeamsParams

NewListUserTeamsParamsWithHTTPClient creates a new ListUserTeamsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListUserTeamsParamsWithTimeout

func NewListUserTeamsParamsWithTimeout(timeout time.Duration) *ListUserTeamsParams

NewListUserTeamsParamsWithTimeout creates a new ListUserTeamsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListUserTeamsParams) SetContext

func (o *ListUserTeamsParams) SetContext(ctx context.Context)

SetContext adds the context to the list user teams params

func (*ListUserTeamsParams) SetHTTPClient

func (o *ListUserTeamsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list user teams params

func (*ListUserTeamsParams) SetTimeout

func (o *ListUserTeamsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list user teams params

func (*ListUserTeamsParams) SetUserID

func (o *ListUserTeamsParams) SetUserID(userID string)

SetUserID adds the userId to the list user teams params

func (*ListUserTeamsParams) WithContext

WithContext adds the context to the list user teams params

func (*ListUserTeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user teams params

func (*ListUserTeamsParams) WithTimeout

func (o *ListUserTeamsParams) WithTimeout(timeout time.Duration) *ListUserTeamsParams

WithTimeout adds the timeout to the list user teams params

func (*ListUserTeamsParams) WithUserID

func (o *ListUserTeamsParams) WithUserID(userID string) *ListUserTeamsParams

WithUserID adds the userID to the list user teams params

func (*ListUserTeamsParams) WriteToRequest

func (o *ListUserTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListUserTeamsReader

type ListUserTeamsReader struct {
	// contains filtered or unexported fields
}

ListUserTeamsReader is a Reader for the ListUserTeams structure.

func (*ListUserTeamsReader) ReadResponse

func (o *ListUserTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListUsersDefault

type ListUsersDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ListUsersDefault handles this case with default header values.

Some error unrelated to the handler

func NewListUsersDefault

func NewListUsersDefault(code int) *ListUsersDefault

NewListUsersDefault creates a ListUsersDefault with default headers values

func (*ListUsersDefault) Code

func (o *ListUsersDefault) Code() int

Code gets the status code for the list users default response

func (*ListUsersDefault) Error

func (o *ListUsersDefault) Error() string

type ListUsersForbidden

type ListUsersForbidden struct {
	Payload *models.GeneralError
}

ListUsersForbidden handles this case with default header values.

User is not authorized

func NewListUsersForbidden

func NewListUsersForbidden() *ListUsersForbidden

NewListUsersForbidden creates a ListUsersForbidden with default headers values

func (*ListUsersForbidden) Error

func (o *ListUsersForbidden) Error() string

type ListUsersOK

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

ListUsersOK handles this case with default header values.

A collection of users

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates a ListUsersOK with default headers values

func (*ListUsersOK) Error

func (o *ListUsersOK) Error() string

type ListUsersParams

type ListUsersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListUsersParams contains all the parameters to send to the API endpoint for the list users operation typically these are written to a http.Request

func NewListUsersParams

func NewListUsersParams() *ListUsersParams

NewListUsersParams creates a new ListUsersParams object with the default values initialized.

func NewListUsersParamsWithContext

func NewListUsersParamsWithContext(ctx context.Context) *ListUsersParams

NewListUsersParamsWithContext creates a new ListUsersParams object with the default values initialized, and the ability to set a context for a request

func NewListUsersParamsWithHTTPClient

func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams

NewListUsersParamsWithHTTPClient creates a new ListUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListUsersParamsWithTimeout

func NewListUsersParamsWithTimeout(timeout time.Duration) *ListUsersParams

NewListUsersParamsWithTimeout creates a new ListUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListUsersParams) SetContext

func (o *ListUsersParams) SetContext(ctx context.Context)

SetContext adds the context to the list users params

func (*ListUsersParams) SetHTTPClient

func (o *ListUsersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list users params

func (*ListUsersParams) SetTimeout

func (o *ListUsersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list users params

func (*ListUsersParams) WithContext

func (o *ListUsersParams) WithContext(ctx context.Context) *ListUsersParams

WithContext adds the context to the list users params

func (*ListUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list users params

func (*ListUsersParams) WithTimeout

func (o *ListUsersParams) WithTimeout(timeout time.Duration) *ListUsersParams

WithTimeout adds the timeout to the list users params

func (*ListUsersParams) WriteToRequest

func (o *ListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListUsersReader

type ListUsersReader struct {
	// contains filtered or unexported fields
}

ListUsersReader is a Reader for the ListUsers structure.

func (*ListUsersReader) ReadResponse

func (o *ListUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PermitUserTeamDefault

type PermitUserTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

PermitUserTeamDefault handles this case with default header values.

Some error unrelated to the handler

func NewPermitUserTeamDefault

func NewPermitUserTeamDefault(code int) *PermitUserTeamDefault

NewPermitUserTeamDefault creates a PermitUserTeamDefault with default headers values

func (*PermitUserTeamDefault) Code

func (o *PermitUserTeamDefault) Code() int

Code gets the status code for the permit user team default response

func (*PermitUserTeamDefault) Error

func (o *PermitUserTeamDefault) Error() string

type PermitUserTeamForbidden

type PermitUserTeamForbidden struct {
	Payload *models.GeneralError
}

PermitUserTeamForbidden handles this case with default header values.

User is not authorized

func NewPermitUserTeamForbidden

func NewPermitUserTeamForbidden() *PermitUserTeamForbidden

NewPermitUserTeamForbidden creates a PermitUserTeamForbidden with default headers values

func (*PermitUserTeamForbidden) Error

func (o *PermitUserTeamForbidden) Error() string

type PermitUserTeamOK

type PermitUserTeamOK struct {
	Payload *models.GeneralError
}

PermitUserTeamOK handles this case with default header values.

Plain success message

func NewPermitUserTeamOK

func NewPermitUserTeamOK() *PermitUserTeamOK

NewPermitUserTeamOK creates a PermitUserTeamOK with default headers values

func (*PermitUserTeamOK) Error

func (o *PermitUserTeamOK) Error() string

type PermitUserTeamParams

type PermitUserTeamParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string
	/*UserTeam
	  The user team data to update

	*/
	UserTeam *models.UserTeamParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PermitUserTeamParams contains all the parameters to send to the API endpoint for the permit user team operation typically these are written to a http.Request

func NewPermitUserTeamParams

func NewPermitUserTeamParams() *PermitUserTeamParams

NewPermitUserTeamParams creates a new PermitUserTeamParams object with the default values initialized.

func NewPermitUserTeamParamsWithContext

func NewPermitUserTeamParamsWithContext(ctx context.Context) *PermitUserTeamParams

NewPermitUserTeamParamsWithContext creates a new PermitUserTeamParams object with the default values initialized, and the ability to set a context for a request

func NewPermitUserTeamParamsWithHTTPClient

func NewPermitUserTeamParamsWithHTTPClient(client *http.Client) *PermitUserTeamParams

NewPermitUserTeamParamsWithHTTPClient creates a new PermitUserTeamParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPermitUserTeamParamsWithTimeout

func NewPermitUserTeamParamsWithTimeout(timeout time.Duration) *PermitUserTeamParams

NewPermitUserTeamParamsWithTimeout creates a new PermitUserTeamParams object with the default values initialized, and the ability to set a timeout on a request

func (*PermitUserTeamParams) SetContext

func (o *PermitUserTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the permit user team params

func (*PermitUserTeamParams) SetHTTPClient

func (o *PermitUserTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the permit user team params

func (*PermitUserTeamParams) SetTimeout

func (o *PermitUserTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the permit user team params

func (*PermitUserTeamParams) SetUserID

func (o *PermitUserTeamParams) SetUserID(userID string)

SetUserID adds the userId to the permit user team params

func (*PermitUserTeamParams) SetUserTeam

func (o *PermitUserTeamParams) SetUserTeam(userTeam *models.UserTeamParams)

SetUserTeam adds the userTeam to the permit user team params

func (*PermitUserTeamParams) WithContext

WithContext adds the context to the permit user team params

func (*PermitUserTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit user team params

func (*PermitUserTeamParams) WithTimeout

func (o *PermitUserTeamParams) WithTimeout(timeout time.Duration) *PermitUserTeamParams

WithTimeout adds the timeout to the permit user team params

func (*PermitUserTeamParams) WithUserID

func (o *PermitUserTeamParams) WithUserID(userID string) *PermitUserTeamParams

WithUserID adds the userID to the permit user team params

func (*PermitUserTeamParams) WithUserTeam

func (o *PermitUserTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *PermitUserTeamParams

WithUserTeam adds the userTeam to the permit user team params

func (*PermitUserTeamParams) WriteToRequest

func (o *PermitUserTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PermitUserTeamPreconditionFailed

type PermitUserTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitUserTeamPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewPermitUserTeamPreconditionFailed

func NewPermitUserTeamPreconditionFailed() *PermitUserTeamPreconditionFailed

NewPermitUserTeamPreconditionFailed creates a PermitUserTeamPreconditionFailed with default headers values

func (*PermitUserTeamPreconditionFailed) Error

type PermitUserTeamReader

type PermitUserTeamReader struct {
	// contains filtered or unexported fields
}

PermitUserTeamReader is a Reader for the PermitUserTeam structure.

func (*PermitUserTeamReader) ReadResponse

func (o *PermitUserTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PermitUserTeamUnprocessableEntity

type PermitUserTeamUnprocessableEntity struct {
	Payload *models.GeneralError
}

PermitUserTeamUnprocessableEntity handles this case with default header values.

Team is not assigned

func NewPermitUserTeamUnprocessableEntity

func NewPermitUserTeamUnprocessableEntity() *PermitUserTeamUnprocessableEntity

NewPermitUserTeamUnprocessableEntity creates a PermitUserTeamUnprocessableEntity with default headers values

func (*PermitUserTeamUnprocessableEntity) Error

type ShowUserDefault

type ShowUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ShowUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewShowUserDefault

func NewShowUserDefault(code int) *ShowUserDefault

NewShowUserDefault creates a ShowUserDefault with default headers values

func (*ShowUserDefault) Code

func (o *ShowUserDefault) Code() int

Code gets the status code for the show user default response

func (*ShowUserDefault) Error

func (o *ShowUserDefault) Error() string

type ShowUserForbidden

type ShowUserForbidden struct {
	Payload *models.GeneralError
}

ShowUserForbidden handles this case with default header values.

User is not authorized

func NewShowUserForbidden

func NewShowUserForbidden() *ShowUserForbidden

NewShowUserForbidden creates a ShowUserForbidden with default headers values

func (*ShowUserForbidden) Error

func (o *ShowUserForbidden) Error() string

type ShowUserOK

type ShowUserOK struct {
	Payload *models.User
}

ShowUserOK handles this case with default header values.

The fetched user details

func NewShowUserOK

func NewShowUserOK() *ShowUserOK

NewShowUserOK creates a ShowUserOK with default headers values

func (*ShowUserOK) Error

func (o *ShowUserOK) Error() string

type ShowUserParams

type ShowUserParams struct {

	/*UserID
	  A user UUID or slug

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ShowUserParams contains all the parameters to send to the API endpoint for the show user operation typically these are written to a http.Request

func NewShowUserParams

func NewShowUserParams() *ShowUserParams

NewShowUserParams creates a new ShowUserParams object with the default values initialized.

func NewShowUserParamsWithContext

func NewShowUserParamsWithContext(ctx context.Context) *ShowUserParams

NewShowUserParamsWithContext creates a new ShowUserParams object with the default values initialized, and the ability to set a context for a request

func NewShowUserParamsWithHTTPClient

func NewShowUserParamsWithHTTPClient(client *http.Client) *ShowUserParams

NewShowUserParamsWithHTTPClient creates a new ShowUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewShowUserParamsWithTimeout

func NewShowUserParamsWithTimeout(timeout time.Duration) *ShowUserParams

NewShowUserParamsWithTimeout creates a new ShowUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*ShowUserParams) SetContext

func (o *ShowUserParams) SetContext(ctx context.Context)

SetContext adds the context to the show user params

func (*ShowUserParams) SetHTTPClient

func (o *ShowUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the show user params

func (*ShowUserParams) SetTimeout

func (o *ShowUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the show user params

func (*ShowUserParams) SetUserID

func (o *ShowUserParams) SetUserID(userID string)

SetUserID adds the userId to the show user params

func (*ShowUserParams) WithContext

func (o *ShowUserParams) WithContext(ctx context.Context) *ShowUserParams

WithContext adds the context to the show user params

func (*ShowUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show user params

func (*ShowUserParams) WithTimeout

func (o *ShowUserParams) WithTimeout(timeout time.Duration) *ShowUserParams

WithTimeout adds the timeout to the show user params

func (*ShowUserParams) WithUserID

func (o *ShowUserParams) WithUserID(userID string) *ShowUserParams

WithUserID adds the userID to the show user params

func (*ShowUserParams) WriteToRequest

func (o *ShowUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ShowUserReader

type ShowUserReader struct {
	// contains filtered or unexported fields
}

ShowUserReader is a Reader for the ShowUser structure.

func (*ShowUserReader) ReadResponse

func (o *ShowUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateUserDefault

type UpdateUserDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdateUserDefault handles this case with default header values.

Some error unrelated to the handler

func NewUpdateUserDefault

func NewUpdateUserDefault(code int) *UpdateUserDefault

NewUpdateUserDefault creates a UpdateUserDefault with default headers values

func (*UpdateUserDefault) Code

func (o *UpdateUserDefault) Code() int

Code gets the status code for the update user default response

func (*UpdateUserDefault) Error

func (o *UpdateUserDefault) Error() string

type UpdateUserForbidden

type UpdateUserForbidden struct {
	Payload *models.GeneralError
}

UpdateUserForbidden handles this case with default header values.

User is not authorized

func NewUpdateUserForbidden

func NewUpdateUserForbidden() *UpdateUserForbidden

NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values

func (*UpdateUserForbidden) Error

func (o *UpdateUserForbidden) Error() string

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.User
}

UpdateUserOK handles this case with default header values.

The updated user details

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

type UpdateUserParams

type UpdateUserParams struct {

	/*User
	  The user data to update

	*/
	User *models.User
	/*UserID
	  A user UUID or slug

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateUserParams contains all the parameters to send to the API endpoint for the update user operation typically these are written to a http.Request

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams object with the default values initialized.

func NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateUserParams) SetContext

func (o *UpdateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the update user params

func (*UpdateUserParams) SetHTTPClient

func (o *UpdateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetTimeout

func (o *UpdateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) SetUser

func (o *UpdateUserParams) SetUser(user *models.User)

SetUser adds the user to the update user params

func (*UpdateUserParams) SetUserID

func (o *UpdateUserParams) SetUserID(userID string)

SetUserID adds the userId to the update user params

func (*UpdateUserParams) WithContext

func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams

WithContext adds the context to the update user params

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithTimeout

func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithUser

func (o *UpdateUserParams) WithUser(user *models.User) *UpdateUserParams

WithUser adds the user to the update user params

func (*UpdateUserParams) WithUserID

func (o *UpdateUserParams) WithUserID(userID string) *UpdateUserParams

WithUserID adds the userID to the update user params

func (*UpdateUserParams) WriteToRequest

func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateUserPreconditionFailed

type UpdateUserPreconditionFailed struct {
	Payload *models.GeneralError
}

UpdateUserPreconditionFailed handles this case with default header values.

Failed to parse request body

func NewUpdateUserPreconditionFailed

func NewUpdateUserPreconditionFailed() *UpdateUserPreconditionFailed

NewUpdateUserPreconditionFailed creates a UpdateUserPreconditionFailed with default headers values

func (*UpdateUserPreconditionFailed) Error

type UpdateUserReader

type UpdateUserReader struct {
	// contains filtered or unexported fields
}

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateUserUnprocessableEntity

type UpdateUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateUserUnprocessableEntity handles this case with default header values.

Failed to validate request

func NewUpdateUserUnprocessableEntity

func NewUpdateUserUnprocessableEntity() *UpdateUserUnprocessableEntity

NewUpdateUserUnprocessableEntity creates a UpdateUserUnprocessableEntity with default headers values

func (*UpdateUserUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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