Documentation ¶
Index ¶
- type AttachTeamToModDefault
- func (o *AttachTeamToModDefault) Code() int
- func (o *AttachTeamToModDefault) Error() string
- func (o *AttachTeamToModDefault) GetPayload() *models.GeneralError
- func (o *AttachTeamToModDefault) IsClientError() bool
- func (o *AttachTeamToModDefault) IsCode(code int) bool
- func (o *AttachTeamToModDefault) IsRedirect() bool
- func (o *AttachTeamToModDefault) IsServerError() bool
- func (o *AttachTeamToModDefault) IsSuccess() bool
- func (o *AttachTeamToModDefault) String() string
- type AttachTeamToModForbidden
- func (o *AttachTeamToModForbidden) Code() int
- func (o *AttachTeamToModForbidden) Error() string
- func (o *AttachTeamToModForbidden) GetPayload() *models.GeneralError
- func (o *AttachTeamToModForbidden) IsClientError() bool
- func (o *AttachTeamToModForbidden) IsCode(code int) bool
- func (o *AttachTeamToModForbidden) IsRedirect() bool
- func (o *AttachTeamToModForbidden) IsServerError() bool
- func (o *AttachTeamToModForbidden) IsSuccess() bool
- func (o *AttachTeamToModForbidden) String() string
- type AttachTeamToModNotFound
- func (o *AttachTeamToModNotFound) Code() int
- func (o *AttachTeamToModNotFound) Error() string
- func (o *AttachTeamToModNotFound) GetPayload() *models.GeneralError
- func (o *AttachTeamToModNotFound) IsClientError() bool
- func (o *AttachTeamToModNotFound) IsCode(code int) bool
- func (o *AttachTeamToModNotFound) IsRedirect() bool
- func (o *AttachTeamToModNotFound) IsServerError() bool
- func (o *AttachTeamToModNotFound) IsSuccess() bool
- func (o *AttachTeamToModNotFound) String() string
- type AttachTeamToModOK
- func (o *AttachTeamToModOK) Code() int
- func (o *AttachTeamToModOK) Error() string
- func (o *AttachTeamToModOK) GetPayload() *models.GeneralError
- func (o *AttachTeamToModOK) IsClientError() bool
- func (o *AttachTeamToModOK) IsCode(code int) bool
- func (o *AttachTeamToModOK) IsRedirect() bool
- func (o *AttachTeamToModOK) IsServerError() bool
- func (o *AttachTeamToModOK) IsSuccess() bool
- func (o *AttachTeamToModOK) String() string
- type AttachTeamToModParams
- func NewAttachTeamToModParams() *AttachTeamToModParams
- func NewAttachTeamToModParamsWithContext(ctx context.Context) *AttachTeamToModParams
- func NewAttachTeamToModParamsWithHTTPClient(client *http.Client) *AttachTeamToModParams
- func NewAttachTeamToModParamsWithTimeout(timeout time.Duration) *AttachTeamToModParams
- func (o *AttachTeamToModParams) SetContext(ctx context.Context)
- func (o *AttachTeamToModParams) SetDefaults()
- func (o *AttachTeamToModParams) SetHTTPClient(client *http.Client)
- func (o *AttachTeamToModParams) SetTeamID(teamID string)
- func (o *AttachTeamToModParams) SetTeamMod(teamMod *models.TeamModParams)
- func (o *AttachTeamToModParams) SetTimeout(timeout time.Duration)
- func (o *AttachTeamToModParams) WithContext(ctx context.Context) *AttachTeamToModParams
- func (o *AttachTeamToModParams) WithDefaults() *AttachTeamToModParams
- func (o *AttachTeamToModParams) WithHTTPClient(client *http.Client) *AttachTeamToModParams
- func (o *AttachTeamToModParams) WithTeamID(teamID string) *AttachTeamToModParams
- func (o *AttachTeamToModParams) WithTeamMod(teamMod *models.TeamModParams) *AttachTeamToModParams
- func (o *AttachTeamToModParams) WithTimeout(timeout time.Duration) *AttachTeamToModParams
- func (o *AttachTeamToModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachTeamToModPreconditionFailed
- func (o *AttachTeamToModPreconditionFailed) Code() int
- func (o *AttachTeamToModPreconditionFailed) Error() string
- func (o *AttachTeamToModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachTeamToModPreconditionFailed) IsClientError() bool
- func (o *AttachTeamToModPreconditionFailed) IsCode(code int) bool
- func (o *AttachTeamToModPreconditionFailed) IsRedirect() bool
- func (o *AttachTeamToModPreconditionFailed) IsServerError() bool
- func (o *AttachTeamToModPreconditionFailed) IsSuccess() bool
- func (o *AttachTeamToModPreconditionFailed) String() string
- type AttachTeamToModReader
- type AttachTeamToModUnprocessableEntity
- func (o *AttachTeamToModUnprocessableEntity) Code() int
- func (o *AttachTeamToModUnprocessableEntity) Error() string
- func (o *AttachTeamToModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachTeamToModUnprocessableEntity) IsClientError() bool
- func (o *AttachTeamToModUnprocessableEntity) IsCode(code int) bool
- func (o *AttachTeamToModUnprocessableEntity) IsRedirect() bool
- func (o *AttachTeamToModUnprocessableEntity) IsServerError() bool
- func (o *AttachTeamToModUnprocessableEntity) IsSuccess() bool
- func (o *AttachTeamToModUnprocessableEntity) String() string
- type AttachTeamToPackDefault
- func (o *AttachTeamToPackDefault) Code() int
- func (o *AttachTeamToPackDefault) Error() string
- func (o *AttachTeamToPackDefault) GetPayload() *models.GeneralError
- func (o *AttachTeamToPackDefault) IsClientError() bool
- func (o *AttachTeamToPackDefault) IsCode(code int) bool
- func (o *AttachTeamToPackDefault) IsRedirect() bool
- func (o *AttachTeamToPackDefault) IsServerError() bool
- func (o *AttachTeamToPackDefault) IsSuccess() bool
- func (o *AttachTeamToPackDefault) String() string
- type AttachTeamToPackForbidden
- func (o *AttachTeamToPackForbidden) Code() int
- func (o *AttachTeamToPackForbidden) Error() string
- func (o *AttachTeamToPackForbidden) GetPayload() *models.GeneralError
- func (o *AttachTeamToPackForbidden) IsClientError() bool
- func (o *AttachTeamToPackForbidden) IsCode(code int) bool
- func (o *AttachTeamToPackForbidden) IsRedirect() bool
- func (o *AttachTeamToPackForbidden) IsServerError() bool
- func (o *AttachTeamToPackForbidden) IsSuccess() bool
- func (o *AttachTeamToPackForbidden) String() string
- type AttachTeamToPackNotFound
- func (o *AttachTeamToPackNotFound) Code() int
- func (o *AttachTeamToPackNotFound) Error() string
- func (o *AttachTeamToPackNotFound) GetPayload() *models.GeneralError
- func (o *AttachTeamToPackNotFound) IsClientError() bool
- func (o *AttachTeamToPackNotFound) IsCode(code int) bool
- func (o *AttachTeamToPackNotFound) IsRedirect() bool
- func (o *AttachTeamToPackNotFound) IsServerError() bool
- func (o *AttachTeamToPackNotFound) IsSuccess() bool
- func (o *AttachTeamToPackNotFound) String() string
- type AttachTeamToPackOK
- func (o *AttachTeamToPackOK) Code() int
- func (o *AttachTeamToPackOK) Error() string
- func (o *AttachTeamToPackOK) GetPayload() *models.GeneralError
- func (o *AttachTeamToPackOK) IsClientError() bool
- func (o *AttachTeamToPackOK) IsCode(code int) bool
- func (o *AttachTeamToPackOK) IsRedirect() bool
- func (o *AttachTeamToPackOK) IsServerError() bool
- func (o *AttachTeamToPackOK) IsSuccess() bool
- func (o *AttachTeamToPackOK) String() string
- type AttachTeamToPackParams
- func NewAttachTeamToPackParams() *AttachTeamToPackParams
- func NewAttachTeamToPackParamsWithContext(ctx context.Context) *AttachTeamToPackParams
- func NewAttachTeamToPackParamsWithHTTPClient(client *http.Client) *AttachTeamToPackParams
- func NewAttachTeamToPackParamsWithTimeout(timeout time.Duration) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) SetContext(ctx context.Context)
- func (o *AttachTeamToPackParams) SetDefaults()
- func (o *AttachTeamToPackParams) SetHTTPClient(client *http.Client)
- func (o *AttachTeamToPackParams) SetTeamID(teamID string)
- func (o *AttachTeamToPackParams) SetTeamPack(teamPack *models.TeamPackParams)
- func (o *AttachTeamToPackParams) SetTimeout(timeout time.Duration)
- func (o *AttachTeamToPackParams) WithContext(ctx context.Context) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WithDefaults() *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WithHTTPClient(client *http.Client) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WithTeamID(teamID string) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WithTeamPack(teamPack *models.TeamPackParams) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WithTimeout(timeout time.Duration) *AttachTeamToPackParams
- func (o *AttachTeamToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachTeamToPackPreconditionFailed
- func (o *AttachTeamToPackPreconditionFailed) Code() int
- func (o *AttachTeamToPackPreconditionFailed) Error() string
- func (o *AttachTeamToPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachTeamToPackPreconditionFailed) IsClientError() bool
- func (o *AttachTeamToPackPreconditionFailed) IsCode(code int) bool
- func (o *AttachTeamToPackPreconditionFailed) IsRedirect() bool
- func (o *AttachTeamToPackPreconditionFailed) IsServerError() bool
- func (o *AttachTeamToPackPreconditionFailed) IsSuccess() bool
- func (o *AttachTeamToPackPreconditionFailed) String() string
- type AttachTeamToPackReader
- type AttachTeamToPackUnprocessableEntity
- func (o *AttachTeamToPackUnprocessableEntity) Code() int
- func (o *AttachTeamToPackUnprocessableEntity) Error() string
- func (o *AttachTeamToPackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachTeamToPackUnprocessableEntity) IsClientError() bool
- func (o *AttachTeamToPackUnprocessableEntity) IsCode(code int) bool
- func (o *AttachTeamToPackUnprocessableEntity) IsRedirect() bool
- func (o *AttachTeamToPackUnprocessableEntity) IsServerError() bool
- func (o *AttachTeamToPackUnprocessableEntity) IsSuccess() bool
- func (o *AttachTeamToPackUnprocessableEntity) String() string
- type AttachTeamToUserDefault
- func (o *AttachTeamToUserDefault) Code() int
- func (o *AttachTeamToUserDefault) Error() string
- func (o *AttachTeamToUserDefault) GetPayload() *models.GeneralError
- func (o *AttachTeamToUserDefault) IsClientError() bool
- func (o *AttachTeamToUserDefault) IsCode(code int) bool
- func (o *AttachTeamToUserDefault) IsRedirect() bool
- func (o *AttachTeamToUserDefault) IsServerError() bool
- func (o *AttachTeamToUserDefault) IsSuccess() bool
- func (o *AttachTeamToUserDefault) String() string
- type AttachTeamToUserForbidden
- func (o *AttachTeamToUserForbidden) Code() int
- func (o *AttachTeamToUserForbidden) Error() string
- func (o *AttachTeamToUserForbidden) GetPayload() *models.GeneralError
- func (o *AttachTeamToUserForbidden) IsClientError() bool
- func (o *AttachTeamToUserForbidden) IsCode(code int) bool
- func (o *AttachTeamToUserForbidden) IsRedirect() bool
- func (o *AttachTeamToUserForbidden) IsServerError() bool
- func (o *AttachTeamToUserForbidden) IsSuccess() bool
- func (o *AttachTeamToUserForbidden) String() string
- type AttachTeamToUserNotFound
- func (o *AttachTeamToUserNotFound) Code() int
- func (o *AttachTeamToUserNotFound) Error() string
- func (o *AttachTeamToUserNotFound) GetPayload() *models.GeneralError
- func (o *AttachTeamToUserNotFound) IsClientError() bool
- func (o *AttachTeamToUserNotFound) IsCode(code int) bool
- func (o *AttachTeamToUserNotFound) IsRedirect() bool
- func (o *AttachTeamToUserNotFound) IsServerError() bool
- func (o *AttachTeamToUserNotFound) IsSuccess() bool
- func (o *AttachTeamToUserNotFound) String() string
- type AttachTeamToUserOK
- func (o *AttachTeamToUserOK) Code() int
- func (o *AttachTeamToUserOK) Error() string
- func (o *AttachTeamToUserOK) GetPayload() *models.GeneralError
- func (o *AttachTeamToUserOK) IsClientError() bool
- func (o *AttachTeamToUserOK) IsCode(code int) bool
- func (o *AttachTeamToUserOK) IsRedirect() bool
- func (o *AttachTeamToUserOK) IsServerError() bool
- func (o *AttachTeamToUserOK) IsSuccess() bool
- func (o *AttachTeamToUserOK) String() string
- type AttachTeamToUserParams
- func NewAttachTeamToUserParams() *AttachTeamToUserParams
- func NewAttachTeamToUserParamsWithContext(ctx context.Context) *AttachTeamToUserParams
- func NewAttachTeamToUserParamsWithHTTPClient(client *http.Client) *AttachTeamToUserParams
- func NewAttachTeamToUserParamsWithTimeout(timeout time.Duration) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) SetContext(ctx context.Context)
- func (o *AttachTeamToUserParams) SetDefaults()
- func (o *AttachTeamToUserParams) SetHTTPClient(client *http.Client)
- func (o *AttachTeamToUserParams) SetTeamID(teamID string)
- func (o *AttachTeamToUserParams) SetTeamUser(teamUser *models.TeamUserParams)
- func (o *AttachTeamToUserParams) SetTimeout(timeout time.Duration)
- func (o *AttachTeamToUserParams) WithContext(ctx context.Context) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WithDefaults() *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WithHTTPClient(client *http.Client) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WithTeamID(teamID string) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WithTeamUser(teamUser *models.TeamUserParams) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WithTimeout(timeout time.Duration) *AttachTeamToUserParams
- func (o *AttachTeamToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachTeamToUserPreconditionFailed
- func (o *AttachTeamToUserPreconditionFailed) Code() int
- func (o *AttachTeamToUserPreconditionFailed) Error() string
- func (o *AttachTeamToUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachTeamToUserPreconditionFailed) IsClientError() bool
- func (o *AttachTeamToUserPreconditionFailed) IsCode(code int) bool
- func (o *AttachTeamToUserPreconditionFailed) IsRedirect() bool
- func (o *AttachTeamToUserPreconditionFailed) IsServerError() bool
- func (o *AttachTeamToUserPreconditionFailed) IsSuccess() bool
- func (o *AttachTeamToUserPreconditionFailed) String() string
- type AttachTeamToUserReader
- type AttachTeamToUserUnprocessableEntity
- func (o *AttachTeamToUserUnprocessableEntity) Code() int
- func (o *AttachTeamToUserUnprocessableEntity) Error() string
- func (o *AttachTeamToUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachTeamToUserUnprocessableEntity) IsClientError() bool
- func (o *AttachTeamToUserUnprocessableEntity) IsCode(code int) bool
- func (o *AttachTeamToUserUnprocessableEntity) IsRedirect() bool
- func (o *AttachTeamToUserUnprocessableEntity) IsServerError() bool
- func (o *AttachTeamToUserUnprocessableEntity) IsSuccess() bool
- func (o *AttachTeamToUserUnprocessableEntity) String() string
- type Client
- func (a *Client) AttachTeamToMod(params *AttachTeamToModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachTeamToModOK, error)
- func (a *Client) AttachTeamToPack(params *AttachTeamToPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachTeamToPackOK, error)
- func (a *Client) AttachTeamToUser(params *AttachTeamToUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachTeamToUserOK, error)
- func (a *Client) CreateTeam(params *CreateTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTeamOK, error)
- func (a *Client) DeleteTeam(params *DeleteTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTeamOK, error)
- func (a *Client) DeleteTeamFromMod(params *DeleteTeamFromModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTeamFromModOK, error)
- func (a *Client) DeleteTeamFromPack(params *DeleteTeamFromPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTeamFromPackOK, error)
- func (a *Client) DeleteTeamFromUser(params *DeleteTeamFromUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTeamFromUserOK, error)
- func (a *Client) ListTeamMods(params *ListTeamModsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTeamModsOK, error)
- func (a *Client) ListTeamPacks(params *ListTeamPacksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTeamPacksOK, error)
- func (a *Client) ListTeamUsers(params *ListTeamUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTeamUsersOK, error)
- func (a *Client) ListTeams(params *ListTeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTeamsOK, error)
- func (a *Client) PermitTeamMod(params *PermitTeamModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitTeamModOK, error)
- func (a *Client) PermitTeamPack(params *PermitTeamPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitTeamPackOK, error)
- func (a *Client) PermitTeamUser(params *PermitTeamUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitTeamUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowTeam(params *ShowTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowTeamOK, error)
- func (a *Client) UpdateTeam(params *UpdateTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTeamOK, error)
- type ClientOption
- type ClientService
- type CreateTeamDefault
- func (o *CreateTeamDefault) Code() int
- func (o *CreateTeamDefault) Error() string
- func (o *CreateTeamDefault) GetPayload() *models.GeneralError
- func (o *CreateTeamDefault) IsClientError() bool
- func (o *CreateTeamDefault) IsCode(code int) bool
- func (o *CreateTeamDefault) IsRedirect() bool
- func (o *CreateTeamDefault) IsServerError() bool
- func (o *CreateTeamDefault) IsSuccess() bool
- func (o *CreateTeamDefault) String() string
- type CreateTeamForbidden
- func (o *CreateTeamForbidden) Code() int
- func (o *CreateTeamForbidden) Error() string
- func (o *CreateTeamForbidden) GetPayload() *models.GeneralError
- func (o *CreateTeamForbidden) IsClientError() bool
- func (o *CreateTeamForbidden) IsCode(code int) bool
- func (o *CreateTeamForbidden) IsRedirect() bool
- func (o *CreateTeamForbidden) IsServerError() bool
- func (o *CreateTeamForbidden) IsSuccess() bool
- func (o *CreateTeamForbidden) String() string
- type CreateTeamOK
- func (o *CreateTeamOK) Code() int
- func (o *CreateTeamOK) Error() string
- func (o *CreateTeamOK) GetPayload() *models.Team
- func (o *CreateTeamOK) IsClientError() bool
- func (o *CreateTeamOK) IsCode(code int) bool
- func (o *CreateTeamOK) IsRedirect() bool
- func (o *CreateTeamOK) IsServerError() bool
- func (o *CreateTeamOK) IsSuccess() bool
- func (o *CreateTeamOK) String() string
- type CreateTeamParams
- func (o *CreateTeamParams) SetContext(ctx context.Context)
- func (o *CreateTeamParams) SetDefaults()
- func (o *CreateTeamParams) SetHTTPClient(client *http.Client)
- func (o *CreateTeamParams) SetTeam(team *models.Team)
- func (o *CreateTeamParams) SetTimeout(timeout time.Duration)
- func (o *CreateTeamParams) WithContext(ctx context.Context) *CreateTeamParams
- func (o *CreateTeamParams) WithDefaults() *CreateTeamParams
- func (o *CreateTeamParams) WithHTTPClient(client *http.Client) *CreateTeamParams
- func (o *CreateTeamParams) WithTeam(team *models.Team) *CreateTeamParams
- func (o *CreateTeamParams) WithTimeout(timeout time.Duration) *CreateTeamParams
- func (o *CreateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTeamReader
- type CreateTeamUnprocessableEntity
- func (o *CreateTeamUnprocessableEntity) Code() int
- func (o *CreateTeamUnprocessableEntity) Error() string
- func (o *CreateTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreateTeamUnprocessableEntity) IsClientError() bool
- func (o *CreateTeamUnprocessableEntity) IsCode(code int) bool
- func (o *CreateTeamUnprocessableEntity) IsRedirect() bool
- func (o *CreateTeamUnprocessableEntity) IsServerError() bool
- func (o *CreateTeamUnprocessableEntity) IsSuccess() bool
- func (o *CreateTeamUnprocessableEntity) String() string
- type DeleteTeamBadRequest
- func (o *DeleteTeamBadRequest) Code() int
- func (o *DeleteTeamBadRequest) Error() string
- func (o *DeleteTeamBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteTeamBadRequest) IsClientError() bool
- func (o *DeleteTeamBadRequest) IsCode(code int) bool
- func (o *DeleteTeamBadRequest) IsRedirect() bool
- func (o *DeleteTeamBadRequest) IsServerError() bool
- func (o *DeleteTeamBadRequest) IsSuccess() bool
- func (o *DeleteTeamBadRequest) String() string
- type DeleteTeamDefault
- func (o *DeleteTeamDefault) Code() int
- func (o *DeleteTeamDefault) Error() string
- func (o *DeleteTeamDefault) GetPayload() *models.GeneralError
- func (o *DeleteTeamDefault) IsClientError() bool
- func (o *DeleteTeamDefault) IsCode(code int) bool
- func (o *DeleteTeamDefault) IsRedirect() bool
- func (o *DeleteTeamDefault) IsServerError() bool
- func (o *DeleteTeamDefault) IsSuccess() bool
- func (o *DeleteTeamDefault) String() string
- type DeleteTeamForbidden
- func (o *DeleteTeamForbidden) Code() int
- func (o *DeleteTeamForbidden) Error() string
- func (o *DeleteTeamForbidden) GetPayload() *models.GeneralError
- func (o *DeleteTeamForbidden) IsClientError() bool
- func (o *DeleteTeamForbidden) IsCode(code int) bool
- func (o *DeleteTeamForbidden) IsRedirect() bool
- func (o *DeleteTeamForbidden) IsServerError() bool
- func (o *DeleteTeamForbidden) IsSuccess() bool
- func (o *DeleteTeamForbidden) String() string
- type DeleteTeamFromModDefault
- func (o *DeleteTeamFromModDefault) Code() int
- func (o *DeleteTeamFromModDefault) Error() string
- func (o *DeleteTeamFromModDefault) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromModDefault) IsClientError() bool
- func (o *DeleteTeamFromModDefault) IsCode(code int) bool
- func (o *DeleteTeamFromModDefault) IsRedirect() bool
- func (o *DeleteTeamFromModDefault) IsServerError() bool
- func (o *DeleteTeamFromModDefault) IsSuccess() bool
- func (o *DeleteTeamFromModDefault) String() string
- type DeleteTeamFromModForbidden
- func (o *DeleteTeamFromModForbidden) Code() int
- func (o *DeleteTeamFromModForbidden) Error() string
- func (o *DeleteTeamFromModForbidden) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromModForbidden) IsClientError() bool
- func (o *DeleteTeamFromModForbidden) IsCode(code int) bool
- func (o *DeleteTeamFromModForbidden) IsRedirect() bool
- func (o *DeleteTeamFromModForbidden) IsServerError() bool
- func (o *DeleteTeamFromModForbidden) IsSuccess() bool
- func (o *DeleteTeamFromModForbidden) String() string
- type DeleteTeamFromModNotFound
- func (o *DeleteTeamFromModNotFound) Code() int
- func (o *DeleteTeamFromModNotFound) Error() string
- func (o *DeleteTeamFromModNotFound) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromModNotFound) IsClientError() bool
- func (o *DeleteTeamFromModNotFound) IsCode(code int) bool
- func (o *DeleteTeamFromModNotFound) IsRedirect() bool
- func (o *DeleteTeamFromModNotFound) IsServerError() bool
- func (o *DeleteTeamFromModNotFound) IsSuccess() bool
- func (o *DeleteTeamFromModNotFound) String() string
- type DeleteTeamFromModOK
- func (o *DeleteTeamFromModOK) Code() int
- func (o *DeleteTeamFromModOK) Error() string
- func (o *DeleteTeamFromModOK) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromModOK) IsClientError() bool
- func (o *DeleteTeamFromModOK) IsCode(code int) bool
- func (o *DeleteTeamFromModOK) IsRedirect() bool
- func (o *DeleteTeamFromModOK) IsServerError() bool
- func (o *DeleteTeamFromModOK) IsSuccess() bool
- func (o *DeleteTeamFromModOK) String() string
- type DeleteTeamFromModParams
- func NewDeleteTeamFromModParams() *DeleteTeamFromModParams
- func NewDeleteTeamFromModParamsWithContext(ctx context.Context) *DeleteTeamFromModParams
- func NewDeleteTeamFromModParamsWithHTTPClient(client *http.Client) *DeleteTeamFromModParams
- func NewDeleteTeamFromModParamsWithTimeout(timeout time.Duration) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) SetContext(ctx context.Context)
- func (o *DeleteTeamFromModParams) SetDefaults()
- func (o *DeleteTeamFromModParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamFromModParams) SetTeamID(teamID string)
- func (o *DeleteTeamFromModParams) SetTeamMod(teamMod *models.TeamModParams)
- func (o *DeleteTeamFromModParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamFromModParams) WithContext(ctx context.Context) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WithDefaults() *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WithHTTPClient(client *http.Client) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WithTeamID(teamID string) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WithTeamMod(teamMod *models.TeamModParams) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WithTimeout(timeout time.Duration) *DeleteTeamFromModParams
- func (o *DeleteTeamFromModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamFromModPreconditionFailed
- func (o *DeleteTeamFromModPreconditionFailed) Code() int
- func (o *DeleteTeamFromModPreconditionFailed) Error() string
- func (o *DeleteTeamFromModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromModPreconditionFailed) IsClientError() bool
- func (o *DeleteTeamFromModPreconditionFailed) IsCode(code int) bool
- func (o *DeleteTeamFromModPreconditionFailed) IsRedirect() bool
- func (o *DeleteTeamFromModPreconditionFailed) IsServerError() bool
- func (o *DeleteTeamFromModPreconditionFailed) IsSuccess() bool
- func (o *DeleteTeamFromModPreconditionFailed) String() string
- type DeleteTeamFromModReader
- type DeleteTeamFromPackDefault
- func (o *DeleteTeamFromPackDefault) Code() int
- func (o *DeleteTeamFromPackDefault) Error() string
- func (o *DeleteTeamFromPackDefault) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromPackDefault) IsClientError() bool
- func (o *DeleteTeamFromPackDefault) IsCode(code int) bool
- func (o *DeleteTeamFromPackDefault) IsRedirect() bool
- func (o *DeleteTeamFromPackDefault) IsServerError() bool
- func (o *DeleteTeamFromPackDefault) IsSuccess() bool
- func (o *DeleteTeamFromPackDefault) String() string
- type DeleteTeamFromPackForbidden
- func (o *DeleteTeamFromPackForbidden) Code() int
- func (o *DeleteTeamFromPackForbidden) Error() string
- func (o *DeleteTeamFromPackForbidden) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromPackForbidden) IsClientError() bool
- func (o *DeleteTeamFromPackForbidden) IsCode(code int) bool
- func (o *DeleteTeamFromPackForbidden) IsRedirect() bool
- func (o *DeleteTeamFromPackForbidden) IsServerError() bool
- func (o *DeleteTeamFromPackForbidden) IsSuccess() bool
- func (o *DeleteTeamFromPackForbidden) String() string
- type DeleteTeamFromPackNotFound
- func (o *DeleteTeamFromPackNotFound) Code() int
- func (o *DeleteTeamFromPackNotFound) Error() string
- func (o *DeleteTeamFromPackNotFound) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromPackNotFound) IsClientError() bool
- func (o *DeleteTeamFromPackNotFound) IsCode(code int) bool
- func (o *DeleteTeamFromPackNotFound) IsRedirect() bool
- func (o *DeleteTeamFromPackNotFound) IsServerError() bool
- func (o *DeleteTeamFromPackNotFound) IsSuccess() bool
- func (o *DeleteTeamFromPackNotFound) String() string
- type DeleteTeamFromPackOK
- func (o *DeleteTeamFromPackOK) Code() int
- func (o *DeleteTeamFromPackOK) Error() string
- func (o *DeleteTeamFromPackOK) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromPackOK) IsClientError() bool
- func (o *DeleteTeamFromPackOK) IsCode(code int) bool
- func (o *DeleteTeamFromPackOK) IsRedirect() bool
- func (o *DeleteTeamFromPackOK) IsServerError() bool
- func (o *DeleteTeamFromPackOK) IsSuccess() bool
- func (o *DeleteTeamFromPackOK) String() string
- type DeleteTeamFromPackParams
- func NewDeleteTeamFromPackParams() *DeleteTeamFromPackParams
- func NewDeleteTeamFromPackParamsWithContext(ctx context.Context) *DeleteTeamFromPackParams
- func NewDeleteTeamFromPackParamsWithHTTPClient(client *http.Client) *DeleteTeamFromPackParams
- func NewDeleteTeamFromPackParamsWithTimeout(timeout time.Duration) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) SetContext(ctx context.Context)
- func (o *DeleteTeamFromPackParams) SetDefaults()
- func (o *DeleteTeamFromPackParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamFromPackParams) SetTeamID(teamID string)
- func (o *DeleteTeamFromPackParams) SetTeamPack(teamPack *models.TeamPackParams)
- func (o *DeleteTeamFromPackParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamFromPackParams) WithContext(ctx context.Context) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WithDefaults() *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WithHTTPClient(client *http.Client) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WithTeamID(teamID string) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WithTeamPack(teamPack *models.TeamPackParams) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WithTimeout(timeout time.Duration) *DeleteTeamFromPackParams
- func (o *DeleteTeamFromPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamFromPackPreconditionFailed
- func (o *DeleteTeamFromPackPreconditionFailed) Code() int
- func (o *DeleteTeamFromPackPreconditionFailed) Error() string
- func (o *DeleteTeamFromPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromPackPreconditionFailed) IsClientError() bool
- func (o *DeleteTeamFromPackPreconditionFailed) IsCode(code int) bool
- func (o *DeleteTeamFromPackPreconditionFailed) IsRedirect() bool
- func (o *DeleteTeamFromPackPreconditionFailed) IsServerError() bool
- func (o *DeleteTeamFromPackPreconditionFailed) IsSuccess() bool
- func (o *DeleteTeamFromPackPreconditionFailed) String() string
- type DeleteTeamFromPackReader
- type DeleteTeamFromUserDefault
- func (o *DeleteTeamFromUserDefault) Code() int
- func (o *DeleteTeamFromUserDefault) Error() string
- func (o *DeleteTeamFromUserDefault) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromUserDefault) IsClientError() bool
- func (o *DeleteTeamFromUserDefault) IsCode(code int) bool
- func (o *DeleteTeamFromUserDefault) IsRedirect() bool
- func (o *DeleteTeamFromUserDefault) IsServerError() bool
- func (o *DeleteTeamFromUserDefault) IsSuccess() bool
- func (o *DeleteTeamFromUserDefault) String() string
- type DeleteTeamFromUserForbidden
- func (o *DeleteTeamFromUserForbidden) Code() int
- func (o *DeleteTeamFromUserForbidden) Error() string
- func (o *DeleteTeamFromUserForbidden) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromUserForbidden) IsClientError() bool
- func (o *DeleteTeamFromUserForbidden) IsCode(code int) bool
- func (o *DeleteTeamFromUserForbidden) IsRedirect() bool
- func (o *DeleteTeamFromUserForbidden) IsServerError() bool
- func (o *DeleteTeamFromUserForbidden) IsSuccess() bool
- func (o *DeleteTeamFromUserForbidden) String() string
- type DeleteTeamFromUserNotFound
- func (o *DeleteTeamFromUserNotFound) Code() int
- func (o *DeleteTeamFromUserNotFound) Error() string
- func (o *DeleteTeamFromUserNotFound) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromUserNotFound) IsClientError() bool
- func (o *DeleteTeamFromUserNotFound) IsCode(code int) bool
- func (o *DeleteTeamFromUserNotFound) IsRedirect() bool
- func (o *DeleteTeamFromUserNotFound) IsServerError() bool
- func (o *DeleteTeamFromUserNotFound) IsSuccess() bool
- func (o *DeleteTeamFromUserNotFound) String() string
- type DeleteTeamFromUserOK
- func (o *DeleteTeamFromUserOK) Code() int
- func (o *DeleteTeamFromUserOK) Error() string
- func (o *DeleteTeamFromUserOK) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromUserOK) IsClientError() bool
- func (o *DeleteTeamFromUserOK) IsCode(code int) bool
- func (o *DeleteTeamFromUserOK) IsRedirect() bool
- func (o *DeleteTeamFromUserOK) IsServerError() bool
- func (o *DeleteTeamFromUserOK) IsSuccess() bool
- func (o *DeleteTeamFromUserOK) String() string
- type DeleteTeamFromUserParams
- func NewDeleteTeamFromUserParams() *DeleteTeamFromUserParams
- func NewDeleteTeamFromUserParamsWithContext(ctx context.Context) *DeleteTeamFromUserParams
- func NewDeleteTeamFromUserParamsWithHTTPClient(client *http.Client) *DeleteTeamFromUserParams
- func NewDeleteTeamFromUserParamsWithTimeout(timeout time.Duration) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) SetContext(ctx context.Context)
- func (o *DeleteTeamFromUserParams) SetDefaults()
- func (o *DeleteTeamFromUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamFromUserParams) SetTeamID(teamID string)
- func (o *DeleteTeamFromUserParams) SetTeamUser(teamUser *models.TeamUserParams)
- func (o *DeleteTeamFromUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamFromUserParams) WithContext(ctx context.Context) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WithDefaults() *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WithHTTPClient(client *http.Client) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WithTeamID(teamID string) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WithTeamUser(teamUser *models.TeamUserParams) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WithTimeout(timeout time.Duration) *DeleteTeamFromUserParams
- func (o *DeleteTeamFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamFromUserPreconditionFailed
- func (o *DeleteTeamFromUserPreconditionFailed) Code() int
- func (o *DeleteTeamFromUserPreconditionFailed) Error() string
- func (o *DeleteTeamFromUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteTeamFromUserPreconditionFailed) IsClientError() bool
- func (o *DeleteTeamFromUserPreconditionFailed) IsCode(code int) bool
- func (o *DeleteTeamFromUserPreconditionFailed) IsRedirect() bool
- func (o *DeleteTeamFromUserPreconditionFailed) IsServerError() bool
- func (o *DeleteTeamFromUserPreconditionFailed) IsSuccess() bool
- func (o *DeleteTeamFromUserPreconditionFailed) String() string
- type DeleteTeamFromUserReader
- type DeleteTeamNotFound
- func (o *DeleteTeamNotFound) Code() int
- func (o *DeleteTeamNotFound) Error() string
- func (o *DeleteTeamNotFound) GetPayload() *models.GeneralError
- func (o *DeleteTeamNotFound) IsClientError() bool
- func (o *DeleteTeamNotFound) IsCode(code int) bool
- func (o *DeleteTeamNotFound) IsRedirect() bool
- func (o *DeleteTeamNotFound) IsServerError() bool
- func (o *DeleteTeamNotFound) IsSuccess() bool
- func (o *DeleteTeamNotFound) String() string
- type DeleteTeamOK
- func (o *DeleteTeamOK) Code() int
- func (o *DeleteTeamOK) Error() string
- func (o *DeleteTeamOK) GetPayload() *models.GeneralError
- func (o *DeleteTeamOK) IsClientError() bool
- func (o *DeleteTeamOK) IsCode(code int) bool
- func (o *DeleteTeamOK) IsRedirect() bool
- func (o *DeleteTeamOK) IsServerError() bool
- func (o *DeleteTeamOK) IsSuccess() bool
- func (o *DeleteTeamOK) String() string
- type DeleteTeamParams
- func (o *DeleteTeamParams) SetContext(ctx context.Context)
- func (o *DeleteTeamParams) SetDefaults()
- func (o *DeleteTeamParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamParams) SetTeamID(teamID string)
- func (o *DeleteTeamParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamParams) WithContext(ctx context.Context) *DeleteTeamParams
- func (o *DeleteTeamParams) WithDefaults() *DeleteTeamParams
- func (o *DeleteTeamParams) WithHTTPClient(client *http.Client) *DeleteTeamParams
- func (o *DeleteTeamParams) WithTeamID(teamID string) *DeleteTeamParams
- func (o *DeleteTeamParams) WithTimeout(timeout time.Duration) *DeleteTeamParams
- func (o *DeleteTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamReader
- type ListTeamModsDefault
- func (o *ListTeamModsDefault) Code() int
- func (o *ListTeamModsDefault) Error() string
- func (o *ListTeamModsDefault) GetPayload() *models.GeneralError
- func (o *ListTeamModsDefault) IsClientError() bool
- func (o *ListTeamModsDefault) IsCode(code int) bool
- func (o *ListTeamModsDefault) IsRedirect() bool
- func (o *ListTeamModsDefault) IsServerError() bool
- func (o *ListTeamModsDefault) IsSuccess() bool
- func (o *ListTeamModsDefault) String() string
- type ListTeamModsForbidden
- func (o *ListTeamModsForbidden) Code() int
- func (o *ListTeamModsForbidden) Error() string
- func (o *ListTeamModsForbidden) GetPayload() *models.GeneralError
- func (o *ListTeamModsForbidden) IsClientError() bool
- func (o *ListTeamModsForbidden) IsCode(code int) bool
- func (o *ListTeamModsForbidden) IsRedirect() bool
- func (o *ListTeamModsForbidden) IsServerError() bool
- func (o *ListTeamModsForbidden) IsSuccess() bool
- func (o *ListTeamModsForbidden) String() string
- type ListTeamModsNotFound
- func (o *ListTeamModsNotFound) Code() int
- func (o *ListTeamModsNotFound) Error() string
- func (o *ListTeamModsNotFound) GetPayload() *models.GeneralError
- func (o *ListTeamModsNotFound) IsClientError() bool
- func (o *ListTeamModsNotFound) IsCode(code int) bool
- func (o *ListTeamModsNotFound) IsRedirect() bool
- func (o *ListTeamModsNotFound) IsServerError() bool
- func (o *ListTeamModsNotFound) IsSuccess() bool
- func (o *ListTeamModsNotFound) String() string
- type ListTeamModsOK
- func (o *ListTeamModsOK) Code() int
- func (o *ListTeamModsOK) Error() string
- func (o *ListTeamModsOK) GetPayload() *models.TeamMods
- func (o *ListTeamModsOK) IsClientError() bool
- func (o *ListTeamModsOK) IsCode(code int) bool
- func (o *ListTeamModsOK) IsRedirect() bool
- func (o *ListTeamModsOK) IsServerError() bool
- func (o *ListTeamModsOK) IsSuccess() bool
- func (o *ListTeamModsOK) String() string
- type ListTeamModsParams
- func (o *ListTeamModsParams) SetContext(ctx context.Context)
- func (o *ListTeamModsParams) SetDefaults()
- func (o *ListTeamModsParams) SetHTTPClient(client *http.Client)
- func (o *ListTeamModsParams) SetTeamID(teamID string)
- func (o *ListTeamModsParams) SetTimeout(timeout time.Duration)
- func (o *ListTeamModsParams) WithContext(ctx context.Context) *ListTeamModsParams
- func (o *ListTeamModsParams) WithDefaults() *ListTeamModsParams
- func (o *ListTeamModsParams) WithHTTPClient(client *http.Client) *ListTeamModsParams
- func (o *ListTeamModsParams) WithTeamID(teamID string) *ListTeamModsParams
- func (o *ListTeamModsParams) WithTimeout(timeout time.Duration) *ListTeamModsParams
- func (o *ListTeamModsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTeamModsReader
- type ListTeamPacksDefault
- func (o *ListTeamPacksDefault) Code() int
- func (o *ListTeamPacksDefault) Error() string
- func (o *ListTeamPacksDefault) GetPayload() *models.GeneralError
- func (o *ListTeamPacksDefault) IsClientError() bool
- func (o *ListTeamPacksDefault) IsCode(code int) bool
- func (o *ListTeamPacksDefault) IsRedirect() bool
- func (o *ListTeamPacksDefault) IsServerError() bool
- func (o *ListTeamPacksDefault) IsSuccess() bool
- func (o *ListTeamPacksDefault) String() string
- type ListTeamPacksForbidden
- func (o *ListTeamPacksForbidden) Code() int
- func (o *ListTeamPacksForbidden) Error() string
- func (o *ListTeamPacksForbidden) GetPayload() *models.GeneralError
- func (o *ListTeamPacksForbidden) IsClientError() bool
- func (o *ListTeamPacksForbidden) IsCode(code int) bool
- func (o *ListTeamPacksForbidden) IsRedirect() bool
- func (o *ListTeamPacksForbidden) IsServerError() bool
- func (o *ListTeamPacksForbidden) IsSuccess() bool
- func (o *ListTeamPacksForbidden) String() string
- type ListTeamPacksNotFound
- func (o *ListTeamPacksNotFound) Code() int
- func (o *ListTeamPacksNotFound) Error() string
- func (o *ListTeamPacksNotFound) GetPayload() *models.GeneralError
- func (o *ListTeamPacksNotFound) IsClientError() bool
- func (o *ListTeamPacksNotFound) IsCode(code int) bool
- func (o *ListTeamPacksNotFound) IsRedirect() bool
- func (o *ListTeamPacksNotFound) IsServerError() bool
- func (o *ListTeamPacksNotFound) IsSuccess() bool
- func (o *ListTeamPacksNotFound) String() string
- type ListTeamPacksOK
- func (o *ListTeamPacksOK) Code() int
- func (o *ListTeamPacksOK) Error() string
- func (o *ListTeamPacksOK) GetPayload() *models.TeamPacks
- func (o *ListTeamPacksOK) IsClientError() bool
- func (o *ListTeamPacksOK) IsCode(code int) bool
- func (o *ListTeamPacksOK) IsRedirect() bool
- func (o *ListTeamPacksOK) IsServerError() bool
- func (o *ListTeamPacksOK) IsSuccess() bool
- func (o *ListTeamPacksOK) String() string
- type ListTeamPacksParams
- func (o *ListTeamPacksParams) SetContext(ctx context.Context)
- func (o *ListTeamPacksParams) SetDefaults()
- func (o *ListTeamPacksParams) SetHTTPClient(client *http.Client)
- func (o *ListTeamPacksParams) SetTeamID(teamID string)
- func (o *ListTeamPacksParams) SetTimeout(timeout time.Duration)
- func (o *ListTeamPacksParams) WithContext(ctx context.Context) *ListTeamPacksParams
- func (o *ListTeamPacksParams) WithDefaults() *ListTeamPacksParams
- func (o *ListTeamPacksParams) WithHTTPClient(client *http.Client) *ListTeamPacksParams
- func (o *ListTeamPacksParams) WithTeamID(teamID string) *ListTeamPacksParams
- func (o *ListTeamPacksParams) WithTimeout(timeout time.Duration) *ListTeamPacksParams
- func (o *ListTeamPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTeamPacksReader
- type ListTeamUsersDefault
- func (o *ListTeamUsersDefault) Code() int
- func (o *ListTeamUsersDefault) Error() string
- func (o *ListTeamUsersDefault) GetPayload() *models.GeneralError
- func (o *ListTeamUsersDefault) IsClientError() bool
- func (o *ListTeamUsersDefault) IsCode(code int) bool
- func (o *ListTeamUsersDefault) IsRedirect() bool
- func (o *ListTeamUsersDefault) IsServerError() bool
- func (o *ListTeamUsersDefault) IsSuccess() bool
- func (o *ListTeamUsersDefault) String() string
- type ListTeamUsersForbidden
- func (o *ListTeamUsersForbidden) Code() int
- func (o *ListTeamUsersForbidden) Error() string
- func (o *ListTeamUsersForbidden) GetPayload() *models.GeneralError
- func (o *ListTeamUsersForbidden) IsClientError() bool
- func (o *ListTeamUsersForbidden) IsCode(code int) bool
- func (o *ListTeamUsersForbidden) IsRedirect() bool
- func (o *ListTeamUsersForbidden) IsServerError() bool
- func (o *ListTeamUsersForbidden) IsSuccess() bool
- func (o *ListTeamUsersForbidden) String() string
- type ListTeamUsersNotFound
- func (o *ListTeamUsersNotFound) Code() int
- func (o *ListTeamUsersNotFound) Error() string
- func (o *ListTeamUsersNotFound) GetPayload() *models.GeneralError
- func (o *ListTeamUsersNotFound) IsClientError() bool
- func (o *ListTeamUsersNotFound) IsCode(code int) bool
- func (o *ListTeamUsersNotFound) IsRedirect() bool
- func (o *ListTeamUsersNotFound) IsServerError() bool
- func (o *ListTeamUsersNotFound) IsSuccess() bool
- func (o *ListTeamUsersNotFound) String() string
- type ListTeamUsersOK
- func (o *ListTeamUsersOK) Code() int
- func (o *ListTeamUsersOK) Error() string
- func (o *ListTeamUsersOK) GetPayload() *models.TeamUsers
- func (o *ListTeamUsersOK) IsClientError() bool
- func (o *ListTeamUsersOK) IsCode(code int) bool
- func (o *ListTeamUsersOK) IsRedirect() bool
- func (o *ListTeamUsersOK) IsServerError() bool
- func (o *ListTeamUsersOK) IsSuccess() bool
- func (o *ListTeamUsersOK) String() string
- type ListTeamUsersParams
- func (o *ListTeamUsersParams) SetContext(ctx context.Context)
- func (o *ListTeamUsersParams) SetDefaults()
- func (o *ListTeamUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListTeamUsersParams) SetTeamID(teamID string)
- func (o *ListTeamUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListTeamUsersParams) WithContext(ctx context.Context) *ListTeamUsersParams
- func (o *ListTeamUsersParams) WithDefaults() *ListTeamUsersParams
- func (o *ListTeamUsersParams) WithHTTPClient(client *http.Client) *ListTeamUsersParams
- func (o *ListTeamUsersParams) WithTeamID(teamID string) *ListTeamUsersParams
- func (o *ListTeamUsersParams) WithTimeout(timeout time.Duration) *ListTeamUsersParams
- func (o *ListTeamUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTeamUsersReader
- type ListTeamsDefault
- func (o *ListTeamsDefault) Code() int
- func (o *ListTeamsDefault) Error() string
- func (o *ListTeamsDefault) GetPayload() *models.GeneralError
- func (o *ListTeamsDefault) IsClientError() bool
- func (o *ListTeamsDefault) IsCode(code int) bool
- func (o *ListTeamsDefault) IsRedirect() bool
- func (o *ListTeamsDefault) IsServerError() bool
- func (o *ListTeamsDefault) IsSuccess() bool
- func (o *ListTeamsDefault) String() string
- type ListTeamsForbidden
- func (o *ListTeamsForbidden) Code() int
- func (o *ListTeamsForbidden) Error() string
- func (o *ListTeamsForbidden) GetPayload() *models.GeneralError
- func (o *ListTeamsForbidden) IsClientError() bool
- func (o *ListTeamsForbidden) IsCode(code int) bool
- func (o *ListTeamsForbidden) IsRedirect() bool
- func (o *ListTeamsForbidden) IsServerError() bool
- func (o *ListTeamsForbidden) IsSuccess() bool
- func (o *ListTeamsForbidden) String() string
- type ListTeamsOK
- func (o *ListTeamsOK) Code() int
- func (o *ListTeamsOK) Error() string
- func (o *ListTeamsOK) GetPayload() *models.Teams
- func (o *ListTeamsOK) IsClientError() bool
- func (o *ListTeamsOK) IsCode(code int) bool
- func (o *ListTeamsOK) IsRedirect() bool
- func (o *ListTeamsOK) IsServerError() bool
- func (o *ListTeamsOK) IsSuccess() bool
- func (o *ListTeamsOK) String() string
- type ListTeamsParams
- func (o *ListTeamsParams) SetContext(ctx context.Context)
- func (o *ListTeamsParams) SetDefaults()
- func (o *ListTeamsParams) SetHTTPClient(client *http.Client)
- func (o *ListTeamsParams) SetTimeout(timeout time.Duration)
- func (o *ListTeamsParams) WithContext(ctx context.Context) *ListTeamsParams
- func (o *ListTeamsParams) WithDefaults() *ListTeamsParams
- func (o *ListTeamsParams) WithHTTPClient(client *http.Client) *ListTeamsParams
- func (o *ListTeamsParams) WithTimeout(timeout time.Duration) *ListTeamsParams
- func (o *ListTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTeamsReader
- type PermitTeamModDefault
- func (o *PermitTeamModDefault) Code() int
- func (o *PermitTeamModDefault) Error() string
- func (o *PermitTeamModDefault) GetPayload() *models.GeneralError
- func (o *PermitTeamModDefault) IsClientError() bool
- func (o *PermitTeamModDefault) IsCode(code int) bool
- func (o *PermitTeamModDefault) IsRedirect() bool
- func (o *PermitTeamModDefault) IsServerError() bool
- func (o *PermitTeamModDefault) IsSuccess() bool
- func (o *PermitTeamModDefault) String() string
- type PermitTeamModForbidden
- func (o *PermitTeamModForbidden) Code() int
- func (o *PermitTeamModForbidden) Error() string
- func (o *PermitTeamModForbidden) GetPayload() *models.GeneralError
- func (o *PermitTeamModForbidden) IsClientError() bool
- func (o *PermitTeamModForbidden) IsCode(code int) bool
- func (o *PermitTeamModForbidden) IsRedirect() bool
- func (o *PermitTeamModForbidden) IsServerError() bool
- func (o *PermitTeamModForbidden) IsSuccess() bool
- func (o *PermitTeamModForbidden) String() string
- type PermitTeamModNotFound
- func (o *PermitTeamModNotFound) Code() int
- func (o *PermitTeamModNotFound) Error() string
- func (o *PermitTeamModNotFound) GetPayload() *models.GeneralError
- func (o *PermitTeamModNotFound) IsClientError() bool
- func (o *PermitTeamModNotFound) IsCode(code int) bool
- func (o *PermitTeamModNotFound) IsRedirect() bool
- func (o *PermitTeamModNotFound) IsServerError() bool
- func (o *PermitTeamModNotFound) IsSuccess() bool
- func (o *PermitTeamModNotFound) String() string
- type PermitTeamModOK
- func (o *PermitTeamModOK) Code() int
- func (o *PermitTeamModOK) Error() string
- func (o *PermitTeamModOK) GetPayload() *models.GeneralError
- func (o *PermitTeamModOK) IsClientError() bool
- func (o *PermitTeamModOK) IsCode(code int) bool
- func (o *PermitTeamModOK) IsRedirect() bool
- func (o *PermitTeamModOK) IsServerError() bool
- func (o *PermitTeamModOK) IsSuccess() bool
- func (o *PermitTeamModOK) String() string
- type PermitTeamModParams
- func (o *PermitTeamModParams) SetContext(ctx context.Context)
- func (o *PermitTeamModParams) SetDefaults()
- func (o *PermitTeamModParams) SetHTTPClient(client *http.Client)
- func (o *PermitTeamModParams) SetTeamID(teamID string)
- func (o *PermitTeamModParams) SetTeamMod(teamMod *models.TeamModParams)
- func (o *PermitTeamModParams) SetTimeout(timeout time.Duration)
- func (o *PermitTeamModParams) WithContext(ctx context.Context) *PermitTeamModParams
- func (o *PermitTeamModParams) WithDefaults() *PermitTeamModParams
- func (o *PermitTeamModParams) WithHTTPClient(client *http.Client) *PermitTeamModParams
- func (o *PermitTeamModParams) WithTeamID(teamID string) *PermitTeamModParams
- func (o *PermitTeamModParams) WithTeamMod(teamMod *models.TeamModParams) *PermitTeamModParams
- func (o *PermitTeamModParams) WithTimeout(timeout time.Duration) *PermitTeamModParams
- func (o *PermitTeamModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitTeamModPreconditionFailed
- func (o *PermitTeamModPreconditionFailed) Code() int
- func (o *PermitTeamModPreconditionFailed) Error() string
- func (o *PermitTeamModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitTeamModPreconditionFailed) IsClientError() bool
- func (o *PermitTeamModPreconditionFailed) IsCode(code int) bool
- func (o *PermitTeamModPreconditionFailed) IsRedirect() bool
- func (o *PermitTeamModPreconditionFailed) IsServerError() bool
- func (o *PermitTeamModPreconditionFailed) IsSuccess() bool
- func (o *PermitTeamModPreconditionFailed) String() string
- type PermitTeamModReader
- type PermitTeamModUnprocessableEntity
- func (o *PermitTeamModUnprocessableEntity) Code() int
- func (o *PermitTeamModUnprocessableEntity) Error() string
- func (o *PermitTeamModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitTeamModUnprocessableEntity) IsClientError() bool
- func (o *PermitTeamModUnprocessableEntity) IsCode(code int) bool
- func (o *PermitTeamModUnprocessableEntity) IsRedirect() bool
- func (o *PermitTeamModUnprocessableEntity) IsServerError() bool
- func (o *PermitTeamModUnprocessableEntity) IsSuccess() bool
- func (o *PermitTeamModUnprocessableEntity) String() string
- type PermitTeamPackDefault
- func (o *PermitTeamPackDefault) Code() int
- func (o *PermitTeamPackDefault) Error() string
- func (o *PermitTeamPackDefault) GetPayload() *models.GeneralError
- func (o *PermitTeamPackDefault) IsClientError() bool
- func (o *PermitTeamPackDefault) IsCode(code int) bool
- func (o *PermitTeamPackDefault) IsRedirect() bool
- func (o *PermitTeamPackDefault) IsServerError() bool
- func (o *PermitTeamPackDefault) IsSuccess() bool
- func (o *PermitTeamPackDefault) String() string
- type PermitTeamPackForbidden
- func (o *PermitTeamPackForbidden) Code() int
- func (o *PermitTeamPackForbidden) Error() string
- func (o *PermitTeamPackForbidden) GetPayload() *models.GeneralError
- func (o *PermitTeamPackForbidden) IsClientError() bool
- func (o *PermitTeamPackForbidden) IsCode(code int) bool
- func (o *PermitTeamPackForbidden) IsRedirect() bool
- func (o *PermitTeamPackForbidden) IsServerError() bool
- func (o *PermitTeamPackForbidden) IsSuccess() bool
- func (o *PermitTeamPackForbidden) String() string
- type PermitTeamPackNotFound
- func (o *PermitTeamPackNotFound) Code() int
- func (o *PermitTeamPackNotFound) Error() string
- func (o *PermitTeamPackNotFound) GetPayload() *models.GeneralError
- func (o *PermitTeamPackNotFound) IsClientError() bool
- func (o *PermitTeamPackNotFound) IsCode(code int) bool
- func (o *PermitTeamPackNotFound) IsRedirect() bool
- func (o *PermitTeamPackNotFound) IsServerError() bool
- func (o *PermitTeamPackNotFound) IsSuccess() bool
- func (o *PermitTeamPackNotFound) String() string
- type PermitTeamPackOK
- func (o *PermitTeamPackOK) Code() int
- func (o *PermitTeamPackOK) Error() string
- func (o *PermitTeamPackOK) GetPayload() *models.GeneralError
- func (o *PermitTeamPackOK) IsClientError() bool
- func (o *PermitTeamPackOK) IsCode(code int) bool
- func (o *PermitTeamPackOK) IsRedirect() bool
- func (o *PermitTeamPackOK) IsServerError() bool
- func (o *PermitTeamPackOK) IsSuccess() bool
- func (o *PermitTeamPackOK) String() string
- type PermitTeamPackParams
- func NewPermitTeamPackParams() *PermitTeamPackParams
- func NewPermitTeamPackParamsWithContext(ctx context.Context) *PermitTeamPackParams
- func NewPermitTeamPackParamsWithHTTPClient(client *http.Client) *PermitTeamPackParams
- func NewPermitTeamPackParamsWithTimeout(timeout time.Duration) *PermitTeamPackParams
- func (o *PermitTeamPackParams) SetContext(ctx context.Context)
- func (o *PermitTeamPackParams) SetDefaults()
- func (o *PermitTeamPackParams) SetHTTPClient(client *http.Client)
- func (o *PermitTeamPackParams) SetTeamID(teamID string)
- func (o *PermitTeamPackParams) SetTeamPack(teamPack *models.TeamPackParams)
- func (o *PermitTeamPackParams) SetTimeout(timeout time.Duration)
- func (o *PermitTeamPackParams) WithContext(ctx context.Context) *PermitTeamPackParams
- func (o *PermitTeamPackParams) WithDefaults() *PermitTeamPackParams
- func (o *PermitTeamPackParams) WithHTTPClient(client *http.Client) *PermitTeamPackParams
- func (o *PermitTeamPackParams) WithTeamID(teamID string) *PermitTeamPackParams
- func (o *PermitTeamPackParams) WithTeamPack(teamPack *models.TeamPackParams) *PermitTeamPackParams
- func (o *PermitTeamPackParams) WithTimeout(timeout time.Duration) *PermitTeamPackParams
- func (o *PermitTeamPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitTeamPackPreconditionFailed
- func (o *PermitTeamPackPreconditionFailed) Code() int
- func (o *PermitTeamPackPreconditionFailed) Error() string
- func (o *PermitTeamPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitTeamPackPreconditionFailed) IsClientError() bool
- func (o *PermitTeamPackPreconditionFailed) IsCode(code int) bool
- func (o *PermitTeamPackPreconditionFailed) IsRedirect() bool
- func (o *PermitTeamPackPreconditionFailed) IsServerError() bool
- func (o *PermitTeamPackPreconditionFailed) IsSuccess() bool
- func (o *PermitTeamPackPreconditionFailed) String() string
- type PermitTeamPackReader
- type PermitTeamPackUnprocessableEntity
- func (o *PermitTeamPackUnprocessableEntity) Code() int
- func (o *PermitTeamPackUnprocessableEntity) Error() string
- func (o *PermitTeamPackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitTeamPackUnprocessableEntity) IsClientError() bool
- func (o *PermitTeamPackUnprocessableEntity) IsCode(code int) bool
- func (o *PermitTeamPackUnprocessableEntity) IsRedirect() bool
- func (o *PermitTeamPackUnprocessableEntity) IsServerError() bool
- func (o *PermitTeamPackUnprocessableEntity) IsSuccess() bool
- func (o *PermitTeamPackUnprocessableEntity) String() string
- type PermitTeamUserDefault
- func (o *PermitTeamUserDefault) Code() int
- func (o *PermitTeamUserDefault) Error() string
- func (o *PermitTeamUserDefault) GetPayload() *models.GeneralError
- func (o *PermitTeamUserDefault) IsClientError() bool
- func (o *PermitTeamUserDefault) IsCode(code int) bool
- func (o *PermitTeamUserDefault) IsRedirect() bool
- func (o *PermitTeamUserDefault) IsServerError() bool
- func (o *PermitTeamUserDefault) IsSuccess() bool
- func (o *PermitTeamUserDefault) String() string
- type PermitTeamUserForbidden
- func (o *PermitTeamUserForbidden) Code() int
- func (o *PermitTeamUserForbidden) Error() string
- func (o *PermitTeamUserForbidden) GetPayload() *models.GeneralError
- func (o *PermitTeamUserForbidden) IsClientError() bool
- func (o *PermitTeamUserForbidden) IsCode(code int) bool
- func (o *PermitTeamUserForbidden) IsRedirect() bool
- func (o *PermitTeamUserForbidden) IsServerError() bool
- func (o *PermitTeamUserForbidden) IsSuccess() bool
- func (o *PermitTeamUserForbidden) String() string
- type PermitTeamUserNotFound
- func (o *PermitTeamUserNotFound) Code() int
- func (o *PermitTeamUserNotFound) Error() string
- func (o *PermitTeamUserNotFound) GetPayload() *models.GeneralError
- func (o *PermitTeamUserNotFound) IsClientError() bool
- func (o *PermitTeamUserNotFound) IsCode(code int) bool
- func (o *PermitTeamUserNotFound) IsRedirect() bool
- func (o *PermitTeamUserNotFound) IsServerError() bool
- func (o *PermitTeamUserNotFound) IsSuccess() bool
- func (o *PermitTeamUserNotFound) String() string
- type PermitTeamUserOK
- func (o *PermitTeamUserOK) Code() int
- func (o *PermitTeamUserOK) Error() string
- func (o *PermitTeamUserOK) GetPayload() *models.GeneralError
- func (o *PermitTeamUserOK) IsClientError() bool
- func (o *PermitTeamUserOK) IsCode(code int) bool
- func (o *PermitTeamUserOK) IsRedirect() bool
- func (o *PermitTeamUserOK) IsServerError() bool
- func (o *PermitTeamUserOK) IsSuccess() bool
- func (o *PermitTeamUserOK) String() string
- type PermitTeamUserParams
- func NewPermitTeamUserParams() *PermitTeamUserParams
- func NewPermitTeamUserParamsWithContext(ctx context.Context) *PermitTeamUserParams
- func NewPermitTeamUserParamsWithHTTPClient(client *http.Client) *PermitTeamUserParams
- func NewPermitTeamUserParamsWithTimeout(timeout time.Duration) *PermitTeamUserParams
- func (o *PermitTeamUserParams) SetContext(ctx context.Context)
- func (o *PermitTeamUserParams) SetDefaults()
- func (o *PermitTeamUserParams) SetHTTPClient(client *http.Client)
- func (o *PermitTeamUserParams) SetTeamID(teamID string)
- func (o *PermitTeamUserParams) SetTeamUser(teamUser *models.TeamUserParams)
- func (o *PermitTeamUserParams) SetTimeout(timeout time.Duration)
- func (o *PermitTeamUserParams) WithContext(ctx context.Context) *PermitTeamUserParams
- func (o *PermitTeamUserParams) WithDefaults() *PermitTeamUserParams
- func (o *PermitTeamUserParams) WithHTTPClient(client *http.Client) *PermitTeamUserParams
- func (o *PermitTeamUserParams) WithTeamID(teamID string) *PermitTeamUserParams
- func (o *PermitTeamUserParams) WithTeamUser(teamUser *models.TeamUserParams) *PermitTeamUserParams
- func (o *PermitTeamUserParams) WithTimeout(timeout time.Duration) *PermitTeamUserParams
- func (o *PermitTeamUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitTeamUserPreconditionFailed
- func (o *PermitTeamUserPreconditionFailed) Code() int
- func (o *PermitTeamUserPreconditionFailed) Error() string
- func (o *PermitTeamUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitTeamUserPreconditionFailed) IsClientError() bool
- func (o *PermitTeamUserPreconditionFailed) IsCode(code int) bool
- func (o *PermitTeamUserPreconditionFailed) IsRedirect() bool
- func (o *PermitTeamUserPreconditionFailed) IsServerError() bool
- func (o *PermitTeamUserPreconditionFailed) IsSuccess() bool
- func (o *PermitTeamUserPreconditionFailed) String() string
- type PermitTeamUserReader
- type PermitTeamUserUnprocessableEntity
- func (o *PermitTeamUserUnprocessableEntity) Code() int
- func (o *PermitTeamUserUnprocessableEntity) Error() string
- func (o *PermitTeamUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitTeamUserUnprocessableEntity) IsClientError() bool
- func (o *PermitTeamUserUnprocessableEntity) IsCode(code int) bool
- func (o *PermitTeamUserUnprocessableEntity) IsRedirect() bool
- func (o *PermitTeamUserUnprocessableEntity) IsServerError() bool
- func (o *PermitTeamUserUnprocessableEntity) IsSuccess() bool
- func (o *PermitTeamUserUnprocessableEntity) String() string
- type ShowTeamDefault
- func (o *ShowTeamDefault) Code() int
- func (o *ShowTeamDefault) Error() string
- func (o *ShowTeamDefault) GetPayload() *models.GeneralError
- func (o *ShowTeamDefault) IsClientError() bool
- func (o *ShowTeamDefault) IsCode(code int) bool
- func (o *ShowTeamDefault) IsRedirect() bool
- func (o *ShowTeamDefault) IsServerError() bool
- func (o *ShowTeamDefault) IsSuccess() bool
- func (o *ShowTeamDefault) String() string
- type ShowTeamForbidden
- func (o *ShowTeamForbidden) Code() int
- func (o *ShowTeamForbidden) Error() string
- func (o *ShowTeamForbidden) GetPayload() *models.GeneralError
- func (o *ShowTeamForbidden) IsClientError() bool
- func (o *ShowTeamForbidden) IsCode(code int) bool
- func (o *ShowTeamForbidden) IsRedirect() bool
- func (o *ShowTeamForbidden) IsServerError() bool
- func (o *ShowTeamForbidden) IsSuccess() bool
- func (o *ShowTeamForbidden) String() string
- type ShowTeamNotFound
- func (o *ShowTeamNotFound) Code() int
- func (o *ShowTeamNotFound) Error() string
- func (o *ShowTeamNotFound) GetPayload() *models.GeneralError
- func (o *ShowTeamNotFound) IsClientError() bool
- func (o *ShowTeamNotFound) IsCode(code int) bool
- func (o *ShowTeamNotFound) IsRedirect() bool
- func (o *ShowTeamNotFound) IsServerError() bool
- func (o *ShowTeamNotFound) IsSuccess() bool
- func (o *ShowTeamNotFound) String() string
- type ShowTeamOK
- func (o *ShowTeamOK) Code() int
- func (o *ShowTeamOK) Error() string
- func (o *ShowTeamOK) GetPayload() *models.Team
- func (o *ShowTeamOK) IsClientError() bool
- func (o *ShowTeamOK) IsCode(code int) bool
- func (o *ShowTeamOK) IsRedirect() bool
- func (o *ShowTeamOK) IsServerError() bool
- func (o *ShowTeamOK) IsSuccess() bool
- func (o *ShowTeamOK) String() string
- type ShowTeamParams
- func (o *ShowTeamParams) SetContext(ctx context.Context)
- func (o *ShowTeamParams) SetDefaults()
- func (o *ShowTeamParams) SetHTTPClient(client *http.Client)
- func (o *ShowTeamParams) SetTeamID(teamID string)
- func (o *ShowTeamParams) SetTimeout(timeout time.Duration)
- func (o *ShowTeamParams) WithContext(ctx context.Context) *ShowTeamParams
- func (o *ShowTeamParams) WithDefaults() *ShowTeamParams
- func (o *ShowTeamParams) WithHTTPClient(client *http.Client) *ShowTeamParams
- func (o *ShowTeamParams) WithTeamID(teamID string) *ShowTeamParams
- func (o *ShowTeamParams) WithTimeout(timeout time.Duration) *ShowTeamParams
- func (o *ShowTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowTeamReader
- type UpdateTeamDefault
- func (o *UpdateTeamDefault) Code() int
- func (o *UpdateTeamDefault) Error() string
- func (o *UpdateTeamDefault) GetPayload() *models.GeneralError
- func (o *UpdateTeamDefault) IsClientError() bool
- func (o *UpdateTeamDefault) IsCode(code int) bool
- func (o *UpdateTeamDefault) IsRedirect() bool
- func (o *UpdateTeamDefault) IsServerError() bool
- func (o *UpdateTeamDefault) IsSuccess() bool
- func (o *UpdateTeamDefault) String() string
- type UpdateTeamForbidden
- func (o *UpdateTeamForbidden) Code() int
- func (o *UpdateTeamForbidden) Error() string
- func (o *UpdateTeamForbidden) GetPayload() *models.GeneralError
- func (o *UpdateTeamForbidden) IsClientError() bool
- func (o *UpdateTeamForbidden) IsCode(code int) bool
- func (o *UpdateTeamForbidden) IsRedirect() bool
- func (o *UpdateTeamForbidden) IsServerError() bool
- func (o *UpdateTeamForbidden) IsSuccess() bool
- func (o *UpdateTeamForbidden) String() string
- type UpdateTeamNotFound
- func (o *UpdateTeamNotFound) Code() int
- func (o *UpdateTeamNotFound) Error() string
- func (o *UpdateTeamNotFound) GetPayload() *models.GeneralError
- func (o *UpdateTeamNotFound) IsClientError() bool
- func (o *UpdateTeamNotFound) IsCode(code int) bool
- func (o *UpdateTeamNotFound) IsRedirect() bool
- func (o *UpdateTeamNotFound) IsServerError() bool
- func (o *UpdateTeamNotFound) IsSuccess() bool
- func (o *UpdateTeamNotFound) String() string
- type UpdateTeamOK
- func (o *UpdateTeamOK) Code() int
- func (o *UpdateTeamOK) Error() string
- func (o *UpdateTeamOK) GetPayload() *models.Team
- func (o *UpdateTeamOK) IsClientError() bool
- func (o *UpdateTeamOK) IsCode(code int) bool
- func (o *UpdateTeamOK) IsRedirect() bool
- func (o *UpdateTeamOK) IsServerError() bool
- func (o *UpdateTeamOK) IsSuccess() bool
- func (o *UpdateTeamOK) String() string
- type UpdateTeamParams
- func (o *UpdateTeamParams) SetContext(ctx context.Context)
- func (o *UpdateTeamParams) SetDefaults()
- func (o *UpdateTeamParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTeamParams) SetTeam(team *models.Team)
- func (o *UpdateTeamParams) SetTeamID(teamID string)
- func (o *UpdateTeamParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTeamParams) WithContext(ctx context.Context) *UpdateTeamParams
- func (o *UpdateTeamParams) WithDefaults() *UpdateTeamParams
- func (o *UpdateTeamParams) WithHTTPClient(client *http.Client) *UpdateTeamParams
- func (o *UpdateTeamParams) WithTeam(team *models.Team) *UpdateTeamParams
- func (o *UpdateTeamParams) WithTeamID(teamID string) *UpdateTeamParams
- func (o *UpdateTeamParams) WithTimeout(timeout time.Duration) *UpdateTeamParams
- func (o *UpdateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTeamReader
- type UpdateTeamUnprocessableEntity
- func (o *UpdateTeamUnprocessableEntity) Code() int
- func (o *UpdateTeamUnprocessableEntity) Error() string
- func (o *UpdateTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateTeamUnprocessableEntity) IsClientError() bool
- func (o *UpdateTeamUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateTeamUnprocessableEntity) IsRedirect() bool
- func (o *UpdateTeamUnprocessableEntity) IsServerError() bool
- func (o *UpdateTeamUnprocessableEntity) IsSuccess() bool
- func (o *UpdateTeamUnprocessableEntity) String() string
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 ¶
func (o *AttachTeamToModParams) WithContext(ctx context.Context) *AttachTeamToModParams
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 ¶
func (o *AttachTeamToModParams) WithTeamMod(teamMod *models.TeamModParams) *AttachTeamToModParams
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 ¶
func (o *AttachTeamToModPreconditionFailed) Code() int
Code gets the status code for the attach team to mod precondition failed response
func (*AttachTeamToModPreconditionFailed) Error ¶
func (o *AttachTeamToModPreconditionFailed) Error() string
func (*AttachTeamToModPreconditionFailed) GetPayload ¶
func (o *AttachTeamToModPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *AttachTeamToModPreconditionFailed) String() 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 ¶
func (o *AttachTeamToModUnprocessableEntity) Code() int
Code gets the status code for the attach team to mod unprocessable entity response
func (*AttachTeamToModUnprocessableEntity) Error ¶
func (o *AttachTeamToModUnprocessableEntity) Error() string
func (*AttachTeamToModUnprocessableEntity) GetPayload ¶
func (o *AttachTeamToModUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *AttachTeamToModUnprocessableEntity) IsCode(code int) bool
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 ¶
func (o *AttachTeamToModUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach team to mod unprocessable entity response has a 2xx status code
func (*AttachTeamToModUnprocessableEntity) String ¶
func (o *AttachTeamToModUnprocessableEntity) String() 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 (o *AttachTeamToPackForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *AttachTeamToPackParams) WithContext(ctx context.Context) *AttachTeamToPackParams
WithContext adds the context to the attach team to pack params
func (*AttachTeamToPackParams) WithDefaults ¶
func (o *AttachTeamToPackParams) WithDefaults() *AttachTeamToPackParams
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 ¶
func (o *AttachTeamToPackParams) WithTeamPack(teamPack *models.TeamPackParams) *AttachTeamToPackParams
WithTeamPack adds the teamPack to the attach team to pack params
func (*AttachTeamToPackParams) WithTimeout ¶
func (o *AttachTeamToPackParams) WithTimeout(timeout time.Duration) *AttachTeamToPackParams
WithTimeout adds the timeout to the attach team to pack params
func (*AttachTeamToPackParams) WriteToRequest ¶
func (o *AttachTeamToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AttachTeamToPackPreconditionFailed) Code() int
Code gets the status code for the attach team to pack precondition failed response
func (*AttachTeamToPackPreconditionFailed) Error ¶
func (o *AttachTeamToPackPreconditionFailed) Error() string
func (*AttachTeamToPackPreconditionFailed) GetPayload ¶
func (o *AttachTeamToPackPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *AttachTeamToPackPreconditionFailed) IsCode(code int) bool
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 ¶
func (o *AttachTeamToPackPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach team to pack precondition failed response has a 2xx status code
func (*AttachTeamToPackPreconditionFailed) String ¶
func (o *AttachTeamToPackPreconditionFailed) String() 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 ¶
func (o *AttachTeamToPackUnprocessableEntity) Code() int
Code gets the status code for the attach team to pack unprocessable entity response
func (*AttachTeamToPackUnprocessableEntity) Error ¶
func (o *AttachTeamToPackUnprocessableEntity) Error() string
func (*AttachTeamToPackUnprocessableEntity) GetPayload ¶
func (o *AttachTeamToPackUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *AttachTeamToPackUnprocessableEntity) IsCode(code int) bool
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 ¶
func (o *AttachTeamToPackUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach team to pack unprocessable entity response has a 2xx status code
func (*AttachTeamToPackUnprocessableEntity) String ¶
func (o *AttachTeamToPackUnprocessableEntity) String() 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 (o *AttachTeamToUserForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *AttachTeamToUserParams) WithContext(ctx context.Context) *AttachTeamToUserParams
WithContext adds the context to the attach team to user params
func (*AttachTeamToUserParams) WithDefaults ¶
func (o *AttachTeamToUserParams) WithDefaults() *AttachTeamToUserParams
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 ¶
func (o *AttachTeamToUserParams) WithTeamUser(teamUser *models.TeamUserParams) *AttachTeamToUserParams
WithTeamUser adds the teamUser to the attach team to user params
func (*AttachTeamToUserParams) WithTimeout ¶
func (o *AttachTeamToUserParams) WithTimeout(timeout time.Duration) *AttachTeamToUserParams
WithTimeout adds the timeout to the attach team to user params
func (*AttachTeamToUserParams) WriteToRequest ¶
func (o *AttachTeamToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AttachTeamToUserPreconditionFailed) Code() int
Code gets the status code for the attach team to user precondition failed response
func (*AttachTeamToUserPreconditionFailed) Error ¶
func (o *AttachTeamToUserPreconditionFailed) Error() string
func (*AttachTeamToUserPreconditionFailed) GetPayload ¶
func (o *AttachTeamToUserPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *AttachTeamToUserPreconditionFailed) IsCode(code int) bool
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 ¶
func (o *AttachTeamToUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach team to user precondition failed response has a 2xx status code
func (*AttachTeamToUserPreconditionFailed) String ¶
func (o *AttachTeamToUserPreconditionFailed) String() 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 ¶
func (o *AttachTeamToUserUnprocessableEntity) Code() int
Code gets the status code for the attach team to user unprocessable entity response
func (*AttachTeamToUserUnprocessableEntity) Error ¶
func (o *AttachTeamToUserUnprocessableEntity) Error() string
func (*AttachTeamToUserUnprocessableEntity) GetPayload ¶
func (o *AttachTeamToUserUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *AttachTeamToUserUnprocessableEntity) IsCode(code int) bool
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 ¶
func (o *AttachTeamToUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach team to user unprocessable entity response has a 2xx status code
func (*AttachTeamToUserUnprocessableEntity) String ¶
func (o *AttachTeamToUserUnprocessableEntity) String() 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 ¶
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 ¶
func (o *CreateTeamUnprocessableEntity) Code() int
Code gets the status code for the create team unprocessable entity response
func (*CreateTeamUnprocessableEntity) Error ¶
func (o *CreateTeamUnprocessableEntity) Error() string
func (*CreateTeamUnprocessableEntity) GetPayload ¶
func (o *CreateTeamUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *CreateTeamUnprocessableEntity) String() 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 (o *DeleteTeamFromModForbidden) Error() string
func (*DeleteTeamFromModForbidden) GetPayload ¶
func (o *DeleteTeamFromModForbidden) GetPayload() *models.GeneralError
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 (o *DeleteTeamFromModNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromModParams) WithContext(ctx context.Context) *DeleteTeamFromModParams
WithContext adds the context to the delete team from mod params
func (*DeleteTeamFromModParams) WithDefaults ¶
func (o *DeleteTeamFromModParams) WithDefaults() *DeleteTeamFromModParams
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 ¶
func (o *DeleteTeamFromModParams) WithTeamID(teamID string) *DeleteTeamFromModParams
WithTeamID adds the teamID to the delete team from mod params
func (*DeleteTeamFromModParams) WithTeamMod ¶
func (o *DeleteTeamFromModParams) WithTeamMod(teamMod *models.TeamModParams) *DeleteTeamFromModParams
WithTeamMod adds the teamMod to the delete team from mod params
func (*DeleteTeamFromModParams) WithTimeout ¶
func (o *DeleteTeamFromModParams) WithTimeout(timeout time.Duration) *DeleteTeamFromModParams
WithTimeout adds the timeout to the delete team from mod params
func (*DeleteTeamFromModParams) WriteToRequest ¶
func (o *DeleteTeamFromModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteTeamFromModPreconditionFailed) Code() int
Code gets the status code for the delete team from mod precondition failed response
func (*DeleteTeamFromModPreconditionFailed) Error ¶
func (o *DeleteTeamFromModPreconditionFailed) Error() string
func (*DeleteTeamFromModPreconditionFailed) GetPayload ¶
func (o *DeleteTeamFromModPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromModPreconditionFailed) IsCode(code int) bool
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 ¶
func (o *DeleteTeamFromModPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete team from mod precondition failed response has a 2xx status code
func (*DeleteTeamFromModPreconditionFailed) String ¶
func (o *DeleteTeamFromModPreconditionFailed) String() 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 (o *DeleteTeamFromPackDefault) GetPayload() *models.GeneralError
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 (o *DeleteTeamFromPackForbidden) Error() string
func (*DeleteTeamFromPackForbidden) GetPayload ¶
func (o *DeleteTeamFromPackForbidden) GetPayload() *models.GeneralError
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 (o *DeleteTeamFromPackNotFound) Error() string
func (*DeleteTeamFromPackNotFound) GetPayload ¶
func (o *DeleteTeamFromPackNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromPackParams) WithContext(ctx context.Context) *DeleteTeamFromPackParams
WithContext adds the context to the delete team from pack params
func (*DeleteTeamFromPackParams) WithDefaults ¶
func (o *DeleteTeamFromPackParams) WithDefaults() *DeleteTeamFromPackParams
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 ¶
func (o *DeleteTeamFromPackParams) WithTeamID(teamID string) *DeleteTeamFromPackParams
WithTeamID adds the teamID to the delete team from pack params
func (*DeleteTeamFromPackParams) WithTeamPack ¶
func (o *DeleteTeamFromPackParams) WithTeamPack(teamPack *models.TeamPackParams) *DeleteTeamFromPackParams
WithTeamPack adds the teamPack to the delete team from pack params
func (*DeleteTeamFromPackParams) WithTimeout ¶
func (o *DeleteTeamFromPackParams) WithTimeout(timeout time.Duration) *DeleteTeamFromPackParams
WithTimeout adds the timeout to the delete team from pack params
func (*DeleteTeamFromPackParams) WriteToRequest ¶
func (o *DeleteTeamFromPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteTeamFromPackPreconditionFailed) Code() int
Code gets the status code for the delete team from pack precondition failed response
func (*DeleteTeamFromPackPreconditionFailed) Error ¶
func (o *DeleteTeamFromPackPreconditionFailed) Error() string
func (*DeleteTeamFromPackPreconditionFailed) GetPayload ¶
func (o *DeleteTeamFromPackPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromPackPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete team from pack precondition failed response a status code equal to that given
func (*DeleteTeamFromPackPreconditionFailed) IsRedirect ¶
func (o *DeleteTeamFromPackPreconditionFailed) IsRedirect() bool
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 ¶
func (o *DeleteTeamFromPackPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete team from pack precondition failed response has a 2xx status code
func (*DeleteTeamFromPackPreconditionFailed) String ¶
func (o *DeleteTeamFromPackPreconditionFailed) String() 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 (o *DeleteTeamFromUserDefault) GetPayload() *models.GeneralError
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 (o *DeleteTeamFromUserForbidden) Error() string
func (*DeleteTeamFromUserForbidden) GetPayload ¶
func (o *DeleteTeamFromUserForbidden) GetPayload() *models.GeneralError
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 (o *DeleteTeamFromUserNotFound) Error() string
func (*DeleteTeamFromUserNotFound) GetPayload ¶
func (o *DeleteTeamFromUserNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromUserParams) WithContext(ctx context.Context) *DeleteTeamFromUserParams
WithContext adds the context to the delete team from user params
func (*DeleteTeamFromUserParams) WithDefaults ¶
func (o *DeleteTeamFromUserParams) WithDefaults() *DeleteTeamFromUserParams
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 ¶
func (o *DeleteTeamFromUserParams) WithTeamID(teamID string) *DeleteTeamFromUserParams
WithTeamID adds the teamID to the delete team from user params
func (*DeleteTeamFromUserParams) WithTeamUser ¶
func (o *DeleteTeamFromUserParams) WithTeamUser(teamUser *models.TeamUserParams) *DeleteTeamFromUserParams
WithTeamUser adds the teamUser to the delete team from user params
func (*DeleteTeamFromUserParams) WithTimeout ¶
func (o *DeleteTeamFromUserParams) WithTimeout(timeout time.Duration) *DeleteTeamFromUserParams
WithTimeout adds the timeout to the delete team from user params
func (*DeleteTeamFromUserParams) WriteToRequest ¶
func (o *DeleteTeamFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteTeamFromUserPreconditionFailed) Code() int
Code gets the status code for the delete team from user precondition failed response
func (*DeleteTeamFromUserPreconditionFailed) Error ¶
func (o *DeleteTeamFromUserPreconditionFailed) Error() string
func (*DeleteTeamFromUserPreconditionFailed) GetPayload ¶
func (o *DeleteTeamFromUserPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteTeamFromUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete team from user precondition failed response a status code equal to that given
func (*DeleteTeamFromUserPreconditionFailed) IsRedirect ¶
func (o *DeleteTeamFromUserPreconditionFailed) IsRedirect() bool
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 ¶
func (o *DeleteTeamFromUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete team from user precondition failed response has a 2xx status code
func (*DeleteTeamFromUserPreconditionFailed) String ¶
func (o *DeleteTeamFromUserPreconditionFailed) String() 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 ¶
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 ¶
func (o *ListTeamModsParams) WithContext(ctx context.Context) *ListTeamModsParams
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 ¶
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 ¶
func (o *ListTeamPacksParams) WithContext(ctx context.Context) *ListTeamPacksParams
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 ¶
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 ¶
func (o *ListTeamUsersParams) WithContext(ctx context.Context) *ListTeamUsersParams
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 ¶
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 ¶
func (o *PermitTeamModParams) WithContext(ctx context.Context) *PermitTeamModParams
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 ¶
func (o *PermitTeamModPreconditionFailed) Code() int
Code gets the status code for the permit team mod precondition failed response
func (*PermitTeamModPreconditionFailed) Error ¶
func (o *PermitTeamModPreconditionFailed) Error() string
func (*PermitTeamModPreconditionFailed) GetPayload ¶
func (o *PermitTeamModPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *PermitTeamModPreconditionFailed) String() 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 ¶
func (o *PermitTeamModUnprocessableEntity) Code() int
Code gets the status code for the permit team mod unprocessable entity response
func (*PermitTeamModUnprocessableEntity) Error ¶
func (o *PermitTeamModUnprocessableEntity) Error() string
func (*PermitTeamModUnprocessableEntity) GetPayload ¶
func (o *PermitTeamModUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *PermitTeamModUnprocessableEntity) String() 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 ¶
func (o *PermitTeamPackParams) WithContext(ctx context.Context) *PermitTeamPackParams
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 ¶
func (o *PermitTeamPackPreconditionFailed) Code() int
Code gets the status code for the permit team pack precondition failed response
func (*PermitTeamPackPreconditionFailed) Error ¶
func (o *PermitTeamPackPreconditionFailed) Error() string
func (*PermitTeamPackPreconditionFailed) GetPayload ¶
func (o *PermitTeamPackPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *PermitTeamPackPreconditionFailed) String() 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 ¶
func (o *PermitTeamPackUnprocessableEntity) Code() int
Code gets the status code for the permit team pack unprocessable entity response
func (*PermitTeamPackUnprocessableEntity) Error ¶
func (o *PermitTeamPackUnprocessableEntity) Error() string
func (*PermitTeamPackUnprocessableEntity) GetPayload ¶
func (o *PermitTeamPackUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *PermitTeamPackUnprocessableEntity) String() 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 ¶
func (o *PermitTeamUserParams) WithContext(ctx context.Context) *PermitTeamUserParams
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 ¶
func (o *PermitTeamUserPreconditionFailed) Code() int
Code gets the status code for the permit team user precondition failed response
func (*PermitTeamUserPreconditionFailed) Error ¶
func (o *PermitTeamUserPreconditionFailed) Error() string
func (*PermitTeamUserPreconditionFailed) GetPayload ¶
func (o *PermitTeamUserPreconditionFailed) GetPayload() *models.GeneralError
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 ¶
func (o *PermitTeamUserPreconditionFailed) String() 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 ¶
func (o *PermitTeamUserUnprocessableEntity) Code() int
Code gets the status code for the permit team user unprocessable entity response
func (*PermitTeamUserUnprocessableEntity) Error ¶
func (o *PermitTeamUserUnprocessableEntity) Error() string
func (*PermitTeamUserUnprocessableEntity) GetPayload ¶
func (o *PermitTeamUserUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *PermitTeamUserUnprocessableEntity) String() 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 ¶
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 ¶
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 ¶
func (o *UpdateTeamUnprocessableEntity) Code() int
Code gets the status code for the update team unprocessable entity response
func (*UpdateTeamUnprocessableEntity) Error ¶
func (o *UpdateTeamUnprocessableEntity) Error() string
func (*UpdateTeamUnprocessableEntity) GetPayload ¶
func (o *UpdateTeamUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *UpdateTeamUnprocessableEntity) String() string
Source Files ¶
- attach_team_to_mod_parameters.go
- attach_team_to_mod_responses.go
- attach_team_to_pack_parameters.go
- attach_team_to_pack_responses.go
- attach_team_to_user_parameters.go
- attach_team_to_user_responses.go
- create_team_parameters.go
- create_team_responses.go
- delete_team_from_mod_parameters.go
- delete_team_from_mod_responses.go
- delete_team_from_pack_parameters.go
- delete_team_from_pack_responses.go
- delete_team_from_user_parameters.go
- delete_team_from_user_responses.go
- delete_team_parameters.go
- delete_team_responses.go
- list_team_mods_parameters.go
- list_team_mods_responses.go
- list_team_packs_parameters.go
- list_team_packs_responses.go
- list_team_users_parameters.go
- list_team_users_responses.go
- list_teams_parameters.go
- list_teams_responses.go
- permit_team_mod_parameters.go
- permit_team_mod_responses.go
- permit_team_pack_parameters.go
- permit_team_pack_responses.go
- permit_team_user_parameters.go
- permit_team_user_responses.go
- show_team_parameters.go
- show_team_responses.go
- team_client.go
- update_team_parameters.go
- update_team_responses.go