user

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 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 AttachUserToModDefault

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

AttachUserToModDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAttachUserToModDefault

func NewAttachUserToModDefault(code int) *AttachUserToModDefault

NewAttachUserToModDefault creates a AttachUserToModDefault with default headers values

func (*AttachUserToModDefault) Code

func (o *AttachUserToModDefault) Code() int

Code gets the status code for the attach user to mod default response

func (*AttachUserToModDefault) Error

func (o *AttachUserToModDefault) Error() string

func (*AttachUserToModDefault) GetPayload

func (o *AttachUserToModDefault) GetPayload() *models.GeneralError

func (*AttachUserToModDefault) IsClientError

func (o *AttachUserToModDefault) IsClientError() bool

IsClientError returns true when this attach user to mod default response has a 4xx status code

func (*AttachUserToModDefault) IsCode

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

IsCode returns true when this attach user to mod default response a status code equal to that given

func (*AttachUserToModDefault) IsRedirect

func (o *AttachUserToModDefault) IsRedirect() bool

IsRedirect returns true when this attach user to mod default response has a 3xx status code

func (*AttachUserToModDefault) IsServerError

func (o *AttachUserToModDefault) IsServerError() bool

IsServerError returns true when this attach user to mod default response has a 5xx status code

func (*AttachUserToModDefault) IsSuccess

func (o *AttachUserToModDefault) IsSuccess() bool

IsSuccess returns true when this attach user to mod default response has a 2xx status code

func (*AttachUserToModDefault) String

func (o *AttachUserToModDefault) String() string

type AttachUserToModForbidden

type AttachUserToModForbidden struct {
	Payload *models.GeneralError
}

AttachUserToModForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAttachUserToModForbidden

func NewAttachUserToModForbidden() *AttachUserToModForbidden

NewAttachUserToModForbidden creates a AttachUserToModForbidden with default headers values

func (*AttachUserToModForbidden) Code

func (o *AttachUserToModForbidden) Code() int

Code gets the status code for the attach user to mod forbidden response

func (*AttachUserToModForbidden) Error

func (o *AttachUserToModForbidden) Error() string

func (*AttachUserToModForbidden) GetPayload

func (o *AttachUserToModForbidden) GetPayload() *models.GeneralError

func (*AttachUserToModForbidden) IsClientError

func (o *AttachUserToModForbidden) IsClientError() bool

IsClientError returns true when this attach user to mod forbidden response has a 4xx status code

func (*AttachUserToModForbidden) IsCode

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

IsCode returns true when this attach user to mod forbidden response a status code equal to that given

func (*AttachUserToModForbidden) IsRedirect

func (o *AttachUserToModForbidden) IsRedirect() bool

IsRedirect returns true when this attach user to mod forbidden response has a 3xx status code

func (*AttachUserToModForbidden) IsServerError

func (o *AttachUserToModForbidden) IsServerError() bool

IsServerError returns true when this attach user to mod forbidden response has a 5xx status code

func (*AttachUserToModForbidden) IsSuccess

func (o *AttachUserToModForbidden) IsSuccess() bool

IsSuccess returns true when this attach user to mod forbidden response has a 2xx status code

func (*AttachUserToModForbidden) String

func (o *AttachUserToModForbidden) String() string

type AttachUserToModNotFound

type AttachUserToModNotFound struct {
	Payload *models.GeneralError
}

AttachUserToModNotFound describes a response with status code 404, with default header values.

User or mod not found

func NewAttachUserToModNotFound

func NewAttachUserToModNotFound() *AttachUserToModNotFound

NewAttachUserToModNotFound creates a AttachUserToModNotFound with default headers values

func (*AttachUserToModNotFound) Code

func (o *AttachUserToModNotFound) Code() int

Code gets the status code for the attach user to mod not found response

func (*AttachUserToModNotFound) Error

func (o *AttachUserToModNotFound) Error() string

func (*AttachUserToModNotFound) GetPayload

func (o *AttachUserToModNotFound) GetPayload() *models.GeneralError

func (*AttachUserToModNotFound) IsClientError

func (o *AttachUserToModNotFound) IsClientError() bool

IsClientError returns true when this attach user to mod not found response has a 4xx status code

func (*AttachUserToModNotFound) IsCode

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

IsCode returns true when this attach user to mod not found response a status code equal to that given

func (*AttachUserToModNotFound) IsRedirect

func (o *AttachUserToModNotFound) IsRedirect() bool

IsRedirect returns true when this attach user to mod not found response has a 3xx status code

func (*AttachUserToModNotFound) IsServerError

func (o *AttachUserToModNotFound) IsServerError() bool

IsServerError returns true when this attach user to mod not found response has a 5xx status code

func (*AttachUserToModNotFound) IsSuccess

func (o *AttachUserToModNotFound) IsSuccess() bool

IsSuccess returns true when this attach user to mod not found response has a 2xx status code

func (*AttachUserToModNotFound) String

func (o *AttachUserToModNotFound) String() string

type AttachUserToModOK

type AttachUserToModOK struct {
	Payload *models.GeneralError
}

AttachUserToModOK describes a response with status code 200, with default header values.

Plain success message

func NewAttachUserToModOK

func NewAttachUserToModOK() *AttachUserToModOK

NewAttachUserToModOK creates a AttachUserToModOK with default headers values

func (*AttachUserToModOK) Code

func (o *AttachUserToModOK) Code() int

Code gets the status code for the attach user to mod o k response

func (*AttachUserToModOK) Error

func (o *AttachUserToModOK) Error() string

func (*AttachUserToModOK) GetPayload

func (o *AttachUserToModOK) GetPayload() *models.GeneralError

func (*AttachUserToModOK) IsClientError

func (o *AttachUserToModOK) IsClientError() bool

IsClientError returns true when this attach user to mod o k response has a 4xx status code

func (*AttachUserToModOK) IsCode

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

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

func (*AttachUserToModOK) IsRedirect

func (o *AttachUserToModOK) IsRedirect() bool

IsRedirect returns true when this attach user to mod o k response has a 3xx status code

func (*AttachUserToModOK) IsServerError

func (o *AttachUserToModOK) IsServerError() bool

IsServerError returns true when this attach user to mod o k response has a 5xx status code

func (*AttachUserToModOK) IsSuccess

func (o *AttachUserToModOK) IsSuccess() bool

IsSuccess returns true when this attach user to mod o k response has a 2xx status code

func (*AttachUserToModOK) String

func (o *AttachUserToModOK) String() string

type AttachUserToModParams

type AttachUserToModParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserMod.

	   The user mod data to assign
	*/
	UserMod *models.UserModParams

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

AttachUserToModParams contains all the parameters to send to the API endpoint

for the attach user to mod operation.

Typically these are written to a http.Request.

func NewAttachUserToModParams

func NewAttachUserToModParams() *AttachUserToModParams

NewAttachUserToModParams creates a new AttachUserToModParams 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 NewAttachUserToModParamsWithContext

func NewAttachUserToModParamsWithContext(ctx context.Context) *AttachUserToModParams

NewAttachUserToModParamsWithContext creates a new AttachUserToModParams object with the ability to set a context for a request.

func NewAttachUserToModParamsWithHTTPClient

func NewAttachUserToModParamsWithHTTPClient(client *http.Client) *AttachUserToModParams

NewAttachUserToModParamsWithHTTPClient creates a new AttachUserToModParams object with the ability to set a custom HTTPClient for a request.

func NewAttachUserToModParamsWithTimeout

func NewAttachUserToModParamsWithTimeout(timeout time.Duration) *AttachUserToModParams

NewAttachUserToModParamsWithTimeout creates a new AttachUserToModParams object with the ability to set a timeout on a request.

func (*AttachUserToModParams) SetContext

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

SetContext adds the context to the attach user to mod params

func (*AttachUserToModParams) SetDefaults

func (o *AttachUserToModParams) SetDefaults()

SetDefaults hydrates default values in the attach user to mod params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach user to mod params

func (*AttachUserToModParams) SetTimeout

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

SetTimeout adds the timeout to the attach user to mod params

func (*AttachUserToModParams) SetUserID

func (o *AttachUserToModParams) SetUserID(userID string)

SetUserID adds the userId to the attach user to mod params

func (*AttachUserToModParams) SetUserMod

func (o *AttachUserToModParams) SetUserMod(userMod *models.UserModParams)

SetUserMod adds the userMod to the attach user to mod params

func (*AttachUserToModParams) WithContext

WithContext adds the context to the attach user to mod params

func (*AttachUserToModParams) WithDefaults

func (o *AttachUserToModParams) WithDefaults() *AttachUserToModParams

WithDefaults hydrates default values in the attach user to mod params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach user to mod params

func (*AttachUserToModParams) WithTimeout

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

WithTimeout adds the timeout to the attach user to mod params

func (*AttachUserToModParams) WithUserID

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

WithUserID adds the userID to the attach user to mod params

func (*AttachUserToModParams) WithUserMod

WithUserMod adds the userMod to the attach user to mod params

func (*AttachUserToModParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AttachUserToModPreconditionFailed

type AttachUserToModPreconditionFailed struct {
	Payload *models.GeneralError
}

AttachUserToModPreconditionFailed describes a response with status code 412, with default header values.

Mod is already assigned

func NewAttachUserToModPreconditionFailed

func NewAttachUserToModPreconditionFailed() *AttachUserToModPreconditionFailed

NewAttachUserToModPreconditionFailed creates a AttachUserToModPreconditionFailed with default headers values

func (*AttachUserToModPreconditionFailed) Code

Code gets the status code for the attach user to mod precondition failed response

func (*AttachUserToModPreconditionFailed) Error

func (*AttachUserToModPreconditionFailed) GetPayload

func (*AttachUserToModPreconditionFailed) IsClientError

func (o *AttachUserToModPreconditionFailed) IsClientError() bool

IsClientError returns true when this attach user to mod precondition failed response has a 4xx status code

func (*AttachUserToModPreconditionFailed) IsCode

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

IsCode returns true when this attach user to mod precondition failed response a status code equal to that given

func (*AttachUserToModPreconditionFailed) IsRedirect

func (o *AttachUserToModPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this attach user to mod precondition failed response has a 3xx status code

func (*AttachUserToModPreconditionFailed) IsServerError

func (o *AttachUserToModPreconditionFailed) IsServerError() bool

IsServerError returns true when this attach user to mod precondition failed response has a 5xx status code

func (*AttachUserToModPreconditionFailed) IsSuccess

func (o *AttachUserToModPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this attach user to mod precondition failed response has a 2xx status code

func (*AttachUserToModPreconditionFailed) String

type AttachUserToModReader

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

AttachUserToModReader is a Reader for the AttachUserToMod structure.

func (*AttachUserToModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachUserToModUnprocessableEntity

type AttachUserToModUnprocessableEntity struct {
	Payload *models.ValidationError
}

AttachUserToModUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAttachUserToModUnprocessableEntity

func NewAttachUserToModUnprocessableEntity() *AttachUserToModUnprocessableEntity

NewAttachUserToModUnprocessableEntity creates a AttachUserToModUnprocessableEntity with default headers values

func (*AttachUserToModUnprocessableEntity) Code

Code gets the status code for the attach user to mod unprocessable entity response

func (*AttachUserToModUnprocessableEntity) Error

func (*AttachUserToModUnprocessableEntity) GetPayload

func (*AttachUserToModUnprocessableEntity) IsClientError

func (o *AttachUserToModUnprocessableEntity) IsClientError() bool

IsClientError returns true when this attach user to mod unprocessable entity response has a 4xx status code

func (*AttachUserToModUnprocessableEntity) IsCode

IsCode returns true when this attach user to mod unprocessable entity response a status code equal to that given

func (*AttachUserToModUnprocessableEntity) IsRedirect

func (o *AttachUserToModUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this attach user to mod unprocessable entity response has a 3xx status code

func (*AttachUserToModUnprocessableEntity) IsServerError

func (o *AttachUserToModUnprocessableEntity) IsServerError() bool

IsServerError returns true when this attach user to mod unprocessable entity response has a 5xx status code

func (*AttachUserToModUnprocessableEntity) IsSuccess

IsSuccess returns true when this attach user to mod unprocessable entity response has a 2xx status code

func (*AttachUserToModUnprocessableEntity) String

type AttachUserToPackDefault

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

AttachUserToPackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAttachUserToPackDefault

func NewAttachUserToPackDefault(code int) *AttachUserToPackDefault

NewAttachUserToPackDefault creates a AttachUserToPackDefault with default headers values

func (*AttachUserToPackDefault) Code

func (o *AttachUserToPackDefault) Code() int

Code gets the status code for the attach user to pack default response

func (*AttachUserToPackDefault) Error

func (o *AttachUserToPackDefault) Error() string

func (*AttachUserToPackDefault) GetPayload

func (o *AttachUserToPackDefault) GetPayload() *models.GeneralError

func (*AttachUserToPackDefault) IsClientError

func (o *AttachUserToPackDefault) IsClientError() bool

IsClientError returns true when this attach user to pack default response has a 4xx status code

func (*AttachUserToPackDefault) IsCode

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

IsCode returns true when this attach user to pack default response a status code equal to that given

func (*AttachUserToPackDefault) IsRedirect

func (o *AttachUserToPackDefault) IsRedirect() bool

IsRedirect returns true when this attach user to pack default response has a 3xx status code

func (*AttachUserToPackDefault) IsServerError

func (o *AttachUserToPackDefault) IsServerError() bool

IsServerError returns true when this attach user to pack default response has a 5xx status code

func (*AttachUserToPackDefault) IsSuccess

func (o *AttachUserToPackDefault) IsSuccess() bool

IsSuccess returns true when this attach user to pack default response has a 2xx status code

func (*AttachUserToPackDefault) String

func (o *AttachUserToPackDefault) String() string

type AttachUserToPackForbidden

type AttachUserToPackForbidden struct {
	Payload *models.GeneralError
}

AttachUserToPackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAttachUserToPackForbidden

func NewAttachUserToPackForbidden() *AttachUserToPackForbidden

NewAttachUserToPackForbidden creates a AttachUserToPackForbidden with default headers values

func (*AttachUserToPackForbidden) Code

func (o *AttachUserToPackForbidden) Code() int

Code gets the status code for the attach user to pack forbidden response

func (*AttachUserToPackForbidden) Error

func (o *AttachUserToPackForbidden) Error() string

func (*AttachUserToPackForbidden) GetPayload

func (*AttachUserToPackForbidden) IsClientError

func (o *AttachUserToPackForbidden) IsClientError() bool

IsClientError returns true when this attach user to pack forbidden response has a 4xx status code

func (*AttachUserToPackForbidden) IsCode

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

IsCode returns true when this attach user to pack forbidden response a status code equal to that given

func (*AttachUserToPackForbidden) IsRedirect

func (o *AttachUserToPackForbidden) IsRedirect() bool

IsRedirect returns true when this attach user to pack forbidden response has a 3xx status code

func (*AttachUserToPackForbidden) IsServerError

func (o *AttachUserToPackForbidden) IsServerError() bool

IsServerError returns true when this attach user to pack forbidden response has a 5xx status code

func (*AttachUserToPackForbidden) IsSuccess

func (o *AttachUserToPackForbidden) IsSuccess() bool

IsSuccess returns true when this attach user to pack forbidden response has a 2xx status code

func (*AttachUserToPackForbidden) String

func (o *AttachUserToPackForbidden) String() string

type AttachUserToPackNotFound

type AttachUserToPackNotFound struct {
	Payload *models.GeneralError
}

AttachUserToPackNotFound describes a response with status code 404, with default header values.

User or pack not found

func NewAttachUserToPackNotFound

func NewAttachUserToPackNotFound() *AttachUserToPackNotFound

NewAttachUserToPackNotFound creates a AttachUserToPackNotFound with default headers values

func (*AttachUserToPackNotFound) Code

func (o *AttachUserToPackNotFound) Code() int

Code gets the status code for the attach user to pack not found response

func (*AttachUserToPackNotFound) Error

func (o *AttachUserToPackNotFound) Error() string

func (*AttachUserToPackNotFound) GetPayload

func (o *AttachUserToPackNotFound) GetPayload() *models.GeneralError

func (*AttachUserToPackNotFound) IsClientError

func (o *AttachUserToPackNotFound) IsClientError() bool

IsClientError returns true when this attach user to pack not found response has a 4xx status code

func (*AttachUserToPackNotFound) IsCode

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

IsCode returns true when this attach user to pack not found response a status code equal to that given

func (*AttachUserToPackNotFound) IsRedirect

func (o *AttachUserToPackNotFound) IsRedirect() bool

IsRedirect returns true when this attach user to pack not found response has a 3xx status code

func (*AttachUserToPackNotFound) IsServerError

func (o *AttachUserToPackNotFound) IsServerError() bool

IsServerError returns true when this attach user to pack not found response has a 5xx status code

func (*AttachUserToPackNotFound) IsSuccess

func (o *AttachUserToPackNotFound) IsSuccess() bool

IsSuccess returns true when this attach user to pack not found response has a 2xx status code

func (*AttachUserToPackNotFound) String

func (o *AttachUserToPackNotFound) String() string

type AttachUserToPackOK

type AttachUserToPackOK struct {
	Payload *models.GeneralError
}

AttachUserToPackOK describes a response with status code 200, with default header values.

Plain success message

func NewAttachUserToPackOK

func NewAttachUserToPackOK() *AttachUserToPackOK

NewAttachUserToPackOK creates a AttachUserToPackOK with default headers values

func (*AttachUserToPackOK) Code

func (o *AttachUserToPackOK) Code() int

Code gets the status code for the attach user to pack o k response

func (*AttachUserToPackOK) Error

func (o *AttachUserToPackOK) Error() string

func (*AttachUserToPackOK) GetPayload

func (o *AttachUserToPackOK) GetPayload() *models.GeneralError

func (*AttachUserToPackOK) IsClientError

func (o *AttachUserToPackOK) IsClientError() bool

IsClientError returns true when this attach user to pack o k response has a 4xx status code

func (*AttachUserToPackOK) IsCode

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

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

func (*AttachUserToPackOK) IsRedirect

func (o *AttachUserToPackOK) IsRedirect() bool

IsRedirect returns true when this attach user to pack o k response has a 3xx status code

func (*AttachUserToPackOK) IsServerError

func (o *AttachUserToPackOK) IsServerError() bool

IsServerError returns true when this attach user to pack o k response has a 5xx status code

func (*AttachUserToPackOK) IsSuccess

func (o *AttachUserToPackOK) IsSuccess() bool

IsSuccess returns true when this attach user to pack o k response has a 2xx status code

func (*AttachUserToPackOK) String

func (o *AttachUserToPackOK) String() string

type AttachUserToPackParams

type AttachUserToPackParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserPack.

	   The user pack data to assign
	*/
	UserPack *models.UserPackParams

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

AttachUserToPackParams contains all the parameters to send to the API endpoint

for the attach user to pack operation.

Typically these are written to a http.Request.

func NewAttachUserToPackParams

func NewAttachUserToPackParams() *AttachUserToPackParams

NewAttachUserToPackParams creates a new AttachUserToPackParams 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 NewAttachUserToPackParamsWithContext

func NewAttachUserToPackParamsWithContext(ctx context.Context) *AttachUserToPackParams

NewAttachUserToPackParamsWithContext creates a new AttachUserToPackParams object with the ability to set a context for a request.

func NewAttachUserToPackParamsWithHTTPClient

func NewAttachUserToPackParamsWithHTTPClient(client *http.Client) *AttachUserToPackParams

NewAttachUserToPackParamsWithHTTPClient creates a new AttachUserToPackParams object with the ability to set a custom HTTPClient for a request.

func NewAttachUserToPackParamsWithTimeout

func NewAttachUserToPackParamsWithTimeout(timeout time.Duration) *AttachUserToPackParams

NewAttachUserToPackParamsWithTimeout creates a new AttachUserToPackParams object with the ability to set a timeout on a request.

func (*AttachUserToPackParams) SetContext

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

SetContext adds the context to the attach user to pack params

func (*AttachUserToPackParams) SetDefaults

func (o *AttachUserToPackParams) SetDefaults()

SetDefaults hydrates default values in the attach user to pack params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach user to pack params

func (*AttachUserToPackParams) SetTimeout

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

SetTimeout adds the timeout to the attach user to pack params

func (*AttachUserToPackParams) SetUserID

func (o *AttachUserToPackParams) SetUserID(userID string)

SetUserID adds the userId to the attach user to pack params

func (*AttachUserToPackParams) SetUserPack

func (o *AttachUserToPackParams) SetUserPack(userPack *models.UserPackParams)

SetUserPack adds the userPack to the attach user to pack params

func (*AttachUserToPackParams) WithContext

WithContext adds the context to the attach user to pack params

func (*AttachUserToPackParams) WithDefaults

WithDefaults hydrates default values in the attach user to pack params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach user to pack params

func (*AttachUserToPackParams) WithTimeout

WithTimeout adds the timeout to the attach user to pack params

func (*AttachUserToPackParams) WithUserID

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

WithUserID adds the userID to the attach user to pack params

func (*AttachUserToPackParams) WithUserPack

WithUserPack adds the userPack to the attach user to pack params

func (*AttachUserToPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachUserToPackPreconditionFailed

type AttachUserToPackPreconditionFailed struct {
	Payload *models.GeneralError
}

AttachUserToPackPreconditionFailed describes a response with status code 412, with default header values.

Pack is already assigned

func NewAttachUserToPackPreconditionFailed

func NewAttachUserToPackPreconditionFailed() *AttachUserToPackPreconditionFailed

NewAttachUserToPackPreconditionFailed creates a AttachUserToPackPreconditionFailed with default headers values

func (*AttachUserToPackPreconditionFailed) Code

Code gets the status code for the attach user to pack precondition failed response

func (*AttachUserToPackPreconditionFailed) Error

func (*AttachUserToPackPreconditionFailed) GetPayload

func (*AttachUserToPackPreconditionFailed) IsClientError

func (o *AttachUserToPackPreconditionFailed) IsClientError() bool

IsClientError returns true when this attach user to pack precondition failed response has a 4xx status code

func (*AttachUserToPackPreconditionFailed) IsCode

IsCode returns true when this attach user to pack precondition failed response a status code equal to that given

func (*AttachUserToPackPreconditionFailed) IsRedirect

func (o *AttachUserToPackPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this attach user to pack precondition failed response has a 3xx status code

func (*AttachUserToPackPreconditionFailed) IsServerError

func (o *AttachUserToPackPreconditionFailed) IsServerError() bool

IsServerError returns true when this attach user to pack precondition failed response has a 5xx status code

func (*AttachUserToPackPreconditionFailed) IsSuccess

IsSuccess returns true when this attach user to pack precondition failed response has a 2xx status code

func (*AttachUserToPackPreconditionFailed) String

type AttachUserToPackReader

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

AttachUserToPackReader is a Reader for the AttachUserToPack structure.

func (*AttachUserToPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachUserToPackUnprocessableEntity

type AttachUserToPackUnprocessableEntity struct {
	Payload *models.ValidationError
}

AttachUserToPackUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAttachUserToPackUnprocessableEntity

func NewAttachUserToPackUnprocessableEntity() *AttachUserToPackUnprocessableEntity

NewAttachUserToPackUnprocessableEntity creates a AttachUserToPackUnprocessableEntity with default headers values

func (*AttachUserToPackUnprocessableEntity) Code

Code gets the status code for the attach user to pack unprocessable entity response

func (*AttachUserToPackUnprocessableEntity) Error

func (*AttachUserToPackUnprocessableEntity) GetPayload

func (*AttachUserToPackUnprocessableEntity) IsClientError

func (o *AttachUserToPackUnprocessableEntity) IsClientError() bool

IsClientError returns true when this attach user to pack unprocessable entity response has a 4xx status code

func (*AttachUserToPackUnprocessableEntity) IsCode

IsCode returns true when this attach user to pack unprocessable entity response a status code equal to that given

func (*AttachUserToPackUnprocessableEntity) IsRedirect

func (o *AttachUserToPackUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this attach user to pack unprocessable entity response has a 3xx status code

func (*AttachUserToPackUnprocessableEntity) IsServerError

func (o *AttachUserToPackUnprocessableEntity) IsServerError() bool

IsServerError returns true when this attach user to pack unprocessable entity response has a 5xx status code

func (*AttachUserToPackUnprocessableEntity) IsSuccess

IsSuccess returns true when this attach user to pack unprocessable entity response has a 2xx status code

func (*AttachUserToPackUnprocessableEntity) String

type AttachUserToTeamDefault

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

AttachUserToTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewAttachUserToTeamDefault

func NewAttachUserToTeamDefault(code int) *AttachUserToTeamDefault

NewAttachUserToTeamDefault creates a AttachUserToTeamDefault with default headers values

func (*AttachUserToTeamDefault) Code

func (o *AttachUserToTeamDefault) Code() int

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

func (*AttachUserToTeamDefault) Error

func (o *AttachUserToTeamDefault) Error() string

func (*AttachUserToTeamDefault) GetPayload

func (o *AttachUserToTeamDefault) GetPayload() *models.GeneralError

func (*AttachUserToTeamDefault) IsClientError

func (o *AttachUserToTeamDefault) IsClientError() bool

IsClientError returns true when this attach user to team default response has a 4xx status code

func (*AttachUserToTeamDefault) IsCode

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

IsCode returns true when this attach user to team default response a status code equal to that given

func (*AttachUserToTeamDefault) IsRedirect

func (o *AttachUserToTeamDefault) IsRedirect() bool

IsRedirect returns true when this attach user to team default response has a 3xx status code

func (*AttachUserToTeamDefault) IsServerError

func (o *AttachUserToTeamDefault) IsServerError() bool

IsServerError returns true when this attach user to team default response has a 5xx status code

func (*AttachUserToTeamDefault) IsSuccess

func (o *AttachUserToTeamDefault) IsSuccess() bool

IsSuccess returns true when this attach user to team default response has a 2xx status code

func (*AttachUserToTeamDefault) String

func (o *AttachUserToTeamDefault) String() string

type AttachUserToTeamForbidden

type AttachUserToTeamForbidden struct {
	Payload *models.GeneralError
}

AttachUserToTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewAttachUserToTeamForbidden

func NewAttachUserToTeamForbidden() *AttachUserToTeamForbidden

NewAttachUserToTeamForbidden creates a AttachUserToTeamForbidden with default headers values

func (*AttachUserToTeamForbidden) Code

func (o *AttachUserToTeamForbidden) Code() int

Code gets the status code for the attach user to team forbidden response

func (*AttachUserToTeamForbidden) Error

func (o *AttachUserToTeamForbidden) Error() string

func (*AttachUserToTeamForbidden) GetPayload

func (*AttachUserToTeamForbidden) IsClientError

func (o *AttachUserToTeamForbidden) IsClientError() bool

IsClientError returns true when this attach user to team forbidden response has a 4xx status code

func (*AttachUserToTeamForbidden) IsCode

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

IsCode returns true when this attach user to team forbidden response a status code equal to that given

func (*AttachUserToTeamForbidden) IsRedirect

func (o *AttachUserToTeamForbidden) IsRedirect() bool

IsRedirect returns true when this attach user to team forbidden response has a 3xx status code

func (*AttachUserToTeamForbidden) IsServerError

func (o *AttachUserToTeamForbidden) IsServerError() bool

IsServerError returns true when this attach user to team forbidden response has a 5xx status code

func (*AttachUserToTeamForbidden) IsSuccess

func (o *AttachUserToTeamForbidden) IsSuccess() bool

IsSuccess returns true when this attach user to team forbidden response has a 2xx status code

func (*AttachUserToTeamForbidden) String

func (o *AttachUserToTeamForbidden) String() string

type AttachUserToTeamNotFound

type AttachUserToTeamNotFound struct {
	Payload *models.GeneralError
}

AttachUserToTeamNotFound describes a response with status code 404, with default header values.

User or team not found

func NewAttachUserToTeamNotFound

func NewAttachUserToTeamNotFound() *AttachUserToTeamNotFound

NewAttachUserToTeamNotFound creates a AttachUserToTeamNotFound with default headers values

func (*AttachUserToTeamNotFound) Code

func (o *AttachUserToTeamNotFound) Code() int

Code gets the status code for the attach user to team not found response

func (*AttachUserToTeamNotFound) Error

func (o *AttachUserToTeamNotFound) Error() string

func (*AttachUserToTeamNotFound) GetPayload

func (o *AttachUserToTeamNotFound) GetPayload() *models.GeneralError

func (*AttachUserToTeamNotFound) IsClientError

func (o *AttachUserToTeamNotFound) IsClientError() bool

IsClientError returns true when this attach user to team not found response has a 4xx status code

func (*AttachUserToTeamNotFound) IsCode

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

IsCode returns true when this attach user to team not found response a status code equal to that given

func (*AttachUserToTeamNotFound) IsRedirect

func (o *AttachUserToTeamNotFound) IsRedirect() bool

IsRedirect returns true when this attach user to team not found response has a 3xx status code

func (*AttachUserToTeamNotFound) IsServerError

func (o *AttachUserToTeamNotFound) IsServerError() bool

IsServerError returns true when this attach user to team not found response has a 5xx status code

func (*AttachUserToTeamNotFound) IsSuccess

func (o *AttachUserToTeamNotFound) IsSuccess() bool

IsSuccess returns true when this attach user to team not found response has a 2xx status code

func (*AttachUserToTeamNotFound) String

func (o *AttachUserToTeamNotFound) String() string

type AttachUserToTeamOK

type AttachUserToTeamOK struct {
	Payload *models.GeneralError
}

AttachUserToTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewAttachUserToTeamOK

func NewAttachUserToTeamOK() *AttachUserToTeamOK

NewAttachUserToTeamOK creates a AttachUserToTeamOK with default headers values

func (*AttachUserToTeamOK) Code

func (o *AttachUserToTeamOK) Code() int

Code gets the status code for the attach user to team o k response

func (*AttachUserToTeamOK) Error

func (o *AttachUserToTeamOK) Error() string

func (*AttachUserToTeamOK) GetPayload

func (o *AttachUserToTeamOK) GetPayload() *models.GeneralError

func (*AttachUserToTeamOK) IsClientError

func (o *AttachUserToTeamOK) IsClientError() bool

IsClientError returns true when this attach user to team o k response has a 4xx status code

func (*AttachUserToTeamOK) IsCode

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

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

func (*AttachUserToTeamOK) IsRedirect

func (o *AttachUserToTeamOK) IsRedirect() bool

IsRedirect returns true when this attach user to team o k response has a 3xx status code

func (*AttachUserToTeamOK) IsServerError

func (o *AttachUserToTeamOK) IsServerError() bool

IsServerError returns true when this attach user to team o k response has a 5xx status code

func (*AttachUserToTeamOK) IsSuccess

func (o *AttachUserToTeamOK) IsSuccess() bool

IsSuccess returns true when this attach user to team o k response has a 2xx status code

func (*AttachUserToTeamOK) String

func (o *AttachUserToTeamOK) String() string

type AttachUserToTeamParams

type AttachUserToTeamParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserTeam.

	   The user team data to attach
	*/
	UserTeam *models.UserTeamParams

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

AttachUserToTeamParams contains all the parameters to send to the API endpoint

for the attach user to team operation.

Typically these are written to a http.Request.

func NewAttachUserToTeamParams

func NewAttachUserToTeamParams() *AttachUserToTeamParams

NewAttachUserToTeamParams creates a new AttachUserToTeamParams 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 NewAttachUserToTeamParamsWithContext

func NewAttachUserToTeamParamsWithContext(ctx context.Context) *AttachUserToTeamParams

NewAttachUserToTeamParamsWithContext creates a new AttachUserToTeamParams object with the ability to set a context for a request.

func NewAttachUserToTeamParamsWithHTTPClient

func NewAttachUserToTeamParamsWithHTTPClient(client *http.Client) *AttachUserToTeamParams

NewAttachUserToTeamParamsWithHTTPClient creates a new AttachUserToTeamParams object with the ability to set a custom HTTPClient for a request.

func NewAttachUserToTeamParamsWithTimeout

func NewAttachUserToTeamParamsWithTimeout(timeout time.Duration) *AttachUserToTeamParams

NewAttachUserToTeamParamsWithTimeout creates a new AttachUserToTeamParams object with the ability to set a timeout on a request.

func (*AttachUserToTeamParams) SetContext

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

SetContext adds the context to the attach user to team params

func (*AttachUserToTeamParams) SetDefaults

func (o *AttachUserToTeamParams) SetDefaults()

SetDefaults hydrates default values in the attach user to team params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach user to team params

func (*AttachUserToTeamParams) SetTimeout

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

SetTimeout adds the timeout to the attach user to team params

func (*AttachUserToTeamParams) SetUserID

func (o *AttachUserToTeamParams) SetUserID(userID string)

SetUserID adds the userId to the attach user to team params

func (*AttachUserToTeamParams) SetUserTeam

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

SetUserTeam adds the userTeam to the attach user to team params

func (*AttachUserToTeamParams) WithContext

WithContext adds the context to the attach user to team params

func (*AttachUserToTeamParams) WithDefaults

WithDefaults hydrates default values in the attach user to team params (not the query body).

All values with no default are reset to their zero value.

func (*AttachUserToTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach user to team params

func (*AttachUserToTeamParams) WithTimeout

WithTimeout adds the timeout to the attach user to team params

func (*AttachUserToTeamParams) WithUserID

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

WithUserID adds the userID to the attach user to team params

func (*AttachUserToTeamParams) WithUserTeam

WithUserTeam adds the userTeam to the attach user to team params

func (*AttachUserToTeamParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachUserToTeamPreconditionFailed

type AttachUserToTeamPreconditionFailed struct {
	Payload *models.GeneralError
}

AttachUserToTeamPreconditionFailed describes a response with status code 412, with default header values.

Team is already attached

func NewAttachUserToTeamPreconditionFailed

func NewAttachUserToTeamPreconditionFailed() *AttachUserToTeamPreconditionFailed

NewAttachUserToTeamPreconditionFailed creates a AttachUserToTeamPreconditionFailed with default headers values

func (*AttachUserToTeamPreconditionFailed) Code

Code gets the status code for the attach user to team precondition failed response

func (*AttachUserToTeamPreconditionFailed) Error

func (*AttachUserToTeamPreconditionFailed) GetPayload

func (*AttachUserToTeamPreconditionFailed) IsClientError

func (o *AttachUserToTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this attach user to team precondition failed response has a 4xx status code

func (*AttachUserToTeamPreconditionFailed) IsCode

IsCode returns true when this attach user to team precondition failed response a status code equal to that given

func (*AttachUserToTeamPreconditionFailed) IsRedirect

func (o *AttachUserToTeamPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this attach user to team precondition failed response has a 3xx status code

func (*AttachUserToTeamPreconditionFailed) IsServerError

func (o *AttachUserToTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this attach user to team precondition failed response has a 5xx status code

func (*AttachUserToTeamPreconditionFailed) IsSuccess

IsSuccess returns true when this attach user to team precondition failed response has a 2xx status code

func (*AttachUserToTeamPreconditionFailed) String

type AttachUserToTeamReader

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

AttachUserToTeamReader is a Reader for the AttachUserToTeam structure.

func (*AttachUserToTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachUserToTeamUnprocessableEntity

type AttachUserToTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

AttachUserToTeamUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewAttachUserToTeamUnprocessableEntity

func NewAttachUserToTeamUnprocessableEntity() *AttachUserToTeamUnprocessableEntity

NewAttachUserToTeamUnprocessableEntity creates a AttachUserToTeamUnprocessableEntity with default headers values

func (*AttachUserToTeamUnprocessableEntity) Code

Code gets the status code for the attach user to team unprocessable entity response

func (*AttachUserToTeamUnprocessableEntity) Error

func (*AttachUserToTeamUnprocessableEntity) GetPayload

func (*AttachUserToTeamUnprocessableEntity) IsClientError

func (o *AttachUserToTeamUnprocessableEntity) IsClientError() bool

IsClientError returns true when this attach user to team unprocessable entity response has a 4xx status code

func (*AttachUserToTeamUnprocessableEntity) IsCode

IsCode returns true when this attach user to team unprocessable entity response a status code equal to that given

func (*AttachUserToTeamUnprocessableEntity) IsRedirect

func (o *AttachUserToTeamUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this attach user to team unprocessable entity response has a 3xx status code

func (*AttachUserToTeamUnprocessableEntity) IsServerError

func (o *AttachUserToTeamUnprocessableEntity) IsServerError() bool

IsServerError returns true when this attach user to team unprocessable entity response has a 5xx status code

func (*AttachUserToTeamUnprocessableEntity) IsSuccess

IsSuccess returns true when this attach user to team unprocessable entity response has a 2xx status code

func (*AttachUserToTeamUnprocessableEntity) String

type Client

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

Client for user API

func (*Client) AttachUserToMod

func (a *Client) AttachUserToMod(params *AttachUserToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToModOK, error)

AttachUserToMod assigns a mod to user

func (*Client) AttachUserToPack

func (a *Client) AttachUserToPack(params *AttachUserToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToPackOK, error)

AttachUserToPack assigns a pack to user

func (*Client) AttachUserToTeam

func (a *Client) AttachUserToTeam(params *AttachUserToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToTeamOK, error)

AttachUserToTeam attaches a team to user

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)

CreateUser creates a new user

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)

DeleteUser deletes a specific user

func (*Client) DeleteUserFromMod

func (a *Client) DeleteUserFromMod(params *DeleteUserFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromModOK, error)

DeleteUserFromMod removes a mod from user

func (*Client) DeleteUserFromPack

func (a *Client) DeleteUserFromPack(params *DeleteUserFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromPackOK, error)

DeleteUserFromPack removes a pack from user

func (*Client) DeleteUserFromTeam

func (a *Client) DeleteUserFromTeam(params *DeleteUserFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromTeamOK, error)

DeleteUserFromTeam removes a team from user

func (*Client) ListUserMods

func (a *Client) ListUserMods(params *ListUserModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserModsOK, error)

ListUserMods fetches all mods assigned to user

func (*Client) ListUserPacks

func (a *Client) ListUserPacks(params *ListUserPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPacksOK, error)

ListUserPacks fetches all packs assigned to user

func (*Client) ListUserTeams

func (a *Client) ListUserTeams(params *ListUserTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserTeamsOK, error)

ListUserTeams fetches all teams attached to user

func (*Client) ListUsers

func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)

ListUsers fetches all available users

func (*Client) PermitUserMod

func (a *Client) PermitUserMod(params *PermitUserModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserModOK, error)

PermitUserMod updates mod perms for user

func (*Client) PermitUserPack

func (a *Client) PermitUserPack(params *PermitUserPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserPackOK, error)

PermitUserPack updates pack perms for user

func (*Client) PermitUserTeam

func (a *Client) PermitUserTeam(params *PermitUserTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowUserOK, error)

ShowUser fetches a specific user

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)

UpdateUser updates a specific user

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AttachUserToMod(params *AttachUserToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToModOK, error)

	AttachUserToPack(params *AttachUserToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToPackOK, error)

	AttachUserToTeam(params *AttachUserToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToTeamOK, error)

	CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)

	DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)

	DeleteUserFromMod(params *DeleteUserFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromModOK, error)

	DeleteUserFromPack(params *DeleteUserFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromPackOK, error)

	DeleteUserFromTeam(params *DeleteUserFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromTeamOK, error)

	ListUserMods(params *ListUserModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserModsOK, error)

	ListUserPacks(params *ListUserPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPacksOK, error)

	ListUserTeams(params *ListUserTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserTeamsOK, error)

	ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)

	PermitUserMod(params *PermitUserModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserModOK, error)

	PermitUserPack(params *PermitUserPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserPackOK, error)

	PermitUserTeam(params *PermitUserTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserTeamOK, error)

	ShowUser(params *ShowUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowUserOK, error)

	UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, 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 user API client.

type CreateUserDefault

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

CreateUserDefault describes a response with status code -1, 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

func (*CreateUserDefault) GetPayload

func (o *CreateUserDefault) GetPayload() *models.GeneralError

func (*CreateUserDefault) IsClientError

func (o *CreateUserDefault) IsClientError() bool

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

func (*CreateUserDefault) IsCode

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

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

func (*CreateUserDefault) IsRedirect

func (o *CreateUserDefault) IsRedirect() bool

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

func (*CreateUserDefault) IsServerError

func (o *CreateUserDefault) IsServerError() bool

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

func (*CreateUserDefault) IsSuccess

func (o *CreateUserDefault) IsSuccess() bool

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

func (*CreateUserDefault) String

func (o *CreateUserDefault) String() string

type CreateUserForbidden

type CreateUserForbidden struct {
	Payload *models.GeneralError
}

CreateUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewCreateUserForbidden

func NewCreateUserForbidden() *CreateUserForbidden

NewCreateUserForbidden creates a CreateUserForbidden with default headers values

func (*CreateUserForbidden) Code

func (o *CreateUserForbidden) Code() int

Code gets the status code for the create user forbidden response

func (*CreateUserForbidden) Error

func (o *CreateUserForbidden) Error() string

func (*CreateUserForbidden) GetPayload

func (o *CreateUserForbidden) GetPayload() *models.GeneralError

func (*CreateUserForbidden) IsClientError

func (o *CreateUserForbidden) IsClientError() bool

IsClientError returns true when this create user forbidden response has a 4xx status code

func (*CreateUserForbidden) IsCode

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

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

func (*CreateUserForbidden) IsRedirect

func (o *CreateUserForbidden) IsRedirect() bool

IsRedirect returns true when this create user forbidden response has a 3xx status code

func (*CreateUserForbidden) IsServerError

func (o *CreateUserForbidden) IsServerError() bool

IsServerError returns true when this create user forbidden response has a 5xx status code

func (*CreateUserForbidden) IsSuccess

func (o *CreateUserForbidden) IsSuccess() bool

IsSuccess returns true when this create user forbidden response has a 2xx status code

func (*CreateUserForbidden) String

func (o *CreateUserForbidden) String() string

type CreateUserOK

type CreateUserOK struct {
	Payload *models.User
}

CreateUserOK describes a response with status code 200, with default header values.

The created user data

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates a CreateUserOK with default headers values

func (*CreateUserOK) Code

func (o *CreateUserOK) Code() int

Code gets the status code for the create user o k response

func (*CreateUserOK) Error

func (o *CreateUserOK) Error() string

func (*CreateUserOK) GetPayload

func (o *CreateUserOK) GetPayload() *models.User

func (*CreateUserOK) IsClientError

func (o *CreateUserOK) IsClientError() bool

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

func (*CreateUserOK) IsCode

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

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

func (*CreateUserOK) IsRedirect

func (o *CreateUserOK) IsRedirect() bool

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

func (*CreateUserOK) IsServerError

func (o *CreateUserOK) IsServerError() bool

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

func (*CreateUserOK) IsSuccess

func (o *CreateUserOK) IsSuccess() bool

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

func (*CreateUserOK) String

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

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with 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 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 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) SetDefaults

func (o *CreateUserParams) SetDefaults()

SetDefaults hydrates default values in the create user params (not the query body).

All values with no default are reset to their zero value.

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

func (o *CreateUserParams) WithDefaults() *CreateUserParams

WithDefaults hydrates default values in the create user params (not the query body).

All values with no default are reset to their zero value.

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 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 describes a response with status code 422, with default header values.

Failed to validate request

func NewCreateUserUnprocessableEntity

func NewCreateUserUnprocessableEntity() *CreateUserUnprocessableEntity

NewCreateUserUnprocessableEntity creates a CreateUserUnprocessableEntity with default headers values

func (*CreateUserUnprocessableEntity) Code

Code gets the status code for the create user unprocessable entity response

func (*CreateUserUnprocessableEntity) Error

func (*CreateUserUnprocessableEntity) GetPayload

func (*CreateUserUnprocessableEntity) IsClientError

func (o *CreateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create user unprocessable entity response has a 4xx status code

func (*CreateUserUnprocessableEntity) IsCode

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

IsCode returns true when this create user unprocessable entity response a status code equal to that given

func (*CreateUserUnprocessableEntity) IsRedirect

func (o *CreateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create user unprocessable entity response has a 3xx status code

func (*CreateUserUnprocessableEntity) IsServerError

func (o *CreateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create user unprocessable entity response has a 5xx status code

func (*CreateUserUnprocessableEntity) IsSuccess

func (o *CreateUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create user unprocessable entity response has a 2xx status code

func (*CreateUserUnprocessableEntity) String

type DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.GeneralError
}

DeleteUserBadRequest describes a response with status code 400, with default header values.

Failed to delete the user

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Code

func (o *DeleteUserBadRequest) Code() int

Code gets the status code for the delete user bad request response

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

func (o *DeleteUserBadRequest) GetPayload() *models.GeneralError

func (*DeleteUserBadRequest) IsClientError

func (o *DeleteUserBadRequest) IsClientError() bool

IsClientError returns true when this delete user bad request response has a 4xx status code

func (*DeleteUserBadRequest) IsCode

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

IsCode returns true when this delete user bad request response a status code equal to that given

func (*DeleteUserBadRequest) IsRedirect

func (o *DeleteUserBadRequest) IsRedirect() bool

IsRedirect returns true when this delete user bad request response has a 3xx status code

func (*DeleteUserBadRequest) IsServerError

func (o *DeleteUserBadRequest) IsServerError() bool

IsServerError returns true when this delete user bad request response has a 5xx status code

func (*DeleteUserBadRequest) IsSuccess

func (o *DeleteUserBadRequest) IsSuccess() bool

IsSuccess returns true when this delete user bad request response has a 2xx status code

func (*DeleteUserBadRequest) String

func (o *DeleteUserBadRequest) String() string

type DeleteUserDefault

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

DeleteUserDefault describes a response with status code -1, 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

func (*DeleteUserDefault) GetPayload

func (o *DeleteUserDefault) GetPayload() *models.GeneralError

func (*DeleteUserDefault) IsClientError

func (o *DeleteUserDefault) IsClientError() bool

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

func (*DeleteUserDefault) IsCode

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

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

func (*DeleteUserDefault) IsRedirect

func (o *DeleteUserDefault) IsRedirect() bool

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

func (*DeleteUserDefault) IsServerError

func (o *DeleteUserDefault) IsServerError() bool

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

func (*DeleteUserDefault) IsSuccess

func (o *DeleteUserDefault) IsSuccess() bool

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

func (*DeleteUserDefault) String

func (o *DeleteUserDefault) String() string

type DeleteUserForbidden

type DeleteUserForbidden struct {
	Payload *models.GeneralError
}

DeleteUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteUserForbidden

func NewDeleteUserForbidden() *DeleteUserForbidden

NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values

func (*DeleteUserForbidden) Code

func (o *DeleteUserForbidden) Code() int

Code gets the status code for the delete user forbidden response

func (*DeleteUserForbidden) Error

func (o *DeleteUserForbidden) Error() string

func (*DeleteUserForbidden) GetPayload

func (o *DeleteUserForbidden) GetPayload() *models.GeneralError

func (*DeleteUserForbidden) IsClientError

func (o *DeleteUserForbidden) IsClientError() bool

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

func (*DeleteUserForbidden) IsCode

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

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

func (*DeleteUserForbidden) IsRedirect

func (o *DeleteUserForbidden) IsRedirect() bool

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

func (*DeleteUserForbidden) IsServerError

func (o *DeleteUserForbidden) IsServerError() bool

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

func (*DeleteUserForbidden) IsSuccess

func (o *DeleteUserForbidden) IsSuccess() bool

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

func (*DeleteUserForbidden) String

func (o *DeleteUserForbidden) String() string

type DeleteUserFromModDefault

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

DeleteUserFromModDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeleteUserFromModDefault

func NewDeleteUserFromModDefault(code int) *DeleteUserFromModDefault

NewDeleteUserFromModDefault creates a DeleteUserFromModDefault with default headers values

func (*DeleteUserFromModDefault) Code

func (o *DeleteUserFromModDefault) Code() int

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

func (*DeleteUserFromModDefault) Error

func (o *DeleteUserFromModDefault) Error() string

func (*DeleteUserFromModDefault) GetPayload

func (o *DeleteUserFromModDefault) GetPayload() *models.GeneralError

func (*DeleteUserFromModDefault) IsClientError

func (o *DeleteUserFromModDefault) IsClientError() bool

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

func (*DeleteUserFromModDefault) IsCode

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

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

func (*DeleteUserFromModDefault) IsRedirect

func (o *DeleteUserFromModDefault) IsRedirect() bool

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

func (*DeleteUserFromModDefault) IsServerError

func (o *DeleteUserFromModDefault) IsServerError() bool

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

func (*DeleteUserFromModDefault) IsSuccess

func (o *DeleteUserFromModDefault) IsSuccess() bool

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

func (*DeleteUserFromModDefault) String

func (o *DeleteUserFromModDefault) String() string

type DeleteUserFromModForbidden

type DeleteUserFromModForbidden struct {
	Payload *models.GeneralError
}

DeleteUserFromModForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteUserFromModForbidden

func NewDeleteUserFromModForbidden() *DeleteUserFromModForbidden

NewDeleteUserFromModForbidden creates a DeleteUserFromModForbidden with default headers values

func (*DeleteUserFromModForbidden) Code

func (o *DeleteUserFromModForbidden) Code() int

Code gets the status code for the delete user from mod forbidden response

func (*DeleteUserFromModForbidden) Error

func (*DeleteUserFromModForbidden) GetPayload

func (*DeleteUserFromModForbidden) IsClientError

func (o *DeleteUserFromModForbidden) IsClientError() bool

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

func (*DeleteUserFromModForbidden) IsCode

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

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

func (*DeleteUserFromModForbidden) IsRedirect

func (o *DeleteUserFromModForbidden) IsRedirect() bool

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

func (*DeleteUserFromModForbidden) IsServerError

func (o *DeleteUserFromModForbidden) IsServerError() bool

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

func (*DeleteUserFromModForbidden) IsSuccess

func (o *DeleteUserFromModForbidden) IsSuccess() bool

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

func (*DeleteUserFromModForbidden) String

func (o *DeleteUserFromModForbidden) String() string

type DeleteUserFromModNotFound

type DeleteUserFromModNotFound struct {
	Payload *models.GeneralError
}

DeleteUserFromModNotFound describes a response with status code 404, with default header values.

User or mod not found

func NewDeleteUserFromModNotFound

func NewDeleteUserFromModNotFound() *DeleteUserFromModNotFound

NewDeleteUserFromModNotFound creates a DeleteUserFromModNotFound with default headers values

func (*DeleteUserFromModNotFound) Code

func (o *DeleteUserFromModNotFound) Code() int

Code gets the status code for the delete user from mod not found response

func (*DeleteUserFromModNotFound) Error

func (o *DeleteUserFromModNotFound) Error() string

func (*DeleteUserFromModNotFound) GetPayload

func (*DeleteUserFromModNotFound) IsClientError

func (o *DeleteUserFromModNotFound) IsClientError() bool

IsClientError returns true when this delete user from mod not found response has a 4xx status code

func (*DeleteUserFromModNotFound) IsCode

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

IsCode returns true when this delete user from mod not found response a status code equal to that given

func (*DeleteUserFromModNotFound) IsRedirect

func (o *DeleteUserFromModNotFound) IsRedirect() bool

IsRedirect returns true when this delete user from mod not found response has a 3xx status code

func (*DeleteUserFromModNotFound) IsServerError

func (o *DeleteUserFromModNotFound) IsServerError() bool

IsServerError returns true when this delete user from mod not found response has a 5xx status code

func (*DeleteUserFromModNotFound) IsSuccess

func (o *DeleteUserFromModNotFound) IsSuccess() bool

IsSuccess returns true when this delete user from mod not found response has a 2xx status code

func (*DeleteUserFromModNotFound) String

func (o *DeleteUserFromModNotFound) String() string

type DeleteUserFromModOK

type DeleteUserFromModOK struct {
	Payload *models.GeneralError
}

DeleteUserFromModOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteUserFromModOK

func NewDeleteUserFromModOK() *DeleteUserFromModOK

NewDeleteUserFromModOK creates a DeleteUserFromModOK with default headers values

func (*DeleteUserFromModOK) Code

func (o *DeleteUserFromModOK) Code() int

Code gets the status code for the delete user from mod o k response

func (*DeleteUserFromModOK) Error

func (o *DeleteUserFromModOK) Error() string

func (*DeleteUserFromModOK) GetPayload

func (o *DeleteUserFromModOK) GetPayload() *models.GeneralError

func (*DeleteUserFromModOK) IsClientError

func (o *DeleteUserFromModOK) IsClientError() bool

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

func (*DeleteUserFromModOK) IsCode

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

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

func (*DeleteUserFromModOK) IsRedirect

func (o *DeleteUserFromModOK) IsRedirect() bool

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

func (*DeleteUserFromModOK) IsServerError

func (o *DeleteUserFromModOK) IsServerError() bool

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

func (*DeleteUserFromModOK) IsSuccess

func (o *DeleteUserFromModOK) IsSuccess() bool

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

func (*DeleteUserFromModOK) String

func (o *DeleteUserFromModOK) String() string

type DeleteUserFromModParams

type DeleteUserFromModParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserMod.

	   The user mod data to delete
	*/
	UserMod *models.UserModParams

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

DeleteUserFromModParams contains all the parameters to send to the API endpoint

for the delete user from mod operation.

Typically these are written to a http.Request.

func NewDeleteUserFromModParams

func NewDeleteUserFromModParams() *DeleteUserFromModParams

NewDeleteUserFromModParams creates a new DeleteUserFromModParams 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 NewDeleteUserFromModParamsWithContext

func NewDeleteUserFromModParamsWithContext(ctx context.Context) *DeleteUserFromModParams

NewDeleteUserFromModParamsWithContext creates a new DeleteUserFromModParams object with the ability to set a context for a request.

func NewDeleteUserFromModParamsWithHTTPClient

func NewDeleteUserFromModParamsWithHTTPClient(client *http.Client) *DeleteUserFromModParams

NewDeleteUserFromModParamsWithHTTPClient creates a new DeleteUserFromModParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserFromModParamsWithTimeout

func NewDeleteUserFromModParamsWithTimeout(timeout time.Duration) *DeleteUserFromModParams

NewDeleteUserFromModParamsWithTimeout creates a new DeleteUserFromModParams object with the ability to set a timeout on a request.

func (*DeleteUserFromModParams) SetContext

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

SetContext adds the context to the delete user from mod params

func (*DeleteUserFromModParams) SetDefaults

func (o *DeleteUserFromModParams) SetDefaults()

SetDefaults hydrates default values in the delete user from mod params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserFromModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user from mod params

func (*DeleteUserFromModParams) SetTimeout

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

SetTimeout adds the timeout to the delete user from mod params

func (*DeleteUserFromModParams) SetUserID

func (o *DeleteUserFromModParams) SetUserID(userID string)

SetUserID adds the userId to the delete user from mod params

func (*DeleteUserFromModParams) SetUserMod

func (o *DeleteUserFromModParams) SetUserMod(userMod *models.UserModParams)

SetUserMod adds the userMod to the delete user from mod params

func (*DeleteUserFromModParams) WithContext

WithContext adds the context to the delete user from mod params

func (*DeleteUserFromModParams) WithDefaults

WithDefaults hydrates default values in the delete user from mod params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserFromModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user from mod params

func (*DeleteUserFromModParams) WithTimeout

WithTimeout adds the timeout to the delete user from mod params

func (*DeleteUserFromModParams) WithUserID

WithUserID adds the userID to the delete user from mod params

func (*DeleteUserFromModParams) WithUserMod

WithUserMod adds the userMod to the delete user from mod params

func (*DeleteUserFromModParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserFromModPreconditionFailed

type DeleteUserFromModPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteUserFromModPreconditionFailed describes a response with status code 412, with default header values.

Mod is not assigned

func NewDeleteUserFromModPreconditionFailed

func NewDeleteUserFromModPreconditionFailed() *DeleteUserFromModPreconditionFailed

NewDeleteUserFromModPreconditionFailed creates a DeleteUserFromModPreconditionFailed with default headers values

func (*DeleteUserFromModPreconditionFailed) Code

Code gets the status code for the delete user from mod precondition failed response

func (*DeleteUserFromModPreconditionFailed) Error

func (*DeleteUserFromModPreconditionFailed) GetPayload

func (*DeleteUserFromModPreconditionFailed) IsClientError

func (o *DeleteUserFromModPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete user from mod precondition failed response has a 4xx status code

func (*DeleteUserFromModPreconditionFailed) IsCode

IsCode returns true when this delete user from mod precondition failed response a status code equal to that given

func (*DeleteUserFromModPreconditionFailed) IsRedirect

func (o *DeleteUserFromModPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this delete user from mod precondition failed response has a 3xx status code

func (*DeleteUserFromModPreconditionFailed) IsServerError

func (o *DeleteUserFromModPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete user from mod precondition failed response has a 5xx status code

func (*DeleteUserFromModPreconditionFailed) IsSuccess

IsSuccess returns true when this delete user from mod precondition failed response has a 2xx status code

func (*DeleteUserFromModPreconditionFailed) String

type DeleteUserFromModReader

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

DeleteUserFromModReader is a Reader for the DeleteUserFromMod structure.

func (*DeleteUserFromModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserFromPackDefault

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

DeleteUserFromPackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewDeleteUserFromPackDefault

func NewDeleteUserFromPackDefault(code int) *DeleteUserFromPackDefault

NewDeleteUserFromPackDefault creates a DeleteUserFromPackDefault with default headers values

func (*DeleteUserFromPackDefault) Code

func (o *DeleteUserFromPackDefault) Code() int

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

func (*DeleteUserFromPackDefault) Error

func (o *DeleteUserFromPackDefault) Error() string

func (*DeleteUserFromPackDefault) GetPayload

func (*DeleteUserFromPackDefault) IsClientError

func (o *DeleteUserFromPackDefault) IsClientError() bool

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

func (*DeleteUserFromPackDefault) IsCode

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

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

func (*DeleteUserFromPackDefault) IsRedirect

func (o *DeleteUserFromPackDefault) IsRedirect() bool

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

func (*DeleteUserFromPackDefault) IsServerError

func (o *DeleteUserFromPackDefault) IsServerError() bool

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

func (*DeleteUserFromPackDefault) IsSuccess

func (o *DeleteUserFromPackDefault) IsSuccess() bool

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

func (*DeleteUserFromPackDefault) String

func (o *DeleteUserFromPackDefault) String() string

type DeleteUserFromPackForbidden

type DeleteUserFromPackForbidden struct {
	Payload *models.GeneralError
}

DeleteUserFromPackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteUserFromPackForbidden

func NewDeleteUserFromPackForbidden() *DeleteUserFromPackForbidden

NewDeleteUserFromPackForbidden creates a DeleteUserFromPackForbidden with default headers values

func (*DeleteUserFromPackForbidden) Code

func (o *DeleteUserFromPackForbidden) Code() int

Code gets the status code for the delete user from pack forbidden response

func (*DeleteUserFromPackForbidden) Error

func (*DeleteUserFromPackForbidden) GetPayload

func (*DeleteUserFromPackForbidden) IsClientError

func (o *DeleteUserFromPackForbidden) IsClientError() bool

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

func (*DeleteUserFromPackForbidden) IsCode

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

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

func (*DeleteUserFromPackForbidden) IsRedirect

func (o *DeleteUserFromPackForbidden) IsRedirect() bool

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

func (*DeleteUserFromPackForbidden) IsServerError

func (o *DeleteUserFromPackForbidden) IsServerError() bool

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

func (*DeleteUserFromPackForbidden) IsSuccess

func (o *DeleteUserFromPackForbidden) IsSuccess() bool

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

func (*DeleteUserFromPackForbidden) String

func (o *DeleteUserFromPackForbidden) String() string

type DeleteUserFromPackNotFound

type DeleteUserFromPackNotFound struct {
	Payload *models.GeneralError
}

DeleteUserFromPackNotFound describes a response with status code 404, with default header values.

User or pack not found

func NewDeleteUserFromPackNotFound

func NewDeleteUserFromPackNotFound() *DeleteUserFromPackNotFound

NewDeleteUserFromPackNotFound creates a DeleteUserFromPackNotFound with default headers values

func (*DeleteUserFromPackNotFound) Code

func (o *DeleteUserFromPackNotFound) Code() int

Code gets the status code for the delete user from pack not found response

func (*DeleteUserFromPackNotFound) Error

func (*DeleteUserFromPackNotFound) GetPayload

func (*DeleteUserFromPackNotFound) IsClientError

func (o *DeleteUserFromPackNotFound) IsClientError() bool

IsClientError returns true when this delete user from pack not found response has a 4xx status code

func (*DeleteUserFromPackNotFound) IsCode

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

IsCode returns true when this delete user from pack not found response a status code equal to that given

func (*DeleteUserFromPackNotFound) IsRedirect

func (o *DeleteUserFromPackNotFound) IsRedirect() bool

IsRedirect returns true when this delete user from pack not found response has a 3xx status code

func (*DeleteUserFromPackNotFound) IsServerError

func (o *DeleteUserFromPackNotFound) IsServerError() bool

IsServerError returns true when this delete user from pack not found response has a 5xx status code

func (*DeleteUserFromPackNotFound) IsSuccess

func (o *DeleteUserFromPackNotFound) IsSuccess() bool

IsSuccess returns true when this delete user from pack not found response has a 2xx status code

func (*DeleteUserFromPackNotFound) String

func (o *DeleteUserFromPackNotFound) String() string

type DeleteUserFromPackOK

type DeleteUserFromPackOK struct {
	Payload *models.GeneralError
}

DeleteUserFromPackOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteUserFromPackOK

func NewDeleteUserFromPackOK() *DeleteUserFromPackOK

NewDeleteUserFromPackOK creates a DeleteUserFromPackOK with default headers values

func (*DeleteUserFromPackOK) Code

func (o *DeleteUserFromPackOK) Code() int

Code gets the status code for the delete user from pack o k response

func (*DeleteUserFromPackOK) Error

func (o *DeleteUserFromPackOK) Error() string

func (*DeleteUserFromPackOK) GetPayload

func (o *DeleteUserFromPackOK) GetPayload() *models.GeneralError

func (*DeleteUserFromPackOK) IsClientError

func (o *DeleteUserFromPackOK) IsClientError() bool

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

func (*DeleteUserFromPackOK) IsCode

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

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

func (*DeleteUserFromPackOK) IsRedirect

func (o *DeleteUserFromPackOK) IsRedirect() bool

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

func (*DeleteUserFromPackOK) IsServerError

func (o *DeleteUserFromPackOK) IsServerError() bool

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

func (*DeleteUserFromPackOK) IsSuccess

func (o *DeleteUserFromPackOK) IsSuccess() bool

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

func (*DeleteUserFromPackOK) String

func (o *DeleteUserFromPackOK) String() string

type DeleteUserFromPackParams

type DeleteUserFromPackParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserPack.

	   The user pack data to delete
	*/
	UserPack *models.UserPackParams

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

DeleteUserFromPackParams contains all the parameters to send to the API endpoint

for the delete user from pack operation.

Typically these are written to a http.Request.

func NewDeleteUserFromPackParams

func NewDeleteUserFromPackParams() *DeleteUserFromPackParams

NewDeleteUserFromPackParams creates a new DeleteUserFromPackParams 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 NewDeleteUserFromPackParamsWithContext

func NewDeleteUserFromPackParamsWithContext(ctx context.Context) *DeleteUserFromPackParams

NewDeleteUserFromPackParamsWithContext creates a new DeleteUserFromPackParams object with the ability to set a context for a request.

func NewDeleteUserFromPackParamsWithHTTPClient

func NewDeleteUserFromPackParamsWithHTTPClient(client *http.Client) *DeleteUserFromPackParams

NewDeleteUserFromPackParamsWithHTTPClient creates a new DeleteUserFromPackParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserFromPackParamsWithTimeout

func NewDeleteUserFromPackParamsWithTimeout(timeout time.Duration) *DeleteUserFromPackParams

NewDeleteUserFromPackParamsWithTimeout creates a new DeleteUserFromPackParams object with the ability to set a timeout on a request.

func (*DeleteUserFromPackParams) SetContext

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

SetContext adds the context to the delete user from pack params

func (*DeleteUserFromPackParams) SetDefaults

func (o *DeleteUserFromPackParams) SetDefaults()

SetDefaults hydrates default values in the delete user from pack params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserFromPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user from pack params

func (*DeleteUserFromPackParams) SetTimeout

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

SetTimeout adds the timeout to the delete user from pack params

func (*DeleteUserFromPackParams) SetUserID

func (o *DeleteUserFromPackParams) SetUserID(userID string)

SetUserID adds the userId to the delete user from pack params

func (*DeleteUserFromPackParams) SetUserPack

func (o *DeleteUserFromPackParams) SetUserPack(userPack *models.UserPackParams)

SetUserPack adds the userPack to the delete user from pack params

func (*DeleteUserFromPackParams) WithContext

WithContext adds the context to the delete user from pack params

func (*DeleteUserFromPackParams) WithDefaults

WithDefaults hydrates default values in the delete user from pack params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserFromPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user from pack params

func (*DeleteUserFromPackParams) WithTimeout

WithTimeout adds the timeout to the delete user from pack params

func (*DeleteUserFromPackParams) WithUserID

WithUserID adds the userID to the delete user from pack params

func (*DeleteUserFromPackParams) WithUserPack

WithUserPack adds the userPack to the delete user from pack params

func (*DeleteUserFromPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserFromPackPreconditionFailed

type DeleteUserFromPackPreconditionFailed struct {
	Payload *models.GeneralError
}

DeleteUserFromPackPreconditionFailed describes a response with status code 412, with default header values.

Pack is not assigned

func NewDeleteUserFromPackPreconditionFailed

func NewDeleteUserFromPackPreconditionFailed() *DeleteUserFromPackPreconditionFailed

NewDeleteUserFromPackPreconditionFailed creates a DeleteUserFromPackPreconditionFailed with default headers values

func (*DeleteUserFromPackPreconditionFailed) Code

Code gets the status code for the delete user from pack precondition failed response

func (*DeleteUserFromPackPreconditionFailed) Error

func (*DeleteUserFromPackPreconditionFailed) GetPayload

func (*DeleteUserFromPackPreconditionFailed) IsClientError

func (o *DeleteUserFromPackPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete user from pack precondition failed response has a 4xx status code

func (*DeleteUserFromPackPreconditionFailed) IsCode

IsCode returns true when this delete user from pack precondition failed response a status code equal to that given

func (*DeleteUserFromPackPreconditionFailed) IsRedirect

IsRedirect returns true when this delete user from pack precondition failed response has a 3xx status code

func (*DeleteUserFromPackPreconditionFailed) IsServerError

func (o *DeleteUserFromPackPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete user from pack precondition failed response has a 5xx status code

func (*DeleteUserFromPackPreconditionFailed) IsSuccess

IsSuccess returns true when this delete user from pack precondition failed response has a 2xx status code

func (*DeleteUserFromPackPreconditionFailed) String

type DeleteUserFromPackReader

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

DeleteUserFromPackReader is a Reader for the DeleteUserFromPack structure.

func (*DeleteUserFromPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserFromTeamDefault

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

DeleteUserFromTeamDefault describes a response with status code -1, 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

func (*DeleteUserFromTeamDefault) GetPayload

func (*DeleteUserFromTeamDefault) IsClientError

func (o *DeleteUserFromTeamDefault) IsClientError() bool

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

func (*DeleteUserFromTeamDefault) IsCode

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

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

func (*DeleteUserFromTeamDefault) IsRedirect

func (o *DeleteUserFromTeamDefault) IsRedirect() bool

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

func (*DeleteUserFromTeamDefault) IsServerError

func (o *DeleteUserFromTeamDefault) IsServerError() bool

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

func (*DeleteUserFromTeamDefault) IsSuccess

func (o *DeleteUserFromTeamDefault) IsSuccess() bool

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

func (*DeleteUserFromTeamDefault) String

func (o *DeleteUserFromTeamDefault) String() string

type DeleteUserFromTeamForbidden

type DeleteUserFromTeamForbidden struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewDeleteUserFromTeamForbidden

func NewDeleteUserFromTeamForbidden() *DeleteUserFromTeamForbidden

NewDeleteUserFromTeamForbidden creates a DeleteUserFromTeamForbidden with default headers values

func (*DeleteUserFromTeamForbidden) Code

func (o *DeleteUserFromTeamForbidden) Code() int

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

func (*DeleteUserFromTeamForbidden) Error

func (*DeleteUserFromTeamForbidden) GetPayload

func (*DeleteUserFromTeamForbidden) IsClientError

func (o *DeleteUserFromTeamForbidden) IsClientError() bool

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

func (*DeleteUserFromTeamForbidden) IsCode

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

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

func (*DeleteUserFromTeamForbidden) IsRedirect

func (o *DeleteUserFromTeamForbidden) IsRedirect() bool

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

func (*DeleteUserFromTeamForbidden) IsServerError

func (o *DeleteUserFromTeamForbidden) IsServerError() bool

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

func (*DeleteUserFromTeamForbidden) IsSuccess

func (o *DeleteUserFromTeamForbidden) IsSuccess() bool

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

func (*DeleteUserFromTeamForbidden) String

func (o *DeleteUserFromTeamForbidden) String() string

type DeleteUserFromTeamNotFound

type DeleteUserFromTeamNotFound struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamNotFound describes a response with status code 404, with default header values.

User or team not found

func NewDeleteUserFromTeamNotFound

func NewDeleteUserFromTeamNotFound() *DeleteUserFromTeamNotFound

NewDeleteUserFromTeamNotFound creates a DeleteUserFromTeamNotFound with default headers values

func (*DeleteUserFromTeamNotFound) Code

func (o *DeleteUserFromTeamNotFound) Code() int

Code gets the status code for the delete user from team not found response

func (*DeleteUserFromTeamNotFound) Error

func (*DeleteUserFromTeamNotFound) GetPayload

func (*DeleteUserFromTeamNotFound) IsClientError

func (o *DeleteUserFromTeamNotFound) IsClientError() bool

IsClientError returns true when this delete user from team not found response has a 4xx status code

func (*DeleteUserFromTeamNotFound) IsCode

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

IsCode returns true when this delete user from team not found response a status code equal to that given

func (*DeleteUserFromTeamNotFound) IsRedirect

func (o *DeleteUserFromTeamNotFound) IsRedirect() bool

IsRedirect returns true when this delete user from team not found response has a 3xx status code

func (*DeleteUserFromTeamNotFound) IsServerError

func (o *DeleteUserFromTeamNotFound) IsServerError() bool

IsServerError returns true when this delete user from team not found response has a 5xx status code

func (*DeleteUserFromTeamNotFound) IsSuccess

func (o *DeleteUserFromTeamNotFound) IsSuccess() bool

IsSuccess returns true when this delete user from team not found response has a 2xx status code

func (*DeleteUserFromTeamNotFound) String

func (o *DeleteUserFromTeamNotFound) String() string

type DeleteUserFromTeamOK

type DeleteUserFromTeamOK struct {
	Payload *models.GeneralError
}

DeleteUserFromTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteUserFromTeamOK

func NewDeleteUserFromTeamOK() *DeleteUserFromTeamOK

NewDeleteUserFromTeamOK creates a DeleteUserFromTeamOK with default headers values

func (*DeleteUserFromTeamOK) Code

func (o *DeleteUserFromTeamOK) Code() int

Code gets the status code for the delete user from team o k response

func (*DeleteUserFromTeamOK) Error

func (o *DeleteUserFromTeamOK) Error() string

func (*DeleteUserFromTeamOK) GetPayload

func (o *DeleteUserFromTeamOK) GetPayload() *models.GeneralError

func (*DeleteUserFromTeamOK) IsClientError

func (o *DeleteUserFromTeamOK) IsClientError() bool

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

func (*DeleteUserFromTeamOK) IsCode

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

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

func (*DeleteUserFromTeamOK) IsRedirect

func (o *DeleteUserFromTeamOK) IsRedirect() bool

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

func (*DeleteUserFromTeamOK) IsServerError

func (o *DeleteUserFromTeamOK) IsServerError() bool

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

func (*DeleteUserFromTeamOK) IsSuccess

func (o *DeleteUserFromTeamOK) IsSuccess() bool

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

func (*DeleteUserFromTeamOK) String

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

func NewDeleteUserFromTeamParamsWithContext(ctx context.Context) *DeleteUserFromTeamParams

NewDeleteUserFromTeamParamsWithContext creates a new DeleteUserFromTeamParams object with 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 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 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) SetDefaults

func (o *DeleteUserFromTeamParams) SetDefaults()

SetDefaults hydrates default values in the delete user from team params (not the query body).

All values with no default are reset to their zero value.

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

WithDefaults hydrates default values in the delete user from team params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 412, with default header values.

Team is not attached

func NewDeleteUserFromTeamPreconditionFailed

func NewDeleteUserFromTeamPreconditionFailed() *DeleteUserFromTeamPreconditionFailed

NewDeleteUserFromTeamPreconditionFailed creates a DeleteUserFromTeamPreconditionFailed with default headers values

func (*DeleteUserFromTeamPreconditionFailed) Code

Code gets the status code for the delete user from team precondition failed response

func (*DeleteUserFromTeamPreconditionFailed) Error

func (*DeleteUserFromTeamPreconditionFailed) GetPayload

func (*DeleteUserFromTeamPreconditionFailed) IsClientError

func (o *DeleteUserFromTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete user from team precondition failed response has a 4xx status code

func (*DeleteUserFromTeamPreconditionFailed) IsCode

IsCode returns true when this delete user from team precondition failed response a status code equal to that given

func (*DeleteUserFromTeamPreconditionFailed) IsRedirect

IsRedirect returns true when this delete user from team precondition failed response has a 3xx status code

func (*DeleteUserFromTeamPreconditionFailed) IsServerError

func (o *DeleteUserFromTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete user from team precondition failed response has a 5xx status code

func (*DeleteUserFromTeamPreconditionFailed) IsSuccess

IsSuccess returns true when this delete user from team precondition failed response has a 2xx status code

func (*DeleteUserFromTeamPreconditionFailed) String

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 DeleteUserNotFound

type DeleteUserNotFound struct {
	Payload *models.GeneralError
}

DeleteUserNotFound describes a response with status code 404, with default header values.

User not found

func NewDeleteUserNotFound

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Code

func (o *DeleteUserNotFound) Code() int

Code gets the status code for the delete user not found response

func (*DeleteUserNotFound) Error

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) GetPayload

func (o *DeleteUserNotFound) GetPayload() *models.GeneralError

func (*DeleteUserNotFound) IsClientError

func (o *DeleteUserNotFound) IsClientError() bool

IsClientError returns true when this delete user not found response has a 4xx status code

func (*DeleteUserNotFound) IsCode

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

IsCode returns true when this delete user not found response a status code equal to that given

func (*DeleteUserNotFound) IsRedirect

func (o *DeleteUserNotFound) IsRedirect() bool

IsRedirect returns true when this delete user not found response has a 3xx status code

func (*DeleteUserNotFound) IsServerError

func (o *DeleteUserNotFound) IsServerError() bool

IsServerError returns true when this delete user not found response has a 5xx status code

func (*DeleteUserNotFound) IsSuccess

func (o *DeleteUserNotFound) IsSuccess() bool

IsSuccess returns true when this delete user not found response has a 2xx status code

func (*DeleteUserNotFound) String

func (o *DeleteUserNotFound) String() string

type DeleteUserOK

type DeleteUserOK struct {
	Payload *models.GeneralError
}

DeleteUserOK describes a response with status code 200, with default header values.

Plain success message

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Code

func (o *DeleteUserOK) Code() int

Code gets the status code for the delete user o k response

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

func (*DeleteUserOK) GetPayload

func (o *DeleteUserOK) GetPayload() *models.GeneralError

func (*DeleteUserOK) IsClientError

func (o *DeleteUserOK) IsClientError() bool

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

func (*DeleteUserOK) IsCode

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

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

func (*DeleteUserOK) IsRedirect

func (o *DeleteUserOK) IsRedirect() bool

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

func (*DeleteUserOK) IsServerError

func (o *DeleteUserOK) IsServerError() bool

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

func (*DeleteUserOK) IsSuccess

func (o *DeleteUserOK) IsSuccess() bool

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

func (*DeleteUserOK) String

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

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with 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 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 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) SetDefaults

func (o *DeleteUserParams) SetDefaults()

SetDefaults hydrates default values in the delete user params (not the query body).

All values with no default are reset to their zero value.

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

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

WithDefaults hydrates default values in the delete user params (not the query body).

All values with no default are reset to their zero value.

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 ListUserModsDefault

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

ListUserModsDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListUserModsDefault

func NewListUserModsDefault(code int) *ListUserModsDefault

NewListUserModsDefault creates a ListUserModsDefault with default headers values

func (*ListUserModsDefault) Code

func (o *ListUserModsDefault) Code() int

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

func (*ListUserModsDefault) Error

func (o *ListUserModsDefault) Error() string

func (*ListUserModsDefault) GetPayload

func (o *ListUserModsDefault) GetPayload() *models.GeneralError

func (*ListUserModsDefault) IsClientError

func (o *ListUserModsDefault) IsClientError() bool

IsClientError returns true when this list user mods default response has a 4xx status code

func (*ListUserModsDefault) IsCode

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

IsCode returns true when this list user mods default response a status code equal to that given

func (*ListUserModsDefault) IsRedirect

func (o *ListUserModsDefault) IsRedirect() bool

IsRedirect returns true when this list user mods default response has a 3xx status code

func (*ListUserModsDefault) IsServerError

func (o *ListUserModsDefault) IsServerError() bool

IsServerError returns true when this list user mods default response has a 5xx status code

func (*ListUserModsDefault) IsSuccess

func (o *ListUserModsDefault) IsSuccess() bool

IsSuccess returns true when this list user mods default response has a 2xx status code

func (*ListUserModsDefault) String

func (o *ListUserModsDefault) String() string

type ListUserModsForbidden

type ListUserModsForbidden struct {
	Payload *models.GeneralError
}

ListUserModsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListUserModsForbidden

func NewListUserModsForbidden() *ListUserModsForbidden

NewListUserModsForbidden creates a ListUserModsForbidden with default headers values

func (*ListUserModsForbidden) Code

func (o *ListUserModsForbidden) Code() int

Code gets the status code for the list user mods forbidden response

func (*ListUserModsForbidden) Error

func (o *ListUserModsForbidden) Error() string

func (*ListUserModsForbidden) GetPayload

func (o *ListUserModsForbidden) GetPayload() *models.GeneralError

func (*ListUserModsForbidden) IsClientError

func (o *ListUserModsForbidden) IsClientError() bool

IsClientError returns true when this list user mods forbidden response has a 4xx status code

func (*ListUserModsForbidden) IsCode

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

IsCode returns true when this list user mods forbidden response a status code equal to that given

func (*ListUserModsForbidden) IsRedirect

func (o *ListUserModsForbidden) IsRedirect() bool

IsRedirect returns true when this list user mods forbidden response has a 3xx status code

func (*ListUserModsForbidden) IsServerError

func (o *ListUserModsForbidden) IsServerError() bool

IsServerError returns true when this list user mods forbidden response has a 5xx status code

func (*ListUserModsForbidden) IsSuccess

func (o *ListUserModsForbidden) IsSuccess() bool

IsSuccess returns true when this list user mods forbidden response has a 2xx status code

func (*ListUserModsForbidden) String

func (o *ListUserModsForbidden) String() string

type ListUserModsNotFound

type ListUserModsNotFound struct {
	Payload *models.GeneralError
}

ListUserModsNotFound describes a response with status code 404, with default header values.

User not found

func NewListUserModsNotFound

func NewListUserModsNotFound() *ListUserModsNotFound

NewListUserModsNotFound creates a ListUserModsNotFound with default headers values

func (*ListUserModsNotFound) Code

func (o *ListUserModsNotFound) Code() int

Code gets the status code for the list user mods not found response

func (*ListUserModsNotFound) Error

func (o *ListUserModsNotFound) Error() string

func (*ListUserModsNotFound) GetPayload

func (o *ListUserModsNotFound) GetPayload() *models.GeneralError

func (*ListUserModsNotFound) IsClientError

func (o *ListUserModsNotFound) IsClientError() bool

IsClientError returns true when this list user mods not found response has a 4xx status code

func (*ListUserModsNotFound) IsCode

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

IsCode returns true when this list user mods not found response a status code equal to that given

func (*ListUserModsNotFound) IsRedirect

func (o *ListUserModsNotFound) IsRedirect() bool

IsRedirect returns true when this list user mods not found response has a 3xx status code

func (*ListUserModsNotFound) IsServerError

func (o *ListUserModsNotFound) IsServerError() bool

IsServerError returns true when this list user mods not found response has a 5xx status code

func (*ListUserModsNotFound) IsSuccess

func (o *ListUserModsNotFound) IsSuccess() bool

IsSuccess returns true when this list user mods not found response has a 2xx status code

func (*ListUserModsNotFound) String

func (o *ListUserModsNotFound) String() string

type ListUserModsOK

type ListUserModsOK struct {
	Payload *models.UserMods
}

ListUserModsOK describes a response with status code 200, with default header values.

A collection of user mods

func NewListUserModsOK

func NewListUserModsOK() *ListUserModsOK

NewListUserModsOK creates a ListUserModsOK with default headers values

func (*ListUserModsOK) Code

func (o *ListUserModsOK) Code() int

Code gets the status code for the list user mods o k response

func (*ListUserModsOK) Error

func (o *ListUserModsOK) Error() string

func (*ListUserModsOK) GetPayload

func (o *ListUserModsOK) GetPayload() *models.UserMods

func (*ListUserModsOK) IsClientError

func (o *ListUserModsOK) IsClientError() bool

IsClientError returns true when this list user mods o k response has a 4xx status code

func (*ListUserModsOK) IsCode

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

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

func (*ListUserModsOK) IsRedirect

func (o *ListUserModsOK) IsRedirect() bool

IsRedirect returns true when this list user mods o k response has a 3xx status code

func (*ListUserModsOK) IsServerError

func (o *ListUserModsOK) IsServerError() bool

IsServerError returns true when this list user mods o k response has a 5xx status code

func (*ListUserModsOK) IsSuccess

func (o *ListUserModsOK) IsSuccess() bool

IsSuccess returns true when this list user mods o k response has a 2xx status code

func (*ListUserModsOK) String

func (o *ListUserModsOK) String() string

type ListUserModsParams

type ListUserModsParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

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

ListUserModsParams contains all the parameters to send to the API endpoint

for the list user mods operation.

Typically these are written to a http.Request.

func NewListUserModsParams

func NewListUserModsParams() *ListUserModsParams

NewListUserModsParams creates a new ListUserModsParams 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 NewListUserModsParamsWithContext

func NewListUserModsParamsWithContext(ctx context.Context) *ListUserModsParams

NewListUserModsParamsWithContext creates a new ListUserModsParams object with the ability to set a context for a request.

func NewListUserModsParamsWithHTTPClient

func NewListUserModsParamsWithHTTPClient(client *http.Client) *ListUserModsParams

NewListUserModsParamsWithHTTPClient creates a new ListUserModsParams object with the ability to set a custom HTTPClient for a request.

func NewListUserModsParamsWithTimeout

func NewListUserModsParamsWithTimeout(timeout time.Duration) *ListUserModsParams

NewListUserModsParamsWithTimeout creates a new ListUserModsParams object with the ability to set a timeout on a request.

func (*ListUserModsParams) SetContext

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

SetContext adds the context to the list user mods params

func (*ListUserModsParams) SetDefaults

func (o *ListUserModsParams) SetDefaults()

SetDefaults hydrates default values in the list user mods params (not the query body).

All values with no default are reset to their zero value.

func (*ListUserModsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user mods params

func (*ListUserModsParams) SetTimeout

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

SetTimeout adds the timeout to the list user mods params

func (*ListUserModsParams) SetUserID

func (o *ListUserModsParams) SetUserID(userID string)

SetUserID adds the userId to the list user mods params

func (*ListUserModsParams) WithContext

WithContext adds the context to the list user mods params

func (*ListUserModsParams) WithDefaults

func (o *ListUserModsParams) WithDefaults() *ListUserModsParams

WithDefaults hydrates default values in the list user mods params (not the query body).

All values with no default are reset to their zero value.

func (*ListUserModsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user mods params

func (*ListUserModsParams) WithTimeout

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

WithTimeout adds the timeout to the list user mods params

func (*ListUserModsParams) WithUserID

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

WithUserID adds the userID to the list user mods params

func (*ListUserModsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUserModsReader

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

ListUserModsReader is a Reader for the ListUserMods structure.

func (*ListUserModsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserPacksDefault

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

ListUserPacksDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewListUserPacksDefault

func NewListUserPacksDefault(code int) *ListUserPacksDefault

NewListUserPacksDefault creates a ListUserPacksDefault with default headers values

func (*ListUserPacksDefault) Code

func (o *ListUserPacksDefault) Code() int

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

func (*ListUserPacksDefault) Error

func (o *ListUserPacksDefault) Error() string

func (*ListUserPacksDefault) GetPayload

func (o *ListUserPacksDefault) GetPayload() *models.GeneralError

func (*ListUserPacksDefault) IsClientError

func (o *ListUserPacksDefault) IsClientError() bool

IsClientError returns true when this list user packs default response has a 4xx status code

func (*ListUserPacksDefault) IsCode

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

IsCode returns true when this list user packs default response a status code equal to that given

func (*ListUserPacksDefault) IsRedirect

func (o *ListUserPacksDefault) IsRedirect() bool

IsRedirect returns true when this list user packs default response has a 3xx status code

func (*ListUserPacksDefault) IsServerError

func (o *ListUserPacksDefault) IsServerError() bool

IsServerError returns true when this list user packs default response has a 5xx status code

func (*ListUserPacksDefault) IsSuccess

func (o *ListUserPacksDefault) IsSuccess() bool

IsSuccess returns true when this list user packs default response has a 2xx status code

func (*ListUserPacksDefault) String

func (o *ListUserPacksDefault) String() string

type ListUserPacksForbidden

type ListUserPacksForbidden struct {
	Payload *models.GeneralError
}

ListUserPacksForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListUserPacksForbidden

func NewListUserPacksForbidden() *ListUserPacksForbidden

NewListUserPacksForbidden creates a ListUserPacksForbidden with default headers values

func (*ListUserPacksForbidden) Code

func (o *ListUserPacksForbidden) Code() int

Code gets the status code for the list user packs forbidden response

func (*ListUserPacksForbidden) Error

func (o *ListUserPacksForbidden) Error() string

func (*ListUserPacksForbidden) GetPayload

func (o *ListUserPacksForbidden) GetPayload() *models.GeneralError

func (*ListUserPacksForbidden) IsClientError

func (o *ListUserPacksForbidden) IsClientError() bool

IsClientError returns true when this list user packs forbidden response has a 4xx status code

func (*ListUserPacksForbidden) IsCode

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

IsCode returns true when this list user packs forbidden response a status code equal to that given

func (*ListUserPacksForbidden) IsRedirect

func (o *ListUserPacksForbidden) IsRedirect() bool

IsRedirect returns true when this list user packs forbidden response has a 3xx status code

func (*ListUserPacksForbidden) IsServerError

func (o *ListUserPacksForbidden) IsServerError() bool

IsServerError returns true when this list user packs forbidden response has a 5xx status code

func (*ListUserPacksForbidden) IsSuccess

func (o *ListUserPacksForbidden) IsSuccess() bool

IsSuccess returns true when this list user packs forbidden response has a 2xx status code

func (*ListUserPacksForbidden) String

func (o *ListUserPacksForbidden) String() string

type ListUserPacksNotFound

type ListUserPacksNotFound struct {
	Payload *models.GeneralError
}

ListUserPacksNotFound describes a response with status code 404, with default header values.

User not found

func NewListUserPacksNotFound

func NewListUserPacksNotFound() *ListUserPacksNotFound

NewListUserPacksNotFound creates a ListUserPacksNotFound with default headers values

func (*ListUserPacksNotFound) Code

func (o *ListUserPacksNotFound) Code() int

Code gets the status code for the list user packs not found response

func (*ListUserPacksNotFound) Error

func (o *ListUserPacksNotFound) Error() string

func (*ListUserPacksNotFound) GetPayload

func (o *ListUserPacksNotFound) GetPayload() *models.GeneralError

func (*ListUserPacksNotFound) IsClientError

func (o *ListUserPacksNotFound) IsClientError() bool

IsClientError returns true when this list user packs not found response has a 4xx status code

func (*ListUserPacksNotFound) IsCode

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

IsCode returns true when this list user packs not found response a status code equal to that given

func (*ListUserPacksNotFound) IsRedirect

func (o *ListUserPacksNotFound) IsRedirect() bool

IsRedirect returns true when this list user packs not found response has a 3xx status code

func (*ListUserPacksNotFound) IsServerError

func (o *ListUserPacksNotFound) IsServerError() bool

IsServerError returns true when this list user packs not found response has a 5xx status code

func (*ListUserPacksNotFound) IsSuccess

func (o *ListUserPacksNotFound) IsSuccess() bool

IsSuccess returns true when this list user packs not found response has a 2xx status code

func (*ListUserPacksNotFound) String

func (o *ListUserPacksNotFound) String() string

type ListUserPacksOK

type ListUserPacksOK struct {
	Payload *models.UserPacks
}

ListUserPacksOK describes a response with status code 200, with default header values.

A collection of team packs

func NewListUserPacksOK

func NewListUserPacksOK() *ListUserPacksOK

NewListUserPacksOK creates a ListUserPacksOK with default headers values

func (*ListUserPacksOK) Code

func (o *ListUserPacksOK) Code() int

Code gets the status code for the list user packs o k response

func (*ListUserPacksOK) Error

func (o *ListUserPacksOK) Error() string

func (*ListUserPacksOK) GetPayload

func (o *ListUserPacksOK) GetPayload() *models.UserPacks

func (*ListUserPacksOK) IsClientError

func (o *ListUserPacksOK) IsClientError() bool

IsClientError returns true when this list user packs o k response has a 4xx status code

func (*ListUserPacksOK) IsCode

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

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

func (*ListUserPacksOK) IsRedirect

func (o *ListUserPacksOK) IsRedirect() bool

IsRedirect returns true when this list user packs o k response has a 3xx status code

func (*ListUserPacksOK) IsServerError

func (o *ListUserPacksOK) IsServerError() bool

IsServerError returns true when this list user packs o k response has a 5xx status code

func (*ListUserPacksOK) IsSuccess

func (o *ListUserPacksOK) IsSuccess() bool

IsSuccess returns true when this list user packs o k response has a 2xx status code

func (*ListUserPacksOK) String

func (o *ListUserPacksOK) String() string

type ListUserPacksParams

type ListUserPacksParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

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

ListUserPacksParams contains all the parameters to send to the API endpoint

for the list user packs operation.

Typically these are written to a http.Request.

func NewListUserPacksParams

func NewListUserPacksParams() *ListUserPacksParams

NewListUserPacksParams creates a new ListUserPacksParams 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 NewListUserPacksParamsWithContext

func NewListUserPacksParamsWithContext(ctx context.Context) *ListUserPacksParams

NewListUserPacksParamsWithContext creates a new ListUserPacksParams object with the ability to set a context for a request.

func NewListUserPacksParamsWithHTTPClient

func NewListUserPacksParamsWithHTTPClient(client *http.Client) *ListUserPacksParams

NewListUserPacksParamsWithHTTPClient creates a new ListUserPacksParams object with the ability to set a custom HTTPClient for a request.

func NewListUserPacksParamsWithTimeout

func NewListUserPacksParamsWithTimeout(timeout time.Duration) *ListUserPacksParams

NewListUserPacksParamsWithTimeout creates a new ListUserPacksParams object with the ability to set a timeout on a request.

func (*ListUserPacksParams) SetContext

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

SetContext adds the context to the list user packs params

func (*ListUserPacksParams) SetDefaults

func (o *ListUserPacksParams) SetDefaults()

SetDefaults hydrates default values in the list user packs params (not the query body).

All values with no default are reset to their zero value.

func (*ListUserPacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user packs params

func (*ListUserPacksParams) SetTimeout

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

SetTimeout adds the timeout to the list user packs params

func (*ListUserPacksParams) SetUserID

func (o *ListUserPacksParams) SetUserID(userID string)

SetUserID adds the userId to the list user packs params

func (*ListUserPacksParams) WithContext

WithContext adds the context to the list user packs params

func (*ListUserPacksParams) WithDefaults

func (o *ListUserPacksParams) WithDefaults() *ListUserPacksParams

WithDefaults hydrates default values in the list user packs params (not the query body).

All values with no default are reset to their zero value.

func (*ListUserPacksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user packs params

func (*ListUserPacksParams) WithTimeout

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

WithTimeout adds the timeout to the list user packs params

func (*ListUserPacksParams) WithUserID

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

WithUserID adds the userID to the list user packs params

func (*ListUserPacksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUserPacksReader

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

ListUserPacksReader is a Reader for the ListUserPacks structure.

func (*ListUserPacksReader) ReadResponse

func (o *ListUserPacksReader) 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 describes a response with status code -1, 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

func (*ListUserTeamsDefault) GetPayload

func (o *ListUserTeamsDefault) GetPayload() *models.GeneralError

func (*ListUserTeamsDefault) IsClientError

func (o *ListUserTeamsDefault) IsClientError() bool

IsClientError returns true when this list user teams default response has a 4xx status code

func (*ListUserTeamsDefault) IsCode

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

IsCode returns true when this list user teams default response a status code equal to that given

func (*ListUserTeamsDefault) IsRedirect

func (o *ListUserTeamsDefault) IsRedirect() bool

IsRedirect returns true when this list user teams default response has a 3xx status code

func (*ListUserTeamsDefault) IsServerError

func (o *ListUserTeamsDefault) IsServerError() bool

IsServerError returns true when this list user teams default response has a 5xx status code

func (*ListUserTeamsDefault) IsSuccess

func (o *ListUserTeamsDefault) IsSuccess() bool

IsSuccess returns true when this list user teams default response has a 2xx status code

func (*ListUserTeamsDefault) String

func (o *ListUserTeamsDefault) String() string

type ListUserTeamsForbidden

type ListUserTeamsForbidden struct {
	Payload *models.GeneralError
}

ListUserTeamsForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListUserTeamsForbidden

func NewListUserTeamsForbidden() *ListUserTeamsForbidden

NewListUserTeamsForbidden creates a ListUserTeamsForbidden with default headers values

func (*ListUserTeamsForbidden) Code

func (o *ListUserTeamsForbidden) Code() int

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

func (*ListUserTeamsForbidden) Error

func (o *ListUserTeamsForbidden) Error() string

func (*ListUserTeamsForbidden) GetPayload

func (o *ListUserTeamsForbidden) GetPayload() *models.GeneralError

func (*ListUserTeamsForbidden) IsClientError

func (o *ListUserTeamsForbidden) IsClientError() bool

IsClientError returns true when this list user teams forbidden response has a 4xx status code

func (*ListUserTeamsForbidden) IsCode

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

IsCode returns true when this list user teams forbidden response a status code equal to that given

func (*ListUserTeamsForbidden) IsRedirect

func (o *ListUserTeamsForbidden) IsRedirect() bool

IsRedirect returns true when this list user teams forbidden response has a 3xx status code

func (*ListUserTeamsForbidden) IsServerError

func (o *ListUserTeamsForbidden) IsServerError() bool

IsServerError returns true when this list user teams forbidden response has a 5xx status code

func (*ListUserTeamsForbidden) IsSuccess

func (o *ListUserTeamsForbidden) IsSuccess() bool

IsSuccess returns true when this list user teams forbidden response has a 2xx status code

func (*ListUserTeamsForbidden) String

func (o *ListUserTeamsForbidden) String() string

type ListUserTeamsNotFound

type ListUserTeamsNotFound struct {
	Payload *models.GeneralError
}

ListUserTeamsNotFound describes a response with status code 404, with default header values.

User not found

func NewListUserTeamsNotFound

func NewListUserTeamsNotFound() *ListUserTeamsNotFound

NewListUserTeamsNotFound creates a ListUserTeamsNotFound with default headers values

func (*ListUserTeamsNotFound) Code

func (o *ListUserTeamsNotFound) Code() int

Code gets the status code for the list user teams not found response

func (*ListUserTeamsNotFound) Error

func (o *ListUserTeamsNotFound) Error() string

func (*ListUserTeamsNotFound) GetPayload

func (o *ListUserTeamsNotFound) GetPayload() *models.GeneralError

func (*ListUserTeamsNotFound) IsClientError

func (o *ListUserTeamsNotFound) IsClientError() bool

IsClientError returns true when this list user teams not found response has a 4xx status code

func (*ListUserTeamsNotFound) IsCode

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

IsCode returns true when this list user teams not found response a status code equal to that given

func (*ListUserTeamsNotFound) IsRedirect

func (o *ListUserTeamsNotFound) IsRedirect() bool

IsRedirect returns true when this list user teams not found response has a 3xx status code

func (*ListUserTeamsNotFound) IsServerError

func (o *ListUserTeamsNotFound) IsServerError() bool

IsServerError returns true when this list user teams not found response has a 5xx status code

func (*ListUserTeamsNotFound) IsSuccess

func (o *ListUserTeamsNotFound) IsSuccess() bool

IsSuccess returns true when this list user teams not found response has a 2xx status code

func (*ListUserTeamsNotFound) String

func (o *ListUserTeamsNotFound) String() string

type ListUserTeamsOK

type ListUserTeamsOK struct {
	Payload *models.UserTeams
}

ListUserTeamsOK describes a response with status code 200, with default header values.

A collection of user teams

func NewListUserTeamsOK

func NewListUserTeamsOK() *ListUserTeamsOK

NewListUserTeamsOK creates a ListUserTeamsOK with default headers values

func (*ListUserTeamsOK) Code

func (o *ListUserTeamsOK) Code() int

Code gets the status code for the list user teams o k response

func (*ListUserTeamsOK) Error

func (o *ListUserTeamsOK) Error() string

func (*ListUserTeamsOK) GetPayload

func (o *ListUserTeamsOK) GetPayload() *models.UserTeams

func (*ListUserTeamsOK) IsClientError

func (o *ListUserTeamsOK) IsClientError() bool

IsClientError returns true when this list user teams o k response has a 4xx status code

func (*ListUserTeamsOK) IsCode

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

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

func (*ListUserTeamsOK) IsRedirect

func (o *ListUserTeamsOK) IsRedirect() bool

IsRedirect returns true when this list user teams o k response has a 3xx status code

func (*ListUserTeamsOK) IsServerError

func (o *ListUserTeamsOK) IsServerError() bool

IsServerError returns true when this list user teams o k response has a 5xx status code

func (*ListUserTeamsOK) IsSuccess

func (o *ListUserTeamsOK) IsSuccess() bool

IsSuccess returns true when this list user teams o k response has a 2xx status code

func (*ListUserTeamsOK) String

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

func NewListUserTeamsParamsWithContext(ctx context.Context) *ListUserTeamsParams

NewListUserTeamsParamsWithContext creates a new ListUserTeamsParams object with 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 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 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) SetDefaults

func (o *ListUserTeamsParams) SetDefaults()

SetDefaults hydrates default values in the list user teams params (not the query body).

All values with no default are reset to their zero value.

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

func (o *ListUserTeamsParams) WithDefaults() *ListUserTeamsParams

WithDefaults hydrates default values in the list user teams params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code -1, 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

func (*ListUsersDefault) GetPayload

func (o *ListUsersDefault) GetPayload() *models.GeneralError

func (*ListUsersDefault) IsClientError

func (o *ListUsersDefault) IsClientError() bool

IsClientError returns true when this list users default response has a 4xx status code

func (*ListUsersDefault) IsCode

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

IsCode returns true when this list users default response a status code equal to that given

func (*ListUsersDefault) IsRedirect

func (o *ListUsersDefault) IsRedirect() bool

IsRedirect returns true when this list users default response has a 3xx status code

func (*ListUsersDefault) IsServerError

func (o *ListUsersDefault) IsServerError() bool

IsServerError returns true when this list users default response has a 5xx status code

func (*ListUsersDefault) IsSuccess

func (o *ListUsersDefault) IsSuccess() bool

IsSuccess returns true when this list users default response has a 2xx status code

func (*ListUsersDefault) String

func (o *ListUsersDefault) String() string

type ListUsersForbidden

type ListUsersForbidden struct {
	Payload *models.GeneralError
}

ListUsersForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewListUsersForbidden

func NewListUsersForbidden() *ListUsersForbidden

NewListUsersForbidden creates a ListUsersForbidden with default headers values

func (*ListUsersForbidden) Code

func (o *ListUsersForbidden) Code() int

Code gets the status code for the list users forbidden response

func (*ListUsersForbidden) Error

func (o *ListUsersForbidden) Error() string

func (*ListUsersForbidden) GetPayload

func (o *ListUsersForbidden) GetPayload() *models.GeneralError

func (*ListUsersForbidden) IsClientError

func (o *ListUsersForbidden) IsClientError() bool

IsClientError returns true when this list users forbidden response has a 4xx status code

func (*ListUsersForbidden) IsCode

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

IsCode returns true when this list users forbidden response a status code equal to that given

func (*ListUsersForbidden) IsRedirect

func (o *ListUsersForbidden) IsRedirect() bool

IsRedirect returns true when this list users forbidden response has a 3xx status code

func (*ListUsersForbidden) IsServerError

func (o *ListUsersForbidden) IsServerError() bool

IsServerError returns true when this list users forbidden response has a 5xx status code

func (*ListUsersForbidden) IsSuccess

func (o *ListUsersForbidden) IsSuccess() bool

IsSuccess returns true when this list users forbidden response has a 2xx status code

func (*ListUsersForbidden) String

func (o *ListUsersForbidden) String() string

type ListUsersOK

type ListUsersOK struct {
	Payload *models.Users
}

ListUsersOK describes a response with status code 200, with default header values.

A collection of users

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates a ListUsersOK with default headers values

func (*ListUsersOK) Code

func (o *ListUsersOK) Code() int

Code gets the status code for the list users o k response

func (*ListUsersOK) Error

func (o *ListUsersOK) Error() string

func (*ListUsersOK) GetPayload

func (o *ListUsersOK) GetPayload() *models.Users

func (*ListUsersOK) IsClientError

func (o *ListUsersOK) IsClientError() bool

IsClientError returns true when this list users o k response has a 4xx status code

func (*ListUsersOK) IsCode

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

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

func (*ListUsersOK) IsRedirect

func (o *ListUsersOK) IsRedirect() bool

IsRedirect returns true when this list users o k response has a 3xx status code

func (*ListUsersOK) IsServerError

func (o *ListUsersOK) IsServerError() bool

IsServerError returns true when this list users o k response has a 5xx status code

func (*ListUsersOK) IsSuccess

func (o *ListUsersOK) IsSuccess() bool

IsSuccess returns true when this list users o k response has a 2xx status code

func (*ListUsersOK) String

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

func NewListUsersParamsWithContext(ctx context.Context) *ListUsersParams

NewListUsersParamsWithContext creates a new ListUsersParams object with 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 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 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) SetDefaults

func (o *ListUsersParams) SetDefaults()

SetDefaults hydrates default values in the list users params (not the query body).

All values with no default are reset to their zero value.

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

func (o *ListUsersParams) WithDefaults() *ListUsersParams

WithDefaults hydrates default values in the list users params (not the query body).

All values with no default are reset to their zero value.

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 PermitUserModDefault

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

PermitUserModDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewPermitUserModDefault

func NewPermitUserModDefault(code int) *PermitUserModDefault

NewPermitUserModDefault creates a PermitUserModDefault with default headers values

func (*PermitUserModDefault) Code

func (o *PermitUserModDefault) Code() int

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

func (*PermitUserModDefault) Error

func (o *PermitUserModDefault) Error() string

func (*PermitUserModDefault) GetPayload

func (o *PermitUserModDefault) GetPayload() *models.GeneralError

func (*PermitUserModDefault) IsClientError

func (o *PermitUserModDefault) IsClientError() bool

IsClientError returns true when this permit user mod default response has a 4xx status code

func (*PermitUserModDefault) IsCode

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

IsCode returns true when this permit user mod default response a status code equal to that given

func (*PermitUserModDefault) IsRedirect

func (o *PermitUserModDefault) IsRedirect() bool

IsRedirect returns true when this permit user mod default response has a 3xx status code

func (*PermitUserModDefault) IsServerError

func (o *PermitUserModDefault) IsServerError() bool

IsServerError returns true when this permit user mod default response has a 5xx status code

func (*PermitUserModDefault) IsSuccess

func (o *PermitUserModDefault) IsSuccess() bool

IsSuccess returns true when this permit user mod default response has a 2xx status code

func (*PermitUserModDefault) String

func (o *PermitUserModDefault) String() string

type PermitUserModForbidden

type PermitUserModForbidden struct {
	Payload *models.GeneralError
}

PermitUserModForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewPermitUserModForbidden

func NewPermitUserModForbidden() *PermitUserModForbidden

NewPermitUserModForbidden creates a PermitUserModForbidden with default headers values

func (*PermitUserModForbidden) Code

func (o *PermitUserModForbidden) Code() int

Code gets the status code for the permit user mod forbidden response

func (*PermitUserModForbidden) Error

func (o *PermitUserModForbidden) Error() string

func (*PermitUserModForbidden) GetPayload

func (o *PermitUserModForbidden) GetPayload() *models.GeneralError

func (*PermitUserModForbidden) IsClientError

func (o *PermitUserModForbidden) IsClientError() bool

IsClientError returns true when this permit user mod forbidden response has a 4xx status code

func (*PermitUserModForbidden) IsCode

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

IsCode returns true when this permit user mod forbidden response a status code equal to that given

func (*PermitUserModForbidden) IsRedirect

func (o *PermitUserModForbidden) IsRedirect() bool

IsRedirect returns true when this permit user mod forbidden response has a 3xx status code

func (*PermitUserModForbidden) IsServerError

func (o *PermitUserModForbidden) IsServerError() bool

IsServerError returns true when this permit user mod forbidden response has a 5xx status code

func (*PermitUserModForbidden) IsSuccess

func (o *PermitUserModForbidden) IsSuccess() bool

IsSuccess returns true when this permit user mod forbidden response has a 2xx status code

func (*PermitUserModForbidden) String

func (o *PermitUserModForbidden) String() string

type PermitUserModNotFound

type PermitUserModNotFound struct {
	Payload *models.GeneralError
}

PermitUserModNotFound describes a response with status code 404, with default header values.

User or mod not found

func NewPermitUserModNotFound

func NewPermitUserModNotFound() *PermitUserModNotFound

NewPermitUserModNotFound creates a PermitUserModNotFound with default headers values

func (*PermitUserModNotFound) Code

func (o *PermitUserModNotFound) Code() int

Code gets the status code for the permit user mod not found response

func (*PermitUserModNotFound) Error

func (o *PermitUserModNotFound) Error() string

func (*PermitUserModNotFound) GetPayload

func (o *PermitUserModNotFound) GetPayload() *models.GeneralError

func (*PermitUserModNotFound) IsClientError

func (o *PermitUserModNotFound) IsClientError() bool

IsClientError returns true when this permit user mod not found response has a 4xx status code

func (*PermitUserModNotFound) IsCode

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

IsCode returns true when this permit user mod not found response a status code equal to that given

func (*PermitUserModNotFound) IsRedirect

func (o *PermitUserModNotFound) IsRedirect() bool

IsRedirect returns true when this permit user mod not found response has a 3xx status code

func (*PermitUserModNotFound) IsServerError

func (o *PermitUserModNotFound) IsServerError() bool

IsServerError returns true when this permit user mod not found response has a 5xx status code

func (*PermitUserModNotFound) IsSuccess

func (o *PermitUserModNotFound) IsSuccess() bool

IsSuccess returns true when this permit user mod not found response has a 2xx status code

func (*PermitUserModNotFound) String

func (o *PermitUserModNotFound) String() string

type PermitUserModOK

type PermitUserModOK struct {
	Payload *models.GeneralError
}

PermitUserModOK describes a response with status code 200, with default header values.

Plain success message

func NewPermitUserModOK

func NewPermitUserModOK() *PermitUserModOK

NewPermitUserModOK creates a PermitUserModOK with default headers values

func (*PermitUserModOK) Code

func (o *PermitUserModOK) Code() int

Code gets the status code for the permit user mod o k response

func (*PermitUserModOK) Error

func (o *PermitUserModOK) Error() string

func (*PermitUserModOK) GetPayload

func (o *PermitUserModOK) GetPayload() *models.GeneralError

func (*PermitUserModOK) IsClientError

func (o *PermitUserModOK) IsClientError() bool

IsClientError returns true when this permit user mod o k response has a 4xx status code

func (*PermitUserModOK) IsCode

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

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

func (*PermitUserModOK) IsRedirect

func (o *PermitUserModOK) IsRedirect() bool

IsRedirect returns true when this permit user mod o k response has a 3xx status code

func (*PermitUserModOK) IsServerError

func (o *PermitUserModOK) IsServerError() bool

IsServerError returns true when this permit user mod o k response has a 5xx status code

func (*PermitUserModOK) IsSuccess

func (o *PermitUserModOK) IsSuccess() bool

IsSuccess returns true when this permit user mod o k response has a 2xx status code

func (*PermitUserModOK) String

func (o *PermitUserModOK) String() string

type PermitUserModParams

type PermitUserModParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserMod.

	   The user mod data to update
	*/
	UserMod *models.UserModParams

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

PermitUserModParams contains all the parameters to send to the API endpoint

for the permit user mod operation.

Typically these are written to a http.Request.

func NewPermitUserModParams

func NewPermitUserModParams() *PermitUserModParams

NewPermitUserModParams creates a new PermitUserModParams 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 NewPermitUserModParamsWithContext

func NewPermitUserModParamsWithContext(ctx context.Context) *PermitUserModParams

NewPermitUserModParamsWithContext creates a new PermitUserModParams object with the ability to set a context for a request.

func NewPermitUserModParamsWithHTTPClient

func NewPermitUserModParamsWithHTTPClient(client *http.Client) *PermitUserModParams

NewPermitUserModParamsWithHTTPClient creates a new PermitUserModParams object with the ability to set a custom HTTPClient for a request.

func NewPermitUserModParamsWithTimeout

func NewPermitUserModParamsWithTimeout(timeout time.Duration) *PermitUserModParams

NewPermitUserModParamsWithTimeout creates a new PermitUserModParams object with the ability to set a timeout on a request.

func (*PermitUserModParams) SetContext

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

SetContext adds the context to the permit user mod params

func (*PermitUserModParams) SetDefaults

func (o *PermitUserModParams) SetDefaults()

SetDefaults hydrates default values in the permit user mod params (not the query body).

All values with no default are reset to their zero value.

func (*PermitUserModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit user mod params

func (*PermitUserModParams) SetTimeout

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

SetTimeout adds the timeout to the permit user mod params

func (*PermitUserModParams) SetUserID

func (o *PermitUserModParams) SetUserID(userID string)

SetUserID adds the userId to the permit user mod params

func (*PermitUserModParams) SetUserMod

func (o *PermitUserModParams) SetUserMod(userMod *models.UserModParams)

SetUserMod adds the userMod to the permit user mod params

func (*PermitUserModParams) WithContext

WithContext adds the context to the permit user mod params

func (*PermitUserModParams) WithDefaults

func (o *PermitUserModParams) WithDefaults() *PermitUserModParams

WithDefaults hydrates default values in the permit user mod params (not the query body).

All values with no default are reset to their zero value.

func (*PermitUserModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit user mod params

func (*PermitUserModParams) WithTimeout

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

WithTimeout adds the timeout to the permit user mod params

func (*PermitUserModParams) WithUserID

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

WithUserID adds the userID to the permit user mod params

func (*PermitUserModParams) WithUserMod

func (o *PermitUserModParams) WithUserMod(userMod *models.UserModParams) *PermitUserModParams

WithUserMod adds the userMod to the permit user mod params

func (*PermitUserModParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitUserModPreconditionFailed

type PermitUserModPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitUserModPreconditionFailed describes a response with status code 412, with default header values.

Mod is not assigned

func NewPermitUserModPreconditionFailed

func NewPermitUserModPreconditionFailed() *PermitUserModPreconditionFailed

NewPermitUserModPreconditionFailed creates a PermitUserModPreconditionFailed with default headers values

func (*PermitUserModPreconditionFailed) Code

Code gets the status code for the permit user mod precondition failed response

func (*PermitUserModPreconditionFailed) Error

func (*PermitUserModPreconditionFailed) GetPayload

func (*PermitUserModPreconditionFailed) IsClientError

func (o *PermitUserModPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit user mod precondition failed response has a 4xx status code

func (*PermitUserModPreconditionFailed) IsCode

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

IsCode returns true when this permit user mod precondition failed response a status code equal to that given

func (*PermitUserModPreconditionFailed) IsRedirect

func (o *PermitUserModPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit user mod precondition failed response has a 3xx status code

func (*PermitUserModPreconditionFailed) IsServerError

func (o *PermitUserModPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit user mod precondition failed response has a 5xx status code

func (*PermitUserModPreconditionFailed) IsSuccess

func (o *PermitUserModPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit user mod precondition failed response has a 2xx status code

func (*PermitUserModPreconditionFailed) String

type PermitUserModReader

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

PermitUserModReader is a Reader for the PermitUserMod structure.

func (*PermitUserModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitUserModUnprocessableEntity

type PermitUserModUnprocessableEntity struct {
	Payload *models.ValidationError
}

PermitUserModUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitUserModUnprocessableEntity

func NewPermitUserModUnprocessableEntity() *PermitUserModUnprocessableEntity

NewPermitUserModUnprocessableEntity creates a PermitUserModUnprocessableEntity with default headers values

func (*PermitUserModUnprocessableEntity) Code

Code gets the status code for the permit user mod unprocessable entity response

func (*PermitUserModUnprocessableEntity) Error

func (*PermitUserModUnprocessableEntity) GetPayload

func (*PermitUserModUnprocessableEntity) IsClientError

func (o *PermitUserModUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit user mod unprocessable entity response has a 4xx status code

func (*PermitUserModUnprocessableEntity) IsCode

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

IsCode returns true when this permit user mod unprocessable entity response a status code equal to that given

func (*PermitUserModUnprocessableEntity) IsRedirect

func (o *PermitUserModUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit user mod unprocessable entity response has a 3xx status code

func (*PermitUserModUnprocessableEntity) IsServerError

func (o *PermitUserModUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit user mod unprocessable entity response has a 5xx status code

func (*PermitUserModUnprocessableEntity) IsSuccess

func (o *PermitUserModUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit user mod unprocessable entity response has a 2xx status code

func (*PermitUserModUnprocessableEntity) String

type PermitUserPackDefault

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

PermitUserPackDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewPermitUserPackDefault

func NewPermitUserPackDefault(code int) *PermitUserPackDefault

NewPermitUserPackDefault creates a PermitUserPackDefault with default headers values

func (*PermitUserPackDefault) Code

func (o *PermitUserPackDefault) Code() int

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

func (*PermitUserPackDefault) Error

func (o *PermitUserPackDefault) Error() string

func (*PermitUserPackDefault) GetPayload

func (o *PermitUserPackDefault) GetPayload() *models.GeneralError

func (*PermitUserPackDefault) IsClientError

func (o *PermitUserPackDefault) IsClientError() bool

IsClientError returns true when this permit user pack default response has a 4xx status code

func (*PermitUserPackDefault) IsCode

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

IsCode returns true when this permit user pack default response a status code equal to that given

func (*PermitUserPackDefault) IsRedirect

func (o *PermitUserPackDefault) IsRedirect() bool

IsRedirect returns true when this permit user pack default response has a 3xx status code

func (*PermitUserPackDefault) IsServerError

func (o *PermitUserPackDefault) IsServerError() bool

IsServerError returns true when this permit user pack default response has a 5xx status code

func (*PermitUserPackDefault) IsSuccess

func (o *PermitUserPackDefault) IsSuccess() bool

IsSuccess returns true when this permit user pack default response has a 2xx status code

func (*PermitUserPackDefault) String

func (o *PermitUserPackDefault) String() string

type PermitUserPackForbidden

type PermitUserPackForbidden struct {
	Payload *models.GeneralError
}

PermitUserPackForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewPermitUserPackForbidden

func NewPermitUserPackForbidden() *PermitUserPackForbidden

NewPermitUserPackForbidden creates a PermitUserPackForbidden with default headers values

func (*PermitUserPackForbidden) Code

func (o *PermitUserPackForbidden) Code() int

Code gets the status code for the permit user pack forbidden response

func (*PermitUserPackForbidden) Error

func (o *PermitUserPackForbidden) Error() string

func (*PermitUserPackForbidden) GetPayload

func (o *PermitUserPackForbidden) GetPayload() *models.GeneralError

func (*PermitUserPackForbidden) IsClientError

func (o *PermitUserPackForbidden) IsClientError() bool

IsClientError returns true when this permit user pack forbidden response has a 4xx status code

func (*PermitUserPackForbidden) IsCode

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

IsCode returns true when this permit user pack forbidden response a status code equal to that given

func (*PermitUserPackForbidden) IsRedirect

func (o *PermitUserPackForbidden) IsRedirect() bool

IsRedirect returns true when this permit user pack forbidden response has a 3xx status code

func (*PermitUserPackForbidden) IsServerError

func (o *PermitUserPackForbidden) IsServerError() bool

IsServerError returns true when this permit user pack forbidden response has a 5xx status code

func (*PermitUserPackForbidden) IsSuccess

func (o *PermitUserPackForbidden) IsSuccess() bool

IsSuccess returns true when this permit user pack forbidden response has a 2xx status code

func (*PermitUserPackForbidden) String

func (o *PermitUserPackForbidden) String() string

type PermitUserPackNotFound

type PermitUserPackNotFound struct {
	Payload *models.GeneralError
}

PermitUserPackNotFound describes a response with status code 404, with default header values.

User or pack not found

func NewPermitUserPackNotFound

func NewPermitUserPackNotFound() *PermitUserPackNotFound

NewPermitUserPackNotFound creates a PermitUserPackNotFound with default headers values

func (*PermitUserPackNotFound) Code

func (o *PermitUserPackNotFound) Code() int

Code gets the status code for the permit user pack not found response

func (*PermitUserPackNotFound) Error

func (o *PermitUserPackNotFound) Error() string

func (*PermitUserPackNotFound) GetPayload

func (o *PermitUserPackNotFound) GetPayload() *models.GeneralError

func (*PermitUserPackNotFound) IsClientError

func (o *PermitUserPackNotFound) IsClientError() bool

IsClientError returns true when this permit user pack not found response has a 4xx status code

func (*PermitUserPackNotFound) IsCode

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

IsCode returns true when this permit user pack not found response a status code equal to that given

func (*PermitUserPackNotFound) IsRedirect

func (o *PermitUserPackNotFound) IsRedirect() bool

IsRedirect returns true when this permit user pack not found response has a 3xx status code

func (*PermitUserPackNotFound) IsServerError

func (o *PermitUserPackNotFound) IsServerError() bool

IsServerError returns true when this permit user pack not found response has a 5xx status code

func (*PermitUserPackNotFound) IsSuccess

func (o *PermitUserPackNotFound) IsSuccess() bool

IsSuccess returns true when this permit user pack not found response has a 2xx status code

func (*PermitUserPackNotFound) String

func (o *PermitUserPackNotFound) String() string

type PermitUserPackOK

type PermitUserPackOK struct {
	Payload *models.GeneralError
}

PermitUserPackOK describes a response with status code 200, with default header values.

Plain success message

func NewPermitUserPackOK

func NewPermitUserPackOK() *PermitUserPackOK

NewPermitUserPackOK creates a PermitUserPackOK with default headers values

func (*PermitUserPackOK) Code

func (o *PermitUserPackOK) Code() int

Code gets the status code for the permit user pack o k response

func (*PermitUserPackOK) Error

func (o *PermitUserPackOK) Error() string

func (*PermitUserPackOK) GetPayload

func (o *PermitUserPackOK) GetPayload() *models.GeneralError

func (*PermitUserPackOK) IsClientError

func (o *PermitUserPackOK) IsClientError() bool

IsClientError returns true when this permit user pack o k response has a 4xx status code

func (*PermitUserPackOK) IsCode

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

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

func (*PermitUserPackOK) IsRedirect

func (o *PermitUserPackOK) IsRedirect() bool

IsRedirect returns true when this permit user pack o k response has a 3xx status code

func (*PermitUserPackOK) IsServerError

func (o *PermitUserPackOK) IsServerError() bool

IsServerError returns true when this permit user pack o k response has a 5xx status code

func (*PermitUserPackOK) IsSuccess

func (o *PermitUserPackOK) IsSuccess() bool

IsSuccess returns true when this permit user pack o k response has a 2xx status code

func (*PermitUserPackOK) String

func (o *PermitUserPackOK) String() string

type PermitUserPackParams

type PermitUserPackParams struct {

	/* UserID.

	   A user UUID or slug
	*/
	UserID string

	/* UserPack.

	   The user pack data to update
	*/
	UserPack *models.UserPackParams

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

PermitUserPackParams contains all the parameters to send to the API endpoint

for the permit user pack operation.

Typically these are written to a http.Request.

func NewPermitUserPackParams

func NewPermitUserPackParams() *PermitUserPackParams

NewPermitUserPackParams creates a new PermitUserPackParams 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 NewPermitUserPackParamsWithContext

func NewPermitUserPackParamsWithContext(ctx context.Context) *PermitUserPackParams

NewPermitUserPackParamsWithContext creates a new PermitUserPackParams object with the ability to set a context for a request.

func NewPermitUserPackParamsWithHTTPClient

func NewPermitUserPackParamsWithHTTPClient(client *http.Client) *PermitUserPackParams

NewPermitUserPackParamsWithHTTPClient creates a new PermitUserPackParams object with the ability to set a custom HTTPClient for a request.

func NewPermitUserPackParamsWithTimeout

func NewPermitUserPackParamsWithTimeout(timeout time.Duration) *PermitUserPackParams

NewPermitUserPackParamsWithTimeout creates a new PermitUserPackParams object with the ability to set a timeout on a request.

func (*PermitUserPackParams) SetContext

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

SetContext adds the context to the permit user pack params

func (*PermitUserPackParams) SetDefaults

func (o *PermitUserPackParams) SetDefaults()

SetDefaults hydrates default values in the permit user pack params (not the query body).

All values with no default are reset to their zero value.

func (*PermitUserPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit user pack params

func (*PermitUserPackParams) SetTimeout

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

SetTimeout adds the timeout to the permit user pack params

func (*PermitUserPackParams) SetUserID

func (o *PermitUserPackParams) SetUserID(userID string)

SetUserID adds the userId to the permit user pack params

func (*PermitUserPackParams) SetUserPack

func (o *PermitUserPackParams) SetUserPack(userPack *models.UserPackParams)

SetUserPack adds the userPack to the permit user pack params

func (*PermitUserPackParams) WithContext

WithContext adds the context to the permit user pack params

func (*PermitUserPackParams) WithDefaults

func (o *PermitUserPackParams) WithDefaults() *PermitUserPackParams

WithDefaults hydrates default values in the permit user pack params (not the query body).

All values with no default are reset to their zero value.

func (*PermitUserPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit user pack params

func (*PermitUserPackParams) WithTimeout

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

WithTimeout adds the timeout to the permit user pack params

func (*PermitUserPackParams) WithUserID

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

WithUserID adds the userID to the permit user pack params

func (*PermitUserPackParams) WithUserPack

func (o *PermitUserPackParams) WithUserPack(userPack *models.UserPackParams) *PermitUserPackParams

WithUserPack adds the userPack to the permit user pack params

func (*PermitUserPackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitUserPackPreconditionFailed

type PermitUserPackPreconditionFailed struct {
	Payload *models.GeneralError
}

PermitUserPackPreconditionFailed describes a response with status code 412, with default header values.

Pack is not assigned

func NewPermitUserPackPreconditionFailed

func NewPermitUserPackPreconditionFailed() *PermitUserPackPreconditionFailed

NewPermitUserPackPreconditionFailed creates a PermitUserPackPreconditionFailed with default headers values

func (*PermitUserPackPreconditionFailed) Code

Code gets the status code for the permit user pack precondition failed response

func (*PermitUserPackPreconditionFailed) Error

func (*PermitUserPackPreconditionFailed) GetPayload

func (*PermitUserPackPreconditionFailed) IsClientError

func (o *PermitUserPackPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit user pack precondition failed response has a 4xx status code

func (*PermitUserPackPreconditionFailed) IsCode

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

IsCode returns true when this permit user pack precondition failed response a status code equal to that given

func (*PermitUserPackPreconditionFailed) IsRedirect

func (o *PermitUserPackPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit user pack precondition failed response has a 3xx status code

func (*PermitUserPackPreconditionFailed) IsServerError

func (o *PermitUserPackPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit user pack precondition failed response has a 5xx status code

func (*PermitUserPackPreconditionFailed) IsSuccess

func (o *PermitUserPackPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit user pack precondition failed response has a 2xx status code

func (*PermitUserPackPreconditionFailed) String

type PermitUserPackReader

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

PermitUserPackReader is a Reader for the PermitUserPack structure.

func (*PermitUserPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitUserPackUnprocessableEntity

type PermitUserPackUnprocessableEntity struct {
	Payload *models.ValidationError
}

PermitUserPackUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitUserPackUnprocessableEntity

func NewPermitUserPackUnprocessableEntity() *PermitUserPackUnprocessableEntity

NewPermitUserPackUnprocessableEntity creates a PermitUserPackUnprocessableEntity with default headers values

func (*PermitUserPackUnprocessableEntity) Code

Code gets the status code for the permit user pack unprocessable entity response

func (*PermitUserPackUnprocessableEntity) Error

func (*PermitUserPackUnprocessableEntity) GetPayload

func (*PermitUserPackUnprocessableEntity) IsClientError

func (o *PermitUserPackUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit user pack unprocessable entity response has a 4xx status code

func (*PermitUserPackUnprocessableEntity) IsCode

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

IsCode returns true when this permit user pack unprocessable entity response a status code equal to that given

func (*PermitUserPackUnprocessableEntity) IsRedirect

func (o *PermitUserPackUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit user pack unprocessable entity response has a 3xx status code

func (*PermitUserPackUnprocessableEntity) IsServerError

func (o *PermitUserPackUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit user pack unprocessable entity response has a 5xx status code

func (*PermitUserPackUnprocessableEntity) IsSuccess

func (o *PermitUserPackUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit user pack unprocessable entity response has a 2xx status code

func (*PermitUserPackUnprocessableEntity) String

type PermitUserTeamDefault

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

PermitUserTeamDefault describes a response with status code -1, 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

func (*PermitUserTeamDefault) GetPayload

func (o *PermitUserTeamDefault) GetPayload() *models.GeneralError

func (*PermitUserTeamDefault) IsClientError

func (o *PermitUserTeamDefault) IsClientError() bool

IsClientError returns true when this permit user team default response has a 4xx status code

func (*PermitUserTeamDefault) IsCode

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

IsCode returns true when this permit user team default response a status code equal to that given

func (*PermitUserTeamDefault) IsRedirect

func (o *PermitUserTeamDefault) IsRedirect() bool

IsRedirect returns true when this permit user team default response has a 3xx status code

func (*PermitUserTeamDefault) IsServerError

func (o *PermitUserTeamDefault) IsServerError() bool

IsServerError returns true when this permit user team default response has a 5xx status code

func (*PermitUserTeamDefault) IsSuccess

func (o *PermitUserTeamDefault) IsSuccess() bool

IsSuccess returns true when this permit user team default response has a 2xx status code

func (*PermitUserTeamDefault) String

func (o *PermitUserTeamDefault) String() string

type PermitUserTeamForbidden

type PermitUserTeamForbidden struct {
	Payload *models.GeneralError
}

PermitUserTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewPermitUserTeamForbidden

func NewPermitUserTeamForbidden() *PermitUserTeamForbidden

NewPermitUserTeamForbidden creates a PermitUserTeamForbidden with default headers values

func (*PermitUserTeamForbidden) Code

func (o *PermitUserTeamForbidden) Code() int

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

func (*PermitUserTeamForbidden) Error

func (o *PermitUserTeamForbidden) Error() string

func (*PermitUserTeamForbidden) GetPayload

func (o *PermitUserTeamForbidden) GetPayload() *models.GeneralError

func (*PermitUserTeamForbidden) IsClientError

func (o *PermitUserTeamForbidden) IsClientError() bool

IsClientError returns true when this permit user team forbidden response has a 4xx status code

func (*PermitUserTeamForbidden) IsCode

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

IsCode returns true when this permit user team forbidden response a status code equal to that given

func (*PermitUserTeamForbidden) IsRedirect

func (o *PermitUserTeamForbidden) IsRedirect() bool

IsRedirect returns true when this permit user team forbidden response has a 3xx status code

func (*PermitUserTeamForbidden) IsServerError

func (o *PermitUserTeamForbidden) IsServerError() bool

IsServerError returns true when this permit user team forbidden response has a 5xx status code

func (*PermitUserTeamForbidden) IsSuccess

func (o *PermitUserTeamForbidden) IsSuccess() bool

IsSuccess returns true when this permit user team forbidden response has a 2xx status code

func (*PermitUserTeamForbidden) String

func (o *PermitUserTeamForbidden) String() string

type PermitUserTeamNotFound

type PermitUserTeamNotFound struct {
	Payload *models.GeneralError
}

PermitUserTeamNotFound describes a response with status code 404, with default header values.

User or team not found

func NewPermitUserTeamNotFound

func NewPermitUserTeamNotFound() *PermitUserTeamNotFound

NewPermitUserTeamNotFound creates a PermitUserTeamNotFound with default headers values

func (*PermitUserTeamNotFound) Code

func (o *PermitUserTeamNotFound) Code() int

Code gets the status code for the permit user team not found response

func (*PermitUserTeamNotFound) Error

func (o *PermitUserTeamNotFound) Error() string

func (*PermitUserTeamNotFound) GetPayload

func (o *PermitUserTeamNotFound) GetPayload() *models.GeneralError

func (*PermitUserTeamNotFound) IsClientError

func (o *PermitUserTeamNotFound) IsClientError() bool

IsClientError returns true when this permit user team not found response has a 4xx status code

func (*PermitUserTeamNotFound) IsCode

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

IsCode returns true when this permit user team not found response a status code equal to that given

func (*PermitUserTeamNotFound) IsRedirect

func (o *PermitUserTeamNotFound) IsRedirect() bool

IsRedirect returns true when this permit user team not found response has a 3xx status code

func (*PermitUserTeamNotFound) IsServerError

func (o *PermitUserTeamNotFound) IsServerError() bool

IsServerError returns true when this permit user team not found response has a 5xx status code

func (*PermitUserTeamNotFound) IsSuccess

func (o *PermitUserTeamNotFound) IsSuccess() bool

IsSuccess returns true when this permit user team not found response has a 2xx status code

func (*PermitUserTeamNotFound) String

func (o *PermitUserTeamNotFound) String() string

type PermitUserTeamOK

type PermitUserTeamOK struct {
	Payload *models.GeneralError
}

PermitUserTeamOK describes a response with status code 200, with default header values.

Plain success message

func NewPermitUserTeamOK

func NewPermitUserTeamOK() *PermitUserTeamOK

NewPermitUserTeamOK creates a PermitUserTeamOK with default headers values

func (*PermitUserTeamOK) Code

func (o *PermitUserTeamOK) Code() int

Code gets the status code for the permit user team o k response

func (*PermitUserTeamOK) Error

func (o *PermitUserTeamOK) Error() string

func (*PermitUserTeamOK) GetPayload

func (o *PermitUserTeamOK) GetPayload() *models.GeneralError

func (*PermitUserTeamOK) IsClientError

func (o *PermitUserTeamOK) IsClientError() bool

IsClientError returns true when this permit user team o k response has a 4xx status code

func (*PermitUserTeamOK) IsCode

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

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

func (*PermitUserTeamOK) IsRedirect

func (o *PermitUserTeamOK) IsRedirect() bool

IsRedirect returns true when this permit user team o k response has a 3xx status code

func (*PermitUserTeamOK) IsServerError

func (o *PermitUserTeamOK) IsServerError() bool

IsServerError returns true when this permit user team o k response has a 5xx status code

func (*PermitUserTeamOK) IsSuccess

func (o *PermitUserTeamOK) IsSuccess() bool

IsSuccess returns true when this permit user team o k response has a 2xx status code

func (*PermitUserTeamOK) String

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

func NewPermitUserTeamParamsWithContext(ctx context.Context) *PermitUserTeamParams

NewPermitUserTeamParamsWithContext creates a new PermitUserTeamParams object with 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 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 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) SetDefaults

func (o *PermitUserTeamParams) SetDefaults()

SetDefaults hydrates default values in the permit user team params (not the query body).

All values with no default are reset to their zero value.

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

func (o *PermitUserTeamParams) WithDefaults() *PermitUserTeamParams

WithDefaults hydrates default values in the permit user team params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 412, with default header values.

Team is not attached

func NewPermitUserTeamPreconditionFailed

func NewPermitUserTeamPreconditionFailed() *PermitUserTeamPreconditionFailed

NewPermitUserTeamPreconditionFailed creates a PermitUserTeamPreconditionFailed with default headers values

func (*PermitUserTeamPreconditionFailed) Code

Code gets the status code for the permit user team precondition failed response

func (*PermitUserTeamPreconditionFailed) Error

func (*PermitUserTeamPreconditionFailed) GetPayload

func (*PermitUserTeamPreconditionFailed) IsClientError

func (o *PermitUserTeamPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit user team precondition failed response has a 4xx status code

func (*PermitUserTeamPreconditionFailed) IsCode

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

IsCode returns true when this permit user team precondition failed response a status code equal to that given

func (*PermitUserTeamPreconditionFailed) IsRedirect

func (o *PermitUserTeamPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit user team precondition failed response has a 3xx status code

func (*PermitUserTeamPreconditionFailed) IsServerError

func (o *PermitUserTeamPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit user team precondition failed response has a 5xx status code

func (*PermitUserTeamPreconditionFailed) IsSuccess

func (o *PermitUserTeamPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit user team precondition failed response has a 2xx status code

func (*PermitUserTeamPreconditionFailed) String

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.ValidationError
}

PermitUserTeamUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitUserTeamUnprocessableEntity

func NewPermitUserTeamUnprocessableEntity() *PermitUserTeamUnprocessableEntity

NewPermitUserTeamUnprocessableEntity creates a PermitUserTeamUnprocessableEntity with default headers values

func (*PermitUserTeamUnprocessableEntity) Code

Code gets the status code for the permit user team unprocessable entity response

func (*PermitUserTeamUnprocessableEntity) Error

func (*PermitUserTeamUnprocessableEntity) GetPayload

func (*PermitUserTeamUnprocessableEntity) IsClientError

func (o *PermitUserTeamUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit user team unprocessable entity response has a 4xx status code

func (*PermitUserTeamUnprocessableEntity) IsCode

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

IsCode returns true when this permit user team unprocessable entity response a status code equal to that given

func (*PermitUserTeamUnprocessableEntity) IsRedirect

func (o *PermitUserTeamUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit user team unprocessable entity response has a 3xx status code

func (*PermitUserTeamUnprocessableEntity) IsServerError

func (o *PermitUserTeamUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit user team unprocessable entity response has a 5xx status code

func (*PermitUserTeamUnprocessableEntity) IsSuccess

func (o *PermitUserTeamUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit user team unprocessable entity response has a 2xx status code

func (*PermitUserTeamUnprocessableEntity) String

type ShowUserDefault

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

ShowUserDefault describes a response with status code -1, 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

func (*ShowUserDefault) GetPayload

func (o *ShowUserDefault) GetPayload() *models.GeneralError

func (*ShowUserDefault) IsClientError

func (o *ShowUserDefault) IsClientError() bool

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

func (*ShowUserDefault) IsCode

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

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

func (*ShowUserDefault) IsRedirect

func (o *ShowUserDefault) IsRedirect() bool

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

func (*ShowUserDefault) IsServerError

func (o *ShowUserDefault) IsServerError() bool

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

func (*ShowUserDefault) IsSuccess

func (o *ShowUserDefault) IsSuccess() bool

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

func (*ShowUserDefault) String

func (o *ShowUserDefault) String() string

type ShowUserForbidden

type ShowUserForbidden struct {
	Payload *models.GeneralError
}

ShowUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewShowUserForbidden

func NewShowUserForbidden() *ShowUserForbidden

NewShowUserForbidden creates a ShowUserForbidden with default headers values

func (*ShowUserForbidden) Code

func (o *ShowUserForbidden) Code() int

Code gets the status code for the show user forbidden response

func (*ShowUserForbidden) Error

func (o *ShowUserForbidden) Error() string

func (*ShowUserForbidden) GetPayload

func (o *ShowUserForbidden) GetPayload() *models.GeneralError

func (*ShowUserForbidden) IsClientError

func (o *ShowUserForbidden) IsClientError() bool

IsClientError returns true when this show user forbidden response has a 4xx status code

func (*ShowUserForbidden) IsCode

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

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

func (*ShowUserForbidden) IsRedirect

func (o *ShowUserForbidden) IsRedirect() bool

IsRedirect returns true when this show user forbidden response has a 3xx status code

func (*ShowUserForbidden) IsServerError

func (o *ShowUserForbidden) IsServerError() bool

IsServerError returns true when this show user forbidden response has a 5xx status code

func (*ShowUserForbidden) IsSuccess

func (o *ShowUserForbidden) IsSuccess() bool

IsSuccess returns true when this show user forbidden response has a 2xx status code

func (*ShowUserForbidden) String

func (o *ShowUserForbidden) String() string

type ShowUserNotFound

type ShowUserNotFound struct {
	Payload *models.GeneralError
}

ShowUserNotFound describes a response with status code 404, with default header values.

User not found

func NewShowUserNotFound

func NewShowUserNotFound() *ShowUserNotFound

NewShowUserNotFound creates a ShowUserNotFound with default headers values

func (*ShowUserNotFound) Code

func (o *ShowUserNotFound) Code() int

Code gets the status code for the show user not found response

func (*ShowUserNotFound) Error

func (o *ShowUserNotFound) Error() string

func (*ShowUserNotFound) GetPayload

func (o *ShowUserNotFound) GetPayload() *models.GeneralError

func (*ShowUserNotFound) IsClientError

func (o *ShowUserNotFound) IsClientError() bool

IsClientError returns true when this show user not found response has a 4xx status code

func (*ShowUserNotFound) IsCode

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

IsCode returns true when this show user not found response a status code equal to that given

func (*ShowUserNotFound) IsRedirect

func (o *ShowUserNotFound) IsRedirect() bool

IsRedirect returns true when this show user not found response has a 3xx status code

func (*ShowUserNotFound) IsServerError

func (o *ShowUserNotFound) IsServerError() bool

IsServerError returns true when this show user not found response has a 5xx status code

func (*ShowUserNotFound) IsSuccess

func (o *ShowUserNotFound) IsSuccess() bool

IsSuccess returns true when this show user not found response has a 2xx status code

func (*ShowUserNotFound) String

func (o *ShowUserNotFound) String() string

type ShowUserOK

type ShowUserOK struct {
	Payload *models.User
}

ShowUserOK describes a response with status code 200, with default header values.

The fetched user details

func NewShowUserOK

func NewShowUserOK() *ShowUserOK

NewShowUserOK creates a ShowUserOK with default headers values

func (*ShowUserOK) Code

func (o *ShowUserOK) Code() int

Code gets the status code for the show user o k response

func (*ShowUserOK) Error

func (o *ShowUserOK) Error() string

func (*ShowUserOK) GetPayload

func (o *ShowUserOK) GetPayload() *models.User

func (*ShowUserOK) IsClientError

func (o *ShowUserOK) IsClientError() bool

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

func (*ShowUserOK) IsCode

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

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

func (*ShowUserOK) IsRedirect

func (o *ShowUserOK) IsRedirect() bool

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

func (*ShowUserOK) IsServerError

func (o *ShowUserOK) IsServerError() bool

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

func (*ShowUserOK) IsSuccess

func (o *ShowUserOK) IsSuccess() bool

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

func (*ShowUserOK) String

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

func NewShowUserParamsWithContext(ctx context.Context) *ShowUserParams

NewShowUserParamsWithContext creates a new ShowUserParams object with 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 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 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) SetDefaults

func (o *ShowUserParams) SetDefaults()

SetDefaults hydrates default values in the show user params (not the query body).

All values with no default are reset to their zero value.

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

func (o *ShowUserParams) WithDefaults() *ShowUserParams

WithDefaults hydrates default values in the show user params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code -1, 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

func (*UpdateUserDefault) GetPayload

func (o *UpdateUserDefault) GetPayload() *models.GeneralError

func (*UpdateUserDefault) IsClientError

func (o *UpdateUserDefault) IsClientError() bool

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

func (*UpdateUserDefault) IsCode

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

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

func (*UpdateUserDefault) IsRedirect

func (o *UpdateUserDefault) IsRedirect() bool

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

func (*UpdateUserDefault) IsServerError

func (o *UpdateUserDefault) IsServerError() bool

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

func (*UpdateUserDefault) IsSuccess

func (o *UpdateUserDefault) IsSuccess() bool

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

func (*UpdateUserDefault) String

func (o *UpdateUserDefault) String() string

type UpdateUserForbidden

type UpdateUserForbidden struct {
	Payload *models.GeneralError
}

UpdateUserForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewUpdateUserForbidden

func NewUpdateUserForbidden() *UpdateUserForbidden

NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values

func (*UpdateUserForbidden) Code

func (o *UpdateUserForbidden) Code() int

Code gets the status code for the update user forbidden response

func (*UpdateUserForbidden) Error

func (o *UpdateUserForbidden) Error() string

func (*UpdateUserForbidden) GetPayload

func (o *UpdateUserForbidden) GetPayload() *models.GeneralError

func (*UpdateUserForbidden) IsClientError

func (o *UpdateUserForbidden) IsClientError() bool

IsClientError returns true when this update user forbidden response has a 4xx status code

func (*UpdateUserForbidden) IsCode

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

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

func (*UpdateUserForbidden) IsRedirect

func (o *UpdateUserForbidden) IsRedirect() bool

IsRedirect returns true when this update user forbidden response has a 3xx status code

func (*UpdateUserForbidden) IsServerError

func (o *UpdateUserForbidden) IsServerError() bool

IsServerError returns true when this update user forbidden response has a 5xx status code

func (*UpdateUserForbidden) IsSuccess

func (o *UpdateUserForbidden) IsSuccess() bool

IsSuccess returns true when this update user forbidden response has a 2xx status code

func (*UpdateUserForbidden) String

func (o *UpdateUserForbidden) String() string

type UpdateUserNotFound

type UpdateUserNotFound struct {
	Payload *models.GeneralError
}

UpdateUserNotFound describes a response with status code 404, with default header values.

User not found

func NewUpdateUserNotFound

func NewUpdateUserNotFound() *UpdateUserNotFound

NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values

func (*UpdateUserNotFound) Code

func (o *UpdateUserNotFound) Code() int

Code gets the status code for the update user not found response

func (*UpdateUserNotFound) Error

func (o *UpdateUserNotFound) Error() string

func (*UpdateUserNotFound) GetPayload

func (o *UpdateUserNotFound) GetPayload() *models.GeneralError

func (*UpdateUserNotFound) IsClientError

func (o *UpdateUserNotFound) IsClientError() bool

IsClientError returns true when this update user not found response has a 4xx status code

func (*UpdateUserNotFound) IsCode

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

IsCode returns true when this update user not found response a status code equal to that given

func (*UpdateUserNotFound) IsRedirect

func (o *UpdateUserNotFound) IsRedirect() bool

IsRedirect returns true when this update user not found response has a 3xx status code

func (*UpdateUserNotFound) IsServerError

func (o *UpdateUserNotFound) IsServerError() bool

IsServerError returns true when this update user not found response has a 5xx status code

func (*UpdateUserNotFound) IsSuccess

func (o *UpdateUserNotFound) IsSuccess() bool

IsSuccess returns true when this update user not found response has a 2xx status code

func (*UpdateUserNotFound) String

func (o *UpdateUserNotFound) String() string

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.User
}

UpdateUserOK describes a response with status code 200, with default header values.

The updated user details

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Code

func (o *UpdateUserOK) Code() int

Code gets the status code for the update user o k response

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *models.User

func (*UpdateUserOK) IsClientError

func (o *UpdateUserOK) IsClientError() bool

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

func (*UpdateUserOK) IsCode

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

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

func (*UpdateUserOK) IsRedirect

func (o *UpdateUserOK) IsRedirect() bool

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

func (*UpdateUserOK) IsServerError

func (o *UpdateUserOK) IsServerError() bool

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

func (*UpdateUserOK) IsSuccess

func (o *UpdateUserOK) IsSuccess() bool

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

func (*UpdateUserOK) String

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

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with 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 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 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) SetDefaults

func (o *UpdateUserParams) SetDefaults()

SetDefaults hydrates default values in the update user params (not the query body).

All values with no default are reset to their zero value.

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

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

WithDefaults hydrates default values in the update user params (not the query body).

All values with no default are reset to their zero value.

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 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 describes a response with status code 422, with default header values.

Failed to validate request

func NewUpdateUserUnprocessableEntity

func NewUpdateUserUnprocessableEntity() *UpdateUserUnprocessableEntity

NewUpdateUserUnprocessableEntity creates a UpdateUserUnprocessableEntity with default headers values

func (*UpdateUserUnprocessableEntity) Code

Code gets the status code for the update user unprocessable entity response

func (*UpdateUserUnprocessableEntity) Error

func (*UpdateUserUnprocessableEntity) GetPayload

func (*UpdateUserUnprocessableEntity) IsClientError

func (o *UpdateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update user unprocessable entity response has a 4xx status code

func (*UpdateUserUnprocessableEntity) IsCode

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

IsCode returns true when this update user unprocessable entity response a status code equal to that given

func (*UpdateUserUnprocessableEntity) IsRedirect

func (o *UpdateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update user unprocessable entity response has a 3xx status code

func (*UpdateUserUnprocessableEntity) IsServerError

func (o *UpdateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update user unprocessable entity response has a 5xx status code

func (*UpdateUserUnprocessableEntity) IsSuccess

func (o *UpdateUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update user unprocessable entity response has a 2xx status code

func (*UpdateUserUnprocessableEntity) String

Jump to

Keyboard shortcuts

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