team

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 AttachTeamToModDefault

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

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

Some error unrelated to the handler

func NewAttachTeamToModDefault

func NewAttachTeamToModDefault(code int) *AttachTeamToModDefault

NewAttachTeamToModDefault creates a AttachTeamToModDefault with default headers values

func (*AttachTeamToModDefault) Code

func (o *AttachTeamToModDefault) Code() int

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

func (*AttachTeamToModDefault) Error

func (o *AttachTeamToModDefault) Error() string

func (*AttachTeamToModDefault) GetPayload

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

func (*AttachTeamToModDefault) IsClientError

func (o *AttachTeamToModDefault) IsClientError() bool

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

func (*AttachTeamToModDefault) IsCode

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

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

func (*AttachTeamToModDefault) IsRedirect

func (o *AttachTeamToModDefault) IsRedirect() bool

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

func (*AttachTeamToModDefault) IsServerError

func (o *AttachTeamToModDefault) IsServerError() bool

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

func (*AttachTeamToModDefault) IsSuccess

func (o *AttachTeamToModDefault) IsSuccess() bool

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

func (*AttachTeamToModDefault) String

func (o *AttachTeamToModDefault) String() string

type AttachTeamToModForbidden

type AttachTeamToModForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewAttachTeamToModForbidden

func NewAttachTeamToModForbidden() *AttachTeamToModForbidden

NewAttachTeamToModForbidden creates a AttachTeamToModForbidden with default headers values

func (*AttachTeamToModForbidden) Code

func (o *AttachTeamToModForbidden) Code() int

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

func (*AttachTeamToModForbidden) Error

func (o *AttachTeamToModForbidden) Error() string

func (*AttachTeamToModForbidden) GetPayload

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

func (*AttachTeamToModForbidden) IsClientError

func (o *AttachTeamToModForbidden) IsClientError() bool

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

func (*AttachTeamToModForbidden) IsCode

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

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

func (*AttachTeamToModForbidden) IsRedirect

func (o *AttachTeamToModForbidden) IsRedirect() bool

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

func (*AttachTeamToModForbidden) IsServerError

func (o *AttachTeamToModForbidden) IsServerError() bool

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

func (*AttachTeamToModForbidden) IsSuccess

func (o *AttachTeamToModForbidden) IsSuccess() bool

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

func (*AttachTeamToModForbidden) String

func (o *AttachTeamToModForbidden) String() string

type AttachTeamToModNotFound

type AttachTeamToModNotFound struct {
	Payload *models.GeneralError
}

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

Team or user not found

func NewAttachTeamToModNotFound

func NewAttachTeamToModNotFound() *AttachTeamToModNotFound

NewAttachTeamToModNotFound creates a AttachTeamToModNotFound with default headers values

func (*AttachTeamToModNotFound) Code

func (o *AttachTeamToModNotFound) Code() int

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

func (*AttachTeamToModNotFound) Error

func (o *AttachTeamToModNotFound) Error() string

func (*AttachTeamToModNotFound) GetPayload

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

func (*AttachTeamToModNotFound) IsClientError

func (o *AttachTeamToModNotFound) IsClientError() bool

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

func (*AttachTeamToModNotFound) IsCode

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

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

func (*AttachTeamToModNotFound) IsRedirect

func (o *AttachTeamToModNotFound) IsRedirect() bool

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

func (*AttachTeamToModNotFound) IsServerError

func (o *AttachTeamToModNotFound) IsServerError() bool

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

func (*AttachTeamToModNotFound) IsSuccess

func (o *AttachTeamToModNotFound) IsSuccess() bool

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

func (*AttachTeamToModNotFound) String

func (o *AttachTeamToModNotFound) String() string

type AttachTeamToModOK

type AttachTeamToModOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewAttachTeamToModOK

func NewAttachTeamToModOK() *AttachTeamToModOK

NewAttachTeamToModOK creates a AttachTeamToModOK with default headers values

func (*AttachTeamToModOK) Code

func (o *AttachTeamToModOK) Code() int

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

func (*AttachTeamToModOK) Error

func (o *AttachTeamToModOK) Error() string

func (*AttachTeamToModOK) GetPayload

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

func (*AttachTeamToModOK) IsClientError

func (o *AttachTeamToModOK) IsClientError() bool

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

func (*AttachTeamToModOK) IsCode

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

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

func (*AttachTeamToModOK) IsRedirect

func (o *AttachTeamToModOK) IsRedirect() bool

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

func (*AttachTeamToModOK) IsServerError

func (o *AttachTeamToModOK) IsServerError() bool

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

func (*AttachTeamToModOK) IsSuccess

func (o *AttachTeamToModOK) IsSuccess() bool

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

func (*AttachTeamToModOK) String

func (o *AttachTeamToModOK) String() string

type AttachTeamToModParams

type AttachTeamToModParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamMod.

	   The team mod data to attach
	*/
	TeamMod *models.TeamModParams

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

AttachTeamToModParams contains all the parameters to send to the API endpoint

for the attach team to mod operation.

Typically these are written to a http.Request.

func NewAttachTeamToModParams

func NewAttachTeamToModParams() *AttachTeamToModParams

NewAttachTeamToModParams creates a new AttachTeamToModParams 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 NewAttachTeamToModParamsWithContext

func NewAttachTeamToModParamsWithContext(ctx context.Context) *AttachTeamToModParams

NewAttachTeamToModParamsWithContext creates a new AttachTeamToModParams object with the ability to set a context for a request.

func NewAttachTeamToModParamsWithHTTPClient

func NewAttachTeamToModParamsWithHTTPClient(client *http.Client) *AttachTeamToModParams

NewAttachTeamToModParamsWithHTTPClient creates a new AttachTeamToModParams object with the ability to set a custom HTTPClient for a request.

func NewAttachTeamToModParamsWithTimeout

func NewAttachTeamToModParamsWithTimeout(timeout time.Duration) *AttachTeamToModParams

NewAttachTeamToModParamsWithTimeout creates a new AttachTeamToModParams object with the ability to set a timeout on a request.

func (*AttachTeamToModParams) SetContext

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

SetContext adds the context to the attach team to mod params

func (*AttachTeamToModParams) SetDefaults

func (o *AttachTeamToModParams) SetDefaults()

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

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

func (*AttachTeamToModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach team to mod params

func (*AttachTeamToModParams) SetTeamID

func (o *AttachTeamToModParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the attach team to mod params

func (*AttachTeamToModParams) SetTeamMod

func (o *AttachTeamToModParams) SetTeamMod(teamMod *models.TeamModParams)

SetTeamMod adds the teamMod to the attach team to mod params

func (*AttachTeamToModParams) SetTimeout

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

SetTimeout adds the timeout to the attach team to mod params

func (*AttachTeamToModParams) WithContext

WithContext adds the context to the attach team to mod params

func (*AttachTeamToModParams) WithDefaults

func (o *AttachTeamToModParams) WithDefaults() *AttachTeamToModParams

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

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

func (*AttachTeamToModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach team to mod params

func (*AttachTeamToModParams) WithTeamID

func (o *AttachTeamToModParams) WithTeamID(teamID string) *AttachTeamToModParams

WithTeamID adds the teamID to the attach team to mod params

func (*AttachTeamToModParams) WithTeamMod

WithTeamMod adds the teamMod to the attach team to mod params

func (*AttachTeamToModParams) WithTimeout

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

WithTimeout adds the timeout to the attach team to mod params

func (*AttachTeamToModParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AttachTeamToModPreconditionFailed

type AttachTeamToModPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Mod is already attached

func NewAttachTeamToModPreconditionFailed

func NewAttachTeamToModPreconditionFailed() *AttachTeamToModPreconditionFailed

NewAttachTeamToModPreconditionFailed creates a AttachTeamToModPreconditionFailed with default headers values

func (*AttachTeamToModPreconditionFailed) Code

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

func (*AttachTeamToModPreconditionFailed) Error

func (*AttachTeamToModPreconditionFailed) GetPayload

func (*AttachTeamToModPreconditionFailed) IsClientError

func (o *AttachTeamToModPreconditionFailed) IsClientError() bool

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

func (*AttachTeamToModPreconditionFailed) IsCode

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

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

func (*AttachTeamToModPreconditionFailed) IsRedirect

func (o *AttachTeamToModPreconditionFailed) IsRedirect() bool

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

func (*AttachTeamToModPreconditionFailed) IsServerError

func (o *AttachTeamToModPreconditionFailed) IsServerError() bool

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

func (*AttachTeamToModPreconditionFailed) IsSuccess

func (o *AttachTeamToModPreconditionFailed) IsSuccess() bool

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

func (*AttachTeamToModPreconditionFailed) String

type AttachTeamToModReader

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

AttachTeamToModReader is a Reader for the AttachTeamToMod structure.

func (*AttachTeamToModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachTeamToModUnprocessableEntity

type AttachTeamToModUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewAttachTeamToModUnprocessableEntity

func NewAttachTeamToModUnprocessableEntity() *AttachTeamToModUnprocessableEntity

NewAttachTeamToModUnprocessableEntity creates a AttachTeamToModUnprocessableEntity with default headers values

func (*AttachTeamToModUnprocessableEntity) Code

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

func (*AttachTeamToModUnprocessableEntity) Error

func (*AttachTeamToModUnprocessableEntity) GetPayload

func (*AttachTeamToModUnprocessableEntity) IsClientError

func (o *AttachTeamToModUnprocessableEntity) IsClientError() bool

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

func (*AttachTeamToModUnprocessableEntity) IsCode

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

func (*AttachTeamToModUnprocessableEntity) IsRedirect

func (o *AttachTeamToModUnprocessableEntity) IsRedirect() bool

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

func (*AttachTeamToModUnprocessableEntity) IsServerError

func (o *AttachTeamToModUnprocessableEntity) IsServerError() bool

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

func (*AttachTeamToModUnprocessableEntity) IsSuccess

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

func (*AttachTeamToModUnprocessableEntity) String

type AttachTeamToPackDefault

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

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

Some error unrelated to the handler

func NewAttachTeamToPackDefault

func NewAttachTeamToPackDefault(code int) *AttachTeamToPackDefault

NewAttachTeamToPackDefault creates a AttachTeamToPackDefault with default headers values

func (*AttachTeamToPackDefault) Code

func (o *AttachTeamToPackDefault) Code() int

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

func (*AttachTeamToPackDefault) Error

func (o *AttachTeamToPackDefault) Error() string

func (*AttachTeamToPackDefault) GetPayload

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

func (*AttachTeamToPackDefault) IsClientError

func (o *AttachTeamToPackDefault) IsClientError() bool

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

func (*AttachTeamToPackDefault) IsCode

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

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

func (*AttachTeamToPackDefault) IsRedirect

func (o *AttachTeamToPackDefault) IsRedirect() bool

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

func (*AttachTeamToPackDefault) IsServerError

func (o *AttachTeamToPackDefault) IsServerError() bool

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

func (*AttachTeamToPackDefault) IsSuccess

func (o *AttachTeamToPackDefault) IsSuccess() bool

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

func (*AttachTeamToPackDefault) String

func (o *AttachTeamToPackDefault) String() string

type AttachTeamToPackForbidden

type AttachTeamToPackForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewAttachTeamToPackForbidden

func NewAttachTeamToPackForbidden() *AttachTeamToPackForbidden

NewAttachTeamToPackForbidden creates a AttachTeamToPackForbidden with default headers values

func (*AttachTeamToPackForbidden) Code

func (o *AttachTeamToPackForbidden) Code() int

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

func (*AttachTeamToPackForbidden) Error

func (o *AttachTeamToPackForbidden) Error() string

func (*AttachTeamToPackForbidden) GetPayload

func (*AttachTeamToPackForbidden) IsClientError

func (o *AttachTeamToPackForbidden) IsClientError() bool

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

func (*AttachTeamToPackForbidden) IsCode

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

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

func (*AttachTeamToPackForbidden) IsRedirect

func (o *AttachTeamToPackForbidden) IsRedirect() bool

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

func (*AttachTeamToPackForbidden) IsServerError

func (o *AttachTeamToPackForbidden) IsServerError() bool

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

func (*AttachTeamToPackForbidden) IsSuccess

func (o *AttachTeamToPackForbidden) IsSuccess() bool

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

func (*AttachTeamToPackForbidden) String

func (o *AttachTeamToPackForbidden) String() string

type AttachTeamToPackNotFound

type AttachTeamToPackNotFound struct {
	Payload *models.GeneralError
}

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

Team or pack not found

func NewAttachTeamToPackNotFound

func NewAttachTeamToPackNotFound() *AttachTeamToPackNotFound

NewAttachTeamToPackNotFound creates a AttachTeamToPackNotFound with default headers values

func (*AttachTeamToPackNotFound) Code

func (o *AttachTeamToPackNotFound) Code() int

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

func (*AttachTeamToPackNotFound) Error

func (o *AttachTeamToPackNotFound) Error() string

func (*AttachTeamToPackNotFound) GetPayload

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

func (*AttachTeamToPackNotFound) IsClientError

func (o *AttachTeamToPackNotFound) IsClientError() bool

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

func (*AttachTeamToPackNotFound) IsCode

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

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

func (*AttachTeamToPackNotFound) IsRedirect

func (o *AttachTeamToPackNotFound) IsRedirect() bool

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

func (*AttachTeamToPackNotFound) IsServerError

func (o *AttachTeamToPackNotFound) IsServerError() bool

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

func (*AttachTeamToPackNotFound) IsSuccess

func (o *AttachTeamToPackNotFound) IsSuccess() bool

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

func (*AttachTeamToPackNotFound) String

func (o *AttachTeamToPackNotFound) String() string

type AttachTeamToPackOK

type AttachTeamToPackOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewAttachTeamToPackOK

func NewAttachTeamToPackOK() *AttachTeamToPackOK

NewAttachTeamToPackOK creates a AttachTeamToPackOK with default headers values

func (*AttachTeamToPackOK) Code

func (o *AttachTeamToPackOK) Code() int

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

func (*AttachTeamToPackOK) Error

func (o *AttachTeamToPackOK) Error() string

func (*AttachTeamToPackOK) GetPayload

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

func (*AttachTeamToPackOK) IsClientError

func (o *AttachTeamToPackOK) IsClientError() bool

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

func (*AttachTeamToPackOK) IsCode

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

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

func (*AttachTeamToPackOK) IsRedirect

func (o *AttachTeamToPackOK) IsRedirect() bool

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

func (*AttachTeamToPackOK) IsServerError

func (o *AttachTeamToPackOK) IsServerError() bool

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

func (*AttachTeamToPackOK) IsSuccess

func (o *AttachTeamToPackOK) IsSuccess() bool

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

func (*AttachTeamToPackOK) String

func (o *AttachTeamToPackOK) String() string

type AttachTeamToPackParams

type AttachTeamToPackParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamPack.

	   The team pack data to attach
	*/
	TeamPack *models.TeamPackParams

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

AttachTeamToPackParams contains all the parameters to send to the API endpoint

for the attach team to pack operation.

Typically these are written to a http.Request.

func NewAttachTeamToPackParams

func NewAttachTeamToPackParams() *AttachTeamToPackParams

NewAttachTeamToPackParams creates a new AttachTeamToPackParams 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 NewAttachTeamToPackParamsWithContext

func NewAttachTeamToPackParamsWithContext(ctx context.Context) *AttachTeamToPackParams

NewAttachTeamToPackParamsWithContext creates a new AttachTeamToPackParams object with the ability to set a context for a request.

func NewAttachTeamToPackParamsWithHTTPClient

func NewAttachTeamToPackParamsWithHTTPClient(client *http.Client) *AttachTeamToPackParams

NewAttachTeamToPackParamsWithHTTPClient creates a new AttachTeamToPackParams object with the ability to set a custom HTTPClient for a request.

func NewAttachTeamToPackParamsWithTimeout

func NewAttachTeamToPackParamsWithTimeout(timeout time.Duration) *AttachTeamToPackParams

NewAttachTeamToPackParamsWithTimeout creates a new AttachTeamToPackParams object with the ability to set a timeout on a request.

func (*AttachTeamToPackParams) SetContext

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

SetContext adds the context to the attach team to pack params

func (*AttachTeamToPackParams) SetDefaults

func (o *AttachTeamToPackParams) SetDefaults()

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

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

func (*AttachTeamToPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach team to pack params

func (*AttachTeamToPackParams) SetTeamID

func (o *AttachTeamToPackParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the attach team to pack params

func (*AttachTeamToPackParams) SetTeamPack

func (o *AttachTeamToPackParams) SetTeamPack(teamPack *models.TeamPackParams)

SetTeamPack adds the teamPack to the attach team to pack params

func (*AttachTeamToPackParams) SetTimeout

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

SetTimeout adds the timeout to the attach team to pack params

func (*AttachTeamToPackParams) WithContext

WithContext adds the context to the attach team to pack params

func (*AttachTeamToPackParams) WithDefaults

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

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

func (*AttachTeamToPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach team to pack params

func (*AttachTeamToPackParams) WithTeamID

func (o *AttachTeamToPackParams) WithTeamID(teamID string) *AttachTeamToPackParams

WithTeamID adds the teamID to the attach team to pack params

func (*AttachTeamToPackParams) WithTeamPack

WithTeamPack adds the teamPack to the attach team to pack params

func (*AttachTeamToPackParams) WithTimeout

WithTimeout adds the timeout to the attach team to pack params

func (*AttachTeamToPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachTeamToPackPreconditionFailed

type AttachTeamToPackPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Pack is already attached

func NewAttachTeamToPackPreconditionFailed

func NewAttachTeamToPackPreconditionFailed() *AttachTeamToPackPreconditionFailed

NewAttachTeamToPackPreconditionFailed creates a AttachTeamToPackPreconditionFailed with default headers values

func (*AttachTeamToPackPreconditionFailed) Code

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

func (*AttachTeamToPackPreconditionFailed) Error

func (*AttachTeamToPackPreconditionFailed) GetPayload

func (*AttachTeamToPackPreconditionFailed) IsClientError

func (o *AttachTeamToPackPreconditionFailed) IsClientError() bool

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

func (*AttachTeamToPackPreconditionFailed) IsCode

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

func (*AttachTeamToPackPreconditionFailed) IsRedirect

func (o *AttachTeamToPackPreconditionFailed) IsRedirect() bool

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

func (*AttachTeamToPackPreconditionFailed) IsServerError

func (o *AttachTeamToPackPreconditionFailed) IsServerError() bool

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

func (*AttachTeamToPackPreconditionFailed) IsSuccess

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

func (*AttachTeamToPackPreconditionFailed) String

type AttachTeamToPackReader

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

AttachTeamToPackReader is a Reader for the AttachTeamToPack structure.

func (*AttachTeamToPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachTeamToPackUnprocessableEntity

type AttachTeamToPackUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewAttachTeamToPackUnprocessableEntity

func NewAttachTeamToPackUnprocessableEntity() *AttachTeamToPackUnprocessableEntity

NewAttachTeamToPackUnprocessableEntity creates a AttachTeamToPackUnprocessableEntity with default headers values

func (*AttachTeamToPackUnprocessableEntity) Code

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

func (*AttachTeamToPackUnprocessableEntity) Error

func (*AttachTeamToPackUnprocessableEntity) GetPayload

func (*AttachTeamToPackUnprocessableEntity) IsClientError

func (o *AttachTeamToPackUnprocessableEntity) IsClientError() bool

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

func (*AttachTeamToPackUnprocessableEntity) IsCode

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

func (*AttachTeamToPackUnprocessableEntity) IsRedirect

func (o *AttachTeamToPackUnprocessableEntity) IsRedirect() bool

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

func (*AttachTeamToPackUnprocessableEntity) IsServerError

func (o *AttachTeamToPackUnprocessableEntity) IsServerError() bool

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

func (*AttachTeamToPackUnprocessableEntity) IsSuccess

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

func (*AttachTeamToPackUnprocessableEntity) String

type AttachTeamToUserDefault

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

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

Some error unrelated to the handler

func NewAttachTeamToUserDefault

func NewAttachTeamToUserDefault(code int) *AttachTeamToUserDefault

NewAttachTeamToUserDefault creates a AttachTeamToUserDefault with default headers values

func (*AttachTeamToUserDefault) Code

func (o *AttachTeamToUserDefault) Code() int

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

func (*AttachTeamToUserDefault) Error

func (o *AttachTeamToUserDefault) Error() string

func (*AttachTeamToUserDefault) GetPayload

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

func (*AttachTeamToUserDefault) IsClientError

func (o *AttachTeamToUserDefault) IsClientError() bool

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

func (*AttachTeamToUserDefault) IsCode

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

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

func (*AttachTeamToUserDefault) IsRedirect

func (o *AttachTeamToUserDefault) IsRedirect() bool

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

func (*AttachTeamToUserDefault) IsServerError

func (o *AttachTeamToUserDefault) IsServerError() bool

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

func (*AttachTeamToUserDefault) IsSuccess

func (o *AttachTeamToUserDefault) IsSuccess() bool

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

func (*AttachTeamToUserDefault) String

func (o *AttachTeamToUserDefault) String() string

type AttachTeamToUserForbidden

type AttachTeamToUserForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewAttachTeamToUserForbidden

func NewAttachTeamToUserForbidden() *AttachTeamToUserForbidden

NewAttachTeamToUserForbidden creates a AttachTeamToUserForbidden with default headers values

func (*AttachTeamToUserForbidden) Code

func (o *AttachTeamToUserForbidden) Code() int

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

func (*AttachTeamToUserForbidden) Error

func (o *AttachTeamToUserForbidden) Error() string

func (*AttachTeamToUserForbidden) GetPayload

func (*AttachTeamToUserForbidden) IsClientError

func (o *AttachTeamToUserForbidden) IsClientError() bool

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

func (*AttachTeamToUserForbidden) IsCode

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

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

func (*AttachTeamToUserForbidden) IsRedirect

func (o *AttachTeamToUserForbidden) IsRedirect() bool

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

func (*AttachTeamToUserForbidden) IsServerError

func (o *AttachTeamToUserForbidden) IsServerError() bool

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

func (*AttachTeamToUserForbidden) IsSuccess

func (o *AttachTeamToUserForbidden) IsSuccess() bool

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

func (*AttachTeamToUserForbidden) String

func (o *AttachTeamToUserForbidden) String() string

type AttachTeamToUserNotFound

type AttachTeamToUserNotFound struct {
	Payload *models.GeneralError
}

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

Team or user not found

func NewAttachTeamToUserNotFound

func NewAttachTeamToUserNotFound() *AttachTeamToUserNotFound

NewAttachTeamToUserNotFound creates a AttachTeamToUserNotFound with default headers values

func (*AttachTeamToUserNotFound) Code

func (o *AttachTeamToUserNotFound) Code() int

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

func (*AttachTeamToUserNotFound) Error

func (o *AttachTeamToUserNotFound) Error() string

func (*AttachTeamToUserNotFound) GetPayload

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

func (*AttachTeamToUserNotFound) IsClientError

func (o *AttachTeamToUserNotFound) IsClientError() bool

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

func (*AttachTeamToUserNotFound) IsCode

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

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

func (*AttachTeamToUserNotFound) IsRedirect

func (o *AttachTeamToUserNotFound) IsRedirect() bool

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

func (*AttachTeamToUserNotFound) IsServerError

func (o *AttachTeamToUserNotFound) IsServerError() bool

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

func (*AttachTeamToUserNotFound) IsSuccess

func (o *AttachTeamToUserNotFound) IsSuccess() bool

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

func (*AttachTeamToUserNotFound) String

func (o *AttachTeamToUserNotFound) String() string

type AttachTeamToUserOK

type AttachTeamToUserOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewAttachTeamToUserOK

func NewAttachTeamToUserOK() *AttachTeamToUserOK

NewAttachTeamToUserOK creates a AttachTeamToUserOK with default headers values

func (*AttachTeamToUserOK) Code

func (o *AttachTeamToUserOK) Code() int

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

func (*AttachTeamToUserOK) Error

func (o *AttachTeamToUserOK) Error() string

func (*AttachTeamToUserOK) GetPayload

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

func (*AttachTeamToUserOK) IsClientError

func (o *AttachTeamToUserOK) IsClientError() bool

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

func (*AttachTeamToUserOK) IsCode

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

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

func (*AttachTeamToUserOK) IsRedirect

func (o *AttachTeamToUserOK) IsRedirect() bool

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

func (*AttachTeamToUserOK) IsServerError

func (o *AttachTeamToUserOK) IsServerError() bool

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

func (*AttachTeamToUserOK) IsSuccess

func (o *AttachTeamToUserOK) IsSuccess() bool

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

func (*AttachTeamToUserOK) String

func (o *AttachTeamToUserOK) String() string

type AttachTeamToUserParams

type AttachTeamToUserParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamUser.

	   The team user data to attach
	*/
	TeamUser *models.TeamUserParams

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

AttachTeamToUserParams contains all the parameters to send to the API endpoint

for the attach team to user operation.

Typically these are written to a http.Request.

func NewAttachTeamToUserParams

func NewAttachTeamToUserParams() *AttachTeamToUserParams

NewAttachTeamToUserParams creates a new AttachTeamToUserParams 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 NewAttachTeamToUserParamsWithContext

func NewAttachTeamToUserParamsWithContext(ctx context.Context) *AttachTeamToUserParams

NewAttachTeamToUserParamsWithContext creates a new AttachTeamToUserParams object with the ability to set a context for a request.

func NewAttachTeamToUserParamsWithHTTPClient

func NewAttachTeamToUserParamsWithHTTPClient(client *http.Client) *AttachTeamToUserParams

NewAttachTeamToUserParamsWithHTTPClient creates a new AttachTeamToUserParams object with the ability to set a custom HTTPClient for a request.

func NewAttachTeamToUserParamsWithTimeout

func NewAttachTeamToUserParamsWithTimeout(timeout time.Duration) *AttachTeamToUserParams

NewAttachTeamToUserParamsWithTimeout creates a new AttachTeamToUserParams object with the ability to set a timeout on a request.

func (*AttachTeamToUserParams) SetContext

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

SetContext adds the context to the attach team to user params

func (*AttachTeamToUserParams) SetDefaults

func (o *AttachTeamToUserParams) SetDefaults()

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

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

func (*AttachTeamToUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach team to user params

func (*AttachTeamToUserParams) SetTeamID

func (o *AttachTeamToUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the attach team to user params

func (*AttachTeamToUserParams) SetTeamUser

func (o *AttachTeamToUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the attach team to user params

func (*AttachTeamToUserParams) SetTimeout

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

SetTimeout adds the timeout to the attach team to user params

func (*AttachTeamToUserParams) WithContext

WithContext adds the context to the attach team to user params

func (*AttachTeamToUserParams) WithDefaults

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

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

func (*AttachTeamToUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach team to user params

func (*AttachTeamToUserParams) WithTeamID

func (o *AttachTeamToUserParams) WithTeamID(teamID string) *AttachTeamToUserParams

WithTeamID adds the teamID to the attach team to user params

func (*AttachTeamToUserParams) WithTeamUser

WithTeamUser adds the teamUser to the attach team to user params

func (*AttachTeamToUserParams) WithTimeout

WithTimeout adds the timeout to the attach team to user params

func (*AttachTeamToUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachTeamToUserPreconditionFailed

type AttachTeamToUserPreconditionFailed struct {
	Payload *models.GeneralError
}

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

User is already attached

func NewAttachTeamToUserPreconditionFailed

func NewAttachTeamToUserPreconditionFailed() *AttachTeamToUserPreconditionFailed

NewAttachTeamToUserPreconditionFailed creates a AttachTeamToUserPreconditionFailed with default headers values

func (*AttachTeamToUserPreconditionFailed) Code

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

func (*AttachTeamToUserPreconditionFailed) Error

func (*AttachTeamToUserPreconditionFailed) GetPayload

func (*AttachTeamToUserPreconditionFailed) IsClientError

func (o *AttachTeamToUserPreconditionFailed) IsClientError() bool

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

func (*AttachTeamToUserPreconditionFailed) IsCode

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

func (*AttachTeamToUserPreconditionFailed) IsRedirect

func (o *AttachTeamToUserPreconditionFailed) IsRedirect() bool

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

func (*AttachTeamToUserPreconditionFailed) IsServerError

func (o *AttachTeamToUserPreconditionFailed) IsServerError() bool

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

func (*AttachTeamToUserPreconditionFailed) IsSuccess

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

func (*AttachTeamToUserPreconditionFailed) String

type AttachTeamToUserReader

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

AttachTeamToUserReader is a Reader for the AttachTeamToUser structure.

func (*AttachTeamToUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AttachTeamToUserUnprocessableEntity

type AttachTeamToUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewAttachTeamToUserUnprocessableEntity

func NewAttachTeamToUserUnprocessableEntity() *AttachTeamToUserUnprocessableEntity

NewAttachTeamToUserUnprocessableEntity creates a AttachTeamToUserUnprocessableEntity with default headers values

func (*AttachTeamToUserUnprocessableEntity) Code

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

func (*AttachTeamToUserUnprocessableEntity) Error

func (*AttachTeamToUserUnprocessableEntity) GetPayload

func (*AttachTeamToUserUnprocessableEntity) IsClientError

func (o *AttachTeamToUserUnprocessableEntity) IsClientError() bool

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

func (*AttachTeamToUserUnprocessableEntity) IsCode

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

func (*AttachTeamToUserUnprocessableEntity) IsRedirect

func (o *AttachTeamToUserUnprocessableEntity) IsRedirect() bool

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

func (*AttachTeamToUserUnprocessableEntity) IsServerError

func (o *AttachTeamToUserUnprocessableEntity) IsServerError() bool

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

func (*AttachTeamToUserUnprocessableEntity) IsSuccess

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

func (*AttachTeamToUserUnprocessableEntity) String

type Client

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

Client for team API

func (*Client) AttachTeamToMod

func (a *Client) AttachTeamToMod(params *AttachTeamToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToModOK, error)

AttachTeamToMod attaches a mod to team

func (*Client) AttachTeamToPack

func (a *Client) AttachTeamToPack(params *AttachTeamToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToPackOK, error)

AttachTeamToPack attaches a pack to team

func (*Client) AttachTeamToUser

func (a *Client) AttachTeamToUser(params *AttachTeamToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToUserOK, error)

AttachTeamToUser attaches a user to team

func (*Client) CreateTeam

func (a *Client) CreateTeam(params *CreateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTeamOK, error)

CreateTeam creates a new team

func (*Client) DeleteTeam

func (a *Client) DeleteTeam(params *DeleteTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamOK, error)

DeleteTeam deletes a specific team

func (*Client) DeleteTeamFromMod

func (a *Client) DeleteTeamFromMod(params *DeleteTeamFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromModOK, error)

DeleteTeamFromMod removes a mod from team

func (*Client) DeleteTeamFromPack

func (a *Client) DeleteTeamFromPack(params *DeleteTeamFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromPackOK, error)

DeleteTeamFromPack removes a pack from team

func (*Client) DeleteTeamFromUser

func (a *Client) DeleteTeamFromUser(params *DeleteTeamFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromUserOK, error)

DeleteTeamFromUser removes a user from team

func (*Client) ListTeamMods

func (a *Client) ListTeamMods(params *ListTeamModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamModsOK, error)

ListTeamMods fetches all mods attached to team

func (*Client) ListTeamPacks

func (a *Client) ListTeamPacks(params *ListTeamPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamPacksOK, error)

ListTeamPacks fetches all packs attached to team

func (*Client) ListTeamUsers

func (a *Client) ListTeamUsers(params *ListTeamUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamUsersOK, error)

ListTeamUsers fetches all users attached to team

func (*Client) ListTeams

func (a *Client) ListTeams(params *ListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamsOK, error)

ListTeams fetches all available teams

func (*Client) PermitTeamMod

func (a *Client) PermitTeamMod(params *PermitTeamModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamModOK, error)

PermitTeamMod updates mod perms for team

func (*Client) PermitTeamPack

func (a *Client) PermitTeamPack(params *PermitTeamPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamPackOK, error)

PermitTeamPack updates pack perms for team

func (*Client) PermitTeamUser

func (a *Client) PermitTeamUser(params *PermitTeamUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamUserOK, error)

PermitTeamUser updates user perms for team

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShowTeam

func (a *Client) ShowTeam(params *ShowTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowTeamOK, error)

ShowTeam fetches a specific team

func (*Client) UpdateTeam

func (a *Client) UpdateTeam(params *UpdateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTeamOK, error)

UpdateTeam updates a specific team

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AttachTeamToMod(params *AttachTeamToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToModOK, error)

	AttachTeamToPack(params *AttachTeamToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToPackOK, error)

	AttachTeamToUser(params *AttachTeamToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachTeamToUserOK, error)

	CreateTeam(params *CreateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTeamOK, error)

	DeleteTeam(params *DeleteTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamOK, error)

	DeleteTeamFromMod(params *DeleteTeamFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromModOK, error)

	DeleteTeamFromPack(params *DeleteTeamFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromPackOK, error)

	DeleteTeamFromUser(params *DeleteTeamFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTeamFromUserOK, error)

	ListTeamMods(params *ListTeamModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamModsOK, error)

	ListTeamPacks(params *ListTeamPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamPacksOK, error)

	ListTeamUsers(params *ListTeamUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamUsersOK, error)

	ListTeams(params *ListTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamsOK, error)

	PermitTeamMod(params *PermitTeamModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamModOK, error)

	PermitTeamPack(params *PermitTeamPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamPackOK, error)

	PermitTeamUser(params *PermitTeamUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitTeamUserOK, error)

	ShowTeam(params *ShowTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowTeamOK, error)

	UpdateTeam(params *UpdateTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTeamOK, 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 team API client.

type CreateTeamDefault

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

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

Some error unrelated to the handler

func NewCreateTeamDefault

func NewCreateTeamDefault(code int) *CreateTeamDefault

NewCreateTeamDefault creates a CreateTeamDefault with default headers values

func (*CreateTeamDefault) Code

func (o *CreateTeamDefault) Code() int

Code gets the status code for the create team default response

func (*CreateTeamDefault) Error

func (o *CreateTeamDefault) Error() string

func (*CreateTeamDefault) GetPayload

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

func (*CreateTeamDefault) IsClientError

func (o *CreateTeamDefault) IsClientError() bool

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

func (*CreateTeamDefault) IsCode

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

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

func (*CreateTeamDefault) IsRedirect

func (o *CreateTeamDefault) IsRedirect() bool

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

func (*CreateTeamDefault) IsServerError

func (o *CreateTeamDefault) IsServerError() bool

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

func (*CreateTeamDefault) IsSuccess

func (o *CreateTeamDefault) IsSuccess() bool

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

func (*CreateTeamDefault) String

func (o *CreateTeamDefault) String() string

type CreateTeamForbidden

type CreateTeamForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewCreateTeamForbidden

func NewCreateTeamForbidden() *CreateTeamForbidden

NewCreateTeamForbidden creates a CreateTeamForbidden with default headers values

func (*CreateTeamForbidden) Code

func (o *CreateTeamForbidden) Code() int

Code gets the status code for the create team forbidden response

func (*CreateTeamForbidden) Error

func (o *CreateTeamForbidden) Error() string

func (*CreateTeamForbidden) GetPayload

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

func (*CreateTeamForbidden) IsClientError

func (o *CreateTeamForbidden) IsClientError() bool

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

func (*CreateTeamForbidden) IsCode

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

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

func (*CreateTeamForbidden) IsRedirect

func (o *CreateTeamForbidden) IsRedirect() bool

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

func (*CreateTeamForbidden) IsServerError

func (o *CreateTeamForbidden) IsServerError() bool

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

func (*CreateTeamForbidden) IsSuccess

func (o *CreateTeamForbidden) IsSuccess() bool

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

func (*CreateTeamForbidden) String

func (o *CreateTeamForbidden) String() string

type CreateTeamOK

type CreateTeamOK struct {
	Payload *models.Team
}

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

The created team data

func NewCreateTeamOK

func NewCreateTeamOK() *CreateTeamOK

NewCreateTeamOK creates a CreateTeamOK with default headers values

func (*CreateTeamOK) Code

func (o *CreateTeamOK) Code() int

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

func (*CreateTeamOK) Error

func (o *CreateTeamOK) Error() string

func (*CreateTeamOK) GetPayload

func (o *CreateTeamOK) GetPayload() *models.Team

func (*CreateTeamOK) IsClientError

func (o *CreateTeamOK) IsClientError() bool

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

func (*CreateTeamOK) IsCode

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

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

func (*CreateTeamOK) IsRedirect

func (o *CreateTeamOK) IsRedirect() bool

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

func (*CreateTeamOK) IsServerError

func (o *CreateTeamOK) IsServerError() bool

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

func (*CreateTeamOK) IsSuccess

func (o *CreateTeamOK) IsSuccess() bool

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

func (*CreateTeamOK) String

func (o *CreateTeamOK) String() string

type CreateTeamParams

type CreateTeamParams struct {

	/* Team.

	   The team data to create
	*/
	Team *models.Team

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

CreateTeamParams contains all the parameters to send to the API endpoint

for the create team operation.

Typically these are written to a http.Request.

func NewCreateTeamParams

func NewCreateTeamParams() *CreateTeamParams

NewCreateTeamParams creates a new CreateTeamParams 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 NewCreateTeamParamsWithContext

func NewCreateTeamParamsWithContext(ctx context.Context) *CreateTeamParams

NewCreateTeamParamsWithContext creates a new CreateTeamParams object with the ability to set a context for a request.

func NewCreateTeamParamsWithHTTPClient

func NewCreateTeamParamsWithHTTPClient(client *http.Client) *CreateTeamParams

NewCreateTeamParamsWithHTTPClient creates a new CreateTeamParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTeamParamsWithTimeout

func NewCreateTeamParamsWithTimeout(timeout time.Duration) *CreateTeamParams

NewCreateTeamParamsWithTimeout creates a new CreateTeamParams object with the ability to set a timeout on a request.

func (*CreateTeamParams) SetContext

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

SetContext adds the context to the create team params

func (*CreateTeamParams) SetDefaults

func (o *CreateTeamParams) SetDefaults()

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

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

func (*CreateTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) SetTeam

func (o *CreateTeamParams) SetTeam(team *models.Team)

SetTeam adds the team to the create team params

func (*CreateTeamParams) SetTimeout

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

SetTimeout adds the timeout to the create team params

func (*CreateTeamParams) WithContext

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

WithContext adds the context to the create team params

func (*CreateTeamParams) WithDefaults

func (o *CreateTeamParams) WithDefaults() *CreateTeamParams

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

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

func (*CreateTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) WithTeam

func (o *CreateTeamParams) WithTeam(team *models.Team) *CreateTeamParams

WithTeam adds the team to the create team params

func (*CreateTeamParams) WithTimeout

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

WithTimeout adds the timeout to the create team params

func (*CreateTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateTeamReader

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

CreateTeamReader is a Reader for the CreateTeam structure.

func (*CreateTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTeamUnprocessableEntity

type CreateTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewCreateTeamUnprocessableEntity

func NewCreateTeamUnprocessableEntity() *CreateTeamUnprocessableEntity

NewCreateTeamUnprocessableEntity creates a CreateTeamUnprocessableEntity with default headers values

func (*CreateTeamUnprocessableEntity) Code

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

func (*CreateTeamUnprocessableEntity) Error

func (*CreateTeamUnprocessableEntity) GetPayload

func (*CreateTeamUnprocessableEntity) IsClientError

func (o *CreateTeamUnprocessableEntity) IsClientError() bool

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

func (*CreateTeamUnprocessableEntity) IsCode

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

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

func (*CreateTeamUnprocessableEntity) IsRedirect

func (o *CreateTeamUnprocessableEntity) IsRedirect() bool

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

func (*CreateTeamUnprocessableEntity) IsServerError

func (o *CreateTeamUnprocessableEntity) IsServerError() bool

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

func (*CreateTeamUnprocessableEntity) IsSuccess

func (o *CreateTeamUnprocessableEntity) IsSuccess() bool

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

func (*CreateTeamUnprocessableEntity) String

type DeleteTeamBadRequest

type DeleteTeamBadRequest struct {
	Payload *models.GeneralError
}

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

Failed to delete the team

func NewDeleteTeamBadRequest

func NewDeleteTeamBadRequest() *DeleteTeamBadRequest

NewDeleteTeamBadRequest creates a DeleteTeamBadRequest with default headers values

func (*DeleteTeamBadRequest) Code

func (o *DeleteTeamBadRequest) Code() int

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

func (*DeleteTeamBadRequest) Error

func (o *DeleteTeamBadRequest) Error() string

func (*DeleteTeamBadRequest) GetPayload

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

func (*DeleteTeamBadRequest) IsClientError

func (o *DeleteTeamBadRequest) IsClientError() bool

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

func (*DeleteTeamBadRequest) IsCode

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

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

func (*DeleteTeamBadRequest) IsRedirect

func (o *DeleteTeamBadRequest) IsRedirect() bool

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

func (*DeleteTeamBadRequest) IsServerError

func (o *DeleteTeamBadRequest) IsServerError() bool

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

func (*DeleteTeamBadRequest) IsSuccess

func (o *DeleteTeamBadRequest) IsSuccess() bool

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

func (*DeleteTeamBadRequest) String

func (o *DeleteTeamBadRequest) String() string

type DeleteTeamDefault

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

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

Some error unrelated to the handler

func NewDeleteTeamDefault

func NewDeleteTeamDefault(code int) *DeleteTeamDefault

NewDeleteTeamDefault creates a DeleteTeamDefault with default headers values

func (*DeleteTeamDefault) Code

func (o *DeleteTeamDefault) Code() int

Code gets the status code for the delete team default response

func (*DeleteTeamDefault) Error

func (o *DeleteTeamDefault) Error() string

func (*DeleteTeamDefault) GetPayload

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

func (*DeleteTeamDefault) IsClientError

func (o *DeleteTeamDefault) IsClientError() bool

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

func (*DeleteTeamDefault) IsCode

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

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

func (*DeleteTeamDefault) IsRedirect

func (o *DeleteTeamDefault) IsRedirect() bool

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

func (*DeleteTeamDefault) IsServerError

func (o *DeleteTeamDefault) IsServerError() bool

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

func (*DeleteTeamDefault) IsSuccess

func (o *DeleteTeamDefault) IsSuccess() bool

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

func (*DeleteTeamDefault) String

func (o *DeleteTeamDefault) String() string

type DeleteTeamForbidden

type DeleteTeamForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteTeamForbidden

func NewDeleteTeamForbidden() *DeleteTeamForbidden

NewDeleteTeamForbidden creates a DeleteTeamForbidden with default headers values

func (*DeleteTeamForbidden) Code

func (o *DeleteTeamForbidden) Code() int

Code gets the status code for the delete team forbidden response

func (*DeleteTeamForbidden) Error

func (o *DeleteTeamForbidden) Error() string

func (*DeleteTeamForbidden) GetPayload

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

func (*DeleteTeamForbidden) IsClientError

func (o *DeleteTeamForbidden) IsClientError() bool

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

func (*DeleteTeamForbidden) IsCode

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

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

func (*DeleteTeamForbidden) IsRedirect

func (o *DeleteTeamForbidden) IsRedirect() bool

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

func (*DeleteTeamForbidden) IsServerError

func (o *DeleteTeamForbidden) IsServerError() bool

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

func (*DeleteTeamForbidden) IsSuccess

func (o *DeleteTeamForbidden) IsSuccess() bool

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

func (*DeleteTeamForbidden) String

func (o *DeleteTeamForbidden) String() string

type DeleteTeamFromModDefault

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

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

Some error unrelated to the handler

func NewDeleteTeamFromModDefault

func NewDeleteTeamFromModDefault(code int) *DeleteTeamFromModDefault

NewDeleteTeamFromModDefault creates a DeleteTeamFromModDefault with default headers values

func (*DeleteTeamFromModDefault) Code

func (o *DeleteTeamFromModDefault) Code() int

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

func (*DeleteTeamFromModDefault) Error

func (o *DeleteTeamFromModDefault) Error() string

func (*DeleteTeamFromModDefault) GetPayload

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

func (*DeleteTeamFromModDefault) IsClientError

func (o *DeleteTeamFromModDefault) IsClientError() bool

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

func (*DeleteTeamFromModDefault) IsCode

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

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

func (*DeleteTeamFromModDefault) IsRedirect

func (o *DeleteTeamFromModDefault) IsRedirect() bool

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

func (*DeleteTeamFromModDefault) IsServerError

func (o *DeleteTeamFromModDefault) IsServerError() bool

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

func (*DeleteTeamFromModDefault) IsSuccess

func (o *DeleteTeamFromModDefault) IsSuccess() bool

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

func (*DeleteTeamFromModDefault) String

func (o *DeleteTeamFromModDefault) String() string

type DeleteTeamFromModForbidden

type DeleteTeamFromModForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteTeamFromModForbidden

func NewDeleteTeamFromModForbidden() *DeleteTeamFromModForbidden

NewDeleteTeamFromModForbidden creates a DeleteTeamFromModForbidden with default headers values

func (*DeleteTeamFromModForbidden) Code

func (o *DeleteTeamFromModForbidden) Code() int

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

func (*DeleteTeamFromModForbidden) Error

func (*DeleteTeamFromModForbidden) GetPayload

func (*DeleteTeamFromModForbidden) IsClientError

func (o *DeleteTeamFromModForbidden) IsClientError() bool

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

func (*DeleteTeamFromModForbidden) IsCode

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

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

func (*DeleteTeamFromModForbidden) IsRedirect

func (o *DeleteTeamFromModForbidden) IsRedirect() bool

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

func (*DeleteTeamFromModForbidden) IsServerError

func (o *DeleteTeamFromModForbidden) IsServerError() bool

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

func (*DeleteTeamFromModForbidden) IsSuccess

func (o *DeleteTeamFromModForbidden) IsSuccess() bool

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

func (*DeleteTeamFromModForbidden) String

func (o *DeleteTeamFromModForbidden) String() string

type DeleteTeamFromModNotFound

type DeleteTeamFromModNotFound struct {
	Payload *models.GeneralError
}

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

Team or mod not found

func NewDeleteTeamFromModNotFound

func NewDeleteTeamFromModNotFound() *DeleteTeamFromModNotFound

NewDeleteTeamFromModNotFound creates a DeleteTeamFromModNotFound with default headers values

func (*DeleteTeamFromModNotFound) Code

func (o *DeleteTeamFromModNotFound) Code() int

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

func (*DeleteTeamFromModNotFound) Error

func (o *DeleteTeamFromModNotFound) Error() string

func (*DeleteTeamFromModNotFound) GetPayload

func (*DeleteTeamFromModNotFound) IsClientError

func (o *DeleteTeamFromModNotFound) IsClientError() bool

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

func (*DeleteTeamFromModNotFound) IsCode

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

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

func (*DeleteTeamFromModNotFound) IsRedirect

func (o *DeleteTeamFromModNotFound) IsRedirect() bool

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

func (*DeleteTeamFromModNotFound) IsServerError

func (o *DeleteTeamFromModNotFound) IsServerError() bool

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

func (*DeleteTeamFromModNotFound) IsSuccess

func (o *DeleteTeamFromModNotFound) IsSuccess() bool

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

func (*DeleteTeamFromModNotFound) String

func (o *DeleteTeamFromModNotFound) String() string

type DeleteTeamFromModOK

type DeleteTeamFromModOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteTeamFromModOK

func NewDeleteTeamFromModOK() *DeleteTeamFromModOK

NewDeleteTeamFromModOK creates a DeleteTeamFromModOK with default headers values

func (*DeleteTeamFromModOK) Code

func (o *DeleteTeamFromModOK) Code() int

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

func (*DeleteTeamFromModOK) Error

func (o *DeleteTeamFromModOK) Error() string

func (*DeleteTeamFromModOK) GetPayload

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

func (*DeleteTeamFromModOK) IsClientError

func (o *DeleteTeamFromModOK) IsClientError() bool

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

func (*DeleteTeamFromModOK) IsCode

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

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

func (*DeleteTeamFromModOK) IsRedirect

func (o *DeleteTeamFromModOK) IsRedirect() bool

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

func (*DeleteTeamFromModOK) IsServerError

func (o *DeleteTeamFromModOK) IsServerError() bool

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

func (*DeleteTeamFromModOK) IsSuccess

func (o *DeleteTeamFromModOK) IsSuccess() bool

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

func (*DeleteTeamFromModOK) String

func (o *DeleteTeamFromModOK) String() string

type DeleteTeamFromModParams

type DeleteTeamFromModParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamMod.

	   The team mod data to delete
	*/
	TeamMod *models.TeamModParams

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

DeleteTeamFromModParams contains all the parameters to send to the API endpoint

for the delete team from mod operation.

Typically these are written to a http.Request.

func NewDeleteTeamFromModParams

func NewDeleteTeamFromModParams() *DeleteTeamFromModParams

NewDeleteTeamFromModParams creates a new DeleteTeamFromModParams 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 NewDeleteTeamFromModParamsWithContext

func NewDeleteTeamFromModParamsWithContext(ctx context.Context) *DeleteTeamFromModParams

NewDeleteTeamFromModParamsWithContext creates a new DeleteTeamFromModParams object with the ability to set a context for a request.

func NewDeleteTeamFromModParamsWithHTTPClient

func NewDeleteTeamFromModParamsWithHTTPClient(client *http.Client) *DeleteTeamFromModParams

NewDeleteTeamFromModParamsWithHTTPClient creates a new DeleteTeamFromModParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamFromModParamsWithTimeout

func NewDeleteTeamFromModParamsWithTimeout(timeout time.Duration) *DeleteTeamFromModParams

NewDeleteTeamFromModParamsWithTimeout creates a new DeleteTeamFromModParams object with the ability to set a timeout on a request.

func (*DeleteTeamFromModParams) SetContext

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

SetContext adds the context to the delete team from mod params

func (*DeleteTeamFromModParams) SetDefaults

func (o *DeleteTeamFromModParams) SetDefaults()

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

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

func (*DeleteTeamFromModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team from mod params

func (*DeleteTeamFromModParams) SetTeamID

func (o *DeleteTeamFromModParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team from mod params

func (*DeleteTeamFromModParams) SetTeamMod

func (o *DeleteTeamFromModParams) SetTeamMod(teamMod *models.TeamModParams)

SetTeamMod adds the teamMod to the delete team from mod params

func (*DeleteTeamFromModParams) SetTimeout

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

SetTimeout adds the timeout to the delete team from mod params

func (*DeleteTeamFromModParams) WithContext

WithContext adds the context to the delete team from mod params

func (*DeleteTeamFromModParams) WithDefaults

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

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

func (*DeleteTeamFromModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team from mod params

func (*DeleteTeamFromModParams) WithTeamID

WithTeamID adds the teamID to the delete team from mod params

func (*DeleteTeamFromModParams) WithTeamMod

WithTeamMod adds the teamMod to the delete team from mod params

func (*DeleteTeamFromModParams) WithTimeout

WithTimeout adds the timeout to the delete team from mod params

func (*DeleteTeamFromModParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamFromModPreconditionFailed

type DeleteTeamFromModPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Mod is not attached

func NewDeleteTeamFromModPreconditionFailed

func NewDeleteTeamFromModPreconditionFailed() *DeleteTeamFromModPreconditionFailed

NewDeleteTeamFromModPreconditionFailed creates a DeleteTeamFromModPreconditionFailed with default headers values

func (*DeleteTeamFromModPreconditionFailed) Code

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

func (*DeleteTeamFromModPreconditionFailed) Error

func (*DeleteTeamFromModPreconditionFailed) GetPayload

func (*DeleteTeamFromModPreconditionFailed) IsClientError

func (o *DeleteTeamFromModPreconditionFailed) IsClientError() bool

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

func (*DeleteTeamFromModPreconditionFailed) IsCode

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

func (*DeleteTeamFromModPreconditionFailed) IsRedirect

func (o *DeleteTeamFromModPreconditionFailed) IsRedirect() bool

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

func (*DeleteTeamFromModPreconditionFailed) IsServerError

func (o *DeleteTeamFromModPreconditionFailed) IsServerError() bool

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

func (*DeleteTeamFromModPreconditionFailed) IsSuccess

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

func (*DeleteTeamFromModPreconditionFailed) String

type DeleteTeamFromModReader

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

DeleteTeamFromModReader is a Reader for the DeleteTeamFromMod structure.

func (*DeleteTeamFromModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamFromPackDefault

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

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

Some error unrelated to the handler

func NewDeleteTeamFromPackDefault

func NewDeleteTeamFromPackDefault(code int) *DeleteTeamFromPackDefault

NewDeleteTeamFromPackDefault creates a DeleteTeamFromPackDefault with default headers values

func (*DeleteTeamFromPackDefault) Code

func (o *DeleteTeamFromPackDefault) Code() int

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

func (*DeleteTeamFromPackDefault) Error

func (o *DeleteTeamFromPackDefault) Error() string

func (*DeleteTeamFromPackDefault) GetPayload

func (*DeleteTeamFromPackDefault) IsClientError

func (o *DeleteTeamFromPackDefault) IsClientError() bool

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

func (*DeleteTeamFromPackDefault) IsCode

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

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

func (*DeleteTeamFromPackDefault) IsRedirect

func (o *DeleteTeamFromPackDefault) IsRedirect() bool

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

func (*DeleteTeamFromPackDefault) IsServerError

func (o *DeleteTeamFromPackDefault) IsServerError() bool

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

func (*DeleteTeamFromPackDefault) IsSuccess

func (o *DeleteTeamFromPackDefault) IsSuccess() bool

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

func (*DeleteTeamFromPackDefault) String

func (o *DeleteTeamFromPackDefault) String() string

type DeleteTeamFromPackForbidden

type DeleteTeamFromPackForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteTeamFromPackForbidden

func NewDeleteTeamFromPackForbidden() *DeleteTeamFromPackForbidden

NewDeleteTeamFromPackForbidden creates a DeleteTeamFromPackForbidden with default headers values

func (*DeleteTeamFromPackForbidden) Code

func (o *DeleteTeamFromPackForbidden) Code() int

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

func (*DeleteTeamFromPackForbidden) Error

func (*DeleteTeamFromPackForbidden) GetPayload

func (*DeleteTeamFromPackForbidden) IsClientError

func (o *DeleteTeamFromPackForbidden) IsClientError() bool

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

func (*DeleteTeamFromPackForbidden) IsCode

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

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

func (*DeleteTeamFromPackForbidden) IsRedirect

func (o *DeleteTeamFromPackForbidden) IsRedirect() bool

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

func (*DeleteTeamFromPackForbidden) IsServerError

func (o *DeleteTeamFromPackForbidden) IsServerError() bool

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

func (*DeleteTeamFromPackForbidden) IsSuccess

func (o *DeleteTeamFromPackForbidden) IsSuccess() bool

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

func (*DeleteTeamFromPackForbidden) String

func (o *DeleteTeamFromPackForbidden) String() string

type DeleteTeamFromPackNotFound

type DeleteTeamFromPackNotFound struct {
	Payload *models.GeneralError
}

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

Team or pack not found

func NewDeleteTeamFromPackNotFound

func NewDeleteTeamFromPackNotFound() *DeleteTeamFromPackNotFound

NewDeleteTeamFromPackNotFound creates a DeleteTeamFromPackNotFound with default headers values

func (*DeleteTeamFromPackNotFound) Code

func (o *DeleteTeamFromPackNotFound) Code() int

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

func (*DeleteTeamFromPackNotFound) Error

func (*DeleteTeamFromPackNotFound) GetPayload

func (*DeleteTeamFromPackNotFound) IsClientError

func (o *DeleteTeamFromPackNotFound) IsClientError() bool

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

func (*DeleteTeamFromPackNotFound) IsCode

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

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

func (*DeleteTeamFromPackNotFound) IsRedirect

func (o *DeleteTeamFromPackNotFound) IsRedirect() bool

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

func (*DeleteTeamFromPackNotFound) IsServerError

func (o *DeleteTeamFromPackNotFound) IsServerError() bool

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

func (*DeleteTeamFromPackNotFound) IsSuccess

func (o *DeleteTeamFromPackNotFound) IsSuccess() bool

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

func (*DeleteTeamFromPackNotFound) String

func (o *DeleteTeamFromPackNotFound) String() string

type DeleteTeamFromPackOK

type DeleteTeamFromPackOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteTeamFromPackOK

func NewDeleteTeamFromPackOK() *DeleteTeamFromPackOK

NewDeleteTeamFromPackOK creates a DeleteTeamFromPackOK with default headers values

func (*DeleteTeamFromPackOK) Code

func (o *DeleteTeamFromPackOK) Code() int

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

func (*DeleteTeamFromPackOK) Error

func (o *DeleteTeamFromPackOK) Error() string

func (*DeleteTeamFromPackOK) GetPayload

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

func (*DeleteTeamFromPackOK) IsClientError

func (o *DeleteTeamFromPackOK) IsClientError() bool

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

func (*DeleteTeamFromPackOK) IsCode

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

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

func (*DeleteTeamFromPackOK) IsRedirect

func (o *DeleteTeamFromPackOK) IsRedirect() bool

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

func (*DeleteTeamFromPackOK) IsServerError

func (o *DeleteTeamFromPackOK) IsServerError() bool

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

func (*DeleteTeamFromPackOK) IsSuccess

func (o *DeleteTeamFromPackOK) IsSuccess() bool

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

func (*DeleteTeamFromPackOK) String

func (o *DeleteTeamFromPackOK) String() string

type DeleteTeamFromPackParams

type DeleteTeamFromPackParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamPack.

	   The team pack data to delete
	*/
	TeamPack *models.TeamPackParams

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

DeleteTeamFromPackParams contains all the parameters to send to the API endpoint

for the delete team from pack operation.

Typically these are written to a http.Request.

func NewDeleteTeamFromPackParams

func NewDeleteTeamFromPackParams() *DeleteTeamFromPackParams

NewDeleteTeamFromPackParams creates a new DeleteTeamFromPackParams 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 NewDeleteTeamFromPackParamsWithContext

func NewDeleteTeamFromPackParamsWithContext(ctx context.Context) *DeleteTeamFromPackParams

NewDeleteTeamFromPackParamsWithContext creates a new DeleteTeamFromPackParams object with the ability to set a context for a request.

func NewDeleteTeamFromPackParamsWithHTTPClient

func NewDeleteTeamFromPackParamsWithHTTPClient(client *http.Client) *DeleteTeamFromPackParams

NewDeleteTeamFromPackParamsWithHTTPClient creates a new DeleteTeamFromPackParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamFromPackParamsWithTimeout

func NewDeleteTeamFromPackParamsWithTimeout(timeout time.Duration) *DeleteTeamFromPackParams

NewDeleteTeamFromPackParamsWithTimeout creates a new DeleteTeamFromPackParams object with the ability to set a timeout on a request.

func (*DeleteTeamFromPackParams) SetContext

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

SetContext adds the context to the delete team from pack params

func (*DeleteTeamFromPackParams) SetDefaults

func (o *DeleteTeamFromPackParams) SetDefaults()

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

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

func (*DeleteTeamFromPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team from pack params

func (*DeleteTeamFromPackParams) SetTeamID

func (o *DeleteTeamFromPackParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team from pack params

func (*DeleteTeamFromPackParams) SetTeamPack

func (o *DeleteTeamFromPackParams) SetTeamPack(teamPack *models.TeamPackParams)

SetTeamPack adds the teamPack to the delete team from pack params

func (*DeleteTeamFromPackParams) SetTimeout

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

SetTimeout adds the timeout to the delete team from pack params

func (*DeleteTeamFromPackParams) WithContext

WithContext adds the context to the delete team from pack params

func (*DeleteTeamFromPackParams) WithDefaults

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

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

func (*DeleteTeamFromPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team from pack params

func (*DeleteTeamFromPackParams) WithTeamID

WithTeamID adds the teamID to the delete team from pack params

func (*DeleteTeamFromPackParams) WithTeamPack

WithTeamPack adds the teamPack to the delete team from pack params

func (*DeleteTeamFromPackParams) WithTimeout

WithTimeout adds the timeout to the delete team from pack params

func (*DeleteTeamFromPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamFromPackPreconditionFailed

type DeleteTeamFromPackPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Pack is not attached

func NewDeleteTeamFromPackPreconditionFailed

func NewDeleteTeamFromPackPreconditionFailed() *DeleteTeamFromPackPreconditionFailed

NewDeleteTeamFromPackPreconditionFailed creates a DeleteTeamFromPackPreconditionFailed with default headers values

func (*DeleteTeamFromPackPreconditionFailed) Code

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

func (*DeleteTeamFromPackPreconditionFailed) Error

func (*DeleteTeamFromPackPreconditionFailed) GetPayload

func (*DeleteTeamFromPackPreconditionFailed) IsClientError

func (o *DeleteTeamFromPackPreconditionFailed) IsClientError() bool

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

func (*DeleteTeamFromPackPreconditionFailed) IsCode

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

func (*DeleteTeamFromPackPreconditionFailed) IsRedirect

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

func (*DeleteTeamFromPackPreconditionFailed) IsServerError

func (o *DeleteTeamFromPackPreconditionFailed) IsServerError() bool

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

func (*DeleteTeamFromPackPreconditionFailed) IsSuccess

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

func (*DeleteTeamFromPackPreconditionFailed) String

type DeleteTeamFromPackReader

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

DeleteTeamFromPackReader is a Reader for the DeleteTeamFromPack structure.

func (*DeleteTeamFromPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamFromUserDefault

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

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

Some error unrelated to the handler

func NewDeleteTeamFromUserDefault

func NewDeleteTeamFromUserDefault(code int) *DeleteTeamFromUserDefault

NewDeleteTeamFromUserDefault creates a DeleteTeamFromUserDefault with default headers values

func (*DeleteTeamFromUserDefault) Code

func (o *DeleteTeamFromUserDefault) Code() int

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

func (*DeleteTeamFromUserDefault) Error

func (o *DeleteTeamFromUserDefault) Error() string

func (*DeleteTeamFromUserDefault) GetPayload

func (*DeleteTeamFromUserDefault) IsClientError

func (o *DeleteTeamFromUserDefault) IsClientError() bool

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

func (*DeleteTeamFromUserDefault) IsCode

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

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

func (*DeleteTeamFromUserDefault) IsRedirect

func (o *DeleteTeamFromUserDefault) IsRedirect() bool

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

func (*DeleteTeamFromUserDefault) IsServerError

func (o *DeleteTeamFromUserDefault) IsServerError() bool

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

func (*DeleteTeamFromUserDefault) IsSuccess

func (o *DeleteTeamFromUserDefault) IsSuccess() bool

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

func (*DeleteTeamFromUserDefault) String

func (o *DeleteTeamFromUserDefault) String() string

type DeleteTeamFromUserForbidden

type DeleteTeamFromUserForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteTeamFromUserForbidden

func NewDeleteTeamFromUserForbidden() *DeleteTeamFromUserForbidden

NewDeleteTeamFromUserForbidden creates a DeleteTeamFromUserForbidden with default headers values

func (*DeleteTeamFromUserForbidden) Code

func (o *DeleteTeamFromUserForbidden) Code() int

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

func (*DeleteTeamFromUserForbidden) Error

func (*DeleteTeamFromUserForbidden) GetPayload

func (*DeleteTeamFromUserForbidden) IsClientError

func (o *DeleteTeamFromUserForbidden) IsClientError() bool

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

func (*DeleteTeamFromUserForbidden) IsCode

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

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

func (*DeleteTeamFromUserForbidden) IsRedirect

func (o *DeleteTeamFromUserForbidden) IsRedirect() bool

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

func (*DeleteTeamFromUserForbidden) IsServerError

func (o *DeleteTeamFromUserForbidden) IsServerError() bool

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

func (*DeleteTeamFromUserForbidden) IsSuccess

func (o *DeleteTeamFromUserForbidden) IsSuccess() bool

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

func (*DeleteTeamFromUserForbidden) String

func (o *DeleteTeamFromUserForbidden) String() string

type DeleteTeamFromUserNotFound

type DeleteTeamFromUserNotFound struct {
	Payload *models.GeneralError
}

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

Team or user not found

func NewDeleteTeamFromUserNotFound

func NewDeleteTeamFromUserNotFound() *DeleteTeamFromUserNotFound

NewDeleteTeamFromUserNotFound creates a DeleteTeamFromUserNotFound with default headers values

func (*DeleteTeamFromUserNotFound) Code

func (o *DeleteTeamFromUserNotFound) Code() int

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

func (*DeleteTeamFromUserNotFound) Error

func (*DeleteTeamFromUserNotFound) GetPayload

func (*DeleteTeamFromUserNotFound) IsClientError

func (o *DeleteTeamFromUserNotFound) IsClientError() bool

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

func (*DeleteTeamFromUserNotFound) IsCode

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

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

func (*DeleteTeamFromUserNotFound) IsRedirect

func (o *DeleteTeamFromUserNotFound) IsRedirect() bool

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

func (*DeleteTeamFromUserNotFound) IsServerError

func (o *DeleteTeamFromUserNotFound) IsServerError() bool

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

func (*DeleteTeamFromUserNotFound) IsSuccess

func (o *DeleteTeamFromUserNotFound) IsSuccess() bool

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

func (*DeleteTeamFromUserNotFound) String

func (o *DeleteTeamFromUserNotFound) String() string

type DeleteTeamFromUserOK

type DeleteTeamFromUserOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteTeamFromUserOK

func NewDeleteTeamFromUserOK() *DeleteTeamFromUserOK

NewDeleteTeamFromUserOK creates a DeleteTeamFromUserOK with default headers values

func (*DeleteTeamFromUserOK) Code

func (o *DeleteTeamFromUserOK) Code() int

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

func (*DeleteTeamFromUserOK) Error

func (o *DeleteTeamFromUserOK) Error() string

func (*DeleteTeamFromUserOK) GetPayload

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

func (*DeleteTeamFromUserOK) IsClientError

func (o *DeleteTeamFromUserOK) IsClientError() bool

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

func (*DeleteTeamFromUserOK) IsCode

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

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

func (*DeleteTeamFromUserOK) IsRedirect

func (o *DeleteTeamFromUserOK) IsRedirect() bool

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

func (*DeleteTeamFromUserOK) IsServerError

func (o *DeleteTeamFromUserOK) IsServerError() bool

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

func (*DeleteTeamFromUserOK) IsSuccess

func (o *DeleteTeamFromUserOK) IsSuccess() bool

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

func (*DeleteTeamFromUserOK) String

func (o *DeleteTeamFromUserOK) String() string

type DeleteTeamFromUserParams

type DeleteTeamFromUserParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamUser.

	   The team user data to delete
	*/
	TeamUser *models.TeamUserParams

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

DeleteTeamFromUserParams contains all the parameters to send to the API endpoint

for the delete team from user operation.

Typically these are written to a http.Request.

func NewDeleteTeamFromUserParams

func NewDeleteTeamFromUserParams() *DeleteTeamFromUserParams

NewDeleteTeamFromUserParams creates a new DeleteTeamFromUserParams 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 NewDeleteTeamFromUserParamsWithContext

func NewDeleteTeamFromUserParamsWithContext(ctx context.Context) *DeleteTeamFromUserParams

NewDeleteTeamFromUserParamsWithContext creates a new DeleteTeamFromUserParams object with the ability to set a context for a request.

func NewDeleteTeamFromUserParamsWithHTTPClient

func NewDeleteTeamFromUserParamsWithHTTPClient(client *http.Client) *DeleteTeamFromUserParams

NewDeleteTeamFromUserParamsWithHTTPClient creates a new DeleteTeamFromUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamFromUserParamsWithTimeout

func NewDeleteTeamFromUserParamsWithTimeout(timeout time.Duration) *DeleteTeamFromUserParams

NewDeleteTeamFromUserParamsWithTimeout creates a new DeleteTeamFromUserParams object with the ability to set a timeout on a request.

func (*DeleteTeamFromUserParams) SetContext

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

SetContext adds the context to the delete team from user params

func (*DeleteTeamFromUserParams) SetDefaults

func (o *DeleteTeamFromUserParams) SetDefaults()

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

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

func (*DeleteTeamFromUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team from user params

func (*DeleteTeamFromUserParams) SetTeamID

func (o *DeleteTeamFromUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team from user params

func (*DeleteTeamFromUserParams) SetTeamUser

func (o *DeleteTeamFromUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the delete team from user params

func (*DeleteTeamFromUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete team from user params

func (*DeleteTeamFromUserParams) WithContext

WithContext adds the context to the delete team from user params

func (*DeleteTeamFromUserParams) WithDefaults

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

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

func (*DeleteTeamFromUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team from user params

func (*DeleteTeamFromUserParams) WithTeamID

WithTeamID adds the teamID to the delete team from user params

func (*DeleteTeamFromUserParams) WithTeamUser

WithTeamUser adds the teamUser to the delete team from user params

func (*DeleteTeamFromUserParams) WithTimeout

WithTimeout adds the timeout to the delete team from user params

func (*DeleteTeamFromUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTeamFromUserPreconditionFailed

type DeleteTeamFromUserPreconditionFailed struct {
	Payload *models.GeneralError
}

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

User is not attached

func NewDeleteTeamFromUserPreconditionFailed

func NewDeleteTeamFromUserPreconditionFailed() *DeleteTeamFromUserPreconditionFailed

NewDeleteTeamFromUserPreconditionFailed creates a DeleteTeamFromUserPreconditionFailed with default headers values

func (*DeleteTeamFromUserPreconditionFailed) Code

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

func (*DeleteTeamFromUserPreconditionFailed) Error

func (*DeleteTeamFromUserPreconditionFailed) GetPayload

func (*DeleteTeamFromUserPreconditionFailed) IsClientError

func (o *DeleteTeamFromUserPreconditionFailed) IsClientError() bool

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

func (*DeleteTeamFromUserPreconditionFailed) IsCode

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

func (*DeleteTeamFromUserPreconditionFailed) IsRedirect

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

func (*DeleteTeamFromUserPreconditionFailed) IsServerError

func (o *DeleteTeamFromUserPreconditionFailed) IsServerError() bool

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

func (*DeleteTeamFromUserPreconditionFailed) IsSuccess

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

func (*DeleteTeamFromUserPreconditionFailed) String

type DeleteTeamFromUserReader

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

DeleteTeamFromUserReader is a Reader for the DeleteTeamFromUser structure.

func (*DeleteTeamFromUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamNotFound

type DeleteTeamNotFound struct {
	Payload *models.GeneralError
}

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

Team not found

func NewDeleteTeamNotFound

func NewDeleteTeamNotFound() *DeleteTeamNotFound

NewDeleteTeamNotFound creates a DeleteTeamNotFound with default headers values

func (*DeleteTeamNotFound) Code

func (o *DeleteTeamNotFound) Code() int

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

func (*DeleteTeamNotFound) Error

func (o *DeleteTeamNotFound) Error() string

func (*DeleteTeamNotFound) GetPayload

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

func (*DeleteTeamNotFound) IsClientError

func (o *DeleteTeamNotFound) IsClientError() bool

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

func (*DeleteTeamNotFound) IsCode

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

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

func (*DeleteTeamNotFound) IsRedirect

func (o *DeleteTeamNotFound) IsRedirect() bool

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

func (*DeleteTeamNotFound) IsServerError

func (o *DeleteTeamNotFound) IsServerError() bool

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

func (*DeleteTeamNotFound) IsSuccess

func (o *DeleteTeamNotFound) IsSuccess() bool

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

func (*DeleteTeamNotFound) String

func (o *DeleteTeamNotFound) String() string

type DeleteTeamOK

type DeleteTeamOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteTeamOK

func NewDeleteTeamOK() *DeleteTeamOK

NewDeleteTeamOK creates a DeleteTeamOK with default headers values

func (*DeleteTeamOK) Code

func (o *DeleteTeamOK) Code() int

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

func (*DeleteTeamOK) Error

func (o *DeleteTeamOK) Error() string

func (*DeleteTeamOK) GetPayload

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

func (*DeleteTeamOK) IsClientError

func (o *DeleteTeamOK) IsClientError() bool

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

func (*DeleteTeamOK) IsCode

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

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

func (*DeleteTeamOK) IsRedirect

func (o *DeleteTeamOK) IsRedirect() bool

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

func (*DeleteTeamOK) IsServerError

func (o *DeleteTeamOK) IsServerError() bool

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

func (*DeleteTeamOK) IsSuccess

func (o *DeleteTeamOK) IsSuccess() bool

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

func (*DeleteTeamOK) String

func (o *DeleteTeamOK) String() string

type DeleteTeamParams

type DeleteTeamParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

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

DeleteTeamParams contains all the parameters to send to the API endpoint

for the delete team operation.

Typically these are written to a http.Request.

func NewDeleteTeamParams

func NewDeleteTeamParams() *DeleteTeamParams

NewDeleteTeamParams creates a new DeleteTeamParams 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 NewDeleteTeamParamsWithContext

func NewDeleteTeamParamsWithContext(ctx context.Context) *DeleteTeamParams

NewDeleteTeamParamsWithContext creates a new DeleteTeamParams object with the ability to set a context for a request.

func NewDeleteTeamParamsWithHTTPClient

func NewDeleteTeamParamsWithHTTPClient(client *http.Client) *DeleteTeamParams

NewDeleteTeamParamsWithHTTPClient creates a new DeleteTeamParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamParamsWithTimeout

func NewDeleteTeamParamsWithTimeout(timeout time.Duration) *DeleteTeamParams

NewDeleteTeamParamsWithTimeout creates a new DeleteTeamParams object with the ability to set a timeout on a request.

func (*DeleteTeamParams) SetContext

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

SetContext adds the context to the delete team params

func (*DeleteTeamParams) SetDefaults

func (o *DeleteTeamParams) SetDefaults()

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

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

func (*DeleteTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) SetTeamID

func (o *DeleteTeamParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete team params

func (*DeleteTeamParams) SetTimeout

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

SetTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WithContext

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

WithContext adds the context to the delete team params

func (*DeleteTeamParams) WithDefaults

func (o *DeleteTeamParams) WithDefaults() *DeleteTeamParams

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

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

func (*DeleteTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) WithTeamID

func (o *DeleteTeamParams) WithTeamID(teamID string) *DeleteTeamParams

WithTeamID adds the teamID to the delete team params

func (*DeleteTeamParams) WithTimeout

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

WithTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTeamReader

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

DeleteTeamReader is a Reader for the DeleteTeam structure.

func (*DeleteTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamModsDefault

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

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

Some error unrelated to the handler

func NewListTeamModsDefault

func NewListTeamModsDefault(code int) *ListTeamModsDefault

NewListTeamModsDefault creates a ListTeamModsDefault with default headers values

func (*ListTeamModsDefault) Code

func (o *ListTeamModsDefault) Code() int

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

func (*ListTeamModsDefault) Error

func (o *ListTeamModsDefault) Error() string

func (*ListTeamModsDefault) GetPayload

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

func (*ListTeamModsDefault) IsClientError

func (o *ListTeamModsDefault) IsClientError() bool

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

func (*ListTeamModsDefault) IsCode

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

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

func (*ListTeamModsDefault) IsRedirect

func (o *ListTeamModsDefault) IsRedirect() bool

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

func (*ListTeamModsDefault) IsServerError

func (o *ListTeamModsDefault) IsServerError() bool

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

func (*ListTeamModsDefault) IsSuccess

func (o *ListTeamModsDefault) IsSuccess() bool

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

func (*ListTeamModsDefault) String

func (o *ListTeamModsDefault) String() string

type ListTeamModsForbidden

type ListTeamModsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListTeamModsForbidden

func NewListTeamModsForbidden() *ListTeamModsForbidden

NewListTeamModsForbidden creates a ListTeamModsForbidden with default headers values

func (*ListTeamModsForbidden) Code

func (o *ListTeamModsForbidden) Code() int

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

func (*ListTeamModsForbidden) Error

func (o *ListTeamModsForbidden) Error() string

func (*ListTeamModsForbidden) GetPayload

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

func (*ListTeamModsForbidden) IsClientError

func (o *ListTeamModsForbidden) IsClientError() bool

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

func (*ListTeamModsForbidden) IsCode

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

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

func (*ListTeamModsForbidden) IsRedirect

func (o *ListTeamModsForbidden) IsRedirect() bool

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

func (*ListTeamModsForbidden) IsServerError

func (o *ListTeamModsForbidden) IsServerError() bool

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

func (*ListTeamModsForbidden) IsSuccess

func (o *ListTeamModsForbidden) IsSuccess() bool

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

func (*ListTeamModsForbidden) String

func (o *ListTeamModsForbidden) String() string

type ListTeamModsNotFound

type ListTeamModsNotFound struct {
	Payload *models.GeneralError
}

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

Team not found

func NewListTeamModsNotFound

func NewListTeamModsNotFound() *ListTeamModsNotFound

NewListTeamModsNotFound creates a ListTeamModsNotFound with default headers values

func (*ListTeamModsNotFound) Code

func (o *ListTeamModsNotFound) Code() int

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

func (*ListTeamModsNotFound) Error

func (o *ListTeamModsNotFound) Error() string

func (*ListTeamModsNotFound) GetPayload

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

func (*ListTeamModsNotFound) IsClientError

func (o *ListTeamModsNotFound) IsClientError() bool

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

func (*ListTeamModsNotFound) IsCode

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

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

func (*ListTeamModsNotFound) IsRedirect

func (o *ListTeamModsNotFound) IsRedirect() bool

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

func (*ListTeamModsNotFound) IsServerError

func (o *ListTeamModsNotFound) IsServerError() bool

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

func (*ListTeamModsNotFound) IsSuccess

func (o *ListTeamModsNotFound) IsSuccess() bool

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

func (*ListTeamModsNotFound) String

func (o *ListTeamModsNotFound) String() string

type ListTeamModsOK

type ListTeamModsOK struct {
	Payload *models.TeamMods
}

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

A collection of team mods

func NewListTeamModsOK

func NewListTeamModsOK() *ListTeamModsOK

NewListTeamModsOK creates a ListTeamModsOK with default headers values

func (*ListTeamModsOK) Code

func (o *ListTeamModsOK) Code() int

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

func (*ListTeamModsOK) Error

func (o *ListTeamModsOK) Error() string

func (*ListTeamModsOK) GetPayload

func (o *ListTeamModsOK) GetPayload() *models.TeamMods

func (*ListTeamModsOK) IsClientError

func (o *ListTeamModsOK) IsClientError() bool

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

func (*ListTeamModsOK) IsCode

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

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

func (*ListTeamModsOK) IsRedirect

func (o *ListTeamModsOK) IsRedirect() bool

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

func (*ListTeamModsOK) IsServerError

func (o *ListTeamModsOK) IsServerError() bool

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

func (*ListTeamModsOK) IsSuccess

func (o *ListTeamModsOK) IsSuccess() bool

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

func (*ListTeamModsOK) String

func (o *ListTeamModsOK) String() string

type ListTeamModsParams

type ListTeamModsParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

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

ListTeamModsParams contains all the parameters to send to the API endpoint

for the list team mods operation.

Typically these are written to a http.Request.

func NewListTeamModsParams

func NewListTeamModsParams() *ListTeamModsParams

NewListTeamModsParams creates a new ListTeamModsParams 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 NewListTeamModsParamsWithContext

func NewListTeamModsParamsWithContext(ctx context.Context) *ListTeamModsParams

NewListTeamModsParamsWithContext creates a new ListTeamModsParams object with the ability to set a context for a request.

func NewListTeamModsParamsWithHTTPClient

func NewListTeamModsParamsWithHTTPClient(client *http.Client) *ListTeamModsParams

NewListTeamModsParamsWithHTTPClient creates a new ListTeamModsParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamModsParamsWithTimeout

func NewListTeamModsParamsWithTimeout(timeout time.Duration) *ListTeamModsParams

NewListTeamModsParamsWithTimeout creates a new ListTeamModsParams object with the ability to set a timeout on a request.

func (*ListTeamModsParams) SetContext

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

SetContext adds the context to the list team mods params

func (*ListTeamModsParams) SetDefaults

func (o *ListTeamModsParams) SetDefaults()

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

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

func (*ListTeamModsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team mods params

func (*ListTeamModsParams) SetTeamID

func (o *ListTeamModsParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the list team mods params

func (*ListTeamModsParams) SetTimeout

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

SetTimeout adds the timeout to the list team mods params

func (*ListTeamModsParams) WithContext

WithContext adds the context to the list team mods params

func (*ListTeamModsParams) WithDefaults

func (o *ListTeamModsParams) WithDefaults() *ListTeamModsParams

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

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

func (*ListTeamModsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team mods params

func (*ListTeamModsParams) WithTeamID

func (o *ListTeamModsParams) WithTeamID(teamID string) *ListTeamModsParams

WithTeamID adds the teamID to the list team mods params

func (*ListTeamModsParams) WithTimeout

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

WithTimeout adds the timeout to the list team mods params

func (*ListTeamModsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamModsReader

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

ListTeamModsReader is a Reader for the ListTeamMods structure.

func (*ListTeamModsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamPacksDefault

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

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

Some error unrelated to the handler

func NewListTeamPacksDefault

func NewListTeamPacksDefault(code int) *ListTeamPacksDefault

NewListTeamPacksDefault creates a ListTeamPacksDefault with default headers values

func (*ListTeamPacksDefault) Code

func (o *ListTeamPacksDefault) Code() int

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

func (*ListTeamPacksDefault) Error

func (o *ListTeamPacksDefault) Error() string

func (*ListTeamPacksDefault) GetPayload

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

func (*ListTeamPacksDefault) IsClientError

func (o *ListTeamPacksDefault) IsClientError() bool

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

func (*ListTeamPacksDefault) IsCode

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

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

func (*ListTeamPacksDefault) IsRedirect

func (o *ListTeamPacksDefault) IsRedirect() bool

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

func (*ListTeamPacksDefault) IsServerError

func (o *ListTeamPacksDefault) IsServerError() bool

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

func (*ListTeamPacksDefault) IsSuccess

func (o *ListTeamPacksDefault) IsSuccess() bool

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

func (*ListTeamPacksDefault) String

func (o *ListTeamPacksDefault) String() string

type ListTeamPacksForbidden

type ListTeamPacksForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListTeamPacksForbidden

func NewListTeamPacksForbidden() *ListTeamPacksForbidden

NewListTeamPacksForbidden creates a ListTeamPacksForbidden with default headers values

func (*ListTeamPacksForbidden) Code

func (o *ListTeamPacksForbidden) Code() int

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

func (*ListTeamPacksForbidden) Error

func (o *ListTeamPacksForbidden) Error() string

func (*ListTeamPacksForbidden) GetPayload

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

func (*ListTeamPacksForbidden) IsClientError

func (o *ListTeamPacksForbidden) IsClientError() bool

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

func (*ListTeamPacksForbidden) IsCode

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

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

func (*ListTeamPacksForbidden) IsRedirect

func (o *ListTeamPacksForbidden) IsRedirect() bool

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

func (*ListTeamPacksForbidden) IsServerError

func (o *ListTeamPacksForbidden) IsServerError() bool

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

func (*ListTeamPacksForbidden) IsSuccess

func (o *ListTeamPacksForbidden) IsSuccess() bool

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

func (*ListTeamPacksForbidden) String

func (o *ListTeamPacksForbidden) String() string

type ListTeamPacksNotFound

type ListTeamPacksNotFound struct {
	Payload *models.GeneralError
}

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

Team not found

func NewListTeamPacksNotFound

func NewListTeamPacksNotFound() *ListTeamPacksNotFound

NewListTeamPacksNotFound creates a ListTeamPacksNotFound with default headers values

func (*ListTeamPacksNotFound) Code

func (o *ListTeamPacksNotFound) Code() int

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

func (*ListTeamPacksNotFound) Error

func (o *ListTeamPacksNotFound) Error() string

func (*ListTeamPacksNotFound) GetPayload

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

func (*ListTeamPacksNotFound) IsClientError

func (o *ListTeamPacksNotFound) IsClientError() bool

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

func (*ListTeamPacksNotFound) IsCode

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

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

func (*ListTeamPacksNotFound) IsRedirect

func (o *ListTeamPacksNotFound) IsRedirect() bool

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

func (*ListTeamPacksNotFound) IsServerError

func (o *ListTeamPacksNotFound) IsServerError() bool

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

func (*ListTeamPacksNotFound) IsSuccess

func (o *ListTeamPacksNotFound) IsSuccess() bool

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

func (*ListTeamPacksNotFound) String

func (o *ListTeamPacksNotFound) String() string

type ListTeamPacksOK

type ListTeamPacksOK struct {
	Payload *models.TeamPacks
}

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

A collection of team packs

func NewListTeamPacksOK

func NewListTeamPacksOK() *ListTeamPacksOK

NewListTeamPacksOK creates a ListTeamPacksOK with default headers values

func (*ListTeamPacksOK) Code

func (o *ListTeamPacksOK) Code() int

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

func (*ListTeamPacksOK) Error

func (o *ListTeamPacksOK) Error() string

func (*ListTeamPacksOK) GetPayload

func (o *ListTeamPacksOK) GetPayload() *models.TeamPacks

func (*ListTeamPacksOK) IsClientError

func (o *ListTeamPacksOK) IsClientError() bool

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

func (*ListTeamPacksOK) IsCode

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

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

func (*ListTeamPacksOK) IsRedirect

func (o *ListTeamPacksOK) IsRedirect() bool

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

func (*ListTeamPacksOK) IsServerError

func (o *ListTeamPacksOK) IsServerError() bool

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

func (*ListTeamPacksOK) IsSuccess

func (o *ListTeamPacksOK) IsSuccess() bool

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

func (*ListTeamPacksOK) String

func (o *ListTeamPacksOK) String() string

type ListTeamPacksParams

type ListTeamPacksParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

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

ListTeamPacksParams contains all the parameters to send to the API endpoint

for the list team packs operation.

Typically these are written to a http.Request.

func NewListTeamPacksParams

func NewListTeamPacksParams() *ListTeamPacksParams

NewListTeamPacksParams creates a new ListTeamPacksParams 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 NewListTeamPacksParamsWithContext

func NewListTeamPacksParamsWithContext(ctx context.Context) *ListTeamPacksParams

NewListTeamPacksParamsWithContext creates a new ListTeamPacksParams object with the ability to set a context for a request.

func NewListTeamPacksParamsWithHTTPClient

func NewListTeamPacksParamsWithHTTPClient(client *http.Client) *ListTeamPacksParams

NewListTeamPacksParamsWithHTTPClient creates a new ListTeamPacksParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamPacksParamsWithTimeout

func NewListTeamPacksParamsWithTimeout(timeout time.Duration) *ListTeamPacksParams

NewListTeamPacksParamsWithTimeout creates a new ListTeamPacksParams object with the ability to set a timeout on a request.

func (*ListTeamPacksParams) SetContext

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

SetContext adds the context to the list team packs params

func (*ListTeamPacksParams) SetDefaults

func (o *ListTeamPacksParams) SetDefaults()

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

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

func (*ListTeamPacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team packs params

func (*ListTeamPacksParams) SetTeamID

func (o *ListTeamPacksParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the list team packs params

func (*ListTeamPacksParams) SetTimeout

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

SetTimeout adds the timeout to the list team packs params

func (*ListTeamPacksParams) WithContext

WithContext adds the context to the list team packs params

func (*ListTeamPacksParams) WithDefaults

func (o *ListTeamPacksParams) WithDefaults() *ListTeamPacksParams

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

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

func (*ListTeamPacksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team packs params

func (*ListTeamPacksParams) WithTeamID

func (o *ListTeamPacksParams) WithTeamID(teamID string) *ListTeamPacksParams

WithTeamID adds the teamID to the list team packs params

func (*ListTeamPacksParams) WithTimeout

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

WithTimeout adds the timeout to the list team packs params

func (*ListTeamPacksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamPacksReader

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

ListTeamPacksReader is a Reader for the ListTeamPacks structure.

func (*ListTeamPacksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamUsersDefault

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

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

Some error unrelated to the handler

func NewListTeamUsersDefault

func NewListTeamUsersDefault(code int) *ListTeamUsersDefault

NewListTeamUsersDefault creates a ListTeamUsersDefault with default headers values

func (*ListTeamUsersDefault) Code

func (o *ListTeamUsersDefault) Code() int

Code gets the status code for the list team users default response

func (*ListTeamUsersDefault) Error

func (o *ListTeamUsersDefault) Error() string

func (*ListTeamUsersDefault) GetPayload

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

func (*ListTeamUsersDefault) IsClientError

func (o *ListTeamUsersDefault) IsClientError() bool

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

func (*ListTeamUsersDefault) IsCode

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

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

func (*ListTeamUsersDefault) IsRedirect

func (o *ListTeamUsersDefault) IsRedirect() bool

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

func (*ListTeamUsersDefault) IsServerError

func (o *ListTeamUsersDefault) IsServerError() bool

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

func (*ListTeamUsersDefault) IsSuccess

func (o *ListTeamUsersDefault) IsSuccess() bool

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

func (*ListTeamUsersDefault) String

func (o *ListTeamUsersDefault) String() string

type ListTeamUsersForbidden

type ListTeamUsersForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListTeamUsersForbidden

func NewListTeamUsersForbidden() *ListTeamUsersForbidden

NewListTeamUsersForbidden creates a ListTeamUsersForbidden with default headers values

func (*ListTeamUsersForbidden) Code

func (o *ListTeamUsersForbidden) Code() int

Code gets the status code for the list team users forbidden response

func (*ListTeamUsersForbidden) Error

func (o *ListTeamUsersForbidden) Error() string

func (*ListTeamUsersForbidden) GetPayload

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

func (*ListTeamUsersForbidden) IsClientError

func (o *ListTeamUsersForbidden) IsClientError() bool

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

func (*ListTeamUsersForbidden) IsCode

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

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

func (*ListTeamUsersForbidden) IsRedirect

func (o *ListTeamUsersForbidden) IsRedirect() bool

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

func (*ListTeamUsersForbidden) IsServerError

func (o *ListTeamUsersForbidden) IsServerError() bool

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

func (*ListTeamUsersForbidden) IsSuccess

func (o *ListTeamUsersForbidden) IsSuccess() bool

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

func (*ListTeamUsersForbidden) String

func (o *ListTeamUsersForbidden) String() string

type ListTeamUsersNotFound

type ListTeamUsersNotFound struct {
	Payload *models.GeneralError
}

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

Team not found

func NewListTeamUsersNotFound

func NewListTeamUsersNotFound() *ListTeamUsersNotFound

NewListTeamUsersNotFound creates a ListTeamUsersNotFound with default headers values

func (*ListTeamUsersNotFound) Code

func (o *ListTeamUsersNotFound) Code() int

Code gets the status code for the list team users not found response

func (*ListTeamUsersNotFound) Error

func (o *ListTeamUsersNotFound) Error() string

func (*ListTeamUsersNotFound) GetPayload

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

func (*ListTeamUsersNotFound) IsClientError

func (o *ListTeamUsersNotFound) IsClientError() bool

IsClientError returns true when this list team users not found response has a 4xx status code

func (*ListTeamUsersNotFound) IsCode

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

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

func (*ListTeamUsersNotFound) IsRedirect

func (o *ListTeamUsersNotFound) IsRedirect() bool

IsRedirect returns true when this list team users not found response has a 3xx status code

func (*ListTeamUsersNotFound) IsServerError

func (o *ListTeamUsersNotFound) IsServerError() bool

IsServerError returns true when this list team users not found response has a 5xx status code

func (*ListTeamUsersNotFound) IsSuccess

func (o *ListTeamUsersNotFound) IsSuccess() bool

IsSuccess returns true when this list team users not found response has a 2xx status code

func (*ListTeamUsersNotFound) String

func (o *ListTeamUsersNotFound) String() string

type ListTeamUsersOK

type ListTeamUsersOK struct {
	Payload *models.TeamUsers
}

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

A collection of members

func NewListTeamUsersOK

func NewListTeamUsersOK() *ListTeamUsersOK

NewListTeamUsersOK creates a ListTeamUsersOK with default headers values

func (*ListTeamUsersOK) Code

func (o *ListTeamUsersOK) Code() int

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

func (*ListTeamUsersOK) Error

func (o *ListTeamUsersOK) Error() string

func (*ListTeamUsersOK) GetPayload

func (o *ListTeamUsersOK) GetPayload() *models.TeamUsers

func (*ListTeamUsersOK) IsClientError

func (o *ListTeamUsersOK) IsClientError() bool

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

func (*ListTeamUsersOK) IsCode

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

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

func (*ListTeamUsersOK) IsRedirect

func (o *ListTeamUsersOK) IsRedirect() bool

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

func (*ListTeamUsersOK) IsServerError

func (o *ListTeamUsersOK) IsServerError() bool

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

func (*ListTeamUsersOK) IsSuccess

func (o *ListTeamUsersOK) IsSuccess() bool

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

func (*ListTeamUsersOK) String

func (o *ListTeamUsersOK) String() string

type ListTeamUsersParams

type ListTeamUsersParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

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

ListTeamUsersParams contains all the parameters to send to the API endpoint

for the list team users operation.

Typically these are written to a http.Request.

func NewListTeamUsersParams

func NewListTeamUsersParams() *ListTeamUsersParams

NewListTeamUsersParams creates a new ListTeamUsersParams 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 NewListTeamUsersParamsWithContext

func NewListTeamUsersParamsWithContext(ctx context.Context) *ListTeamUsersParams

NewListTeamUsersParamsWithContext creates a new ListTeamUsersParams object with the ability to set a context for a request.

func NewListTeamUsersParamsWithHTTPClient

func NewListTeamUsersParamsWithHTTPClient(client *http.Client) *ListTeamUsersParams

NewListTeamUsersParamsWithHTTPClient creates a new ListTeamUsersParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamUsersParamsWithTimeout

func NewListTeamUsersParamsWithTimeout(timeout time.Duration) *ListTeamUsersParams

NewListTeamUsersParamsWithTimeout creates a new ListTeamUsersParams object with the ability to set a timeout on a request.

func (*ListTeamUsersParams) SetContext

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

SetContext adds the context to the list team users params

func (*ListTeamUsersParams) SetDefaults

func (o *ListTeamUsersParams) SetDefaults()

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

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

func (*ListTeamUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list team users params

func (*ListTeamUsersParams) SetTeamID

func (o *ListTeamUsersParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the list team users params

func (*ListTeamUsersParams) SetTimeout

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

SetTimeout adds the timeout to the list team users params

func (*ListTeamUsersParams) WithContext

WithContext adds the context to the list team users params

func (*ListTeamUsersParams) WithDefaults

func (o *ListTeamUsersParams) WithDefaults() *ListTeamUsersParams

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

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

func (*ListTeamUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list team users params

func (*ListTeamUsersParams) WithTeamID

func (o *ListTeamUsersParams) WithTeamID(teamID string) *ListTeamUsersParams

WithTeamID adds the teamID to the list team users params

func (*ListTeamUsersParams) WithTimeout

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

WithTimeout adds the timeout to the list team users params

func (*ListTeamUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamUsersReader

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

ListTeamUsersReader is a Reader for the ListTeamUsers structure.

func (*ListTeamUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTeamsDefault

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

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

Some error unrelated to the handler

func NewListTeamsDefault

func NewListTeamsDefault(code int) *ListTeamsDefault

NewListTeamsDefault creates a ListTeamsDefault with default headers values

func (*ListTeamsDefault) Code

func (o *ListTeamsDefault) Code() int

Code gets the status code for the list teams default response

func (*ListTeamsDefault) Error

func (o *ListTeamsDefault) Error() string

func (*ListTeamsDefault) GetPayload

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

func (*ListTeamsDefault) IsClientError

func (o *ListTeamsDefault) IsClientError() bool

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

func (*ListTeamsDefault) IsCode

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

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

func (*ListTeamsDefault) IsRedirect

func (o *ListTeamsDefault) IsRedirect() bool

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

func (*ListTeamsDefault) IsServerError

func (o *ListTeamsDefault) IsServerError() bool

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

func (*ListTeamsDefault) IsSuccess

func (o *ListTeamsDefault) IsSuccess() bool

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

func (*ListTeamsDefault) String

func (o *ListTeamsDefault) String() string

type ListTeamsForbidden

type ListTeamsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListTeamsForbidden

func NewListTeamsForbidden() *ListTeamsForbidden

NewListTeamsForbidden creates a ListTeamsForbidden with default headers values

func (*ListTeamsForbidden) Code

func (o *ListTeamsForbidden) Code() int

Code gets the status code for the list teams forbidden response

func (*ListTeamsForbidden) Error

func (o *ListTeamsForbidden) Error() string

func (*ListTeamsForbidden) GetPayload

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

func (*ListTeamsForbidden) IsClientError

func (o *ListTeamsForbidden) IsClientError() bool

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

func (*ListTeamsForbidden) IsCode

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

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

func (*ListTeamsForbidden) IsRedirect

func (o *ListTeamsForbidden) IsRedirect() bool

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

func (*ListTeamsForbidden) IsServerError

func (o *ListTeamsForbidden) IsServerError() bool

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

func (*ListTeamsForbidden) IsSuccess

func (o *ListTeamsForbidden) IsSuccess() bool

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

func (*ListTeamsForbidden) String

func (o *ListTeamsForbidden) String() string

type ListTeamsOK

type ListTeamsOK struct {
	Payload *models.Teams
}

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

A collection of teams

func NewListTeamsOK

func NewListTeamsOK() *ListTeamsOK

NewListTeamsOK creates a ListTeamsOK with default headers values

func (*ListTeamsOK) Code

func (o *ListTeamsOK) Code() int

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

func (*ListTeamsOK) Error

func (o *ListTeamsOK) Error() string

func (*ListTeamsOK) GetPayload

func (o *ListTeamsOK) GetPayload() *models.Teams

func (*ListTeamsOK) IsClientError

func (o *ListTeamsOK) IsClientError() bool

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

func (*ListTeamsOK) IsCode

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

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

func (*ListTeamsOK) IsRedirect

func (o *ListTeamsOK) IsRedirect() bool

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

func (*ListTeamsOK) IsServerError

func (o *ListTeamsOK) IsServerError() bool

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

func (*ListTeamsOK) IsSuccess

func (o *ListTeamsOK) IsSuccess() bool

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

func (*ListTeamsOK) String

func (o *ListTeamsOK) String() string

type ListTeamsParams

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

ListTeamsParams contains all the parameters to send to the API endpoint

for the list teams operation.

Typically these are written to a http.Request.

func NewListTeamsParams

func NewListTeamsParams() *ListTeamsParams

NewListTeamsParams creates a new ListTeamsParams 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 NewListTeamsParamsWithContext

func NewListTeamsParamsWithContext(ctx context.Context) *ListTeamsParams

NewListTeamsParamsWithContext creates a new ListTeamsParams object with the ability to set a context for a request.

func NewListTeamsParamsWithHTTPClient

func NewListTeamsParamsWithHTTPClient(client *http.Client) *ListTeamsParams

NewListTeamsParamsWithHTTPClient creates a new ListTeamsParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamsParamsWithTimeout

func NewListTeamsParamsWithTimeout(timeout time.Duration) *ListTeamsParams

NewListTeamsParamsWithTimeout creates a new ListTeamsParams object with the ability to set a timeout on a request.

func (*ListTeamsParams) SetContext

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

SetContext adds the context to the list teams params

func (*ListTeamsParams) SetDefaults

func (o *ListTeamsParams) SetDefaults()

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

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

func (*ListTeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) SetTimeout

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

SetTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WithContext

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

WithContext adds the context to the list teams params

func (*ListTeamsParams) WithDefaults

func (o *ListTeamsParams) WithDefaults() *ListTeamsParams

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

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

func (*ListTeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) WithTimeout

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

WithTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTeamsReader

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

ListTeamsReader is a Reader for the ListTeams structure.

func (*ListTeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitTeamModDefault

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

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

Some error unrelated to the handler

func NewPermitTeamModDefault

func NewPermitTeamModDefault(code int) *PermitTeamModDefault

NewPermitTeamModDefault creates a PermitTeamModDefault with default headers values

func (*PermitTeamModDefault) Code

func (o *PermitTeamModDefault) Code() int

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

func (*PermitTeamModDefault) Error

func (o *PermitTeamModDefault) Error() string

func (*PermitTeamModDefault) GetPayload

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

func (*PermitTeamModDefault) IsClientError

func (o *PermitTeamModDefault) IsClientError() bool

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

func (*PermitTeamModDefault) IsCode

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

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

func (*PermitTeamModDefault) IsRedirect

func (o *PermitTeamModDefault) IsRedirect() bool

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

func (*PermitTeamModDefault) IsServerError

func (o *PermitTeamModDefault) IsServerError() bool

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

func (*PermitTeamModDefault) IsSuccess

func (o *PermitTeamModDefault) IsSuccess() bool

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

func (*PermitTeamModDefault) String

func (o *PermitTeamModDefault) String() string

type PermitTeamModForbidden

type PermitTeamModForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewPermitTeamModForbidden

func NewPermitTeamModForbidden() *PermitTeamModForbidden

NewPermitTeamModForbidden creates a PermitTeamModForbidden with default headers values

func (*PermitTeamModForbidden) Code

func (o *PermitTeamModForbidden) Code() int

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

func (*PermitTeamModForbidden) Error

func (o *PermitTeamModForbidden) Error() string

func (*PermitTeamModForbidden) GetPayload

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

func (*PermitTeamModForbidden) IsClientError

func (o *PermitTeamModForbidden) IsClientError() bool

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

func (*PermitTeamModForbidden) IsCode

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

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

func (*PermitTeamModForbidden) IsRedirect

func (o *PermitTeamModForbidden) IsRedirect() bool

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

func (*PermitTeamModForbidden) IsServerError

func (o *PermitTeamModForbidden) IsServerError() bool

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

func (*PermitTeamModForbidden) IsSuccess

func (o *PermitTeamModForbidden) IsSuccess() bool

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

func (*PermitTeamModForbidden) String

func (o *PermitTeamModForbidden) String() string

type PermitTeamModNotFound

type PermitTeamModNotFound struct {
	Payload *models.GeneralError
}

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

Team or user not found

func NewPermitTeamModNotFound

func NewPermitTeamModNotFound() *PermitTeamModNotFound

NewPermitTeamModNotFound creates a PermitTeamModNotFound with default headers values

func (*PermitTeamModNotFound) Code

func (o *PermitTeamModNotFound) Code() int

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

func (*PermitTeamModNotFound) Error

func (o *PermitTeamModNotFound) Error() string

func (*PermitTeamModNotFound) GetPayload

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

func (*PermitTeamModNotFound) IsClientError

func (o *PermitTeamModNotFound) IsClientError() bool

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

func (*PermitTeamModNotFound) IsCode

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

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

func (*PermitTeamModNotFound) IsRedirect

func (o *PermitTeamModNotFound) IsRedirect() bool

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

func (*PermitTeamModNotFound) IsServerError

func (o *PermitTeamModNotFound) IsServerError() bool

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

func (*PermitTeamModNotFound) IsSuccess

func (o *PermitTeamModNotFound) IsSuccess() bool

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

func (*PermitTeamModNotFound) String

func (o *PermitTeamModNotFound) String() string

type PermitTeamModOK

type PermitTeamModOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewPermitTeamModOK

func NewPermitTeamModOK() *PermitTeamModOK

NewPermitTeamModOK creates a PermitTeamModOK with default headers values

func (*PermitTeamModOK) Code

func (o *PermitTeamModOK) Code() int

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

func (*PermitTeamModOK) Error

func (o *PermitTeamModOK) Error() string

func (*PermitTeamModOK) GetPayload

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

func (*PermitTeamModOK) IsClientError

func (o *PermitTeamModOK) IsClientError() bool

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

func (*PermitTeamModOK) IsCode

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

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

func (*PermitTeamModOK) IsRedirect

func (o *PermitTeamModOK) IsRedirect() bool

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

func (*PermitTeamModOK) IsServerError

func (o *PermitTeamModOK) IsServerError() bool

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

func (*PermitTeamModOK) IsSuccess

func (o *PermitTeamModOK) IsSuccess() bool

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

func (*PermitTeamModOK) String

func (o *PermitTeamModOK) String() string

type PermitTeamModParams

type PermitTeamModParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamMod.

	   The team mod data to update
	*/
	TeamMod *models.TeamModParams

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

PermitTeamModParams contains all the parameters to send to the API endpoint

for the permit team mod operation.

Typically these are written to a http.Request.

func NewPermitTeamModParams

func NewPermitTeamModParams() *PermitTeamModParams

NewPermitTeamModParams creates a new PermitTeamModParams 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 NewPermitTeamModParamsWithContext

func NewPermitTeamModParamsWithContext(ctx context.Context) *PermitTeamModParams

NewPermitTeamModParamsWithContext creates a new PermitTeamModParams object with the ability to set a context for a request.

func NewPermitTeamModParamsWithHTTPClient

func NewPermitTeamModParamsWithHTTPClient(client *http.Client) *PermitTeamModParams

NewPermitTeamModParamsWithHTTPClient creates a new PermitTeamModParams object with the ability to set a custom HTTPClient for a request.

func NewPermitTeamModParamsWithTimeout

func NewPermitTeamModParamsWithTimeout(timeout time.Duration) *PermitTeamModParams

NewPermitTeamModParamsWithTimeout creates a new PermitTeamModParams object with the ability to set a timeout on a request.

func (*PermitTeamModParams) SetContext

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

SetContext adds the context to the permit team mod params

func (*PermitTeamModParams) SetDefaults

func (o *PermitTeamModParams) SetDefaults()

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

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

func (*PermitTeamModParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit team mod params

func (*PermitTeamModParams) SetTeamID

func (o *PermitTeamModParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the permit team mod params

func (*PermitTeamModParams) SetTeamMod

func (o *PermitTeamModParams) SetTeamMod(teamMod *models.TeamModParams)

SetTeamMod adds the teamMod to the permit team mod params

func (*PermitTeamModParams) SetTimeout

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

SetTimeout adds the timeout to the permit team mod params

func (*PermitTeamModParams) WithContext

WithContext adds the context to the permit team mod params

func (*PermitTeamModParams) WithDefaults

func (o *PermitTeamModParams) WithDefaults() *PermitTeamModParams

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

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

func (*PermitTeamModParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit team mod params

func (*PermitTeamModParams) WithTeamID

func (o *PermitTeamModParams) WithTeamID(teamID string) *PermitTeamModParams

WithTeamID adds the teamID to the permit team mod params

func (*PermitTeamModParams) WithTeamMod

func (o *PermitTeamModParams) WithTeamMod(teamMod *models.TeamModParams) *PermitTeamModParams

WithTeamMod adds the teamMod to the permit team mod params

func (*PermitTeamModParams) WithTimeout

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

WithTimeout adds the timeout to the permit team mod params

func (*PermitTeamModParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitTeamModPreconditionFailed

type PermitTeamModPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Mod is not attached

func NewPermitTeamModPreconditionFailed

func NewPermitTeamModPreconditionFailed() *PermitTeamModPreconditionFailed

NewPermitTeamModPreconditionFailed creates a PermitTeamModPreconditionFailed with default headers values

func (*PermitTeamModPreconditionFailed) Code

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

func (*PermitTeamModPreconditionFailed) Error

func (*PermitTeamModPreconditionFailed) GetPayload

func (*PermitTeamModPreconditionFailed) IsClientError

func (o *PermitTeamModPreconditionFailed) IsClientError() bool

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

func (*PermitTeamModPreconditionFailed) IsCode

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

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

func (*PermitTeamModPreconditionFailed) IsRedirect

func (o *PermitTeamModPreconditionFailed) IsRedirect() bool

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

func (*PermitTeamModPreconditionFailed) IsServerError

func (o *PermitTeamModPreconditionFailed) IsServerError() bool

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

func (*PermitTeamModPreconditionFailed) IsSuccess

func (o *PermitTeamModPreconditionFailed) IsSuccess() bool

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

func (*PermitTeamModPreconditionFailed) String

type PermitTeamModReader

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

PermitTeamModReader is a Reader for the PermitTeamMod structure.

func (*PermitTeamModReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitTeamModUnprocessableEntity

type PermitTeamModUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewPermitTeamModUnprocessableEntity

func NewPermitTeamModUnprocessableEntity() *PermitTeamModUnprocessableEntity

NewPermitTeamModUnprocessableEntity creates a PermitTeamModUnprocessableEntity with default headers values

func (*PermitTeamModUnprocessableEntity) Code

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

func (*PermitTeamModUnprocessableEntity) Error

func (*PermitTeamModUnprocessableEntity) GetPayload

func (*PermitTeamModUnprocessableEntity) IsClientError

func (o *PermitTeamModUnprocessableEntity) IsClientError() bool

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

func (*PermitTeamModUnprocessableEntity) IsCode

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

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

func (*PermitTeamModUnprocessableEntity) IsRedirect

func (o *PermitTeamModUnprocessableEntity) IsRedirect() bool

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

func (*PermitTeamModUnprocessableEntity) IsServerError

func (o *PermitTeamModUnprocessableEntity) IsServerError() bool

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

func (*PermitTeamModUnprocessableEntity) IsSuccess

func (o *PermitTeamModUnprocessableEntity) IsSuccess() bool

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

func (*PermitTeamModUnprocessableEntity) String

type PermitTeamPackDefault

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

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

Some error unrelated to the handler

func NewPermitTeamPackDefault

func NewPermitTeamPackDefault(code int) *PermitTeamPackDefault

NewPermitTeamPackDefault creates a PermitTeamPackDefault with default headers values

func (*PermitTeamPackDefault) Code

func (o *PermitTeamPackDefault) Code() int

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

func (*PermitTeamPackDefault) Error

func (o *PermitTeamPackDefault) Error() string

func (*PermitTeamPackDefault) GetPayload

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

func (*PermitTeamPackDefault) IsClientError

func (o *PermitTeamPackDefault) IsClientError() bool

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

func (*PermitTeamPackDefault) IsCode

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

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

func (*PermitTeamPackDefault) IsRedirect

func (o *PermitTeamPackDefault) IsRedirect() bool

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

func (*PermitTeamPackDefault) IsServerError

func (o *PermitTeamPackDefault) IsServerError() bool

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

func (*PermitTeamPackDefault) IsSuccess

func (o *PermitTeamPackDefault) IsSuccess() bool

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

func (*PermitTeamPackDefault) String

func (o *PermitTeamPackDefault) String() string

type PermitTeamPackForbidden

type PermitTeamPackForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewPermitTeamPackForbidden

func NewPermitTeamPackForbidden() *PermitTeamPackForbidden

NewPermitTeamPackForbidden creates a PermitTeamPackForbidden with default headers values

func (*PermitTeamPackForbidden) Code

func (o *PermitTeamPackForbidden) Code() int

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

func (*PermitTeamPackForbidden) Error

func (o *PermitTeamPackForbidden) Error() string

func (*PermitTeamPackForbidden) GetPayload

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

func (*PermitTeamPackForbidden) IsClientError

func (o *PermitTeamPackForbidden) IsClientError() bool

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

func (*PermitTeamPackForbidden) IsCode

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

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

func (*PermitTeamPackForbidden) IsRedirect

func (o *PermitTeamPackForbidden) IsRedirect() bool

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

func (*PermitTeamPackForbidden) IsServerError

func (o *PermitTeamPackForbidden) IsServerError() bool

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

func (*PermitTeamPackForbidden) IsSuccess

func (o *PermitTeamPackForbidden) IsSuccess() bool

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

func (*PermitTeamPackForbidden) String

func (o *PermitTeamPackForbidden) String() string

type PermitTeamPackNotFound

type PermitTeamPackNotFound struct {
	Payload *models.GeneralError
}

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

Team or pack not found

func NewPermitTeamPackNotFound

func NewPermitTeamPackNotFound() *PermitTeamPackNotFound

NewPermitTeamPackNotFound creates a PermitTeamPackNotFound with default headers values

func (*PermitTeamPackNotFound) Code

func (o *PermitTeamPackNotFound) Code() int

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

func (*PermitTeamPackNotFound) Error

func (o *PermitTeamPackNotFound) Error() string

func (*PermitTeamPackNotFound) GetPayload

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

func (*PermitTeamPackNotFound) IsClientError

func (o *PermitTeamPackNotFound) IsClientError() bool

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

func (*PermitTeamPackNotFound) IsCode

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

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

func (*PermitTeamPackNotFound) IsRedirect

func (o *PermitTeamPackNotFound) IsRedirect() bool

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

func (*PermitTeamPackNotFound) IsServerError

func (o *PermitTeamPackNotFound) IsServerError() bool

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

func (*PermitTeamPackNotFound) IsSuccess

func (o *PermitTeamPackNotFound) IsSuccess() bool

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

func (*PermitTeamPackNotFound) String

func (o *PermitTeamPackNotFound) String() string

type PermitTeamPackOK

type PermitTeamPackOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewPermitTeamPackOK

func NewPermitTeamPackOK() *PermitTeamPackOK

NewPermitTeamPackOK creates a PermitTeamPackOK with default headers values

func (*PermitTeamPackOK) Code

func (o *PermitTeamPackOK) Code() int

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

func (*PermitTeamPackOK) Error

func (o *PermitTeamPackOK) Error() string

func (*PermitTeamPackOK) GetPayload

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

func (*PermitTeamPackOK) IsClientError

func (o *PermitTeamPackOK) IsClientError() bool

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

func (*PermitTeamPackOK) IsCode

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

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

func (*PermitTeamPackOK) IsRedirect

func (o *PermitTeamPackOK) IsRedirect() bool

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

func (*PermitTeamPackOK) IsServerError

func (o *PermitTeamPackOK) IsServerError() bool

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

func (*PermitTeamPackOK) IsSuccess

func (o *PermitTeamPackOK) IsSuccess() bool

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

func (*PermitTeamPackOK) String

func (o *PermitTeamPackOK) String() string

type PermitTeamPackParams

type PermitTeamPackParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamPack.

	   The team pack data to update
	*/
	TeamPack *models.TeamPackParams

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

PermitTeamPackParams contains all the parameters to send to the API endpoint

for the permit team pack operation.

Typically these are written to a http.Request.

func NewPermitTeamPackParams

func NewPermitTeamPackParams() *PermitTeamPackParams

NewPermitTeamPackParams creates a new PermitTeamPackParams 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 NewPermitTeamPackParamsWithContext

func NewPermitTeamPackParamsWithContext(ctx context.Context) *PermitTeamPackParams

NewPermitTeamPackParamsWithContext creates a new PermitTeamPackParams object with the ability to set a context for a request.

func NewPermitTeamPackParamsWithHTTPClient

func NewPermitTeamPackParamsWithHTTPClient(client *http.Client) *PermitTeamPackParams

NewPermitTeamPackParamsWithHTTPClient creates a new PermitTeamPackParams object with the ability to set a custom HTTPClient for a request.

func NewPermitTeamPackParamsWithTimeout

func NewPermitTeamPackParamsWithTimeout(timeout time.Duration) *PermitTeamPackParams

NewPermitTeamPackParamsWithTimeout creates a new PermitTeamPackParams object with the ability to set a timeout on a request.

func (*PermitTeamPackParams) SetContext

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

SetContext adds the context to the permit team pack params

func (*PermitTeamPackParams) SetDefaults

func (o *PermitTeamPackParams) SetDefaults()

SetDefaults hydrates default values in the permit team pack params (not the query body).

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

func (*PermitTeamPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit team pack params

func (*PermitTeamPackParams) SetTeamID

func (o *PermitTeamPackParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the permit team pack params

func (*PermitTeamPackParams) SetTeamPack

func (o *PermitTeamPackParams) SetTeamPack(teamPack *models.TeamPackParams)

SetTeamPack adds the teamPack to the permit team pack params

func (*PermitTeamPackParams) SetTimeout

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

SetTimeout adds the timeout to the permit team pack params

func (*PermitTeamPackParams) WithContext

WithContext adds the context to the permit team pack params

func (*PermitTeamPackParams) WithDefaults

func (o *PermitTeamPackParams) WithDefaults() *PermitTeamPackParams

WithDefaults hydrates default values in the permit team pack params (not the query body).

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

func (*PermitTeamPackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit team pack params

func (*PermitTeamPackParams) WithTeamID

func (o *PermitTeamPackParams) WithTeamID(teamID string) *PermitTeamPackParams

WithTeamID adds the teamID to the permit team pack params

func (*PermitTeamPackParams) WithTeamPack

func (o *PermitTeamPackParams) WithTeamPack(teamPack *models.TeamPackParams) *PermitTeamPackParams

WithTeamPack adds the teamPack to the permit team pack params

func (*PermitTeamPackParams) WithTimeout

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

WithTimeout adds the timeout to the permit team pack params

func (*PermitTeamPackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitTeamPackPreconditionFailed

type PermitTeamPackPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Pack is not attached

func NewPermitTeamPackPreconditionFailed

func NewPermitTeamPackPreconditionFailed() *PermitTeamPackPreconditionFailed

NewPermitTeamPackPreconditionFailed creates a PermitTeamPackPreconditionFailed with default headers values

func (*PermitTeamPackPreconditionFailed) Code

Code gets the status code for the permit team pack precondition failed response

func (*PermitTeamPackPreconditionFailed) Error

func (*PermitTeamPackPreconditionFailed) GetPayload

func (*PermitTeamPackPreconditionFailed) IsClientError

func (o *PermitTeamPackPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit team pack precondition failed response has a 4xx status code

func (*PermitTeamPackPreconditionFailed) IsCode

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

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

func (*PermitTeamPackPreconditionFailed) IsRedirect

func (o *PermitTeamPackPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit team pack precondition failed response has a 3xx status code

func (*PermitTeamPackPreconditionFailed) IsServerError

func (o *PermitTeamPackPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit team pack precondition failed response has a 5xx status code

func (*PermitTeamPackPreconditionFailed) IsSuccess

func (o *PermitTeamPackPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit team pack precondition failed response has a 2xx status code

func (*PermitTeamPackPreconditionFailed) String

type PermitTeamPackReader

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

PermitTeamPackReader is a Reader for the PermitTeamPack structure.

func (*PermitTeamPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PermitTeamPackUnprocessableEntity

type PermitTeamPackUnprocessableEntity struct {
	Payload *models.ValidationError
}

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

Failed to validate request

func NewPermitTeamPackUnprocessableEntity

func NewPermitTeamPackUnprocessableEntity() *PermitTeamPackUnprocessableEntity

NewPermitTeamPackUnprocessableEntity creates a PermitTeamPackUnprocessableEntity with default headers values

func (*PermitTeamPackUnprocessableEntity) Code

Code gets the status code for the permit team pack unprocessable entity response

func (*PermitTeamPackUnprocessableEntity) Error

func (*PermitTeamPackUnprocessableEntity) GetPayload

func (*PermitTeamPackUnprocessableEntity) IsClientError

func (o *PermitTeamPackUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit team pack unprocessable entity response has a 4xx status code

func (*PermitTeamPackUnprocessableEntity) IsCode

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

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

func (*PermitTeamPackUnprocessableEntity) IsRedirect

func (o *PermitTeamPackUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit team pack unprocessable entity response has a 3xx status code

func (*PermitTeamPackUnprocessableEntity) IsServerError

func (o *PermitTeamPackUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit team pack unprocessable entity response has a 5xx status code

func (*PermitTeamPackUnprocessableEntity) IsSuccess

func (o *PermitTeamPackUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit team pack unprocessable entity response has a 2xx status code

func (*PermitTeamPackUnprocessableEntity) String

type PermitTeamUserDefault

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

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

Some error unrelated to the handler

func NewPermitTeamUserDefault

func NewPermitTeamUserDefault(code int) *PermitTeamUserDefault

NewPermitTeamUserDefault creates a PermitTeamUserDefault with default headers values

func (*PermitTeamUserDefault) Code

func (o *PermitTeamUserDefault) Code() int

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

func (*PermitTeamUserDefault) Error

func (o *PermitTeamUserDefault) Error() string

func (*PermitTeamUserDefault) GetPayload

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

func (*PermitTeamUserDefault) IsClientError

func (o *PermitTeamUserDefault) IsClientError() bool

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

func (*PermitTeamUserDefault) IsCode

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

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

func (*PermitTeamUserDefault) IsRedirect

func (o *PermitTeamUserDefault) IsRedirect() bool

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

func (*PermitTeamUserDefault) IsServerError

func (o *PermitTeamUserDefault) IsServerError() bool

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

func (*PermitTeamUserDefault) IsSuccess

func (o *PermitTeamUserDefault) IsSuccess() bool

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

func (*PermitTeamUserDefault) String

func (o *PermitTeamUserDefault) String() string

type PermitTeamUserForbidden

type PermitTeamUserForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewPermitTeamUserForbidden

func NewPermitTeamUserForbidden() *PermitTeamUserForbidden

NewPermitTeamUserForbidden creates a PermitTeamUserForbidden with default headers values

func (*PermitTeamUserForbidden) Code

func (o *PermitTeamUserForbidden) Code() int

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

func (*PermitTeamUserForbidden) Error

func (o *PermitTeamUserForbidden) Error() string

func (*PermitTeamUserForbidden) GetPayload

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

func (*PermitTeamUserForbidden) IsClientError

func (o *PermitTeamUserForbidden) IsClientError() bool

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

func (*PermitTeamUserForbidden) IsCode

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

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

func (*PermitTeamUserForbidden) IsRedirect

func (o *PermitTeamUserForbidden) IsRedirect() bool

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

func (*PermitTeamUserForbidden) IsServerError

func (o *PermitTeamUserForbidden) IsServerError() bool

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

func (*PermitTeamUserForbidden) IsSuccess

func (o *PermitTeamUserForbidden) IsSuccess() bool

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

func (*PermitTeamUserForbidden) String

func (o *PermitTeamUserForbidden) String() string

type PermitTeamUserNotFound

type PermitTeamUserNotFound struct {
	Payload *models.GeneralError
}

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

Team or user not found

func NewPermitTeamUserNotFound

func NewPermitTeamUserNotFound() *PermitTeamUserNotFound

NewPermitTeamUserNotFound creates a PermitTeamUserNotFound with default headers values

func (*PermitTeamUserNotFound) Code

func (o *PermitTeamUserNotFound) Code() int

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

func (*PermitTeamUserNotFound) Error

func (o *PermitTeamUserNotFound) Error() string

func (*PermitTeamUserNotFound) GetPayload

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

func (*PermitTeamUserNotFound) IsClientError

func (o *PermitTeamUserNotFound) IsClientError() bool

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

func (*PermitTeamUserNotFound) IsCode

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

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

func (*PermitTeamUserNotFound) IsRedirect

func (o *PermitTeamUserNotFound) IsRedirect() bool

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

func (*PermitTeamUserNotFound) IsServerError

func (o *PermitTeamUserNotFound) IsServerError() bool

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

func (*PermitTeamUserNotFound) IsSuccess

func (o *PermitTeamUserNotFound) IsSuccess() bool

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

func (*PermitTeamUserNotFound) String

func (o *PermitTeamUserNotFound) String() string

type PermitTeamUserOK

type PermitTeamUserOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewPermitTeamUserOK

func NewPermitTeamUserOK() *PermitTeamUserOK

NewPermitTeamUserOK creates a PermitTeamUserOK with default headers values

func (*PermitTeamUserOK) Code

func (o *PermitTeamUserOK) Code() int

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

func (*PermitTeamUserOK) Error

func (o *PermitTeamUserOK) Error() string

func (*PermitTeamUserOK) GetPayload

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

func (*PermitTeamUserOK) IsClientError

func (o *PermitTeamUserOK) IsClientError() bool

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

func (*PermitTeamUserOK) IsCode

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

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

func (*PermitTeamUserOK) IsRedirect

func (o *PermitTeamUserOK) IsRedirect() bool

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

func (*PermitTeamUserOK) IsServerError

func (o *PermitTeamUserOK) IsServerError() bool

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

func (*PermitTeamUserOK) IsSuccess

func (o *PermitTeamUserOK) IsSuccess() bool

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

func (*PermitTeamUserOK) String

func (o *PermitTeamUserOK) String() string

type PermitTeamUserParams

type PermitTeamUserParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	/* TeamUser.

	   The team user data to update
	*/
	TeamUser *models.TeamUserParams

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

PermitTeamUserParams contains all the parameters to send to the API endpoint

for the permit team user operation.

Typically these are written to a http.Request.

func NewPermitTeamUserParams

func NewPermitTeamUserParams() *PermitTeamUserParams

NewPermitTeamUserParams creates a new PermitTeamUserParams 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 NewPermitTeamUserParamsWithContext

func NewPermitTeamUserParamsWithContext(ctx context.Context) *PermitTeamUserParams

NewPermitTeamUserParamsWithContext creates a new PermitTeamUserParams object with the ability to set a context for a request.

func NewPermitTeamUserParamsWithHTTPClient

func NewPermitTeamUserParamsWithHTTPClient(client *http.Client) *PermitTeamUserParams

NewPermitTeamUserParamsWithHTTPClient creates a new PermitTeamUserParams object with the ability to set a custom HTTPClient for a request.

func NewPermitTeamUserParamsWithTimeout

func NewPermitTeamUserParamsWithTimeout(timeout time.Duration) *PermitTeamUserParams

NewPermitTeamUserParamsWithTimeout creates a new PermitTeamUserParams object with the ability to set a timeout on a request.

func (*PermitTeamUserParams) SetContext

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

SetContext adds the context to the permit team user params

func (*PermitTeamUserParams) SetDefaults

func (o *PermitTeamUserParams) SetDefaults()

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

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

func (*PermitTeamUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the permit team user params

func (*PermitTeamUserParams) SetTeamID

func (o *PermitTeamUserParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the permit team user params

func (*PermitTeamUserParams) SetTeamUser

func (o *PermitTeamUserParams) SetTeamUser(teamUser *models.TeamUserParams)

SetTeamUser adds the teamUser to the permit team user params

func (*PermitTeamUserParams) SetTimeout

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

SetTimeout adds the timeout to the permit team user params

func (*PermitTeamUserParams) WithContext

WithContext adds the context to the permit team user params

func (*PermitTeamUserParams) WithDefaults

func (o *PermitTeamUserParams) WithDefaults() *PermitTeamUserParams

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

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

func (*PermitTeamUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the permit team user params

func (*PermitTeamUserParams) WithTeamID

func (o *PermitTeamUserParams) WithTeamID(teamID string) *PermitTeamUserParams

WithTeamID adds the teamID to the permit team user params

func (*PermitTeamUserParams) WithTeamUser

func (o *PermitTeamUserParams) WithTeamUser(teamUser *models.TeamUserParams) *PermitTeamUserParams

WithTeamUser adds the teamUser to the permit team user params

func (*PermitTeamUserParams) WithTimeout

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

WithTimeout adds the timeout to the permit team user params

func (*PermitTeamUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PermitTeamUserPreconditionFailed

type PermitTeamUserPreconditionFailed struct {
	Payload *models.GeneralError
}

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

User is not attached

func NewPermitTeamUserPreconditionFailed

func NewPermitTeamUserPreconditionFailed() *PermitTeamUserPreconditionFailed

NewPermitTeamUserPreconditionFailed creates a PermitTeamUserPreconditionFailed with default headers values

func (*PermitTeamUserPreconditionFailed) Code

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

func (*PermitTeamUserPreconditionFailed) Error

func (*PermitTeamUserPreconditionFailed) GetPayload

func (*PermitTeamUserPreconditionFailed) IsClientError

func (o *PermitTeamUserPreconditionFailed) IsClientError() bool

IsClientError returns true when this permit team user precondition failed response has a 4xx status code

func (*PermitTeamUserPreconditionFailed) IsCode

func (o *PermitTeamUserPreconditionFailed) IsCode(code int) bool

IsCode returns true when this permit team user precondition failed response a status code equal to that given

func (*PermitTeamUserPreconditionFailed) IsRedirect

func (o *PermitTeamUserPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this permit team user precondition failed response has a 3xx status code

func (*PermitTeamUserPreconditionFailed) IsServerError

func (o *PermitTeamUserPreconditionFailed) IsServerError() bool

IsServerError returns true when this permit team user precondition failed response has a 5xx status code

func (*PermitTeamUserPreconditionFailed) IsSuccess

func (o *PermitTeamUserPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this permit team user precondition failed response has a 2xx status code

func (*PermitTeamUserPreconditionFailed) String

type PermitTeamUserReader

type PermitTeamUserReader struct {
	// contains filtered or unexported fields
}

PermitTeamUserReader is a Reader for the PermitTeamUser structure.

func (*PermitTeamUserReader) ReadResponse

func (o *PermitTeamUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PermitTeamUserUnprocessableEntity

type PermitTeamUserUnprocessableEntity struct {
	Payload *models.ValidationError
}

PermitTeamUserUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewPermitTeamUserUnprocessableEntity

func NewPermitTeamUserUnprocessableEntity() *PermitTeamUserUnprocessableEntity

NewPermitTeamUserUnprocessableEntity creates a PermitTeamUserUnprocessableEntity with default headers values

func (*PermitTeamUserUnprocessableEntity) Code

Code gets the status code for the permit team user unprocessable entity response

func (*PermitTeamUserUnprocessableEntity) Error

func (*PermitTeamUserUnprocessableEntity) GetPayload

func (*PermitTeamUserUnprocessableEntity) IsClientError

func (o *PermitTeamUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this permit team user unprocessable entity response has a 4xx status code

func (*PermitTeamUserUnprocessableEntity) IsCode

func (o *PermitTeamUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this permit team user unprocessable entity response a status code equal to that given

func (*PermitTeamUserUnprocessableEntity) IsRedirect

func (o *PermitTeamUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this permit team user unprocessable entity response has a 3xx status code

func (*PermitTeamUserUnprocessableEntity) IsServerError

func (o *PermitTeamUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this permit team user unprocessable entity response has a 5xx status code

func (*PermitTeamUserUnprocessableEntity) IsSuccess

func (o *PermitTeamUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this permit team user unprocessable entity response has a 2xx status code

func (*PermitTeamUserUnprocessableEntity) String

type ShowTeamDefault

type ShowTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

ShowTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewShowTeamDefault

func NewShowTeamDefault(code int) *ShowTeamDefault

NewShowTeamDefault creates a ShowTeamDefault with default headers values

func (*ShowTeamDefault) Code

func (o *ShowTeamDefault) Code() int

Code gets the status code for the show team default response

func (*ShowTeamDefault) Error

func (o *ShowTeamDefault) Error() string

func (*ShowTeamDefault) GetPayload

func (o *ShowTeamDefault) GetPayload() *models.GeneralError

func (*ShowTeamDefault) IsClientError

func (o *ShowTeamDefault) IsClientError() bool

IsClientError returns true when this show team default response has a 4xx status code

func (*ShowTeamDefault) IsCode

func (o *ShowTeamDefault) IsCode(code int) bool

IsCode returns true when this show team default response a status code equal to that given

func (*ShowTeamDefault) IsRedirect

func (o *ShowTeamDefault) IsRedirect() bool

IsRedirect returns true when this show team default response has a 3xx status code

func (*ShowTeamDefault) IsServerError

func (o *ShowTeamDefault) IsServerError() bool

IsServerError returns true when this show team default response has a 5xx status code

func (*ShowTeamDefault) IsSuccess

func (o *ShowTeamDefault) IsSuccess() bool

IsSuccess returns true when this show team default response has a 2xx status code

func (*ShowTeamDefault) String

func (o *ShowTeamDefault) String() string

type ShowTeamForbidden

type ShowTeamForbidden struct {
	Payload *models.GeneralError
}

ShowTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewShowTeamForbidden

func NewShowTeamForbidden() *ShowTeamForbidden

NewShowTeamForbidden creates a ShowTeamForbidden with default headers values

func (*ShowTeamForbidden) Code

func (o *ShowTeamForbidden) Code() int

Code gets the status code for the show team forbidden response

func (*ShowTeamForbidden) Error

func (o *ShowTeamForbidden) Error() string

func (*ShowTeamForbidden) GetPayload

func (o *ShowTeamForbidden) GetPayload() *models.GeneralError

func (*ShowTeamForbidden) IsClientError

func (o *ShowTeamForbidden) IsClientError() bool

IsClientError returns true when this show team forbidden response has a 4xx status code

func (*ShowTeamForbidden) IsCode

func (o *ShowTeamForbidden) IsCode(code int) bool

IsCode returns true when this show team forbidden response a status code equal to that given

func (*ShowTeamForbidden) IsRedirect

func (o *ShowTeamForbidden) IsRedirect() bool

IsRedirect returns true when this show team forbidden response has a 3xx status code

func (*ShowTeamForbidden) IsServerError

func (o *ShowTeamForbidden) IsServerError() bool

IsServerError returns true when this show team forbidden response has a 5xx status code

func (*ShowTeamForbidden) IsSuccess

func (o *ShowTeamForbidden) IsSuccess() bool

IsSuccess returns true when this show team forbidden response has a 2xx status code

func (*ShowTeamForbidden) String

func (o *ShowTeamForbidden) String() string

type ShowTeamNotFound

type ShowTeamNotFound struct {
	Payload *models.GeneralError
}

ShowTeamNotFound describes a response with status code 404, with default header values.

Team not found

func NewShowTeamNotFound

func NewShowTeamNotFound() *ShowTeamNotFound

NewShowTeamNotFound creates a ShowTeamNotFound with default headers values

func (*ShowTeamNotFound) Code

func (o *ShowTeamNotFound) Code() int

Code gets the status code for the show team not found response

func (*ShowTeamNotFound) Error

func (o *ShowTeamNotFound) Error() string

func (*ShowTeamNotFound) GetPayload

func (o *ShowTeamNotFound) GetPayload() *models.GeneralError

func (*ShowTeamNotFound) IsClientError

func (o *ShowTeamNotFound) IsClientError() bool

IsClientError returns true when this show team not found response has a 4xx status code

func (*ShowTeamNotFound) IsCode

func (o *ShowTeamNotFound) IsCode(code int) bool

IsCode returns true when this show team not found response a status code equal to that given

func (*ShowTeamNotFound) IsRedirect

func (o *ShowTeamNotFound) IsRedirect() bool

IsRedirect returns true when this show team not found response has a 3xx status code

func (*ShowTeamNotFound) IsServerError

func (o *ShowTeamNotFound) IsServerError() bool

IsServerError returns true when this show team not found response has a 5xx status code

func (*ShowTeamNotFound) IsSuccess

func (o *ShowTeamNotFound) IsSuccess() bool

IsSuccess returns true when this show team not found response has a 2xx status code

func (*ShowTeamNotFound) String

func (o *ShowTeamNotFound) String() string

type ShowTeamOK

type ShowTeamOK struct {
	Payload *models.Team
}

ShowTeamOK describes a response with status code 200, with default header values.

The fetched team details

func NewShowTeamOK

func NewShowTeamOK() *ShowTeamOK

NewShowTeamOK creates a ShowTeamOK with default headers values

func (*ShowTeamOK) Code

func (o *ShowTeamOK) Code() int

Code gets the status code for the show team o k response

func (*ShowTeamOK) Error

func (o *ShowTeamOK) Error() string

func (*ShowTeamOK) GetPayload

func (o *ShowTeamOK) GetPayload() *models.Team

func (*ShowTeamOK) IsClientError

func (o *ShowTeamOK) IsClientError() bool

IsClientError returns true when this show team o k response has a 4xx status code

func (*ShowTeamOK) IsCode

func (o *ShowTeamOK) IsCode(code int) bool

IsCode returns true when this show team o k response a status code equal to that given

func (*ShowTeamOK) IsRedirect

func (o *ShowTeamOK) IsRedirect() bool

IsRedirect returns true when this show team o k response has a 3xx status code

func (*ShowTeamOK) IsServerError

func (o *ShowTeamOK) IsServerError() bool

IsServerError returns true when this show team o k response has a 5xx status code

func (*ShowTeamOK) IsSuccess

func (o *ShowTeamOK) IsSuccess() bool

IsSuccess returns true when this show team o k response has a 2xx status code

func (*ShowTeamOK) String

func (o *ShowTeamOK) String() string

type ShowTeamParams

type ShowTeamParams struct {

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ShowTeamParams contains all the parameters to send to the API endpoint

for the show team operation.

Typically these are written to a http.Request.

func NewShowTeamParams

func NewShowTeamParams() *ShowTeamParams

NewShowTeamParams creates a new ShowTeamParams 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 NewShowTeamParamsWithContext

func NewShowTeamParamsWithContext(ctx context.Context) *ShowTeamParams

NewShowTeamParamsWithContext creates a new ShowTeamParams object with the ability to set a context for a request.

func NewShowTeamParamsWithHTTPClient

func NewShowTeamParamsWithHTTPClient(client *http.Client) *ShowTeamParams

NewShowTeamParamsWithHTTPClient creates a new ShowTeamParams object with the ability to set a custom HTTPClient for a request.

func NewShowTeamParamsWithTimeout

func NewShowTeamParamsWithTimeout(timeout time.Duration) *ShowTeamParams

NewShowTeamParamsWithTimeout creates a new ShowTeamParams object with the ability to set a timeout on a request.

func (*ShowTeamParams) SetContext

func (o *ShowTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the show team params

func (*ShowTeamParams) SetDefaults

func (o *ShowTeamParams) SetDefaults()

SetDefaults hydrates default values in the show team params (not the query body).

All values with no default are reset to their zero value.

func (*ShowTeamParams) SetHTTPClient

func (o *ShowTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the show team params

func (*ShowTeamParams) SetTeamID

func (o *ShowTeamParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the show team params

func (*ShowTeamParams) SetTimeout

func (o *ShowTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the show team params

func (*ShowTeamParams) WithContext

func (o *ShowTeamParams) WithContext(ctx context.Context) *ShowTeamParams

WithContext adds the context to the show team params

func (*ShowTeamParams) WithDefaults

func (o *ShowTeamParams) WithDefaults() *ShowTeamParams

WithDefaults hydrates default values in the show team params (not the query body).

All values with no default are reset to their zero value.

func (*ShowTeamParams) WithHTTPClient

func (o *ShowTeamParams) WithHTTPClient(client *http.Client) *ShowTeamParams

WithHTTPClient adds the HTTPClient to the show team params

func (*ShowTeamParams) WithTeamID

func (o *ShowTeamParams) WithTeamID(teamID string) *ShowTeamParams

WithTeamID adds the teamID to the show team params

func (*ShowTeamParams) WithTimeout

func (o *ShowTeamParams) WithTimeout(timeout time.Duration) *ShowTeamParams

WithTimeout adds the timeout to the show team params

func (*ShowTeamParams) WriteToRequest

func (o *ShowTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ShowTeamReader

type ShowTeamReader struct {
	// contains filtered or unexported fields
}

ShowTeamReader is a Reader for the ShowTeam structure.

func (*ShowTeamReader) ReadResponse

func (o *ShowTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateTeamDefault

type UpdateTeamDefault struct {
	Payload *models.GeneralError
	// contains filtered or unexported fields
}

UpdateTeamDefault describes a response with status code -1, with default header values.

Some error unrelated to the handler

func NewUpdateTeamDefault

func NewUpdateTeamDefault(code int) *UpdateTeamDefault

NewUpdateTeamDefault creates a UpdateTeamDefault with default headers values

func (*UpdateTeamDefault) Code

func (o *UpdateTeamDefault) Code() int

Code gets the status code for the update team default response

func (*UpdateTeamDefault) Error

func (o *UpdateTeamDefault) Error() string

func (*UpdateTeamDefault) GetPayload

func (o *UpdateTeamDefault) GetPayload() *models.GeneralError

func (*UpdateTeamDefault) IsClientError

func (o *UpdateTeamDefault) IsClientError() bool

IsClientError returns true when this update team default response has a 4xx status code

func (*UpdateTeamDefault) IsCode

func (o *UpdateTeamDefault) IsCode(code int) bool

IsCode returns true when this update team default response a status code equal to that given

func (*UpdateTeamDefault) IsRedirect

func (o *UpdateTeamDefault) IsRedirect() bool

IsRedirect returns true when this update team default response has a 3xx status code

func (*UpdateTeamDefault) IsServerError

func (o *UpdateTeamDefault) IsServerError() bool

IsServerError returns true when this update team default response has a 5xx status code

func (*UpdateTeamDefault) IsSuccess

func (o *UpdateTeamDefault) IsSuccess() bool

IsSuccess returns true when this update team default response has a 2xx status code

func (*UpdateTeamDefault) String

func (o *UpdateTeamDefault) String() string

type UpdateTeamForbidden

type UpdateTeamForbidden struct {
	Payload *models.GeneralError
}

UpdateTeamForbidden describes a response with status code 403, with default header values.

User is not authorized

func NewUpdateTeamForbidden

func NewUpdateTeamForbidden() *UpdateTeamForbidden

NewUpdateTeamForbidden creates a UpdateTeamForbidden with default headers values

func (*UpdateTeamForbidden) Code

func (o *UpdateTeamForbidden) Code() int

Code gets the status code for the update team forbidden response

func (*UpdateTeamForbidden) Error

func (o *UpdateTeamForbidden) Error() string

func (*UpdateTeamForbidden) GetPayload

func (o *UpdateTeamForbidden) GetPayload() *models.GeneralError

func (*UpdateTeamForbidden) IsClientError

func (o *UpdateTeamForbidden) IsClientError() bool

IsClientError returns true when this update team forbidden response has a 4xx status code

func (*UpdateTeamForbidden) IsCode

func (o *UpdateTeamForbidden) IsCode(code int) bool

IsCode returns true when this update team forbidden response a status code equal to that given

func (*UpdateTeamForbidden) IsRedirect

func (o *UpdateTeamForbidden) IsRedirect() bool

IsRedirect returns true when this update team forbidden response has a 3xx status code

func (*UpdateTeamForbidden) IsServerError

func (o *UpdateTeamForbidden) IsServerError() bool

IsServerError returns true when this update team forbidden response has a 5xx status code

func (*UpdateTeamForbidden) IsSuccess

func (o *UpdateTeamForbidden) IsSuccess() bool

IsSuccess returns true when this update team forbidden response has a 2xx status code

func (*UpdateTeamForbidden) String

func (o *UpdateTeamForbidden) String() string

type UpdateTeamNotFound

type UpdateTeamNotFound struct {
	Payload *models.GeneralError
}

UpdateTeamNotFound describes a response with status code 404, with default header values.

Team not found

func NewUpdateTeamNotFound

func NewUpdateTeamNotFound() *UpdateTeamNotFound

NewUpdateTeamNotFound creates a UpdateTeamNotFound with default headers values

func (*UpdateTeamNotFound) Code

func (o *UpdateTeamNotFound) Code() int

Code gets the status code for the update team not found response

func (*UpdateTeamNotFound) Error

func (o *UpdateTeamNotFound) Error() string

func (*UpdateTeamNotFound) GetPayload

func (o *UpdateTeamNotFound) GetPayload() *models.GeneralError

func (*UpdateTeamNotFound) IsClientError

func (o *UpdateTeamNotFound) IsClientError() bool

IsClientError returns true when this update team not found response has a 4xx status code

func (*UpdateTeamNotFound) IsCode

func (o *UpdateTeamNotFound) IsCode(code int) bool

IsCode returns true when this update team not found response a status code equal to that given

func (*UpdateTeamNotFound) IsRedirect

func (o *UpdateTeamNotFound) IsRedirect() bool

IsRedirect returns true when this update team not found response has a 3xx status code

func (*UpdateTeamNotFound) IsServerError

func (o *UpdateTeamNotFound) IsServerError() bool

IsServerError returns true when this update team not found response has a 5xx status code

func (*UpdateTeamNotFound) IsSuccess

func (o *UpdateTeamNotFound) IsSuccess() bool

IsSuccess returns true when this update team not found response has a 2xx status code

func (*UpdateTeamNotFound) String

func (o *UpdateTeamNotFound) String() string

type UpdateTeamOK

type UpdateTeamOK struct {
	Payload *models.Team
}

UpdateTeamOK describes a response with status code 200, with default header values.

The updated team details

func NewUpdateTeamOK

func NewUpdateTeamOK() *UpdateTeamOK

NewUpdateTeamOK creates a UpdateTeamOK with default headers values

func (*UpdateTeamOK) Code

func (o *UpdateTeamOK) Code() int

Code gets the status code for the update team o k response

func (*UpdateTeamOK) Error

func (o *UpdateTeamOK) Error() string

func (*UpdateTeamOK) GetPayload

func (o *UpdateTeamOK) GetPayload() *models.Team

func (*UpdateTeamOK) IsClientError

func (o *UpdateTeamOK) IsClientError() bool

IsClientError returns true when this update team o k response has a 4xx status code

func (*UpdateTeamOK) IsCode

func (o *UpdateTeamOK) IsCode(code int) bool

IsCode returns true when this update team o k response a status code equal to that given

func (*UpdateTeamOK) IsRedirect

func (o *UpdateTeamOK) IsRedirect() bool

IsRedirect returns true when this update team o k response has a 3xx status code

func (*UpdateTeamOK) IsServerError

func (o *UpdateTeamOK) IsServerError() bool

IsServerError returns true when this update team o k response has a 5xx status code

func (*UpdateTeamOK) IsSuccess

func (o *UpdateTeamOK) IsSuccess() bool

IsSuccess returns true when this update team o k response has a 2xx status code

func (*UpdateTeamOK) String

func (o *UpdateTeamOK) String() string

type UpdateTeamParams

type UpdateTeamParams struct {

	/* Team.

	   The team data to update
	*/
	Team *models.Team

	/* TeamID.

	   A team UUID or slug
	*/
	TeamID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateTeamParams contains all the parameters to send to the API endpoint

for the update team operation.

Typically these are written to a http.Request.

func NewUpdateTeamParams

func NewUpdateTeamParams() *UpdateTeamParams

NewUpdateTeamParams creates a new UpdateTeamParams 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 NewUpdateTeamParamsWithContext

func NewUpdateTeamParamsWithContext(ctx context.Context) *UpdateTeamParams

NewUpdateTeamParamsWithContext creates a new UpdateTeamParams object with the ability to set a context for a request.

func NewUpdateTeamParamsWithHTTPClient

func NewUpdateTeamParamsWithHTTPClient(client *http.Client) *UpdateTeamParams

NewUpdateTeamParamsWithHTTPClient creates a new UpdateTeamParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTeamParamsWithTimeout

func NewUpdateTeamParamsWithTimeout(timeout time.Duration) *UpdateTeamParams

NewUpdateTeamParamsWithTimeout creates a new UpdateTeamParams object with the ability to set a timeout on a request.

func (*UpdateTeamParams) SetContext

func (o *UpdateTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the update team params

func (*UpdateTeamParams) SetDefaults

func (o *UpdateTeamParams) SetDefaults()

SetDefaults hydrates default values in the update team params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTeamParams) SetHTTPClient

func (o *UpdateTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) SetTeam

func (o *UpdateTeamParams) SetTeam(team *models.Team)

SetTeam adds the team to the update team params

func (*UpdateTeamParams) SetTeamID

func (o *UpdateTeamParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the update team params

func (*UpdateTeamParams) SetTimeout

func (o *UpdateTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update team params

func (*UpdateTeamParams) WithContext

func (o *UpdateTeamParams) WithContext(ctx context.Context) *UpdateTeamParams

WithContext adds the context to the update team params

func (*UpdateTeamParams) WithDefaults

func (o *UpdateTeamParams) WithDefaults() *UpdateTeamParams

WithDefaults hydrates default values in the update team params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTeamParams) WithHTTPClient

func (o *UpdateTeamParams) WithHTTPClient(client *http.Client) *UpdateTeamParams

WithHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) WithTeam

func (o *UpdateTeamParams) WithTeam(team *models.Team) *UpdateTeamParams

WithTeam adds the team to the update team params

func (*UpdateTeamParams) WithTeamID

func (o *UpdateTeamParams) WithTeamID(teamID string) *UpdateTeamParams

WithTeamID adds the teamID to the update team params

func (*UpdateTeamParams) WithTimeout

func (o *UpdateTeamParams) WithTimeout(timeout time.Duration) *UpdateTeamParams

WithTimeout adds the timeout to the update team params

func (*UpdateTeamParams) WriteToRequest

func (o *UpdateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateTeamReader

type UpdateTeamReader struct {
	// contains filtered or unexported fields
}

UpdateTeamReader is a Reader for the UpdateTeam structure.

func (*UpdateTeamReader) ReadResponse

func (o *UpdateTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateTeamUnprocessableEntity

type UpdateTeamUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateTeamUnprocessableEntity describes a response with status code 422, with default header values.

Failed to validate request

func NewUpdateTeamUnprocessableEntity

func NewUpdateTeamUnprocessableEntity() *UpdateTeamUnprocessableEntity

NewUpdateTeamUnprocessableEntity creates a UpdateTeamUnprocessableEntity with default headers values

func (*UpdateTeamUnprocessableEntity) Code

Code gets the status code for the update team unprocessable entity response

func (*UpdateTeamUnprocessableEntity) Error

func (*UpdateTeamUnprocessableEntity) GetPayload

func (*UpdateTeamUnprocessableEntity) IsClientError

func (o *UpdateTeamUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update team unprocessable entity response has a 4xx status code

func (*UpdateTeamUnprocessableEntity) IsCode

func (o *UpdateTeamUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update team unprocessable entity response a status code equal to that given

func (*UpdateTeamUnprocessableEntity) IsRedirect

func (o *UpdateTeamUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update team unprocessable entity response has a 3xx status code

func (*UpdateTeamUnprocessableEntity) IsServerError

func (o *UpdateTeamUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update team unprocessable entity response has a 5xx status code

func (*UpdateTeamUnprocessableEntity) IsSuccess

func (o *UpdateTeamUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update team unprocessable entity response has a 2xx status code

func (*UpdateTeamUnprocessableEntity) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL