Documentation ¶
Index ¶
- type AttachUserToModDefault
- func (o *AttachUserToModDefault) Code() int
- func (o *AttachUserToModDefault) Error() string
- func (o *AttachUserToModDefault) GetPayload() *models.GeneralError
- func (o *AttachUserToModDefault) IsClientError() bool
- func (o *AttachUserToModDefault) IsCode(code int) bool
- func (o *AttachUserToModDefault) IsRedirect() bool
- func (o *AttachUserToModDefault) IsServerError() bool
- func (o *AttachUserToModDefault) IsSuccess() bool
- func (o *AttachUserToModDefault) String() string
- type AttachUserToModForbidden
- func (o *AttachUserToModForbidden) Code() int
- func (o *AttachUserToModForbidden) Error() string
- func (o *AttachUserToModForbidden) GetPayload() *models.GeneralError
- func (o *AttachUserToModForbidden) IsClientError() bool
- func (o *AttachUserToModForbidden) IsCode(code int) bool
- func (o *AttachUserToModForbidden) IsRedirect() bool
- func (o *AttachUserToModForbidden) IsServerError() bool
- func (o *AttachUserToModForbidden) IsSuccess() bool
- func (o *AttachUserToModForbidden) String() string
- type AttachUserToModNotFound
- func (o *AttachUserToModNotFound) Code() int
- func (o *AttachUserToModNotFound) Error() string
- func (o *AttachUserToModNotFound) GetPayload() *models.GeneralError
- func (o *AttachUserToModNotFound) IsClientError() bool
- func (o *AttachUserToModNotFound) IsCode(code int) bool
- func (o *AttachUserToModNotFound) IsRedirect() bool
- func (o *AttachUserToModNotFound) IsServerError() bool
- func (o *AttachUserToModNotFound) IsSuccess() bool
- func (o *AttachUserToModNotFound) String() string
- type AttachUserToModOK
- func (o *AttachUserToModOK) Code() int
- func (o *AttachUserToModOK) Error() string
- func (o *AttachUserToModOK) GetPayload() *models.GeneralError
- func (o *AttachUserToModOK) IsClientError() bool
- func (o *AttachUserToModOK) IsCode(code int) bool
- func (o *AttachUserToModOK) IsRedirect() bool
- func (o *AttachUserToModOK) IsServerError() bool
- func (o *AttachUserToModOK) IsSuccess() bool
- func (o *AttachUserToModOK) String() string
- type AttachUserToModParams
- func NewAttachUserToModParams() *AttachUserToModParams
- func NewAttachUserToModParamsWithContext(ctx context.Context) *AttachUserToModParams
- func NewAttachUserToModParamsWithHTTPClient(client *http.Client) *AttachUserToModParams
- func NewAttachUserToModParamsWithTimeout(timeout time.Duration) *AttachUserToModParams
- func (o *AttachUserToModParams) SetContext(ctx context.Context)
- func (o *AttachUserToModParams) SetDefaults()
- func (o *AttachUserToModParams) SetHTTPClient(client *http.Client)
- func (o *AttachUserToModParams) SetTimeout(timeout time.Duration)
- func (o *AttachUserToModParams) SetUserID(userID string)
- func (o *AttachUserToModParams) SetUserMod(userMod *models.UserModParams)
- func (o *AttachUserToModParams) WithContext(ctx context.Context) *AttachUserToModParams
- func (o *AttachUserToModParams) WithDefaults() *AttachUserToModParams
- func (o *AttachUserToModParams) WithHTTPClient(client *http.Client) *AttachUserToModParams
- func (o *AttachUserToModParams) WithTimeout(timeout time.Duration) *AttachUserToModParams
- func (o *AttachUserToModParams) WithUserID(userID string) *AttachUserToModParams
- func (o *AttachUserToModParams) WithUserMod(userMod *models.UserModParams) *AttachUserToModParams
- func (o *AttachUserToModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachUserToModPreconditionFailed
- func (o *AttachUserToModPreconditionFailed) Code() int
- func (o *AttachUserToModPreconditionFailed) Error() string
- func (o *AttachUserToModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachUserToModPreconditionFailed) IsClientError() bool
- func (o *AttachUserToModPreconditionFailed) IsCode(code int) bool
- func (o *AttachUserToModPreconditionFailed) IsRedirect() bool
- func (o *AttachUserToModPreconditionFailed) IsServerError() bool
- func (o *AttachUserToModPreconditionFailed) IsSuccess() bool
- func (o *AttachUserToModPreconditionFailed) String() string
- type AttachUserToModReader
- type AttachUserToModUnprocessableEntity
- func (o *AttachUserToModUnprocessableEntity) Code() int
- func (o *AttachUserToModUnprocessableEntity) Error() string
- func (o *AttachUserToModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachUserToModUnprocessableEntity) IsClientError() bool
- func (o *AttachUserToModUnprocessableEntity) IsCode(code int) bool
- func (o *AttachUserToModUnprocessableEntity) IsRedirect() bool
- func (o *AttachUserToModUnprocessableEntity) IsServerError() bool
- func (o *AttachUserToModUnprocessableEntity) IsSuccess() bool
- func (o *AttachUserToModUnprocessableEntity) String() string
- type AttachUserToPackDefault
- func (o *AttachUserToPackDefault) Code() int
- func (o *AttachUserToPackDefault) Error() string
- func (o *AttachUserToPackDefault) GetPayload() *models.GeneralError
- func (o *AttachUserToPackDefault) IsClientError() bool
- func (o *AttachUserToPackDefault) IsCode(code int) bool
- func (o *AttachUserToPackDefault) IsRedirect() bool
- func (o *AttachUserToPackDefault) IsServerError() bool
- func (o *AttachUserToPackDefault) IsSuccess() bool
- func (o *AttachUserToPackDefault) String() string
- type AttachUserToPackForbidden
- func (o *AttachUserToPackForbidden) Code() int
- func (o *AttachUserToPackForbidden) Error() string
- func (o *AttachUserToPackForbidden) GetPayload() *models.GeneralError
- func (o *AttachUserToPackForbidden) IsClientError() bool
- func (o *AttachUserToPackForbidden) IsCode(code int) bool
- func (o *AttachUserToPackForbidden) IsRedirect() bool
- func (o *AttachUserToPackForbidden) IsServerError() bool
- func (o *AttachUserToPackForbidden) IsSuccess() bool
- func (o *AttachUserToPackForbidden) String() string
- type AttachUserToPackNotFound
- func (o *AttachUserToPackNotFound) Code() int
- func (o *AttachUserToPackNotFound) Error() string
- func (o *AttachUserToPackNotFound) GetPayload() *models.GeneralError
- func (o *AttachUserToPackNotFound) IsClientError() bool
- func (o *AttachUserToPackNotFound) IsCode(code int) bool
- func (o *AttachUserToPackNotFound) IsRedirect() bool
- func (o *AttachUserToPackNotFound) IsServerError() bool
- func (o *AttachUserToPackNotFound) IsSuccess() bool
- func (o *AttachUserToPackNotFound) String() string
- type AttachUserToPackOK
- func (o *AttachUserToPackOK) Code() int
- func (o *AttachUserToPackOK) Error() string
- func (o *AttachUserToPackOK) GetPayload() *models.GeneralError
- func (o *AttachUserToPackOK) IsClientError() bool
- func (o *AttachUserToPackOK) IsCode(code int) bool
- func (o *AttachUserToPackOK) IsRedirect() bool
- func (o *AttachUserToPackOK) IsServerError() bool
- func (o *AttachUserToPackOK) IsSuccess() bool
- func (o *AttachUserToPackOK) String() string
- type AttachUserToPackParams
- func NewAttachUserToPackParams() *AttachUserToPackParams
- func NewAttachUserToPackParamsWithContext(ctx context.Context) *AttachUserToPackParams
- func NewAttachUserToPackParamsWithHTTPClient(client *http.Client) *AttachUserToPackParams
- func NewAttachUserToPackParamsWithTimeout(timeout time.Duration) *AttachUserToPackParams
- func (o *AttachUserToPackParams) SetContext(ctx context.Context)
- func (o *AttachUserToPackParams) SetDefaults()
- func (o *AttachUserToPackParams) SetHTTPClient(client *http.Client)
- func (o *AttachUserToPackParams) SetTimeout(timeout time.Duration)
- func (o *AttachUserToPackParams) SetUserID(userID string)
- func (o *AttachUserToPackParams) SetUserPack(userPack *models.UserPackParams)
- func (o *AttachUserToPackParams) WithContext(ctx context.Context) *AttachUserToPackParams
- func (o *AttachUserToPackParams) WithDefaults() *AttachUserToPackParams
- func (o *AttachUserToPackParams) WithHTTPClient(client *http.Client) *AttachUserToPackParams
- func (o *AttachUserToPackParams) WithTimeout(timeout time.Duration) *AttachUserToPackParams
- func (o *AttachUserToPackParams) WithUserID(userID string) *AttachUserToPackParams
- func (o *AttachUserToPackParams) WithUserPack(userPack *models.UserPackParams) *AttachUserToPackParams
- func (o *AttachUserToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachUserToPackPreconditionFailed
- func (o *AttachUserToPackPreconditionFailed) Code() int
- func (o *AttachUserToPackPreconditionFailed) Error() string
- func (o *AttachUserToPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachUserToPackPreconditionFailed) IsClientError() bool
- func (o *AttachUserToPackPreconditionFailed) IsCode(code int) bool
- func (o *AttachUserToPackPreconditionFailed) IsRedirect() bool
- func (o *AttachUserToPackPreconditionFailed) IsServerError() bool
- func (o *AttachUserToPackPreconditionFailed) IsSuccess() bool
- func (o *AttachUserToPackPreconditionFailed) String() string
- type AttachUserToPackReader
- type AttachUserToPackUnprocessableEntity
- func (o *AttachUserToPackUnprocessableEntity) Code() int
- func (o *AttachUserToPackUnprocessableEntity) Error() string
- func (o *AttachUserToPackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachUserToPackUnprocessableEntity) IsClientError() bool
- func (o *AttachUserToPackUnprocessableEntity) IsCode(code int) bool
- func (o *AttachUserToPackUnprocessableEntity) IsRedirect() bool
- func (o *AttachUserToPackUnprocessableEntity) IsServerError() bool
- func (o *AttachUserToPackUnprocessableEntity) IsSuccess() bool
- func (o *AttachUserToPackUnprocessableEntity) String() string
- type AttachUserToTeamDefault
- func (o *AttachUserToTeamDefault) Code() int
- func (o *AttachUserToTeamDefault) Error() string
- func (o *AttachUserToTeamDefault) GetPayload() *models.GeneralError
- func (o *AttachUserToTeamDefault) IsClientError() bool
- func (o *AttachUserToTeamDefault) IsCode(code int) bool
- func (o *AttachUserToTeamDefault) IsRedirect() bool
- func (o *AttachUserToTeamDefault) IsServerError() bool
- func (o *AttachUserToTeamDefault) IsSuccess() bool
- func (o *AttachUserToTeamDefault) String() string
- type AttachUserToTeamForbidden
- func (o *AttachUserToTeamForbidden) Code() int
- func (o *AttachUserToTeamForbidden) Error() string
- func (o *AttachUserToTeamForbidden) GetPayload() *models.GeneralError
- func (o *AttachUserToTeamForbidden) IsClientError() bool
- func (o *AttachUserToTeamForbidden) IsCode(code int) bool
- func (o *AttachUserToTeamForbidden) IsRedirect() bool
- func (o *AttachUserToTeamForbidden) IsServerError() bool
- func (o *AttachUserToTeamForbidden) IsSuccess() bool
- func (o *AttachUserToTeamForbidden) String() string
- type AttachUserToTeamNotFound
- func (o *AttachUserToTeamNotFound) Code() int
- func (o *AttachUserToTeamNotFound) Error() string
- func (o *AttachUserToTeamNotFound) GetPayload() *models.GeneralError
- func (o *AttachUserToTeamNotFound) IsClientError() bool
- func (o *AttachUserToTeamNotFound) IsCode(code int) bool
- func (o *AttachUserToTeamNotFound) IsRedirect() bool
- func (o *AttachUserToTeamNotFound) IsServerError() bool
- func (o *AttachUserToTeamNotFound) IsSuccess() bool
- func (o *AttachUserToTeamNotFound) String() string
- type AttachUserToTeamOK
- func (o *AttachUserToTeamOK) Code() int
- func (o *AttachUserToTeamOK) Error() string
- func (o *AttachUserToTeamOK) GetPayload() *models.GeneralError
- func (o *AttachUserToTeamOK) IsClientError() bool
- func (o *AttachUserToTeamOK) IsCode(code int) bool
- func (o *AttachUserToTeamOK) IsRedirect() bool
- func (o *AttachUserToTeamOK) IsServerError() bool
- func (o *AttachUserToTeamOK) IsSuccess() bool
- func (o *AttachUserToTeamOK) String() string
- type AttachUserToTeamParams
- func NewAttachUserToTeamParams() *AttachUserToTeamParams
- func NewAttachUserToTeamParamsWithContext(ctx context.Context) *AttachUserToTeamParams
- func NewAttachUserToTeamParamsWithHTTPClient(client *http.Client) *AttachUserToTeamParams
- func NewAttachUserToTeamParamsWithTimeout(timeout time.Duration) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) SetContext(ctx context.Context)
- func (o *AttachUserToTeamParams) SetDefaults()
- func (o *AttachUserToTeamParams) SetHTTPClient(client *http.Client)
- func (o *AttachUserToTeamParams) SetTimeout(timeout time.Duration)
- func (o *AttachUserToTeamParams) SetUserID(userID string)
- func (o *AttachUserToTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
- func (o *AttachUserToTeamParams) WithContext(ctx context.Context) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WithDefaults() *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WithHTTPClient(client *http.Client) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WithTimeout(timeout time.Duration) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WithUserID(userID string) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *AttachUserToTeamParams
- func (o *AttachUserToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachUserToTeamPreconditionFailed
- func (o *AttachUserToTeamPreconditionFailed) Code() int
- func (o *AttachUserToTeamPreconditionFailed) Error() string
- func (o *AttachUserToTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachUserToTeamPreconditionFailed) IsClientError() bool
- func (o *AttachUserToTeamPreconditionFailed) IsCode(code int) bool
- func (o *AttachUserToTeamPreconditionFailed) IsRedirect() bool
- func (o *AttachUserToTeamPreconditionFailed) IsServerError() bool
- func (o *AttachUserToTeamPreconditionFailed) IsSuccess() bool
- func (o *AttachUserToTeamPreconditionFailed) String() string
- type AttachUserToTeamReader
- type AttachUserToTeamUnprocessableEntity
- func (o *AttachUserToTeamUnprocessableEntity) Code() int
- func (o *AttachUserToTeamUnprocessableEntity) Error() string
- func (o *AttachUserToTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachUserToTeamUnprocessableEntity) IsClientError() bool
- func (o *AttachUserToTeamUnprocessableEntity) IsCode(code int) bool
- func (o *AttachUserToTeamUnprocessableEntity) IsRedirect() bool
- func (o *AttachUserToTeamUnprocessableEntity) IsServerError() bool
- func (o *AttachUserToTeamUnprocessableEntity) IsSuccess() bool
- func (o *AttachUserToTeamUnprocessableEntity) String() string
- type Client
- func (a *Client) AttachUserToMod(params *AttachUserToModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachUserToModOK, error)
- func (a *Client) AttachUserToPack(params *AttachUserToPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachUserToPackOK, error)
- func (a *Client) AttachUserToTeam(params *AttachUserToTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachUserToTeamOK, error)
- func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserOK, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserOK, error)
- func (a *Client) DeleteUserFromMod(params *DeleteUserFromModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserFromModOK, error)
- func (a *Client) DeleteUserFromPack(params *DeleteUserFromPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserFromPackOK, error)
- func (a *Client) DeleteUserFromTeam(params *DeleteUserFromTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteUserFromTeamOK, error)
- func (a *Client) ListUserMods(params *ListUserModsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserModsOK, error)
- func (a *Client) ListUserPacks(params *ListUserPacksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserPacksOK, error)
- func (a *Client) ListUserTeams(params *ListUserTeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserTeamsOK, error)
- func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUsersOK, error)
- func (a *Client) PermitUserMod(params *PermitUserModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitUserModOK, error)
- func (a *Client) PermitUserPack(params *PermitUserPackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitUserPackOK, error)
- func (a *Client) PermitUserTeam(params *PermitUserTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitUserTeamOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowUser(params *ShowUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowUserOK, error)
- func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateUserOK, error)
- type ClientOption
- type ClientService
- type CreateUserDefault
- func (o *CreateUserDefault) Code() int
- func (o *CreateUserDefault) Error() string
- func (o *CreateUserDefault) GetPayload() *models.GeneralError
- func (o *CreateUserDefault) IsClientError() bool
- func (o *CreateUserDefault) IsCode(code int) bool
- func (o *CreateUserDefault) IsRedirect() bool
- func (o *CreateUserDefault) IsServerError() bool
- func (o *CreateUserDefault) IsSuccess() bool
- func (o *CreateUserDefault) String() string
- type CreateUserForbidden
- func (o *CreateUserForbidden) Code() int
- func (o *CreateUserForbidden) Error() string
- func (o *CreateUserForbidden) GetPayload() *models.GeneralError
- func (o *CreateUserForbidden) IsClientError() bool
- func (o *CreateUserForbidden) IsCode(code int) bool
- func (o *CreateUserForbidden) IsRedirect() bool
- func (o *CreateUserForbidden) IsServerError() bool
- func (o *CreateUserForbidden) IsSuccess() bool
- func (o *CreateUserForbidden) String() string
- type CreateUserOK
- func (o *CreateUserOK) Code() int
- func (o *CreateUserOK) Error() string
- func (o *CreateUserOK) GetPayload() *models.User
- func (o *CreateUserOK) IsClientError() bool
- func (o *CreateUserOK) IsCode(code int) bool
- func (o *CreateUserOK) IsRedirect() bool
- func (o *CreateUserOK) IsServerError() bool
- func (o *CreateUserOK) IsSuccess() bool
- func (o *CreateUserOK) String() string
- type CreateUserParams
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) SetUser(user *models.User)
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WithUser(user *models.User) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserUnprocessableEntity
- func (o *CreateUserUnprocessableEntity) Code() int
- func (o *CreateUserUnprocessableEntity) Error() string
- func (o *CreateUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreateUserUnprocessableEntity) IsClientError() bool
- func (o *CreateUserUnprocessableEntity) IsCode(code int) bool
- func (o *CreateUserUnprocessableEntity) IsRedirect() bool
- func (o *CreateUserUnprocessableEntity) IsServerError() bool
- func (o *CreateUserUnprocessableEntity) IsSuccess() bool
- func (o *CreateUserUnprocessableEntity) String() string
- type DeleteUserBadRequest
- func (o *DeleteUserBadRequest) Code() int
- func (o *DeleteUserBadRequest) Error() string
- func (o *DeleteUserBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteUserBadRequest) IsClientError() bool
- func (o *DeleteUserBadRequest) IsCode(code int) bool
- func (o *DeleteUserBadRequest) IsRedirect() bool
- func (o *DeleteUserBadRequest) IsServerError() bool
- func (o *DeleteUserBadRequest) IsSuccess() bool
- func (o *DeleteUserBadRequest) String() string
- type DeleteUserDefault
- func (o *DeleteUserDefault) Code() int
- func (o *DeleteUserDefault) Error() string
- func (o *DeleteUserDefault) GetPayload() *models.GeneralError
- func (o *DeleteUserDefault) IsClientError() bool
- func (o *DeleteUserDefault) IsCode(code int) bool
- func (o *DeleteUserDefault) IsRedirect() bool
- func (o *DeleteUserDefault) IsServerError() bool
- func (o *DeleteUserDefault) IsSuccess() bool
- func (o *DeleteUserDefault) String() string
- type DeleteUserForbidden
- func (o *DeleteUserForbidden) Code() int
- func (o *DeleteUserForbidden) Error() string
- func (o *DeleteUserForbidden) GetPayload() *models.GeneralError
- func (o *DeleteUserForbidden) IsClientError() bool
- func (o *DeleteUserForbidden) IsCode(code int) bool
- func (o *DeleteUserForbidden) IsRedirect() bool
- func (o *DeleteUserForbidden) IsServerError() bool
- func (o *DeleteUserForbidden) IsSuccess() bool
- func (o *DeleteUserForbidden) String() string
- type DeleteUserFromModDefault
- func (o *DeleteUserFromModDefault) Code() int
- func (o *DeleteUserFromModDefault) Error() string
- func (o *DeleteUserFromModDefault) GetPayload() *models.GeneralError
- func (o *DeleteUserFromModDefault) IsClientError() bool
- func (o *DeleteUserFromModDefault) IsCode(code int) bool
- func (o *DeleteUserFromModDefault) IsRedirect() bool
- func (o *DeleteUserFromModDefault) IsServerError() bool
- func (o *DeleteUserFromModDefault) IsSuccess() bool
- func (o *DeleteUserFromModDefault) String() string
- type DeleteUserFromModForbidden
- func (o *DeleteUserFromModForbidden) Code() int
- func (o *DeleteUserFromModForbidden) Error() string
- func (o *DeleteUserFromModForbidden) GetPayload() *models.GeneralError
- func (o *DeleteUserFromModForbidden) IsClientError() bool
- func (o *DeleteUserFromModForbidden) IsCode(code int) bool
- func (o *DeleteUserFromModForbidden) IsRedirect() bool
- func (o *DeleteUserFromModForbidden) IsServerError() bool
- func (o *DeleteUserFromModForbidden) IsSuccess() bool
- func (o *DeleteUserFromModForbidden) String() string
- type DeleteUserFromModNotFound
- func (o *DeleteUserFromModNotFound) Code() int
- func (o *DeleteUserFromModNotFound) Error() string
- func (o *DeleteUserFromModNotFound) GetPayload() *models.GeneralError
- func (o *DeleteUserFromModNotFound) IsClientError() bool
- func (o *DeleteUserFromModNotFound) IsCode(code int) bool
- func (o *DeleteUserFromModNotFound) IsRedirect() bool
- func (o *DeleteUserFromModNotFound) IsServerError() bool
- func (o *DeleteUserFromModNotFound) IsSuccess() bool
- func (o *DeleteUserFromModNotFound) String() string
- type DeleteUserFromModOK
- func (o *DeleteUserFromModOK) Code() int
- func (o *DeleteUserFromModOK) Error() string
- func (o *DeleteUserFromModOK) GetPayload() *models.GeneralError
- func (o *DeleteUserFromModOK) IsClientError() bool
- func (o *DeleteUserFromModOK) IsCode(code int) bool
- func (o *DeleteUserFromModOK) IsRedirect() bool
- func (o *DeleteUserFromModOK) IsServerError() bool
- func (o *DeleteUserFromModOK) IsSuccess() bool
- func (o *DeleteUserFromModOK) String() string
- type DeleteUserFromModParams
- func NewDeleteUserFromModParams() *DeleteUserFromModParams
- func NewDeleteUserFromModParamsWithContext(ctx context.Context) *DeleteUserFromModParams
- func NewDeleteUserFromModParamsWithHTTPClient(client *http.Client) *DeleteUserFromModParams
- func NewDeleteUserFromModParamsWithTimeout(timeout time.Duration) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) SetContext(ctx context.Context)
- func (o *DeleteUserFromModParams) SetDefaults()
- func (o *DeleteUserFromModParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserFromModParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserFromModParams) SetUserID(userID string)
- func (o *DeleteUserFromModParams) SetUserMod(userMod *models.UserModParams)
- func (o *DeleteUserFromModParams) WithContext(ctx context.Context) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WithDefaults() *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WithHTTPClient(client *http.Client) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WithTimeout(timeout time.Duration) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WithUserID(userID string) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WithUserMod(userMod *models.UserModParams) *DeleteUserFromModParams
- func (o *DeleteUserFromModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserFromModPreconditionFailed
- func (o *DeleteUserFromModPreconditionFailed) Code() int
- func (o *DeleteUserFromModPreconditionFailed) Error() string
- func (o *DeleteUserFromModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteUserFromModPreconditionFailed) IsClientError() bool
- func (o *DeleteUserFromModPreconditionFailed) IsCode(code int) bool
- func (o *DeleteUserFromModPreconditionFailed) IsRedirect() bool
- func (o *DeleteUserFromModPreconditionFailed) IsServerError() bool
- func (o *DeleteUserFromModPreconditionFailed) IsSuccess() bool
- func (o *DeleteUserFromModPreconditionFailed) String() string
- type DeleteUserFromModReader
- type DeleteUserFromPackDefault
- func (o *DeleteUserFromPackDefault) Code() int
- func (o *DeleteUserFromPackDefault) Error() string
- func (o *DeleteUserFromPackDefault) GetPayload() *models.GeneralError
- func (o *DeleteUserFromPackDefault) IsClientError() bool
- func (o *DeleteUserFromPackDefault) IsCode(code int) bool
- func (o *DeleteUserFromPackDefault) IsRedirect() bool
- func (o *DeleteUserFromPackDefault) IsServerError() bool
- func (o *DeleteUserFromPackDefault) IsSuccess() bool
- func (o *DeleteUserFromPackDefault) String() string
- type DeleteUserFromPackForbidden
- func (o *DeleteUserFromPackForbidden) Code() int
- func (o *DeleteUserFromPackForbidden) Error() string
- func (o *DeleteUserFromPackForbidden) GetPayload() *models.GeneralError
- func (o *DeleteUserFromPackForbidden) IsClientError() bool
- func (o *DeleteUserFromPackForbidden) IsCode(code int) bool
- func (o *DeleteUserFromPackForbidden) IsRedirect() bool
- func (o *DeleteUserFromPackForbidden) IsServerError() bool
- func (o *DeleteUserFromPackForbidden) IsSuccess() bool
- func (o *DeleteUserFromPackForbidden) String() string
- type DeleteUserFromPackNotFound
- func (o *DeleteUserFromPackNotFound) Code() int
- func (o *DeleteUserFromPackNotFound) Error() string
- func (o *DeleteUserFromPackNotFound) GetPayload() *models.GeneralError
- func (o *DeleteUserFromPackNotFound) IsClientError() bool
- func (o *DeleteUserFromPackNotFound) IsCode(code int) bool
- func (o *DeleteUserFromPackNotFound) IsRedirect() bool
- func (o *DeleteUserFromPackNotFound) IsServerError() bool
- func (o *DeleteUserFromPackNotFound) IsSuccess() bool
- func (o *DeleteUserFromPackNotFound) String() string
- type DeleteUserFromPackOK
- func (o *DeleteUserFromPackOK) Code() int
- func (o *DeleteUserFromPackOK) Error() string
- func (o *DeleteUserFromPackOK) GetPayload() *models.GeneralError
- func (o *DeleteUserFromPackOK) IsClientError() bool
- func (o *DeleteUserFromPackOK) IsCode(code int) bool
- func (o *DeleteUserFromPackOK) IsRedirect() bool
- func (o *DeleteUserFromPackOK) IsServerError() bool
- func (o *DeleteUserFromPackOK) IsSuccess() bool
- func (o *DeleteUserFromPackOK) String() string
- type DeleteUserFromPackParams
- func NewDeleteUserFromPackParams() *DeleteUserFromPackParams
- func NewDeleteUserFromPackParamsWithContext(ctx context.Context) *DeleteUserFromPackParams
- func NewDeleteUserFromPackParamsWithHTTPClient(client *http.Client) *DeleteUserFromPackParams
- func NewDeleteUserFromPackParamsWithTimeout(timeout time.Duration) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) SetContext(ctx context.Context)
- func (o *DeleteUserFromPackParams) SetDefaults()
- func (o *DeleteUserFromPackParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserFromPackParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserFromPackParams) SetUserID(userID string)
- func (o *DeleteUserFromPackParams) SetUserPack(userPack *models.UserPackParams)
- func (o *DeleteUserFromPackParams) WithContext(ctx context.Context) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WithDefaults() *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WithHTTPClient(client *http.Client) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WithTimeout(timeout time.Duration) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WithUserID(userID string) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WithUserPack(userPack *models.UserPackParams) *DeleteUserFromPackParams
- func (o *DeleteUserFromPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserFromPackPreconditionFailed
- func (o *DeleteUserFromPackPreconditionFailed) Code() int
- func (o *DeleteUserFromPackPreconditionFailed) Error() string
- func (o *DeleteUserFromPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteUserFromPackPreconditionFailed) IsClientError() bool
- func (o *DeleteUserFromPackPreconditionFailed) IsCode(code int) bool
- func (o *DeleteUserFromPackPreconditionFailed) IsRedirect() bool
- func (o *DeleteUserFromPackPreconditionFailed) IsServerError() bool
- func (o *DeleteUserFromPackPreconditionFailed) IsSuccess() bool
- func (o *DeleteUserFromPackPreconditionFailed) String() string
- type DeleteUserFromPackReader
- type DeleteUserFromTeamDefault
- func (o *DeleteUserFromTeamDefault) Code() int
- func (o *DeleteUserFromTeamDefault) Error() string
- func (o *DeleteUserFromTeamDefault) GetPayload() *models.GeneralError
- func (o *DeleteUserFromTeamDefault) IsClientError() bool
- func (o *DeleteUserFromTeamDefault) IsCode(code int) bool
- func (o *DeleteUserFromTeamDefault) IsRedirect() bool
- func (o *DeleteUserFromTeamDefault) IsServerError() bool
- func (o *DeleteUserFromTeamDefault) IsSuccess() bool
- func (o *DeleteUserFromTeamDefault) String() string
- type DeleteUserFromTeamForbidden
- func (o *DeleteUserFromTeamForbidden) Code() int
- func (o *DeleteUserFromTeamForbidden) Error() string
- func (o *DeleteUserFromTeamForbidden) GetPayload() *models.GeneralError
- func (o *DeleteUserFromTeamForbidden) IsClientError() bool
- func (o *DeleteUserFromTeamForbidden) IsCode(code int) bool
- func (o *DeleteUserFromTeamForbidden) IsRedirect() bool
- func (o *DeleteUserFromTeamForbidden) IsServerError() bool
- func (o *DeleteUserFromTeamForbidden) IsSuccess() bool
- func (o *DeleteUserFromTeamForbidden) String() string
- type DeleteUserFromTeamNotFound
- func (o *DeleteUserFromTeamNotFound) Code() int
- func (o *DeleteUserFromTeamNotFound) Error() string
- func (o *DeleteUserFromTeamNotFound) GetPayload() *models.GeneralError
- func (o *DeleteUserFromTeamNotFound) IsClientError() bool
- func (o *DeleteUserFromTeamNotFound) IsCode(code int) bool
- func (o *DeleteUserFromTeamNotFound) IsRedirect() bool
- func (o *DeleteUserFromTeamNotFound) IsServerError() bool
- func (o *DeleteUserFromTeamNotFound) IsSuccess() bool
- func (o *DeleteUserFromTeamNotFound) String() string
- type DeleteUserFromTeamOK
- func (o *DeleteUserFromTeamOK) Code() int
- func (o *DeleteUserFromTeamOK) Error() string
- func (o *DeleteUserFromTeamOK) GetPayload() *models.GeneralError
- func (o *DeleteUserFromTeamOK) IsClientError() bool
- func (o *DeleteUserFromTeamOK) IsCode(code int) bool
- func (o *DeleteUserFromTeamOK) IsRedirect() bool
- func (o *DeleteUserFromTeamOK) IsServerError() bool
- func (o *DeleteUserFromTeamOK) IsSuccess() bool
- func (o *DeleteUserFromTeamOK) String() string
- type DeleteUserFromTeamParams
- func NewDeleteUserFromTeamParams() *DeleteUserFromTeamParams
- func NewDeleteUserFromTeamParamsWithContext(ctx context.Context) *DeleteUserFromTeamParams
- func NewDeleteUserFromTeamParamsWithHTTPClient(client *http.Client) *DeleteUserFromTeamParams
- func NewDeleteUserFromTeamParamsWithTimeout(timeout time.Duration) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) SetContext(ctx context.Context)
- func (o *DeleteUserFromTeamParams) SetDefaults()
- func (o *DeleteUserFromTeamParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserFromTeamParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserFromTeamParams) SetUserID(userID string)
- func (o *DeleteUserFromTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
- func (o *DeleteUserFromTeamParams) WithContext(ctx context.Context) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WithDefaults() *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WithHTTPClient(client *http.Client) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WithTimeout(timeout time.Duration) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WithUserID(userID string) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *DeleteUserFromTeamParams
- func (o *DeleteUserFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserFromTeamPreconditionFailed
- func (o *DeleteUserFromTeamPreconditionFailed) Code() int
- func (o *DeleteUserFromTeamPreconditionFailed) Error() string
- func (o *DeleteUserFromTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteUserFromTeamPreconditionFailed) IsClientError() bool
- func (o *DeleteUserFromTeamPreconditionFailed) IsCode(code int) bool
- func (o *DeleteUserFromTeamPreconditionFailed) IsRedirect() bool
- func (o *DeleteUserFromTeamPreconditionFailed) IsServerError() bool
- func (o *DeleteUserFromTeamPreconditionFailed) IsSuccess() bool
- func (o *DeleteUserFromTeamPreconditionFailed) String() string
- type DeleteUserFromTeamReader
- type DeleteUserNotFound
- func (o *DeleteUserNotFound) Code() int
- func (o *DeleteUserNotFound) Error() string
- func (o *DeleteUserNotFound) GetPayload() *models.GeneralError
- func (o *DeleteUserNotFound) IsClientError() bool
- func (o *DeleteUserNotFound) IsCode(code int) bool
- func (o *DeleteUserNotFound) IsRedirect() bool
- func (o *DeleteUserNotFound) IsServerError() bool
- func (o *DeleteUserNotFound) IsSuccess() bool
- func (o *DeleteUserNotFound) String() string
- type DeleteUserOK
- func (o *DeleteUserOK) Code() int
- func (o *DeleteUserOK) Error() string
- func (o *DeleteUserOK) GetPayload() *models.GeneralError
- func (o *DeleteUserOK) IsClientError() bool
- func (o *DeleteUserOK) IsCode(code int) bool
- func (o *DeleteUserOK) IsRedirect() bool
- func (o *DeleteUserOK) IsServerError() bool
- func (o *DeleteUserOK) IsSuccess() bool
- func (o *DeleteUserOK) String() string
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) SetUserID(userID string)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type ListUserModsDefault
- func (o *ListUserModsDefault) Code() int
- func (o *ListUserModsDefault) Error() string
- func (o *ListUserModsDefault) GetPayload() *models.GeneralError
- func (o *ListUserModsDefault) IsClientError() bool
- func (o *ListUserModsDefault) IsCode(code int) bool
- func (o *ListUserModsDefault) IsRedirect() bool
- func (o *ListUserModsDefault) IsServerError() bool
- func (o *ListUserModsDefault) IsSuccess() bool
- func (o *ListUserModsDefault) String() string
- type ListUserModsForbidden
- func (o *ListUserModsForbidden) Code() int
- func (o *ListUserModsForbidden) Error() string
- func (o *ListUserModsForbidden) GetPayload() *models.GeneralError
- func (o *ListUserModsForbidden) IsClientError() bool
- func (o *ListUserModsForbidden) IsCode(code int) bool
- func (o *ListUserModsForbidden) IsRedirect() bool
- func (o *ListUserModsForbidden) IsServerError() bool
- func (o *ListUserModsForbidden) IsSuccess() bool
- func (o *ListUserModsForbidden) String() string
- type ListUserModsNotFound
- func (o *ListUserModsNotFound) Code() int
- func (o *ListUserModsNotFound) Error() string
- func (o *ListUserModsNotFound) GetPayload() *models.GeneralError
- func (o *ListUserModsNotFound) IsClientError() bool
- func (o *ListUserModsNotFound) IsCode(code int) bool
- func (o *ListUserModsNotFound) IsRedirect() bool
- func (o *ListUserModsNotFound) IsServerError() bool
- func (o *ListUserModsNotFound) IsSuccess() bool
- func (o *ListUserModsNotFound) String() string
- type ListUserModsOK
- func (o *ListUserModsOK) Code() int
- func (o *ListUserModsOK) Error() string
- func (o *ListUserModsOK) GetPayload() *models.UserMods
- func (o *ListUserModsOK) IsClientError() bool
- func (o *ListUserModsOK) IsCode(code int) bool
- func (o *ListUserModsOK) IsRedirect() bool
- func (o *ListUserModsOK) IsServerError() bool
- func (o *ListUserModsOK) IsSuccess() bool
- func (o *ListUserModsOK) String() string
- type ListUserModsParams
- func (o *ListUserModsParams) SetContext(ctx context.Context)
- func (o *ListUserModsParams) SetDefaults()
- func (o *ListUserModsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserModsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserModsParams) SetUserID(userID string)
- func (o *ListUserModsParams) WithContext(ctx context.Context) *ListUserModsParams
- func (o *ListUserModsParams) WithDefaults() *ListUserModsParams
- func (o *ListUserModsParams) WithHTTPClient(client *http.Client) *ListUserModsParams
- func (o *ListUserModsParams) WithTimeout(timeout time.Duration) *ListUserModsParams
- func (o *ListUserModsParams) WithUserID(userID string) *ListUserModsParams
- func (o *ListUserModsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserModsReader
- type ListUserPacksDefault
- func (o *ListUserPacksDefault) Code() int
- func (o *ListUserPacksDefault) Error() string
- func (o *ListUserPacksDefault) GetPayload() *models.GeneralError
- func (o *ListUserPacksDefault) IsClientError() bool
- func (o *ListUserPacksDefault) IsCode(code int) bool
- func (o *ListUserPacksDefault) IsRedirect() bool
- func (o *ListUserPacksDefault) IsServerError() bool
- func (o *ListUserPacksDefault) IsSuccess() bool
- func (o *ListUserPacksDefault) String() string
- type ListUserPacksForbidden
- func (o *ListUserPacksForbidden) Code() int
- func (o *ListUserPacksForbidden) Error() string
- func (o *ListUserPacksForbidden) GetPayload() *models.GeneralError
- func (o *ListUserPacksForbidden) IsClientError() bool
- func (o *ListUserPacksForbidden) IsCode(code int) bool
- func (o *ListUserPacksForbidden) IsRedirect() bool
- func (o *ListUserPacksForbidden) IsServerError() bool
- func (o *ListUserPacksForbidden) IsSuccess() bool
- func (o *ListUserPacksForbidden) String() string
- type ListUserPacksNotFound
- func (o *ListUserPacksNotFound) Code() int
- func (o *ListUserPacksNotFound) Error() string
- func (o *ListUserPacksNotFound) GetPayload() *models.GeneralError
- func (o *ListUserPacksNotFound) IsClientError() bool
- func (o *ListUserPacksNotFound) IsCode(code int) bool
- func (o *ListUserPacksNotFound) IsRedirect() bool
- func (o *ListUserPacksNotFound) IsServerError() bool
- func (o *ListUserPacksNotFound) IsSuccess() bool
- func (o *ListUserPacksNotFound) String() string
- type ListUserPacksOK
- func (o *ListUserPacksOK) Code() int
- func (o *ListUserPacksOK) Error() string
- func (o *ListUserPacksOK) GetPayload() *models.UserPacks
- func (o *ListUserPacksOK) IsClientError() bool
- func (o *ListUserPacksOK) IsCode(code int) bool
- func (o *ListUserPacksOK) IsRedirect() bool
- func (o *ListUserPacksOK) IsServerError() bool
- func (o *ListUserPacksOK) IsSuccess() bool
- func (o *ListUserPacksOK) String() string
- type ListUserPacksParams
- func (o *ListUserPacksParams) SetContext(ctx context.Context)
- func (o *ListUserPacksParams) SetDefaults()
- func (o *ListUserPacksParams) SetHTTPClient(client *http.Client)
- func (o *ListUserPacksParams) SetTimeout(timeout time.Duration)
- func (o *ListUserPacksParams) SetUserID(userID string)
- func (o *ListUserPacksParams) WithContext(ctx context.Context) *ListUserPacksParams
- func (o *ListUserPacksParams) WithDefaults() *ListUserPacksParams
- func (o *ListUserPacksParams) WithHTTPClient(client *http.Client) *ListUserPacksParams
- func (o *ListUserPacksParams) WithTimeout(timeout time.Duration) *ListUserPacksParams
- func (o *ListUserPacksParams) WithUserID(userID string) *ListUserPacksParams
- func (o *ListUserPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserPacksReader
- type ListUserTeamsDefault
- func (o *ListUserTeamsDefault) Code() int
- func (o *ListUserTeamsDefault) Error() string
- func (o *ListUserTeamsDefault) GetPayload() *models.GeneralError
- func (o *ListUserTeamsDefault) IsClientError() bool
- func (o *ListUserTeamsDefault) IsCode(code int) bool
- func (o *ListUserTeamsDefault) IsRedirect() bool
- func (o *ListUserTeamsDefault) IsServerError() bool
- func (o *ListUserTeamsDefault) IsSuccess() bool
- func (o *ListUserTeamsDefault) String() string
- type ListUserTeamsForbidden
- func (o *ListUserTeamsForbidden) Code() int
- func (o *ListUserTeamsForbidden) Error() string
- func (o *ListUserTeamsForbidden) GetPayload() *models.GeneralError
- func (o *ListUserTeamsForbidden) IsClientError() bool
- func (o *ListUserTeamsForbidden) IsCode(code int) bool
- func (o *ListUserTeamsForbidden) IsRedirect() bool
- func (o *ListUserTeamsForbidden) IsServerError() bool
- func (o *ListUserTeamsForbidden) IsSuccess() bool
- func (o *ListUserTeamsForbidden) String() string
- type ListUserTeamsNotFound
- func (o *ListUserTeamsNotFound) Code() int
- func (o *ListUserTeamsNotFound) Error() string
- func (o *ListUserTeamsNotFound) GetPayload() *models.GeneralError
- func (o *ListUserTeamsNotFound) IsClientError() bool
- func (o *ListUserTeamsNotFound) IsCode(code int) bool
- func (o *ListUserTeamsNotFound) IsRedirect() bool
- func (o *ListUserTeamsNotFound) IsServerError() bool
- func (o *ListUserTeamsNotFound) IsSuccess() bool
- func (o *ListUserTeamsNotFound) String() string
- type ListUserTeamsOK
- func (o *ListUserTeamsOK) Code() int
- func (o *ListUserTeamsOK) Error() string
- func (o *ListUserTeamsOK) GetPayload() *models.UserTeams
- func (o *ListUserTeamsOK) IsClientError() bool
- func (o *ListUserTeamsOK) IsCode(code int) bool
- func (o *ListUserTeamsOK) IsRedirect() bool
- func (o *ListUserTeamsOK) IsServerError() bool
- func (o *ListUserTeamsOK) IsSuccess() bool
- func (o *ListUserTeamsOK) String() string
- type ListUserTeamsParams
- func (o *ListUserTeamsParams) SetContext(ctx context.Context)
- func (o *ListUserTeamsParams) SetDefaults()
- func (o *ListUserTeamsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserTeamsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserTeamsParams) SetUserID(userID string)
- func (o *ListUserTeamsParams) WithContext(ctx context.Context) *ListUserTeamsParams
- func (o *ListUserTeamsParams) WithDefaults() *ListUserTeamsParams
- func (o *ListUserTeamsParams) WithHTTPClient(client *http.Client) *ListUserTeamsParams
- func (o *ListUserTeamsParams) WithTimeout(timeout time.Duration) *ListUserTeamsParams
- func (o *ListUserTeamsParams) WithUserID(userID string) *ListUserTeamsParams
- func (o *ListUserTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserTeamsReader
- type ListUsersDefault
- func (o *ListUsersDefault) Code() int
- func (o *ListUsersDefault) Error() string
- func (o *ListUsersDefault) GetPayload() *models.GeneralError
- func (o *ListUsersDefault) IsClientError() bool
- func (o *ListUsersDefault) IsCode(code int) bool
- func (o *ListUsersDefault) IsRedirect() bool
- func (o *ListUsersDefault) IsServerError() bool
- func (o *ListUsersDefault) IsSuccess() bool
- func (o *ListUsersDefault) String() string
- type ListUsersForbidden
- func (o *ListUsersForbidden) Code() int
- func (o *ListUsersForbidden) Error() string
- func (o *ListUsersForbidden) GetPayload() *models.GeneralError
- func (o *ListUsersForbidden) IsClientError() bool
- func (o *ListUsersForbidden) IsCode(code int) bool
- func (o *ListUsersForbidden) IsRedirect() bool
- func (o *ListUsersForbidden) IsServerError() bool
- func (o *ListUsersForbidden) IsSuccess() bool
- func (o *ListUsersForbidden) String() string
- type ListUsersOK
- func (o *ListUsersOK) Code() int
- func (o *ListUsersOK) Error() string
- func (o *ListUsersOK) GetPayload() *models.Users
- func (o *ListUsersOK) IsClientError() bool
- func (o *ListUsersOK) IsCode(code int) bool
- func (o *ListUsersOK) IsRedirect() bool
- func (o *ListUsersOK) IsServerError() bool
- func (o *ListUsersOK) IsSuccess() bool
- func (o *ListUsersOK) String() string
- type ListUsersParams
- func (o *ListUsersParams) SetContext(ctx context.Context)
- func (o *ListUsersParams) SetDefaults()
- func (o *ListUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListUsersParams) WithContext(ctx context.Context) *ListUsersParams
- func (o *ListUsersParams) WithDefaults() *ListUsersParams
- func (o *ListUsersParams) WithHTTPClient(client *http.Client) *ListUsersParams
- func (o *ListUsersParams) WithTimeout(timeout time.Duration) *ListUsersParams
- func (o *ListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsersReader
- type PermitUserModDefault
- func (o *PermitUserModDefault) Code() int
- func (o *PermitUserModDefault) Error() string
- func (o *PermitUserModDefault) GetPayload() *models.GeneralError
- func (o *PermitUserModDefault) IsClientError() bool
- func (o *PermitUserModDefault) IsCode(code int) bool
- func (o *PermitUserModDefault) IsRedirect() bool
- func (o *PermitUserModDefault) IsServerError() bool
- func (o *PermitUserModDefault) IsSuccess() bool
- func (o *PermitUserModDefault) String() string
- type PermitUserModForbidden
- func (o *PermitUserModForbidden) Code() int
- func (o *PermitUserModForbidden) Error() string
- func (o *PermitUserModForbidden) GetPayload() *models.GeneralError
- func (o *PermitUserModForbidden) IsClientError() bool
- func (o *PermitUserModForbidden) IsCode(code int) bool
- func (o *PermitUserModForbidden) IsRedirect() bool
- func (o *PermitUserModForbidden) IsServerError() bool
- func (o *PermitUserModForbidden) IsSuccess() bool
- func (o *PermitUserModForbidden) String() string
- type PermitUserModNotFound
- func (o *PermitUserModNotFound) Code() int
- func (o *PermitUserModNotFound) Error() string
- func (o *PermitUserModNotFound) GetPayload() *models.GeneralError
- func (o *PermitUserModNotFound) IsClientError() bool
- func (o *PermitUserModNotFound) IsCode(code int) bool
- func (o *PermitUserModNotFound) IsRedirect() bool
- func (o *PermitUserModNotFound) IsServerError() bool
- func (o *PermitUserModNotFound) IsSuccess() bool
- func (o *PermitUserModNotFound) String() string
- type PermitUserModOK
- func (o *PermitUserModOK) Code() int
- func (o *PermitUserModOK) Error() string
- func (o *PermitUserModOK) GetPayload() *models.GeneralError
- func (o *PermitUserModOK) IsClientError() bool
- func (o *PermitUserModOK) IsCode(code int) bool
- func (o *PermitUserModOK) IsRedirect() bool
- func (o *PermitUserModOK) IsServerError() bool
- func (o *PermitUserModOK) IsSuccess() bool
- func (o *PermitUserModOK) String() string
- type PermitUserModParams
- func (o *PermitUserModParams) SetContext(ctx context.Context)
- func (o *PermitUserModParams) SetDefaults()
- func (o *PermitUserModParams) SetHTTPClient(client *http.Client)
- func (o *PermitUserModParams) SetTimeout(timeout time.Duration)
- func (o *PermitUserModParams) SetUserID(userID string)
- func (o *PermitUserModParams) SetUserMod(userMod *models.UserModParams)
- func (o *PermitUserModParams) WithContext(ctx context.Context) *PermitUserModParams
- func (o *PermitUserModParams) WithDefaults() *PermitUserModParams
- func (o *PermitUserModParams) WithHTTPClient(client *http.Client) *PermitUserModParams
- func (o *PermitUserModParams) WithTimeout(timeout time.Duration) *PermitUserModParams
- func (o *PermitUserModParams) WithUserID(userID string) *PermitUserModParams
- func (o *PermitUserModParams) WithUserMod(userMod *models.UserModParams) *PermitUserModParams
- func (o *PermitUserModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitUserModPreconditionFailed
- func (o *PermitUserModPreconditionFailed) Code() int
- func (o *PermitUserModPreconditionFailed) Error() string
- func (o *PermitUserModPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitUserModPreconditionFailed) IsClientError() bool
- func (o *PermitUserModPreconditionFailed) IsCode(code int) bool
- func (o *PermitUserModPreconditionFailed) IsRedirect() bool
- func (o *PermitUserModPreconditionFailed) IsServerError() bool
- func (o *PermitUserModPreconditionFailed) IsSuccess() bool
- func (o *PermitUserModPreconditionFailed) String() string
- type PermitUserModReader
- type PermitUserModUnprocessableEntity
- func (o *PermitUserModUnprocessableEntity) Code() int
- func (o *PermitUserModUnprocessableEntity) Error() string
- func (o *PermitUserModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitUserModUnprocessableEntity) IsClientError() bool
- func (o *PermitUserModUnprocessableEntity) IsCode(code int) bool
- func (o *PermitUserModUnprocessableEntity) IsRedirect() bool
- func (o *PermitUserModUnprocessableEntity) IsServerError() bool
- func (o *PermitUserModUnprocessableEntity) IsSuccess() bool
- func (o *PermitUserModUnprocessableEntity) String() string
- type PermitUserPackDefault
- func (o *PermitUserPackDefault) Code() int
- func (o *PermitUserPackDefault) Error() string
- func (o *PermitUserPackDefault) GetPayload() *models.GeneralError
- func (o *PermitUserPackDefault) IsClientError() bool
- func (o *PermitUserPackDefault) IsCode(code int) bool
- func (o *PermitUserPackDefault) IsRedirect() bool
- func (o *PermitUserPackDefault) IsServerError() bool
- func (o *PermitUserPackDefault) IsSuccess() bool
- func (o *PermitUserPackDefault) String() string
- type PermitUserPackForbidden
- func (o *PermitUserPackForbidden) Code() int
- func (o *PermitUserPackForbidden) Error() string
- func (o *PermitUserPackForbidden) GetPayload() *models.GeneralError
- func (o *PermitUserPackForbidden) IsClientError() bool
- func (o *PermitUserPackForbidden) IsCode(code int) bool
- func (o *PermitUserPackForbidden) IsRedirect() bool
- func (o *PermitUserPackForbidden) IsServerError() bool
- func (o *PermitUserPackForbidden) IsSuccess() bool
- func (o *PermitUserPackForbidden) String() string
- type PermitUserPackNotFound
- func (o *PermitUserPackNotFound) Code() int
- func (o *PermitUserPackNotFound) Error() string
- func (o *PermitUserPackNotFound) GetPayload() *models.GeneralError
- func (o *PermitUserPackNotFound) IsClientError() bool
- func (o *PermitUserPackNotFound) IsCode(code int) bool
- func (o *PermitUserPackNotFound) IsRedirect() bool
- func (o *PermitUserPackNotFound) IsServerError() bool
- func (o *PermitUserPackNotFound) IsSuccess() bool
- func (o *PermitUserPackNotFound) String() string
- type PermitUserPackOK
- func (o *PermitUserPackOK) Code() int
- func (o *PermitUserPackOK) Error() string
- func (o *PermitUserPackOK) GetPayload() *models.GeneralError
- func (o *PermitUserPackOK) IsClientError() bool
- func (o *PermitUserPackOK) IsCode(code int) bool
- func (o *PermitUserPackOK) IsRedirect() bool
- func (o *PermitUserPackOK) IsServerError() bool
- func (o *PermitUserPackOK) IsSuccess() bool
- func (o *PermitUserPackOK) String() string
- type PermitUserPackParams
- func NewPermitUserPackParams() *PermitUserPackParams
- func NewPermitUserPackParamsWithContext(ctx context.Context) *PermitUserPackParams
- func NewPermitUserPackParamsWithHTTPClient(client *http.Client) *PermitUserPackParams
- func NewPermitUserPackParamsWithTimeout(timeout time.Duration) *PermitUserPackParams
- func (o *PermitUserPackParams) SetContext(ctx context.Context)
- func (o *PermitUserPackParams) SetDefaults()
- func (o *PermitUserPackParams) SetHTTPClient(client *http.Client)
- func (o *PermitUserPackParams) SetTimeout(timeout time.Duration)
- func (o *PermitUserPackParams) SetUserID(userID string)
- func (o *PermitUserPackParams) SetUserPack(userPack *models.UserPackParams)
- func (o *PermitUserPackParams) WithContext(ctx context.Context) *PermitUserPackParams
- func (o *PermitUserPackParams) WithDefaults() *PermitUserPackParams
- func (o *PermitUserPackParams) WithHTTPClient(client *http.Client) *PermitUserPackParams
- func (o *PermitUserPackParams) WithTimeout(timeout time.Duration) *PermitUserPackParams
- func (o *PermitUserPackParams) WithUserID(userID string) *PermitUserPackParams
- func (o *PermitUserPackParams) WithUserPack(userPack *models.UserPackParams) *PermitUserPackParams
- func (o *PermitUserPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitUserPackPreconditionFailed
- func (o *PermitUserPackPreconditionFailed) Code() int
- func (o *PermitUserPackPreconditionFailed) Error() string
- func (o *PermitUserPackPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitUserPackPreconditionFailed) IsClientError() bool
- func (o *PermitUserPackPreconditionFailed) IsCode(code int) bool
- func (o *PermitUserPackPreconditionFailed) IsRedirect() bool
- func (o *PermitUserPackPreconditionFailed) IsServerError() bool
- func (o *PermitUserPackPreconditionFailed) IsSuccess() bool
- func (o *PermitUserPackPreconditionFailed) String() string
- type PermitUserPackReader
- type PermitUserPackUnprocessableEntity
- func (o *PermitUserPackUnprocessableEntity) Code() int
- func (o *PermitUserPackUnprocessableEntity) Error() string
- func (o *PermitUserPackUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitUserPackUnprocessableEntity) IsClientError() bool
- func (o *PermitUserPackUnprocessableEntity) IsCode(code int) bool
- func (o *PermitUserPackUnprocessableEntity) IsRedirect() bool
- func (o *PermitUserPackUnprocessableEntity) IsServerError() bool
- func (o *PermitUserPackUnprocessableEntity) IsSuccess() bool
- func (o *PermitUserPackUnprocessableEntity) String() string
- type PermitUserTeamDefault
- func (o *PermitUserTeamDefault) Code() int
- func (o *PermitUserTeamDefault) Error() string
- func (o *PermitUserTeamDefault) GetPayload() *models.GeneralError
- func (o *PermitUserTeamDefault) IsClientError() bool
- func (o *PermitUserTeamDefault) IsCode(code int) bool
- func (o *PermitUserTeamDefault) IsRedirect() bool
- func (o *PermitUserTeamDefault) IsServerError() bool
- func (o *PermitUserTeamDefault) IsSuccess() bool
- func (o *PermitUserTeamDefault) String() string
- type PermitUserTeamForbidden
- func (o *PermitUserTeamForbidden) Code() int
- func (o *PermitUserTeamForbidden) Error() string
- func (o *PermitUserTeamForbidden) GetPayload() *models.GeneralError
- func (o *PermitUserTeamForbidden) IsClientError() bool
- func (o *PermitUserTeamForbidden) IsCode(code int) bool
- func (o *PermitUserTeamForbidden) IsRedirect() bool
- func (o *PermitUserTeamForbidden) IsServerError() bool
- func (o *PermitUserTeamForbidden) IsSuccess() bool
- func (o *PermitUserTeamForbidden) String() string
- type PermitUserTeamNotFound
- func (o *PermitUserTeamNotFound) Code() int
- func (o *PermitUserTeamNotFound) Error() string
- func (o *PermitUserTeamNotFound) GetPayload() *models.GeneralError
- func (o *PermitUserTeamNotFound) IsClientError() bool
- func (o *PermitUserTeamNotFound) IsCode(code int) bool
- func (o *PermitUserTeamNotFound) IsRedirect() bool
- func (o *PermitUserTeamNotFound) IsServerError() bool
- func (o *PermitUserTeamNotFound) IsSuccess() bool
- func (o *PermitUserTeamNotFound) String() string
- type PermitUserTeamOK
- func (o *PermitUserTeamOK) Code() int
- func (o *PermitUserTeamOK) Error() string
- func (o *PermitUserTeamOK) GetPayload() *models.GeneralError
- func (o *PermitUserTeamOK) IsClientError() bool
- func (o *PermitUserTeamOK) IsCode(code int) bool
- func (o *PermitUserTeamOK) IsRedirect() bool
- func (o *PermitUserTeamOK) IsServerError() bool
- func (o *PermitUserTeamOK) IsSuccess() bool
- func (o *PermitUserTeamOK) String() string
- type PermitUserTeamParams
- func NewPermitUserTeamParams() *PermitUserTeamParams
- func NewPermitUserTeamParamsWithContext(ctx context.Context) *PermitUserTeamParams
- func NewPermitUserTeamParamsWithHTTPClient(client *http.Client) *PermitUserTeamParams
- func NewPermitUserTeamParamsWithTimeout(timeout time.Duration) *PermitUserTeamParams
- func (o *PermitUserTeamParams) SetContext(ctx context.Context)
- func (o *PermitUserTeamParams) SetDefaults()
- func (o *PermitUserTeamParams) SetHTTPClient(client *http.Client)
- func (o *PermitUserTeamParams) SetTimeout(timeout time.Duration)
- func (o *PermitUserTeamParams) SetUserID(userID string)
- func (o *PermitUserTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
- func (o *PermitUserTeamParams) WithContext(ctx context.Context) *PermitUserTeamParams
- func (o *PermitUserTeamParams) WithDefaults() *PermitUserTeamParams
- func (o *PermitUserTeamParams) WithHTTPClient(client *http.Client) *PermitUserTeamParams
- func (o *PermitUserTeamParams) WithTimeout(timeout time.Duration) *PermitUserTeamParams
- func (o *PermitUserTeamParams) WithUserID(userID string) *PermitUserTeamParams
- func (o *PermitUserTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *PermitUserTeamParams
- func (o *PermitUserTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitUserTeamPreconditionFailed
- func (o *PermitUserTeamPreconditionFailed) Code() int
- func (o *PermitUserTeamPreconditionFailed) Error() string
- func (o *PermitUserTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitUserTeamPreconditionFailed) IsClientError() bool
- func (o *PermitUserTeamPreconditionFailed) IsCode(code int) bool
- func (o *PermitUserTeamPreconditionFailed) IsRedirect() bool
- func (o *PermitUserTeamPreconditionFailed) IsServerError() bool
- func (o *PermitUserTeamPreconditionFailed) IsSuccess() bool
- func (o *PermitUserTeamPreconditionFailed) String() string
- type PermitUserTeamReader
- type PermitUserTeamUnprocessableEntity
- func (o *PermitUserTeamUnprocessableEntity) Code() int
- func (o *PermitUserTeamUnprocessableEntity) Error() string
- func (o *PermitUserTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitUserTeamUnprocessableEntity) IsClientError() bool
- func (o *PermitUserTeamUnprocessableEntity) IsCode(code int) bool
- func (o *PermitUserTeamUnprocessableEntity) IsRedirect() bool
- func (o *PermitUserTeamUnprocessableEntity) IsServerError() bool
- func (o *PermitUserTeamUnprocessableEntity) IsSuccess() bool
- func (o *PermitUserTeamUnprocessableEntity) String() string
- type ShowUserDefault
- func (o *ShowUserDefault) Code() int
- func (o *ShowUserDefault) Error() string
- func (o *ShowUserDefault) GetPayload() *models.GeneralError
- func (o *ShowUserDefault) IsClientError() bool
- func (o *ShowUserDefault) IsCode(code int) bool
- func (o *ShowUserDefault) IsRedirect() bool
- func (o *ShowUserDefault) IsServerError() bool
- func (o *ShowUserDefault) IsSuccess() bool
- func (o *ShowUserDefault) String() string
- type ShowUserForbidden
- func (o *ShowUserForbidden) Code() int
- func (o *ShowUserForbidden) Error() string
- func (o *ShowUserForbidden) GetPayload() *models.GeneralError
- func (o *ShowUserForbidden) IsClientError() bool
- func (o *ShowUserForbidden) IsCode(code int) bool
- func (o *ShowUserForbidden) IsRedirect() bool
- func (o *ShowUserForbidden) IsServerError() bool
- func (o *ShowUserForbidden) IsSuccess() bool
- func (o *ShowUserForbidden) String() string
- type ShowUserNotFound
- func (o *ShowUserNotFound) Code() int
- func (o *ShowUserNotFound) Error() string
- func (o *ShowUserNotFound) GetPayload() *models.GeneralError
- func (o *ShowUserNotFound) IsClientError() bool
- func (o *ShowUserNotFound) IsCode(code int) bool
- func (o *ShowUserNotFound) IsRedirect() bool
- func (o *ShowUserNotFound) IsServerError() bool
- func (o *ShowUserNotFound) IsSuccess() bool
- func (o *ShowUserNotFound) String() string
- type ShowUserOK
- func (o *ShowUserOK) Code() int
- func (o *ShowUserOK) Error() string
- func (o *ShowUserOK) GetPayload() *models.User
- func (o *ShowUserOK) IsClientError() bool
- func (o *ShowUserOK) IsCode(code int) bool
- func (o *ShowUserOK) IsRedirect() bool
- func (o *ShowUserOK) IsServerError() bool
- func (o *ShowUserOK) IsSuccess() bool
- func (o *ShowUserOK) String() string
- type ShowUserParams
- func (o *ShowUserParams) SetContext(ctx context.Context)
- func (o *ShowUserParams) SetDefaults()
- func (o *ShowUserParams) SetHTTPClient(client *http.Client)
- func (o *ShowUserParams) SetTimeout(timeout time.Duration)
- func (o *ShowUserParams) SetUserID(userID string)
- func (o *ShowUserParams) WithContext(ctx context.Context) *ShowUserParams
- func (o *ShowUserParams) WithDefaults() *ShowUserParams
- func (o *ShowUserParams) WithHTTPClient(client *http.Client) *ShowUserParams
- func (o *ShowUserParams) WithTimeout(timeout time.Duration) *ShowUserParams
- func (o *ShowUserParams) WithUserID(userID string) *ShowUserParams
- func (o *ShowUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowUserReader
- type UpdateUserDefault
- func (o *UpdateUserDefault) Code() int
- func (o *UpdateUserDefault) Error() string
- func (o *UpdateUserDefault) GetPayload() *models.GeneralError
- func (o *UpdateUserDefault) IsClientError() bool
- func (o *UpdateUserDefault) IsCode(code int) bool
- func (o *UpdateUserDefault) IsRedirect() bool
- func (o *UpdateUserDefault) IsServerError() bool
- func (o *UpdateUserDefault) IsSuccess() bool
- func (o *UpdateUserDefault) String() string
- type UpdateUserForbidden
- func (o *UpdateUserForbidden) Code() int
- func (o *UpdateUserForbidden) Error() string
- func (o *UpdateUserForbidden) GetPayload() *models.GeneralError
- func (o *UpdateUserForbidden) IsClientError() bool
- func (o *UpdateUserForbidden) IsCode(code int) bool
- func (o *UpdateUserForbidden) IsRedirect() bool
- func (o *UpdateUserForbidden) IsServerError() bool
- func (o *UpdateUserForbidden) IsSuccess() bool
- func (o *UpdateUserForbidden) String() string
- type UpdateUserNotFound
- func (o *UpdateUserNotFound) Code() int
- func (o *UpdateUserNotFound) Error() string
- func (o *UpdateUserNotFound) GetPayload() *models.GeneralError
- func (o *UpdateUserNotFound) IsClientError() bool
- func (o *UpdateUserNotFound) IsCode(code int) bool
- func (o *UpdateUserNotFound) IsRedirect() bool
- func (o *UpdateUserNotFound) IsServerError() bool
- func (o *UpdateUserNotFound) IsSuccess() bool
- func (o *UpdateUserNotFound) String() string
- type UpdateUserOK
- func (o *UpdateUserOK) Code() int
- func (o *UpdateUserOK) Error() string
- func (o *UpdateUserOK) GetPayload() *models.User
- func (o *UpdateUserOK) IsClientError() bool
- func (o *UpdateUserOK) IsCode(code int) bool
- func (o *UpdateUserOK) IsRedirect() bool
- func (o *UpdateUserOK) IsServerError() bool
- func (o *UpdateUserOK) IsSuccess() bool
- func (o *UpdateUserOK) String() string
- type UpdateUserParams
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) SetUser(user *models.User)
- func (o *UpdateUserParams) SetUserID(userID string)
- func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
- func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
- func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
- func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WithUser(user *models.User) *UpdateUserParams
- func (o *UpdateUserParams) WithUserID(userID string) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserReader
- type UpdateUserUnprocessableEntity
- func (o *UpdateUserUnprocessableEntity) Code() int
- func (o *UpdateUserUnprocessableEntity) Error() string
- func (o *UpdateUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateUserUnprocessableEntity) IsClientError() bool
- func (o *UpdateUserUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateUserUnprocessableEntity) IsRedirect() bool
- func (o *UpdateUserUnprocessableEntity) IsServerError() bool
- func (o *UpdateUserUnprocessableEntity) IsSuccess() bool
- func (o *UpdateUserUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachUserToModDefault ¶
type AttachUserToModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachUserToModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachUserToModDefault ¶
func NewAttachUserToModDefault(code int) *AttachUserToModDefault
NewAttachUserToModDefault creates a AttachUserToModDefault with default headers values
func (*AttachUserToModDefault) Code ¶
func (o *AttachUserToModDefault) Code() int
Code gets the status code for the attach user to mod default response
func (*AttachUserToModDefault) Error ¶
func (o *AttachUserToModDefault) Error() string
func (*AttachUserToModDefault) GetPayload ¶
func (o *AttachUserToModDefault) GetPayload() *models.GeneralError
func (*AttachUserToModDefault) IsClientError ¶
func (o *AttachUserToModDefault) IsClientError() bool
IsClientError returns true when this attach user to mod default response has a 4xx status code
func (*AttachUserToModDefault) IsCode ¶
func (o *AttachUserToModDefault) IsCode(code int) bool
IsCode returns true when this attach user to mod default response a status code equal to that given
func (*AttachUserToModDefault) IsRedirect ¶
func (o *AttachUserToModDefault) IsRedirect() bool
IsRedirect returns true when this attach user to mod default response has a 3xx status code
func (*AttachUserToModDefault) IsServerError ¶
func (o *AttachUserToModDefault) IsServerError() bool
IsServerError returns true when this attach user to mod default response has a 5xx status code
func (*AttachUserToModDefault) IsSuccess ¶
func (o *AttachUserToModDefault) IsSuccess() bool
IsSuccess returns true when this attach user to mod default response has a 2xx status code
func (*AttachUserToModDefault) String ¶
func (o *AttachUserToModDefault) String() string
type AttachUserToModForbidden ¶
type AttachUserToModForbidden struct {
Payload *models.GeneralError
}
AttachUserToModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachUserToModForbidden ¶
func NewAttachUserToModForbidden() *AttachUserToModForbidden
NewAttachUserToModForbidden creates a AttachUserToModForbidden with default headers values
func (*AttachUserToModForbidden) Code ¶
func (o *AttachUserToModForbidden) Code() int
Code gets the status code for the attach user to mod forbidden response
func (*AttachUserToModForbidden) Error ¶
func (o *AttachUserToModForbidden) Error() string
func (*AttachUserToModForbidden) GetPayload ¶
func (o *AttachUserToModForbidden) GetPayload() *models.GeneralError
func (*AttachUserToModForbidden) IsClientError ¶
func (o *AttachUserToModForbidden) IsClientError() bool
IsClientError returns true when this attach user to mod forbidden response has a 4xx status code
func (*AttachUserToModForbidden) IsCode ¶
func (o *AttachUserToModForbidden) IsCode(code int) bool
IsCode returns true when this attach user to mod forbidden response a status code equal to that given
func (*AttachUserToModForbidden) IsRedirect ¶
func (o *AttachUserToModForbidden) IsRedirect() bool
IsRedirect returns true when this attach user to mod forbidden response has a 3xx status code
func (*AttachUserToModForbidden) IsServerError ¶
func (o *AttachUserToModForbidden) IsServerError() bool
IsServerError returns true when this attach user to mod forbidden response has a 5xx status code
func (*AttachUserToModForbidden) IsSuccess ¶
func (o *AttachUserToModForbidden) IsSuccess() bool
IsSuccess returns true when this attach user to mod forbidden response has a 2xx status code
func (*AttachUserToModForbidden) String ¶
func (o *AttachUserToModForbidden) String() string
type AttachUserToModNotFound ¶
type AttachUserToModNotFound struct {
Payload *models.GeneralError
}
AttachUserToModNotFound describes a response with status code 404, with default header values.
User or mod not found
func NewAttachUserToModNotFound ¶
func NewAttachUserToModNotFound() *AttachUserToModNotFound
NewAttachUserToModNotFound creates a AttachUserToModNotFound with default headers values
func (*AttachUserToModNotFound) Code ¶
func (o *AttachUserToModNotFound) Code() int
Code gets the status code for the attach user to mod not found response
func (*AttachUserToModNotFound) Error ¶
func (o *AttachUserToModNotFound) Error() string
func (*AttachUserToModNotFound) GetPayload ¶
func (o *AttachUserToModNotFound) GetPayload() *models.GeneralError
func (*AttachUserToModNotFound) IsClientError ¶
func (o *AttachUserToModNotFound) IsClientError() bool
IsClientError returns true when this attach user to mod not found response has a 4xx status code
func (*AttachUserToModNotFound) IsCode ¶
func (o *AttachUserToModNotFound) IsCode(code int) bool
IsCode returns true when this attach user to mod not found response a status code equal to that given
func (*AttachUserToModNotFound) IsRedirect ¶
func (o *AttachUserToModNotFound) IsRedirect() bool
IsRedirect returns true when this attach user to mod not found response has a 3xx status code
func (*AttachUserToModNotFound) IsServerError ¶
func (o *AttachUserToModNotFound) IsServerError() bool
IsServerError returns true when this attach user to mod not found response has a 5xx status code
func (*AttachUserToModNotFound) IsSuccess ¶
func (o *AttachUserToModNotFound) IsSuccess() bool
IsSuccess returns true when this attach user to mod not found response has a 2xx status code
func (*AttachUserToModNotFound) String ¶
func (o *AttachUserToModNotFound) String() string
type AttachUserToModOK ¶
type AttachUserToModOK struct {
Payload *models.GeneralError
}
AttachUserToModOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachUserToModOK ¶
func NewAttachUserToModOK() *AttachUserToModOK
NewAttachUserToModOK creates a AttachUserToModOK with default headers values
func (*AttachUserToModOK) Code ¶
func (o *AttachUserToModOK) Code() int
Code gets the status code for the attach user to mod o k response
func (*AttachUserToModOK) Error ¶
func (o *AttachUserToModOK) Error() string
func (*AttachUserToModOK) GetPayload ¶
func (o *AttachUserToModOK) GetPayload() *models.GeneralError
func (*AttachUserToModOK) IsClientError ¶
func (o *AttachUserToModOK) IsClientError() bool
IsClientError returns true when this attach user to mod o k response has a 4xx status code
func (*AttachUserToModOK) IsCode ¶
func (o *AttachUserToModOK) IsCode(code int) bool
IsCode returns true when this attach user to mod o k response a status code equal to that given
func (*AttachUserToModOK) IsRedirect ¶
func (o *AttachUserToModOK) IsRedirect() bool
IsRedirect returns true when this attach user to mod o k response has a 3xx status code
func (*AttachUserToModOK) IsServerError ¶
func (o *AttachUserToModOK) IsServerError() bool
IsServerError returns true when this attach user to mod o k response has a 5xx status code
func (*AttachUserToModOK) IsSuccess ¶
func (o *AttachUserToModOK) IsSuccess() bool
IsSuccess returns true when this attach user to mod o k response has a 2xx status code
func (*AttachUserToModOK) String ¶
func (o *AttachUserToModOK) String() string
type AttachUserToModParams ¶
type AttachUserToModParams struct { /* UserID. A user UUID or slug */ UserID string /* UserMod. The user mod data to assign */ UserMod *models.UserModParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachUserToModParams contains all the parameters to send to the API endpoint
for the attach user to mod operation. Typically these are written to a http.Request.
func NewAttachUserToModParams ¶
func NewAttachUserToModParams() *AttachUserToModParams
NewAttachUserToModParams creates a new AttachUserToModParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAttachUserToModParamsWithContext ¶
func NewAttachUserToModParamsWithContext(ctx context.Context) *AttachUserToModParams
NewAttachUserToModParamsWithContext creates a new AttachUserToModParams object with the ability to set a context for a request.
func NewAttachUserToModParamsWithHTTPClient ¶
func NewAttachUserToModParamsWithHTTPClient(client *http.Client) *AttachUserToModParams
NewAttachUserToModParamsWithHTTPClient creates a new AttachUserToModParams object with the ability to set a custom HTTPClient for a request.
func NewAttachUserToModParamsWithTimeout ¶
func NewAttachUserToModParamsWithTimeout(timeout time.Duration) *AttachUserToModParams
NewAttachUserToModParamsWithTimeout creates a new AttachUserToModParams object with the ability to set a timeout on a request.
func (*AttachUserToModParams) SetContext ¶
func (o *AttachUserToModParams) SetContext(ctx context.Context)
SetContext adds the context to the attach user to mod params
func (*AttachUserToModParams) SetDefaults ¶
func (o *AttachUserToModParams) SetDefaults()
SetDefaults hydrates default values in the attach user to mod params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToModParams) SetHTTPClient ¶
func (o *AttachUserToModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach user to mod params
func (*AttachUserToModParams) SetTimeout ¶
func (o *AttachUserToModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach user to mod params
func (*AttachUserToModParams) SetUserID ¶
func (o *AttachUserToModParams) SetUserID(userID string)
SetUserID adds the userId to the attach user to mod params
func (*AttachUserToModParams) SetUserMod ¶
func (o *AttachUserToModParams) SetUserMod(userMod *models.UserModParams)
SetUserMod adds the userMod to the attach user to mod params
func (*AttachUserToModParams) WithContext ¶
func (o *AttachUserToModParams) WithContext(ctx context.Context) *AttachUserToModParams
WithContext adds the context to the attach user to mod params
func (*AttachUserToModParams) WithDefaults ¶
func (o *AttachUserToModParams) WithDefaults() *AttachUserToModParams
WithDefaults hydrates default values in the attach user to mod params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToModParams) WithHTTPClient ¶
func (o *AttachUserToModParams) WithHTTPClient(client *http.Client) *AttachUserToModParams
WithHTTPClient adds the HTTPClient to the attach user to mod params
func (*AttachUserToModParams) WithTimeout ¶
func (o *AttachUserToModParams) WithTimeout(timeout time.Duration) *AttachUserToModParams
WithTimeout adds the timeout to the attach user to mod params
func (*AttachUserToModParams) WithUserID ¶
func (o *AttachUserToModParams) WithUserID(userID string) *AttachUserToModParams
WithUserID adds the userID to the attach user to mod params
func (*AttachUserToModParams) WithUserMod ¶
func (o *AttachUserToModParams) WithUserMod(userMod *models.UserModParams) *AttachUserToModParams
WithUserMod adds the userMod to the attach user to mod params
func (*AttachUserToModParams) WriteToRequest ¶
func (o *AttachUserToModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachUserToModPreconditionFailed ¶
type AttachUserToModPreconditionFailed struct {
Payload *models.GeneralError
}
AttachUserToModPreconditionFailed describes a response with status code 412, with default header values.
Mod is already assigned
func NewAttachUserToModPreconditionFailed ¶
func NewAttachUserToModPreconditionFailed() *AttachUserToModPreconditionFailed
NewAttachUserToModPreconditionFailed creates a AttachUserToModPreconditionFailed with default headers values
func (*AttachUserToModPreconditionFailed) Code ¶
func (o *AttachUserToModPreconditionFailed) Code() int
Code gets the status code for the attach user to mod precondition failed response
func (*AttachUserToModPreconditionFailed) Error ¶
func (o *AttachUserToModPreconditionFailed) Error() string
func (*AttachUserToModPreconditionFailed) GetPayload ¶
func (o *AttachUserToModPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachUserToModPreconditionFailed) IsClientError ¶
func (o *AttachUserToModPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach user to mod precondition failed response has a 4xx status code
func (*AttachUserToModPreconditionFailed) IsCode ¶
func (o *AttachUserToModPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach user to mod precondition failed response a status code equal to that given
func (*AttachUserToModPreconditionFailed) IsRedirect ¶
func (o *AttachUserToModPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach user to mod precondition failed response has a 3xx status code
func (*AttachUserToModPreconditionFailed) IsServerError ¶
func (o *AttachUserToModPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach user to mod precondition failed response has a 5xx status code
func (*AttachUserToModPreconditionFailed) IsSuccess ¶
func (o *AttachUserToModPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach user to mod precondition failed response has a 2xx status code
func (*AttachUserToModPreconditionFailed) String ¶
func (o *AttachUserToModPreconditionFailed) String() string
type AttachUserToModReader ¶
type AttachUserToModReader struct {
// contains filtered or unexported fields
}
AttachUserToModReader is a Reader for the AttachUserToMod structure.
func (*AttachUserToModReader) ReadResponse ¶
func (o *AttachUserToModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachUserToModUnprocessableEntity ¶
type AttachUserToModUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachUserToModUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachUserToModUnprocessableEntity ¶
func NewAttachUserToModUnprocessableEntity() *AttachUserToModUnprocessableEntity
NewAttachUserToModUnprocessableEntity creates a AttachUserToModUnprocessableEntity with default headers values
func (*AttachUserToModUnprocessableEntity) Code ¶
func (o *AttachUserToModUnprocessableEntity) Code() int
Code gets the status code for the attach user to mod unprocessable entity response
func (*AttachUserToModUnprocessableEntity) Error ¶
func (o *AttachUserToModUnprocessableEntity) Error() string
func (*AttachUserToModUnprocessableEntity) GetPayload ¶
func (o *AttachUserToModUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachUserToModUnprocessableEntity) IsClientError ¶
func (o *AttachUserToModUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach user to mod unprocessable entity response has a 4xx status code
func (*AttachUserToModUnprocessableEntity) IsCode ¶
func (o *AttachUserToModUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach user to mod unprocessable entity response a status code equal to that given
func (*AttachUserToModUnprocessableEntity) IsRedirect ¶
func (o *AttachUserToModUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach user to mod unprocessable entity response has a 3xx status code
func (*AttachUserToModUnprocessableEntity) IsServerError ¶
func (o *AttachUserToModUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach user to mod unprocessable entity response has a 5xx status code
func (*AttachUserToModUnprocessableEntity) IsSuccess ¶
func (o *AttachUserToModUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach user to mod unprocessable entity response has a 2xx status code
func (*AttachUserToModUnprocessableEntity) String ¶
func (o *AttachUserToModUnprocessableEntity) String() string
type AttachUserToPackDefault ¶
type AttachUserToPackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachUserToPackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachUserToPackDefault ¶
func NewAttachUserToPackDefault(code int) *AttachUserToPackDefault
NewAttachUserToPackDefault creates a AttachUserToPackDefault with default headers values
func (*AttachUserToPackDefault) Code ¶
func (o *AttachUserToPackDefault) Code() int
Code gets the status code for the attach user to pack default response
func (*AttachUserToPackDefault) Error ¶
func (o *AttachUserToPackDefault) Error() string
func (*AttachUserToPackDefault) GetPayload ¶
func (o *AttachUserToPackDefault) GetPayload() *models.GeneralError
func (*AttachUserToPackDefault) IsClientError ¶
func (o *AttachUserToPackDefault) IsClientError() bool
IsClientError returns true when this attach user to pack default response has a 4xx status code
func (*AttachUserToPackDefault) IsCode ¶
func (o *AttachUserToPackDefault) IsCode(code int) bool
IsCode returns true when this attach user to pack default response a status code equal to that given
func (*AttachUserToPackDefault) IsRedirect ¶
func (o *AttachUserToPackDefault) IsRedirect() bool
IsRedirect returns true when this attach user to pack default response has a 3xx status code
func (*AttachUserToPackDefault) IsServerError ¶
func (o *AttachUserToPackDefault) IsServerError() bool
IsServerError returns true when this attach user to pack default response has a 5xx status code
func (*AttachUserToPackDefault) IsSuccess ¶
func (o *AttachUserToPackDefault) IsSuccess() bool
IsSuccess returns true when this attach user to pack default response has a 2xx status code
func (*AttachUserToPackDefault) String ¶
func (o *AttachUserToPackDefault) String() string
type AttachUserToPackForbidden ¶
type AttachUserToPackForbidden struct {
Payload *models.GeneralError
}
AttachUserToPackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachUserToPackForbidden ¶
func NewAttachUserToPackForbidden() *AttachUserToPackForbidden
NewAttachUserToPackForbidden creates a AttachUserToPackForbidden with default headers values
func (*AttachUserToPackForbidden) Code ¶
func (o *AttachUserToPackForbidden) Code() int
Code gets the status code for the attach user to pack forbidden response
func (*AttachUserToPackForbidden) Error ¶
func (o *AttachUserToPackForbidden) Error() string
func (*AttachUserToPackForbidden) GetPayload ¶
func (o *AttachUserToPackForbidden) GetPayload() *models.GeneralError
func (*AttachUserToPackForbidden) IsClientError ¶
func (o *AttachUserToPackForbidden) IsClientError() bool
IsClientError returns true when this attach user to pack forbidden response has a 4xx status code
func (*AttachUserToPackForbidden) IsCode ¶
func (o *AttachUserToPackForbidden) IsCode(code int) bool
IsCode returns true when this attach user to pack forbidden response a status code equal to that given
func (*AttachUserToPackForbidden) IsRedirect ¶
func (o *AttachUserToPackForbidden) IsRedirect() bool
IsRedirect returns true when this attach user to pack forbidden response has a 3xx status code
func (*AttachUserToPackForbidden) IsServerError ¶
func (o *AttachUserToPackForbidden) IsServerError() bool
IsServerError returns true when this attach user to pack forbidden response has a 5xx status code
func (*AttachUserToPackForbidden) IsSuccess ¶
func (o *AttachUserToPackForbidden) IsSuccess() bool
IsSuccess returns true when this attach user to pack forbidden response has a 2xx status code
func (*AttachUserToPackForbidden) String ¶
func (o *AttachUserToPackForbidden) String() string
type AttachUserToPackNotFound ¶
type AttachUserToPackNotFound struct {
Payload *models.GeneralError
}
AttachUserToPackNotFound describes a response with status code 404, with default header values.
User or pack not found
func NewAttachUserToPackNotFound ¶
func NewAttachUserToPackNotFound() *AttachUserToPackNotFound
NewAttachUserToPackNotFound creates a AttachUserToPackNotFound with default headers values
func (*AttachUserToPackNotFound) Code ¶
func (o *AttachUserToPackNotFound) Code() int
Code gets the status code for the attach user to pack not found response
func (*AttachUserToPackNotFound) Error ¶
func (o *AttachUserToPackNotFound) Error() string
func (*AttachUserToPackNotFound) GetPayload ¶
func (o *AttachUserToPackNotFound) GetPayload() *models.GeneralError
func (*AttachUserToPackNotFound) IsClientError ¶
func (o *AttachUserToPackNotFound) IsClientError() bool
IsClientError returns true when this attach user to pack not found response has a 4xx status code
func (*AttachUserToPackNotFound) IsCode ¶
func (o *AttachUserToPackNotFound) IsCode(code int) bool
IsCode returns true when this attach user to pack not found response a status code equal to that given
func (*AttachUserToPackNotFound) IsRedirect ¶
func (o *AttachUserToPackNotFound) IsRedirect() bool
IsRedirect returns true when this attach user to pack not found response has a 3xx status code
func (*AttachUserToPackNotFound) IsServerError ¶
func (o *AttachUserToPackNotFound) IsServerError() bool
IsServerError returns true when this attach user to pack not found response has a 5xx status code
func (*AttachUserToPackNotFound) IsSuccess ¶
func (o *AttachUserToPackNotFound) IsSuccess() bool
IsSuccess returns true when this attach user to pack not found response has a 2xx status code
func (*AttachUserToPackNotFound) String ¶
func (o *AttachUserToPackNotFound) String() string
type AttachUserToPackOK ¶
type AttachUserToPackOK struct {
Payload *models.GeneralError
}
AttachUserToPackOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachUserToPackOK ¶
func NewAttachUserToPackOK() *AttachUserToPackOK
NewAttachUserToPackOK creates a AttachUserToPackOK with default headers values
func (*AttachUserToPackOK) Code ¶
func (o *AttachUserToPackOK) Code() int
Code gets the status code for the attach user to pack o k response
func (*AttachUserToPackOK) Error ¶
func (o *AttachUserToPackOK) Error() string
func (*AttachUserToPackOK) GetPayload ¶
func (o *AttachUserToPackOK) GetPayload() *models.GeneralError
func (*AttachUserToPackOK) IsClientError ¶
func (o *AttachUserToPackOK) IsClientError() bool
IsClientError returns true when this attach user to pack o k response has a 4xx status code
func (*AttachUserToPackOK) IsCode ¶
func (o *AttachUserToPackOK) IsCode(code int) bool
IsCode returns true when this attach user to pack o k response a status code equal to that given
func (*AttachUserToPackOK) IsRedirect ¶
func (o *AttachUserToPackOK) IsRedirect() bool
IsRedirect returns true when this attach user to pack o k response has a 3xx status code
func (*AttachUserToPackOK) IsServerError ¶
func (o *AttachUserToPackOK) IsServerError() bool
IsServerError returns true when this attach user to pack o k response has a 5xx status code
func (*AttachUserToPackOK) IsSuccess ¶
func (o *AttachUserToPackOK) IsSuccess() bool
IsSuccess returns true when this attach user to pack o k response has a 2xx status code
func (*AttachUserToPackOK) String ¶
func (o *AttachUserToPackOK) String() string
type AttachUserToPackParams ¶
type AttachUserToPackParams struct { /* UserID. A user UUID or slug */ UserID string /* UserPack. The user pack data to assign */ UserPack *models.UserPackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachUserToPackParams contains all the parameters to send to the API endpoint
for the attach user to pack operation. Typically these are written to a http.Request.
func NewAttachUserToPackParams ¶
func NewAttachUserToPackParams() *AttachUserToPackParams
NewAttachUserToPackParams creates a new AttachUserToPackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAttachUserToPackParamsWithContext ¶
func NewAttachUserToPackParamsWithContext(ctx context.Context) *AttachUserToPackParams
NewAttachUserToPackParamsWithContext creates a new AttachUserToPackParams object with the ability to set a context for a request.
func NewAttachUserToPackParamsWithHTTPClient ¶
func NewAttachUserToPackParamsWithHTTPClient(client *http.Client) *AttachUserToPackParams
NewAttachUserToPackParamsWithHTTPClient creates a new AttachUserToPackParams object with the ability to set a custom HTTPClient for a request.
func NewAttachUserToPackParamsWithTimeout ¶
func NewAttachUserToPackParamsWithTimeout(timeout time.Duration) *AttachUserToPackParams
NewAttachUserToPackParamsWithTimeout creates a new AttachUserToPackParams object with the ability to set a timeout on a request.
func (*AttachUserToPackParams) SetContext ¶
func (o *AttachUserToPackParams) SetContext(ctx context.Context)
SetContext adds the context to the attach user to pack params
func (*AttachUserToPackParams) SetDefaults ¶
func (o *AttachUserToPackParams) SetDefaults()
SetDefaults hydrates default values in the attach user to pack params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToPackParams) SetHTTPClient ¶
func (o *AttachUserToPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach user to pack params
func (*AttachUserToPackParams) SetTimeout ¶
func (o *AttachUserToPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach user to pack params
func (*AttachUserToPackParams) SetUserID ¶
func (o *AttachUserToPackParams) SetUserID(userID string)
SetUserID adds the userId to the attach user to pack params
func (*AttachUserToPackParams) SetUserPack ¶
func (o *AttachUserToPackParams) SetUserPack(userPack *models.UserPackParams)
SetUserPack adds the userPack to the attach user to pack params
func (*AttachUserToPackParams) WithContext ¶
func (o *AttachUserToPackParams) WithContext(ctx context.Context) *AttachUserToPackParams
WithContext adds the context to the attach user to pack params
func (*AttachUserToPackParams) WithDefaults ¶
func (o *AttachUserToPackParams) WithDefaults() *AttachUserToPackParams
WithDefaults hydrates default values in the attach user to pack params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToPackParams) WithHTTPClient ¶
func (o *AttachUserToPackParams) WithHTTPClient(client *http.Client) *AttachUserToPackParams
WithHTTPClient adds the HTTPClient to the attach user to pack params
func (*AttachUserToPackParams) WithTimeout ¶
func (o *AttachUserToPackParams) WithTimeout(timeout time.Duration) *AttachUserToPackParams
WithTimeout adds the timeout to the attach user to pack params
func (*AttachUserToPackParams) WithUserID ¶
func (o *AttachUserToPackParams) WithUserID(userID string) *AttachUserToPackParams
WithUserID adds the userID to the attach user to pack params
func (*AttachUserToPackParams) WithUserPack ¶
func (o *AttachUserToPackParams) WithUserPack(userPack *models.UserPackParams) *AttachUserToPackParams
WithUserPack adds the userPack to the attach user to pack params
func (*AttachUserToPackParams) WriteToRequest ¶
func (o *AttachUserToPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachUserToPackPreconditionFailed ¶
type AttachUserToPackPreconditionFailed struct {
Payload *models.GeneralError
}
AttachUserToPackPreconditionFailed describes a response with status code 412, with default header values.
Pack is already assigned
func NewAttachUserToPackPreconditionFailed ¶
func NewAttachUserToPackPreconditionFailed() *AttachUserToPackPreconditionFailed
NewAttachUserToPackPreconditionFailed creates a AttachUserToPackPreconditionFailed with default headers values
func (*AttachUserToPackPreconditionFailed) Code ¶
func (o *AttachUserToPackPreconditionFailed) Code() int
Code gets the status code for the attach user to pack precondition failed response
func (*AttachUserToPackPreconditionFailed) Error ¶
func (o *AttachUserToPackPreconditionFailed) Error() string
func (*AttachUserToPackPreconditionFailed) GetPayload ¶
func (o *AttachUserToPackPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachUserToPackPreconditionFailed) IsClientError ¶
func (o *AttachUserToPackPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach user to pack precondition failed response has a 4xx status code
func (*AttachUserToPackPreconditionFailed) IsCode ¶
func (o *AttachUserToPackPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach user to pack precondition failed response a status code equal to that given
func (*AttachUserToPackPreconditionFailed) IsRedirect ¶
func (o *AttachUserToPackPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach user to pack precondition failed response has a 3xx status code
func (*AttachUserToPackPreconditionFailed) IsServerError ¶
func (o *AttachUserToPackPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach user to pack precondition failed response has a 5xx status code
func (*AttachUserToPackPreconditionFailed) IsSuccess ¶
func (o *AttachUserToPackPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach user to pack precondition failed response has a 2xx status code
func (*AttachUserToPackPreconditionFailed) String ¶
func (o *AttachUserToPackPreconditionFailed) String() string
type AttachUserToPackReader ¶
type AttachUserToPackReader struct {
// contains filtered or unexported fields
}
AttachUserToPackReader is a Reader for the AttachUserToPack structure.
func (*AttachUserToPackReader) ReadResponse ¶
func (o *AttachUserToPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachUserToPackUnprocessableEntity ¶
type AttachUserToPackUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachUserToPackUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachUserToPackUnprocessableEntity ¶
func NewAttachUserToPackUnprocessableEntity() *AttachUserToPackUnprocessableEntity
NewAttachUserToPackUnprocessableEntity creates a AttachUserToPackUnprocessableEntity with default headers values
func (*AttachUserToPackUnprocessableEntity) Code ¶
func (o *AttachUserToPackUnprocessableEntity) Code() int
Code gets the status code for the attach user to pack unprocessable entity response
func (*AttachUserToPackUnprocessableEntity) Error ¶
func (o *AttachUserToPackUnprocessableEntity) Error() string
func (*AttachUserToPackUnprocessableEntity) GetPayload ¶
func (o *AttachUserToPackUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachUserToPackUnprocessableEntity) IsClientError ¶
func (o *AttachUserToPackUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach user to pack unprocessable entity response has a 4xx status code
func (*AttachUserToPackUnprocessableEntity) IsCode ¶
func (o *AttachUserToPackUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach user to pack unprocessable entity response a status code equal to that given
func (*AttachUserToPackUnprocessableEntity) IsRedirect ¶
func (o *AttachUserToPackUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach user to pack unprocessable entity response has a 3xx status code
func (*AttachUserToPackUnprocessableEntity) IsServerError ¶
func (o *AttachUserToPackUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach user to pack unprocessable entity response has a 5xx status code
func (*AttachUserToPackUnprocessableEntity) IsSuccess ¶
func (o *AttachUserToPackUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach user to pack unprocessable entity response has a 2xx status code
func (*AttachUserToPackUnprocessableEntity) String ¶
func (o *AttachUserToPackUnprocessableEntity) String() string
type AttachUserToTeamDefault ¶
type AttachUserToTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachUserToTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachUserToTeamDefault ¶
func NewAttachUserToTeamDefault(code int) *AttachUserToTeamDefault
NewAttachUserToTeamDefault creates a AttachUserToTeamDefault with default headers values
func (*AttachUserToTeamDefault) Code ¶
func (o *AttachUserToTeamDefault) Code() int
Code gets the status code for the attach user to team default response
func (*AttachUserToTeamDefault) Error ¶
func (o *AttachUserToTeamDefault) Error() string
func (*AttachUserToTeamDefault) GetPayload ¶
func (o *AttachUserToTeamDefault) GetPayload() *models.GeneralError
func (*AttachUserToTeamDefault) IsClientError ¶
func (o *AttachUserToTeamDefault) IsClientError() bool
IsClientError returns true when this attach user to team default response has a 4xx status code
func (*AttachUserToTeamDefault) IsCode ¶
func (o *AttachUserToTeamDefault) IsCode(code int) bool
IsCode returns true when this attach user to team default response a status code equal to that given
func (*AttachUserToTeamDefault) IsRedirect ¶
func (o *AttachUserToTeamDefault) IsRedirect() bool
IsRedirect returns true when this attach user to team default response has a 3xx status code
func (*AttachUserToTeamDefault) IsServerError ¶
func (o *AttachUserToTeamDefault) IsServerError() bool
IsServerError returns true when this attach user to team default response has a 5xx status code
func (*AttachUserToTeamDefault) IsSuccess ¶
func (o *AttachUserToTeamDefault) IsSuccess() bool
IsSuccess returns true when this attach user to team default response has a 2xx status code
func (*AttachUserToTeamDefault) String ¶
func (o *AttachUserToTeamDefault) String() string
type AttachUserToTeamForbidden ¶
type AttachUserToTeamForbidden struct {
Payload *models.GeneralError
}
AttachUserToTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachUserToTeamForbidden ¶
func NewAttachUserToTeamForbidden() *AttachUserToTeamForbidden
NewAttachUserToTeamForbidden creates a AttachUserToTeamForbidden with default headers values
func (*AttachUserToTeamForbidden) Code ¶
func (o *AttachUserToTeamForbidden) Code() int
Code gets the status code for the attach user to team forbidden response
func (*AttachUserToTeamForbidden) Error ¶
func (o *AttachUserToTeamForbidden) Error() string
func (*AttachUserToTeamForbidden) GetPayload ¶
func (o *AttachUserToTeamForbidden) GetPayload() *models.GeneralError
func (*AttachUserToTeamForbidden) IsClientError ¶
func (o *AttachUserToTeamForbidden) IsClientError() bool
IsClientError returns true when this attach user to team forbidden response has a 4xx status code
func (*AttachUserToTeamForbidden) IsCode ¶
func (o *AttachUserToTeamForbidden) IsCode(code int) bool
IsCode returns true when this attach user to team forbidden response a status code equal to that given
func (*AttachUserToTeamForbidden) IsRedirect ¶
func (o *AttachUserToTeamForbidden) IsRedirect() bool
IsRedirect returns true when this attach user to team forbidden response has a 3xx status code
func (*AttachUserToTeamForbidden) IsServerError ¶
func (o *AttachUserToTeamForbidden) IsServerError() bool
IsServerError returns true when this attach user to team forbidden response has a 5xx status code
func (*AttachUserToTeamForbidden) IsSuccess ¶
func (o *AttachUserToTeamForbidden) IsSuccess() bool
IsSuccess returns true when this attach user to team forbidden response has a 2xx status code
func (*AttachUserToTeamForbidden) String ¶
func (o *AttachUserToTeamForbidden) String() string
type AttachUserToTeamNotFound ¶
type AttachUserToTeamNotFound struct {
Payload *models.GeneralError
}
AttachUserToTeamNotFound describes a response with status code 404, with default header values.
User or team not found
func NewAttachUserToTeamNotFound ¶
func NewAttachUserToTeamNotFound() *AttachUserToTeamNotFound
NewAttachUserToTeamNotFound creates a AttachUserToTeamNotFound with default headers values
func (*AttachUserToTeamNotFound) Code ¶
func (o *AttachUserToTeamNotFound) Code() int
Code gets the status code for the attach user to team not found response
func (*AttachUserToTeamNotFound) Error ¶
func (o *AttachUserToTeamNotFound) Error() string
func (*AttachUserToTeamNotFound) GetPayload ¶
func (o *AttachUserToTeamNotFound) GetPayload() *models.GeneralError
func (*AttachUserToTeamNotFound) IsClientError ¶
func (o *AttachUserToTeamNotFound) IsClientError() bool
IsClientError returns true when this attach user to team not found response has a 4xx status code
func (*AttachUserToTeamNotFound) IsCode ¶
func (o *AttachUserToTeamNotFound) IsCode(code int) bool
IsCode returns true when this attach user to team not found response a status code equal to that given
func (*AttachUserToTeamNotFound) IsRedirect ¶
func (o *AttachUserToTeamNotFound) IsRedirect() bool
IsRedirect returns true when this attach user to team not found response has a 3xx status code
func (*AttachUserToTeamNotFound) IsServerError ¶
func (o *AttachUserToTeamNotFound) IsServerError() bool
IsServerError returns true when this attach user to team not found response has a 5xx status code
func (*AttachUserToTeamNotFound) IsSuccess ¶
func (o *AttachUserToTeamNotFound) IsSuccess() bool
IsSuccess returns true when this attach user to team not found response has a 2xx status code
func (*AttachUserToTeamNotFound) String ¶
func (o *AttachUserToTeamNotFound) String() string
type AttachUserToTeamOK ¶
type AttachUserToTeamOK struct {
Payload *models.GeneralError
}
AttachUserToTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachUserToTeamOK ¶
func NewAttachUserToTeamOK() *AttachUserToTeamOK
NewAttachUserToTeamOK creates a AttachUserToTeamOK with default headers values
func (*AttachUserToTeamOK) Code ¶
func (o *AttachUserToTeamOK) Code() int
Code gets the status code for the attach user to team o k response
func (*AttachUserToTeamOK) Error ¶
func (o *AttachUserToTeamOK) Error() string
func (*AttachUserToTeamOK) GetPayload ¶
func (o *AttachUserToTeamOK) GetPayload() *models.GeneralError
func (*AttachUserToTeamOK) IsClientError ¶
func (o *AttachUserToTeamOK) IsClientError() bool
IsClientError returns true when this attach user to team o k response has a 4xx status code
func (*AttachUserToTeamOK) IsCode ¶
func (o *AttachUserToTeamOK) IsCode(code int) bool
IsCode returns true when this attach user to team o k response a status code equal to that given
func (*AttachUserToTeamOK) IsRedirect ¶
func (o *AttachUserToTeamOK) IsRedirect() bool
IsRedirect returns true when this attach user to team o k response has a 3xx status code
func (*AttachUserToTeamOK) IsServerError ¶
func (o *AttachUserToTeamOK) IsServerError() bool
IsServerError returns true when this attach user to team o k response has a 5xx status code
func (*AttachUserToTeamOK) IsSuccess ¶
func (o *AttachUserToTeamOK) IsSuccess() bool
IsSuccess returns true when this attach user to team o k response has a 2xx status code
func (*AttachUserToTeamOK) String ¶
func (o *AttachUserToTeamOK) String() string
type AttachUserToTeamParams ¶
type AttachUserToTeamParams struct { /* UserID. A user UUID or slug */ UserID string /* UserTeam. The user team data to attach */ UserTeam *models.UserTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachUserToTeamParams contains all the parameters to send to the API endpoint
for the attach user to team operation. Typically these are written to a http.Request.
func NewAttachUserToTeamParams ¶
func NewAttachUserToTeamParams() *AttachUserToTeamParams
NewAttachUserToTeamParams creates a new AttachUserToTeamParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAttachUserToTeamParamsWithContext ¶
func NewAttachUserToTeamParamsWithContext(ctx context.Context) *AttachUserToTeamParams
NewAttachUserToTeamParamsWithContext creates a new AttachUserToTeamParams object with the ability to set a context for a request.
func NewAttachUserToTeamParamsWithHTTPClient ¶
func NewAttachUserToTeamParamsWithHTTPClient(client *http.Client) *AttachUserToTeamParams
NewAttachUserToTeamParamsWithHTTPClient creates a new AttachUserToTeamParams object with the ability to set a custom HTTPClient for a request.
func NewAttachUserToTeamParamsWithTimeout ¶
func NewAttachUserToTeamParamsWithTimeout(timeout time.Duration) *AttachUserToTeamParams
NewAttachUserToTeamParamsWithTimeout creates a new AttachUserToTeamParams object with the ability to set a timeout on a request.
func (*AttachUserToTeamParams) SetContext ¶
func (o *AttachUserToTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the attach user to team params
func (*AttachUserToTeamParams) SetDefaults ¶
func (o *AttachUserToTeamParams) SetDefaults()
SetDefaults hydrates default values in the attach user to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToTeamParams) SetHTTPClient ¶
func (o *AttachUserToTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach user to team params
func (*AttachUserToTeamParams) SetTimeout ¶
func (o *AttachUserToTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach user to team params
func (*AttachUserToTeamParams) SetUserID ¶
func (o *AttachUserToTeamParams) SetUserID(userID string)
SetUserID adds the userId to the attach user to team params
func (*AttachUserToTeamParams) SetUserTeam ¶
func (o *AttachUserToTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
SetUserTeam adds the userTeam to the attach user to team params
func (*AttachUserToTeamParams) WithContext ¶
func (o *AttachUserToTeamParams) WithContext(ctx context.Context) *AttachUserToTeamParams
WithContext adds the context to the attach user to team params
func (*AttachUserToTeamParams) WithDefaults ¶
func (o *AttachUserToTeamParams) WithDefaults() *AttachUserToTeamParams
WithDefaults hydrates default values in the attach user to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachUserToTeamParams) WithHTTPClient ¶
func (o *AttachUserToTeamParams) WithHTTPClient(client *http.Client) *AttachUserToTeamParams
WithHTTPClient adds the HTTPClient to the attach user to team params
func (*AttachUserToTeamParams) WithTimeout ¶
func (o *AttachUserToTeamParams) WithTimeout(timeout time.Duration) *AttachUserToTeamParams
WithTimeout adds the timeout to the attach user to team params
func (*AttachUserToTeamParams) WithUserID ¶
func (o *AttachUserToTeamParams) WithUserID(userID string) *AttachUserToTeamParams
WithUserID adds the userID to the attach user to team params
func (*AttachUserToTeamParams) WithUserTeam ¶
func (o *AttachUserToTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *AttachUserToTeamParams
WithUserTeam adds the userTeam to the attach user to team params
func (*AttachUserToTeamParams) WriteToRequest ¶
func (o *AttachUserToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachUserToTeamPreconditionFailed ¶
type AttachUserToTeamPreconditionFailed struct {
Payload *models.GeneralError
}
AttachUserToTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is already attached
func NewAttachUserToTeamPreconditionFailed ¶
func NewAttachUserToTeamPreconditionFailed() *AttachUserToTeamPreconditionFailed
NewAttachUserToTeamPreconditionFailed creates a AttachUserToTeamPreconditionFailed with default headers values
func (*AttachUserToTeamPreconditionFailed) Code ¶
func (o *AttachUserToTeamPreconditionFailed) Code() int
Code gets the status code for the attach user to team precondition failed response
func (*AttachUserToTeamPreconditionFailed) Error ¶
func (o *AttachUserToTeamPreconditionFailed) Error() string
func (*AttachUserToTeamPreconditionFailed) GetPayload ¶
func (o *AttachUserToTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachUserToTeamPreconditionFailed) IsClientError ¶
func (o *AttachUserToTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach user to team precondition failed response has a 4xx status code
func (*AttachUserToTeamPreconditionFailed) IsCode ¶
func (o *AttachUserToTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach user to team precondition failed response a status code equal to that given
func (*AttachUserToTeamPreconditionFailed) IsRedirect ¶
func (o *AttachUserToTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach user to team precondition failed response has a 3xx status code
func (*AttachUserToTeamPreconditionFailed) IsServerError ¶
func (o *AttachUserToTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach user to team precondition failed response has a 5xx status code
func (*AttachUserToTeamPreconditionFailed) IsSuccess ¶
func (o *AttachUserToTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach user to team precondition failed response has a 2xx status code
func (*AttachUserToTeamPreconditionFailed) String ¶
func (o *AttachUserToTeamPreconditionFailed) String() string
type AttachUserToTeamReader ¶
type AttachUserToTeamReader struct {
// contains filtered or unexported fields
}
AttachUserToTeamReader is a Reader for the AttachUserToTeam structure.
func (*AttachUserToTeamReader) ReadResponse ¶
func (o *AttachUserToTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachUserToTeamUnprocessableEntity ¶
type AttachUserToTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachUserToTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachUserToTeamUnprocessableEntity ¶
func NewAttachUserToTeamUnprocessableEntity() *AttachUserToTeamUnprocessableEntity
NewAttachUserToTeamUnprocessableEntity creates a AttachUserToTeamUnprocessableEntity with default headers values
func (*AttachUserToTeamUnprocessableEntity) Code ¶
func (o *AttachUserToTeamUnprocessableEntity) Code() int
Code gets the status code for the attach user to team unprocessable entity response
func (*AttachUserToTeamUnprocessableEntity) Error ¶
func (o *AttachUserToTeamUnprocessableEntity) Error() string
func (*AttachUserToTeamUnprocessableEntity) GetPayload ¶
func (o *AttachUserToTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachUserToTeamUnprocessableEntity) IsClientError ¶
func (o *AttachUserToTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach user to team unprocessable entity response has a 4xx status code
func (*AttachUserToTeamUnprocessableEntity) IsCode ¶
func (o *AttachUserToTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach user to team unprocessable entity response a status code equal to that given
func (*AttachUserToTeamUnprocessableEntity) IsRedirect ¶
func (o *AttachUserToTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach user to team unprocessable entity response has a 3xx status code
func (*AttachUserToTeamUnprocessableEntity) IsServerError ¶
func (o *AttachUserToTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach user to team unprocessable entity response has a 5xx status code
func (*AttachUserToTeamUnprocessableEntity) IsSuccess ¶
func (o *AttachUserToTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach user to team unprocessable entity response has a 2xx status code
func (*AttachUserToTeamUnprocessableEntity) String ¶
func (o *AttachUserToTeamUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user API
func (*Client) AttachUserToMod ¶
func (a *Client) AttachUserToMod(params *AttachUserToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToModOK, error)
AttachUserToMod assigns a mod to user
func (*Client) AttachUserToPack ¶
func (a *Client) AttachUserToPack(params *AttachUserToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToPackOK, error)
AttachUserToPack assigns a pack to user
func (*Client) AttachUserToTeam ¶
func (a *Client) AttachUserToTeam(params *AttachUserToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToTeamOK, error)
AttachUserToTeam attaches a team to user
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error)
CreateUser creates a new user
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)
DeleteUser deletes a specific user
func (*Client) DeleteUserFromMod ¶
func (a *Client) DeleteUserFromMod(params *DeleteUserFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromModOK, error)
DeleteUserFromMod removes a mod from user
func (*Client) DeleteUserFromPack ¶
func (a *Client) DeleteUserFromPack(params *DeleteUserFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromPackOK, error)
DeleteUserFromPack removes a pack from user
func (*Client) DeleteUserFromTeam ¶
func (a *Client) DeleteUserFromTeam(params *DeleteUserFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromTeamOK, error)
DeleteUserFromTeam removes a team from user
func (*Client) ListUserMods ¶
func (a *Client) ListUserMods(params *ListUserModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserModsOK, error)
ListUserMods fetches all mods assigned to user
func (*Client) ListUserPacks ¶
func (a *Client) ListUserPacks(params *ListUserPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPacksOK, error)
ListUserPacks fetches all packs assigned to user
func (*Client) ListUserTeams ¶
func (a *Client) ListUserTeams(params *ListUserTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserTeamsOK, error)
ListUserTeams fetches all teams attached to user
func (*Client) ListUsers ¶
func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)
ListUsers fetches all available users
func (*Client) PermitUserMod ¶
func (a *Client) PermitUserMod(params *PermitUserModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserModOK, error)
PermitUserMod updates mod perms for user
func (*Client) PermitUserPack ¶
func (a *Client) PermitUserPack(params *PermitUserPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserPackOK, error)
PermitUserPack updates pack perms for user
func (*Client) PermitUserTeam ¶
func (a *Client) PermitUserTeam(params *PermitUserTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserTeamOK, error)
PermitUserTeam updates team perms for user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowUser ¶
func (a *Client) ShowUser(params *ShowUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowUserOK, error)
ShowUser fetches a specific user
func (*Client) UpdateUser ¶
func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser updates a specific user
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AttachUserToMod(params *AttachUserToModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToModOK, error) AttachUserToPack(params *AttachUserToPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToPackOK, error) AttachUserToTeam(params *AttachUserToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachUserToTeamOK, error) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserOK, error) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error) DeleteUserFromMod(params *DeleteUserFromModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromModOK, error) DeleteUserFromPack(params *DeleteUserFromPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromPackOK, error) DeleteUserFromTeam(params *DeleteUserFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserFromTeamOK, error) ListUserMods(params *ListUserModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserModsOK, error) ListUserPacks(params *ListUserPacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPacksOK, error) ListUserTeams(params *ListUserTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserTeamsOK, error) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error) PermitUserMod(params *PermitUserModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserModOK, error) PermitUserPack(params *PermitUserPackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserPackOK, error) PermitUserTeam(params *PermitUserTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitUserTeamOK, error) ShowUser(params *ShowUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowUserOK, error) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new user API client.
type CreateUserDefault ¶
type CreateUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
CreateUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewCreateUserDefault ¶
func NewCreateUserDefault(code int) *CreateUserDefault
NewCreateUserDefault creates a CreateUserDefault with default headers values
func (*CreateUserDefault) Code ¶
func (o *CreateUserDefault) Code() int
Code gets the status code for the create user default response
func (*CreateUserDefault) Error ¶
func (o *CreateUserDefault) Error() string
func (*CreateUserDefault) GetPayload ¶
func (o *CreateUserDefault) GetPayload() *models.GeneralError
func (*CreateUserDefault) IsClientError ¶
func (o *CreateUserDefault) IsClientError() bool
IsClientError returns true when this create user default response has a 4xx status code
func (*CreateUserDefault) IsCode ¶
func (o *CreateUserDefault) IsCode(code int) bool
IsCode returns true when this create user default response a status code equal to that given
func (*CreateUserDefault) IsRedirect ¶
func (o *CreateUserDefault) IsRedirect() bool
IsRedirect returns true when this create user default response has a 3xx status code
func (*CreateUserDefault) IsServerError ¶
func (o *CreateUserDefault) IsServerError() bool
IsServerError returns true when this create user default response has a 5xx status code
func (*CreateUserDefault) IsSuccess ¶
func (o *CreateUserDefault) IsSuccess() bool
IsSuccess returns true when this create user default response has a 2xx status code
func (*CreateUserDefault) String ¶
func (o *CreateUserDefault) String() string
type CreateUserForbidden ¶
type CreateUserForbidden struct {
Payload *models.GeneralError
}
CreateUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewCreateUserForbidden ¶
func NewCreateUserForbidden() *CreateUserForbidden
NewCreateUserForbidden creates a CreateUserForbidden with default headers values
func (*CreateUserForbidden) Code ¶
func (o *CreateUserForbidden) Code() int
Code gets the status code for the create user forbidden response
func (*CreateUserForbidden) Error ¶
func (o *CreateUserForbidden) Error() string
func (*CreateUserForbidden) GetPayload ¶
func (o *CreateUserForbidden) GetPayload() *models.GeneralError
func (*CreateUserForbidden) IsClientError ¶
func (o *CreateUserForbidden) IsClientError() bool
IsClientError returns true when this create user forbidden response has a 4xx status code
func (*CreateUserForbidden) IsCode ¶
func (o *CreateUserForbidden) IsCode(code int) bool
IsCode returns true when this create user forbidden response a status code equal to that given
func (*CreateUserForbidden) IsRedirect ¶
func (o *CreateUserForbidden) IsRedirect() bool
IsRedirect returns true when this create user forbidden response has a 3xx status code
func (*CreateUserForbidden) IsServerError ¶
func (o *CreateUserForbidden) IsServerError() bool
IsServerError returns true when this create user forbidden response has a 5xx status code
func (*CreateUserForbidden) IsSuccess ¶
func (o *CreateUserForbidden) IsSuccess() bool
IsSuccess returns true when this create user forbidden response has a 2xx status code
func (*CreateUserForbidden) String ¶
func (o *CreateUserForbidden) String() string
type CreateUserOK ¶
CreateUserOK describes a response with status code 200, with default header values.
The created user data
func NewCreateUserOK ¶
func NewCreateUserOK() *CreateUserOK
NewCreateUserOK creates a CreateUserOK with default headers values
func (*CreateUserOK) Code ¶
func (o *CreateUserOK) Code() int
Code gets the status code for the create user o k response
func (*CreateUserOK) Error ¶
func (o *CreateUserOK) Error() string
func (*CreateUserOK) GetPayload ¶
func (o *CreateUserOK) GetPayload() *models.User
func (*CreateUserOK) IsClientError ¶
func (o *CreateUserOK) IsClientError() bool
IsClientError returns true when this create user o k response has a 4xx status code
func (*CreateUserOK) IsCode ¶
func (o *CreateUserOK) IsCode(code int) bool
IsCode returns true when this create user o k response a status code equal to that given
func (*CreateUserOK) IsRedirect ¶
func (o *CreateUserOK) IsRedirect() bool
IsRedirect returns true when this create user o k response has a 3xx status code
func (*CreateUserOK) IsServerError ¶
func (o *CreateUserOK) IsServerError() bool
IsServerError returns true when this create user o k response has a 5xx status code
func (*CreateUserOK) IsSuccess ¶
func (o *CreateUserOK) IsSuccess() bool
IsSuccess returns true when this create user o k response has a 2xx status code
func (*CreateUserOK) String ¶
func (o *CreateUserOK) String() string
type CreateUserParams ¶
type CreateUserParams struct { /* User. The user data to create */ User *models.User Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) SetUser ¶
func (o *CreateUserParams) SetUser(user *models.User)
SetUser adds the user to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WithUser ¶
func (o *CreateUserParams) WithUser(user *models.User) *CreateUserParams
WithUser adds the user to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserUnprocessableEntity ¶
type CreateUserUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewCreateUserUnprocessableEntity ¶
func NewCreateUserUnprocessableEntity() *CreateUserUnprocessableEntity
NewCreateUserUnprocessableEntity creates a CreateUserUnprocessableEntity with default headers values
func (*CreateUserUnprocessableEntity) Code ¶
func (o *CreateUserUnprocessableEntity) Code() int
Code gets the status code for the create user unprocessable entity response
func (*CreateUserUnprocessableEntity) Error ¶
func (o *CreateUserUnprocessableEntity) Error() string
func (*CreateUserUnprocessableEntity) GetPayload ¶
func (o *CreateUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*CreateUserUnprocessableEntity) IsClientError ¶
func (o *CreateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create user unprocessable entity response has a 4xx status code
func (*CreateUserUnprocessableEntity) IsCode ¶
func (o *CreateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create user unprocessable entity response a status code equal to that given
func (*CreateUserUnprocessableEntity) IsRedirect ¶
func (o *CreateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create user unprocessable entity response has a 3xx status code
func (*CreateUserUnprocessableEntity) IsServerError ¶
func (o *CreateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create user unprocessable entity response has a 5xx status code
func (*CreateUserUnprocessableEntity) IsSuccess ¶
func (o *CreateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create user unprocessable entity response has a 2xx status code
func (*CreateUserUnprocessableEntity) String ¶
func (o *CreateUserUnprocessableEntity) String() string
type DeleteUserBadRequest ¶
type DeleteUserBadRequest struct {
Payload *models.GeneralError
}
DeleteUserBadRequest describes a response with status code 400, with default header values.
Failed to delete the user
func NewDeleteUserBadRequest ¶
func NewDeleteUserBadRequest() *DeleteUserBadRequest
NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values
func (*DeleteUserBadRequest) Code ¶
func (o *DeleteUserBadRequest) Code() int
Code gets the status code for the delete user bad request response
func (*DeleteUserBadRequest) Error ¶
func (o *DeleteUserBadRequest) Error() string
func (*DeleteUserBadRequest) GetPayload ¶
func (o *DeleteUserBadRequest) GetPayload() *models.GeneralError
func (*DeleteUserBadRequest) IsClientError ¶
func (o *DeleteUserBadRequest) IsClientError() bool
IsClientError returns true when this delete user bad request response has a 4xx status code
func (*DeleteUserBadRequest) IsCode ¶
func (o *DeleteUserBadRequest) IsCode(code int) bool
IsCode returns true when this delete user bad request response a status code equal to that given
func (*DeleteUserBadRequest) IsRedirect ¶
func (o *DeleteUserBadRequest) IsRedirect() bool
IsRedirect returns true when this delete user bad request response has a 3xx status code
func (*DeleteUserBadRequest) IsServerError ¶
func (o *DeleteUserBadRequest) IsServerError() bool
IsServerError returns true when this delete user bad request response has a 5xx status code
func (*DeleteUserBadRequest) IsSuccess ¶
func (o *DeleteUserBadRequest) IsSuccess() bool
IsSuccess returns true when this delete user bad request response has a 2xx status code
func (*DeleteUserBadRequest) String ¶
func (o *DeleteUserBadRequest) String() string
type DeleteUserDefault ¶
type DeleteUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteUserDefault ¶
func NewDeleteUserDefault(code int) *DeleteUserDefault
NewDeleteUserDefault creates a DeleteUserDefault with default headers values
func (*DeleteUserDefault) Code ¶
func (o *DeleteUserDefault) Code() int
Code gets the status code for the delete user default response
func (*DeleteUserDefault) Error ¶
func (o *DeleteUserDefault) Error() string
func (*DeleteUserDefault) GetPayload ¶
func (o *DeleteUserDefault) GetPayload() *models.GeneralError
func (*DeleteUserDefault) IsClientError ¶
func (o *DeleteUserDefault) IsClientError() bool
IsClientError returns true when this delete user default response has a 4xx status code
func (*DeleteUserDefault) IsCode ¶
func (o *DeleteUserDefault) IsCode(code int) bool
IsCode returns true when this delete user default response a status code equal to that given
func (*DeleteUserDefault) IsRedirect ¶
func (o *DeleteUserDefault) IsRedirect() bool
IsRedirect returns true when this delete user default response has a 3xx status code
func (*DeleteUserDefault) IsServerError ¶
func (o *DeleteUserDefault) IsServerError() bool
IsServerError returns true when this delete user default response has a 5xx status code
func (*DeleteUserDefault) IsSuccess ¶
func (o *DeleteUserDefault) IsSuccess() bool
IsSuccess returns true when this delete user default response has a 2xx status code
func (*DeleteUserDefault) String ¶
func (o *DeleteUserDefault) String() string
type DeleteUserForbidden ¶
type DeleteUserForbidden struct {
Payload *models.GeneralError
}
DeleteUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteUserForbidden ¶
func NewDeleteUserForbidden() *DeleteUserForbidden
NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values
func (*DeleteUserForbidden) Code ¶
func (o *DeleteUserForbidden) Code() int
Code gets the status code for the delete user forbidden response
func (*DeleteUserForbidden) Error ¶
func (o *DeleteUserForbidden) Error() string
func (*DeleteUserForbidden) GetPayload ¶
func (o *DeleteUserForbidden) GetPayload() *models.GeneralError
func (*DeleteUserForbidden) IsClientError ¶
func (o *DeleteUserForbidden) IsClientError() bool
IsClientError returns true when this delete user forbidden response has a 4xx status code
func (*DeleteUserForbidden) IsCode ¶
func (o *DeleteUserForbidden) IsCode(code int) bool
IsCode returns true when this delete user forbidden response a status code equal to that given
func (*DeleteUserForbidden) IsRedirect ¶
func (o *DeleteUserForbidden) IsRedirect() bool
IsRedirect returns true when this delete user forbidden response has a 3xx status code
func (*DeleteUserForbidden) IsServerError ¶
func (o *DeleteUserForbidden) IsServerError() bool
IsServerError returns true when this delete user forbidden response has a 5xx status code
func (*DeleteUserForbidden) IsSuccess ¶
func (o *DeleteUserForbidden) IsSuccess() bool
IsSuccess returns true when this delete user forbidden response has a 2xx status code
func (*DeleteUserForbidden) String ¶
func (o *DeleteUserForbidden) String() string
type DeleteUserFromModDefault ¶
type DeleteUserFromModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteUserFromModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteUserFromModDefault ¶
func NewDeleteUserFromModDefault(code int) *DeleteUserFromModDefault
NewDeleteUserFromModDefault creates a DeleteUserFromModDefault with default headers values
func (*DeleteUserFromModDefault) Code ¶
func (o *DeleteUserFromModDefault) Code() int
Code gets the status code for the delete user from mod default response
func (*DeleteUserFromModDefault) Error ¶
func (o *DeleteUserFromModDefault) Error() string
func (*DeleteUserFromModDefault) GetPayload ¶
func (o *DeleteUserFromModDefault) GetPayload() *models.GeneralError
func (*DeleteUserFromModDefault) IsClientError ¶
func (o *DeleteUserFromModDefault) IsClientError() bool
IsClientError returns true when this delete user from mod default response has a 4xx status code
func (*DeleteUserFromModDefault) IsCode ¶
func (o *DeleteUserFromModDefault) IsCode(code int) bool
IsCode returns true when this delete user from mod default response a status code equal to that given
func (*DeleteUserFromModDefault) IsRedirect ¶
func (o *DeleteUserFromModDefault) IsRedirect() bool
IsRedirect returns true when this delete user from mod default response has a 3xx status code
func (*DeleteUserFromModDefault) IsServerError ¶
func (o *DeleteUserFromModDefault) IsServerError() bool
IsServerError returns true when this delete user from mod default response has a 5xx status code
func (*DeleteUserFromModDefault) IsSuccess ¶
func (o *DeleteUserFromModDefault) IsSuccess() bool
IsSuccess returns true when this delete user from mod default response has a 2xx status code
func (*DeleteUserFromModDefault) String ¶
func (o *DeleteUserFromModDefault) String() string
type DeleteUserFromModForbidden ¶
type DeleteUserFromModForbidden struct {
Payload *models.GeneralError
}
DeleteUserFromModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteUserFromModForbidden ¶
func NewDeleteUserFromModForbidden() *DeleteUserFromModForbidden
NewDeleteUserFromModForbidden creates a DeleteUserFromModForbidden with default headers values
func (*DeleteUserFromModForbidden) Code ¶
func (o *DeleteUserFromModForbidden) Code() int
Code gets the status code for the delete user from mod forbidden response
func (*DeleteUserFromModForbidden) Error ¶
func (o *DeleteUserFromModForbidden) Error() string
func (*DeleteUserFromModForbidden) GetPayload ¶
func (o *DeleteUserFromModForbidden) GetPayload() *models.GeneralError
func (*DeleteUserFromModForbidden) IsClientError ¶
func (o *DeleteUserFromModForbidden) IsClientError() bool
IsClientError returns true when this delete user from mod forbidden response has a 4xx status code
func (*DeleteUserFromModForbidden) IsCode ¶
func (o *DeleteUserFromModForbidden) IsCode(code int) bool
IsCode returns true when this delete user from mod forbidden response a status code equal to that given
func (*DeleteUserFromModForbidden) IsRedirect ¶
func (o *DeleteUserFromModForbidden) IsRedirect() bool
IsRedirect returns true when this delete user from mod forbidden response has a 3xx status code
func (*DeleteUserFromModForbidden) IsServerError ¶
func (o *DeleteUserFromModForbidden) IsServerError() bool
IsServerError returns true when this delete user from mod forbidden response has a 5xx status code
func (*DeleteUserFromModForbidden) IsSuccess ¶
func (o *DeleteUserFromModForbidden) IsSuccess() bool
IsSuccess returns true when this delete user from mod forbidden response has a 2xx status code
func (*DeleteUserFromModForbidden) String ¶
func (o *DeleteUserFromModForbidden) String() string
type DeleteUserFromModNotFound ¶
type DeleteUserFromModNotFound struct {
Payload *models.GeneralError
}
DeleteUserFromModNotFound describes a response with status code 404, with default header values.
User or mod not found
func NewDeleteUserFromModNotFound ¶
func NewDeleteUserFromModNotFound() *DeleteUserFromModNotFound
NewDeleteUserFromModNotFound creates a DeleteUserFromModNotFound with default headers values
func (*DeleteUserFromModNotFound) Code ¶
func (o *DeleteUserFromModNotFound) Code() int
Code gets the status code for the delete user from mod not found response
func (*DeleteUserFromModNotFound) Error ¶
func (o *DeleteUserFromModNotFound) Error() string
func (*DeleteUserFromModNotFound) GetPayload ¶
func (o *DeleteUserFromModNotFound) GetPayload() *models.GeneralError
func (*DeleteUserFromModNotFound) IsClientError ¶
func (o *DeleteUserFromModNotFound) IsClientError() bool
IsClientError returns true when this delete user from mod not found response has a 4xx status code
func (*DeleteUserFromModNotFound) IsCode ¶
func (o *DeleteUserFromModNotFound) IsCode(code int) bool
IsCode returns true when this delete user from mod not found response a status code equal to that given
func (*DeleteUserFromModNotFound) IsRedirect ¶
func (o *DeleteUserFromModNotFound) IsRedirect() bool
IsRedirect returns true when this delete user from mod not found response has a 3xx status code
func (*DeleteUserFromModNotFound) IsServerError ¶
func (o *DeleteUserFromModNotFound) IsServerError() bool
IsServerError returns true when this delete user from mod not found response has a 5xx status code
func (*DeleteUserFromModNotFound) IsSuccess ¶
func (o *DeleteUserFromModNotFound) IsSuccess() bool
IsSuccess returns true when this delete user from mod not found response has a 2xx status code
func (*DeleteUserFromModNotFound) String ¶
func (o *DeleteUserFromModNotFound) String() string
type DeleteUserFromModOK ¶
type DeleteUserFromModOK struct {
Payload *models.GeneralError
}
DeleteUserFromModOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteUserFromModOK ¶
func NewDeleteUserFromModOK() *DeleteUserFromModOK
NewDeleteUserFromModOK creates a DeleteUserFromModOK with default headers values
func (*DeleteUserFromModOK) Code ¶
func (o *DeleteUserFromModOK) Code() int
Code gets the status code for the delete user from mod o k response
func (*DeleteUserFromModOK) Error ¶
func (o *DeleteUserFromModOK) Error() string
func (*DeleteUserFromModOK) GetPayload ¶
func (o *DeleteUserFromModOK) GetPayload() *models.GeneralError
func (*DeleteUserFromModOK) IsClientError ¶
func (o *DeleteUserFromModOK) IsClientError() bool
IsClientError returns true when this delete user from mod o k response has a 4xx status code
func (*DeleteUserFromModOK) IsCode ¶
func (o *DeleteUserFromModOK) IsCode(code int) bool
IsCode returns true when this delete user from mod o k response a status code equal to that given
func (*DeleteUserFromModOK) IsRedirect ¶
func (o *DeleteUserFromModOK) IsRedirect() bool
IsRedirect returns true when this delete user from mod o k response has a 3xx status code
func (*DeleteUserFromModOK) IsServerError ¶
func (o *DeleteUserFromModOK) IsServerError() bool
IsServerError returns true when this delete user from mod o k response has a 5xx status code
func (*DeleteUserFromModOK) IsSuccess ¶
func (o *DeleteUserFromModOK) IsSuccess() bool
IsSuccess returns true when this delete user from mod o k response has a 2xx status code
func (*DeleteUserFromModOK) String ¶
func (o *DeleteUserFromModOK) String() string
type DeleteUserFromModParams ¶
type DeleteUserFromModParams struct { /* UserID. A user UUID or slug */ UserID string /* UserMod. The user mod data to delete */ UserMod *models.UserModParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserFromModParams contains all the parameters to send to the API endpoint
for the delete user from mod operation. Typically these are written to a http.Request.
func NewDeleteUserFromModParams ¶
func NewDeleteUserFromModParams() *DeleteUserFromModParams
NewDeleteUserFromModParams creates a new DeleteUserFromModParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserFromModParamsWithContext ¶
func NewDeleteUserFromModParamsWithContext(ctx context.Context) *DeleteUserFromModParams
NewDeleteUserFromModParamsWithContext creates a new DeleteUserFromModParams object with the ability to set a context for a request.
func NewDeleteUserFromModParamsWithHTTPClient ¶
func NewDeleteUserFromModParamsWithHTTPClient(client *http.Client) *DeleteUserFromModParams
NewDeleteUserFromModParamsWithHTTPClient creates a new DeleteUserFromModParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserFromModParamsWithTimeout ¶
func NewDeleteUserFromModParamsWithTimeout(timeout time.Duration) *DeleteUserFromModParams
NewDeleteUserFromModParamsWithTimeout creates a new DeleteUserFromModParams object with the ability to set a timeout on a request.
func (*DeleteUserFromModParams) SetContext ¶
func (o *DeleteUserFromModParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user from mod params
func (*DeleteUserFromModParams) SetDefaults ¶
func (o *DeleteUserFromModParams) SetDefaults()
SetDefaults hydrates default values in the delete user from mod params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromModParams) SetHTTPClient ¶
func (o *DeleteUserFromModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user from mod params
func (*DeleteUserFromModParams) SetTimeout ¶
func (o *DeleteUserFromModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user from mod params
func (*DeleteUserFromModParams) SetUserID ¶
func (o *DeleteUserFromModParams) SetUserID(userID string)
SetUserID adds the userId to the delete user from mod params
func (*DeleteUserFromModParams) SetUserMod ¶
func (o *DeleteUserFromModParams) SetUserMod(userMod *models.UserModParams)
SetUserMod adds the userMod to the delete user from mod params
func (*DeleteUserFromModParams) WithContext ¶
func (o *DeleteUserFromModParams) WithContext(ctx context.Context) *DeleteUserFromModParams
WithContext adds the context to the delete user from mod params
func (*DeleteUserFromModParams) WithDefaults ¶
func (o *DeleteUserFromModParams) WithDefaults() *DeleteUserFromModParams
WithDefaults hydrates default values in the delete user from mod params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromModParams) WithHTTPClient ¶
func (o *DeleteUserFromModParams) WithHTTPClient(client *http.Client) *DeleteUserFromModParams
WithHTTPClient adds the HTTPClient to the delete user from mod params
func (*DeleteUserFromModParams) WithTimeout ¶
func (o *DeleteUserFromModParams) WithTimeout(timeout time.Duration) *DeleteUserFromModParams
WithTimeout adds the timeout to the delete user from mod params
func (*DeleteUserFromModParams) WithUserID ¶
func (o *DeleteUserFromModParams) WithUserID(userID string) *DeleteUserFromModParams
WithUserID adds the userID to the delete user from mod params
func (*DeleteUserFromModParams) WithUserMod ¶
func (o *DeleteUserFromModParams) WithUserMod(userMod *models.UserModParams) *DeleteUserFromModParams
WithUserMod adds the userMod to the delete user from mod params
func (*DeleteUserFromModParams) WriteToRequest ¶
func (o *DeleteUserFromModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserFromModPreconditionFailed ¶
type DeleteUserFromModPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteUserFromModPreconditionFailed describes a response with status code 412, with default header values.
Mod is not assigned
func NewDeleteUserFromModPreconditionFailed ¶
func NewDeleteUserFromModPreconditionFailed() *DeleteUserFromModPreconditionFailed
NewDeleteUserFromModPreconditionFailed creates a DeleteUserFromModPreconditionFailed with default headers values
func (*DeleteUserFromModPreconditionFailed) Code ¶
func (o *DeleteUserFromModPreconditionFailed) Code() int
Code gets the status code for the delete user from mod precondition failed response
func (*DeleteUserFromModPreconditionFailed) Error ¶
func (o *DeleteUserFromModPreconditionFailed) Error() string
func (*DeleteUserFromModPreconditionFailed) GetPayload ¶
func (o *DeleteUserFromModPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteUserFromModPreconditionFailed) IsClientError ¶
func (o *DeleteUserFromModPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete user from mod precondition failed response has a 4xx status code
func (*DeleteUserFromModPreconditionFailed) IsCode ¶
func (o *DeleteUserFromModPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete user from mod precondition failed response a status code equal to that given
func (*DeleteUserFromModPreconditionFailed) IsRedirect ¶
func (o *DeleteUserFromModPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete user from mod precondition failed response has a 3xx status code
func (*DeleteUserFromModPreconditionFailed) IsServerError ¶
func (o *DeleteUserFromModPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete user from mod precondition failed response has a 5xx status code
func (*DeleteUserFromModPreconditionFailed) IsSuccess ¶
func (o *DeleteUserFromModPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete user from mod precondition failed response has a 2xx status code
func (*DeleteUserFromModPreconditionFailed) String ¶
func (o *DeleteUserFromModPreconditionFailed) String() string
type DeleteUserFromModReader ¶
type DeleteUserFromModReader struct {
// contains filtered or unexported fields
}
DeleteUserFromModReader is a Reader for the DeleteUserFromMod structure.
func (*DeleteUserFromModReader) ReadResponse ¶
func (o *DeleteUserFromModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserFromPackDefault ¶
type DeleteUserFromPackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteUserFromPackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteUserFromPackDefault ¶
func NewDeleteUserFromPackDefault(code int) *DeleteUserFromPackDefault
NewDeleteUserFromPackDefault creates a DeleteUserFromPackDefault with default headers values
func (*DeleteUserFromPackDefault) Code ¶
func (o *DeleteUserFromPackDefault) Code() int
Code gets the status code for the delete user from pack default response
func (*DeleteUserFromPackDefault) Error ¶
func (o *DeleteUserFromPackDefault) Error() string
func (*DeleteUserFromPackDefault) GetPayload ¶
func (o *DeleteUserFromPackDefault) GetPayload() *models.GeneralError
func (*DeleteUserFromPackDefault) IsClientError ¶
func (o *DeleteUserFromPackDefault) IsClientError() bool
IsClientError returns true when this delete user from pack default response has a 4xx status code
func (*DeleteUserFromPackDefault) IsCode ¶
func (o *DeleteUserFromPackDefault) IsCode(code int) bool
IsCode returns true when this delete user from pack default response a status code equal to that given
func (*DeleteUserFromPackDefault) IsRedirect ¶
func (o *DeleteUserFromPackDefault) IsRedirect() bool
IsRedirect returns true when this delete user from pack default response has a 3xx status code
func (*DeleteUserFromPackDefault) IsServerError ¶
func (o *DeleteUserFromPackDefault) IsServerError() bool
IsServerError returns true when this delete user from pack default response has a 5xx status code
func (*DeleteUserFromPackDefault) IsSuccess ¶
func (o *DeleteUserFromPackDefault) IsSuccess() bool
IsSuccess returns true when this delete user from pack default response has a 2xx status code
func (*DeleteUserFromPackDefault) String ¶
func (o *DeleteUserFromPackDefault) String() string
type DeleteUserFromPackForbidden ¶
type DeleteUserFromPackForbidden struct {
Payload *models.GeneralError
}
DeleteUserFromPackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteUserFromPackForbidden ¶
func NewDeleteUserFromPackForbidden() *DeleteUserFromPackForbidden
NewDeleteUserFromPackForbidden creates a DeleteUserFromPackForbidden with default headers values
func (*DeleteUserFromPackForbidden) Code ¶
func (o *DeleteUserFromPackForbidden) Code() int
Code gets the status code for the delete user from pack forbidden response
func (*DeleteUserFromPackForbidden) Error ¶
func (o *DeleteUserFromPackForbidden) Error() string
func (*DeleteUserFromPackForbidden) GetPayload ¶
func (o *DeleteUserFromPackForbidden) GetPayload() *models.GeneralError
func (*DeleteUserFromPackForbidden) IsClientError ¶
func (o *DeleteUserFromPackForbidden) IsClientError() bool
IsClientError returns true when this delete user from pack forbidden response has a 4xx status code
func (*DeleteUserFromPackForbidden) IsCode ¶
func (o *DeleteUserFromPackForbidden) IsCode(code int) bool
IsCode returns true when this delete user from pack forbidden response a status code equal to that given
func (*DeleteUserFromPackForbidden) IsRedirect ¶
func (o *DeleteUserFromPackForbidden) IsRedirect() bool
IsRedirect returns true when this delete user from pack forbidden response has a 3xx status code
func (*DeleteUserFromPackForbidden) IsServerError ¶
func (o *DeleteUserFromPackForbidden) IsServerError() bool
IsServerError returns true when this delete user from pack forbidden response has a 5xx status code
func (*DeleteUserFromPackForbidden) IsSuccess ¶
func (o *DeleteUserFromPackForbidden) IsSuccess() bool
IsSuccess returns true when this delete user from pack forbidden response has a 2xx status code
func (*DeleteUserFromPackForbidden) String ¶
func (o *DeleteUserFromPackForbidden) String() string
type DeleteUserFromPackNotFound ¶
type DeleteUserFromPackNotFound struct {
Payload *models.GeneralError
}
DeleteUserFromPackNotFound describes a response with status code 404, with default header values.
User or pack not found
func NewDeleteUserFromPackNotFound ¶
func NewDeleteUserFromPackNotFound() *DeleteUserFromPackNotFound
NewDeleteUserFromPackNotFound creates a DeleteUserFromPackNotFound with default headers values
func (*DeleteUserFromPackNotFound) Code ¶
func (o *DeleteUserFromPackNotFound) Code() int
Code gets the status code for the delete user from pack not found response
func (*DeleteUserFromPackNotFound) Error ¶
func (o *DeleteUserFromPackNotFound) Error() string
func (*DeleteUserFromPackNotFound) GetPayload ¶
func (o *DeleteUserFromPackNotFound) GetPayload() *models.GeneralError
func (*DeleteUserFromPackNotFound) IsClientError ¶
func (o *DeleteUserFromPackNotFound) IsClientError() bool
IsClientError returns true when this delete user from pack not found response has a 4xx status code
func (*DeleteUserFromPackNotFound) IsCode ¶
func (o *DeleteUserFromPackNotFound) IsCode(code int) bool
IsCode returns true when this delete user from pack not found response a status code equal to that given
func (*DeleteUserFromPackNotFound) IsRedirect ¶
func (o *DeleteUserFromPackNotFound) IsRedirect() bool
IsRedirect returns true when this delete user from pack not found response has a 3xx status code
func (*DeleteUserFromPackNotFound) IsServerError ¶
func (o *DeleteUserFromPackNotFound) IsServerError() bool
IsServerError returns true when this delete user from pack not found response has a 5xx status code
func (*DeleteUserFromPackNotFound) IsSuccess ¶
func (o *DeleteUserFromPackNotFound) IsSuccess() bool
IsSuccess returns true when this delete user from pack not found response has a 2xx status code
func (*DeleteUserFromPackNotFound) String ¶
func (o *DeleteUserFromPackNotFound) String() string
type DeleteUserFromPackOK ¶
type DeleteUserFromPackOK struct {
Payload *models.GeneralError
}
DeleteUserFromPackOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteUserFromPackOK ¶
func NewDeleteUserFromPackOK() *DeleteUserFromPackOK
NewDeleteUserFromPackOK creates a DeleteUserFromPackOK with default headers values
func (*DeleteUserFromPackOK) Code ¶
func (o *DeleteUserFromPackOK) Code() int
Code gets the status code for the delete user from pack o k response
func (*DeleteUserFromPackOK) Error ¶
func (o *DeleteUserFromPackOK) Error() string
func (*DeleteUserFromPackOK) GetPayload ¶
func (o *DeleteUserFromPackOK) GetPayload() *models.GeneralError
func (*DeleteUserFromPackOK) IsClientError ¶
func (o *DeleteUserFromPackOK) IsClientError() bool
IsClientError returns true when this delete user from pack o k response has a 4xx status code
func (*DeleteUserFromPackOK) IsCode ¶
func (o *DeleteUserFromPackOK) IsCode(code int) bool
IsCode returns true when this delete user from pack o k response a status code equal to that given
func (*DeleteUserFromPackOK) IsRedirect ¶
func (o *DeleteUserFromPackOK) IsRedirect() bool
IsRedirect returns true when this delete user from pack o k response has a 3xx status code
func (*DeleteUserFromPackOK) IsServerError ¶
func (o *DeleteUserFromPackOK) IsServerError() bool
IsServerError returns true when this delete user from pack o k response has a 5xx status code
func (*DeleteUserFromPackOK) IsSuccess ¶
func (o *DeleteUserFromPackOK) IsSuccess() bool
IsSuccess returns true when this delete user from pack o k response has a 2xx status code
func (*DeleteUserFromPackOK) String ¶
func (o *DeleteUserFromPackOK) String() string
type DeleteUserFromPackParams ¶
type DeleteUserFromPackParams struct { /* UserID. A user UUID or slug */ UserID string /* UserPack. The user pack data to delete */ UserPack *models.UserPackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserFromPackParams contains all the parameters to send to the API endpoint
for the delete user from pack operation. Typically these are written to a http.Request.
func NewDeleteUserFromPackParams ¶
func NewDeleteUserFromPackParams() *DeleteUserFromPackParams
NewDeleteUserFromPackParams creates a new DeleteUserFromPackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserFromPackParamsWithContext ¶
func NewDeleteUserFromPackParamsWithContext(ctx context.Context) *DeleteUserFromPackParams
NewDeleteUserFromPackParamsWithContext creates a new DeleteUserFromPackParams object with the ability to set a context for a request.
func NewDeleteUserFromPackParamsWithHTTPClient ¶
func NewDeleteUserFromPackParamsWithHTTPClient(client *http.Client) *DeleteUserFromPackParams
NewDeleteUserFromPackParamsWithHTTPClient creates a new DeleteUserFromPackParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserFromPackParamsWithTimeout ¶
func NewDeleteUserFromPackParamsWithTimeout(timeout time.Duration) *DeleteUserFromPackParams
NewDeleteUserFromPackParamsWithTimeout creates a new DeleteUserFromPackParams object with the ability to set a timeout on a request.
func (*DeleteUserFromPackParams) SetContext ¶
func (o *DeleteUserFromPackParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user from pack params
func (*DeleteUserFromPackParams) SetDefaults ¶
func (o *DeleteUserFromPackParams) SetDefaults()
SetDefaults hydrates default values in the delete user from pack params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromPackParams) SetHTTPClient ¶
func (o *DeleteUserFromPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user from pack params
func (*DeleteUserFromPackParams) SetTimeout ¶
func (o *DeleteUserFromPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user from pack params
func (*DeleteUserFromPackParams) SetUserID ¶
func (o *DeleteUserFromPackParams) SetUserID(userID string)
SetUserID adds the userId to the delete user from pack params
func (*DeleteUserFromPackParams) SetUserPack ¶
func (o *DeleteUserFromPackParams) SetUserPack(userPack *models.UserPackParams)
SetUserPack adds the userPack to the delete user from pack params
func (*DeleteUserFromPackParams) WithContext ¶
func (o *DeleteUserFromPackParams) WithContext(ctx context.Context) *DeleteUserFromPackParams
WithContext adds the context to the delete user from pack params
func (*DeleteUserFromPackParams) WithDefaults ¶
func (o *DeleteUserFromPackParams) WithDefaults() *DeleteUserFromPackParams
WithDefaults hydrates default values in the delete user from pack params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromPackParams) WithHTTPClient ¶
func (o *DeleteUserFromPackParams) WithHTTPClient(client *http.Client) *DeleteUserFromPackParams
WithHTTPClient adds the HTTPClient to the delete user from pack params
func (*DeleteUserFromPackParams) WithTimeout ¶
func (o *DeleteUserFromPackParams) WithTimeout(timeout time.Duration) *DeleteUserFromPackParams
WithTimeout adds the timeout to the delete user from pack params
func (*DeleteUserFromPackParams) WithUserID ¶
func (o *DeleteUserFromPackParams) WithUserID(userID string) *DeleteUserFromPackParams
WithUserID adds the userID to the delete user from pack params
func (*DeleteUserFromPackParams) WithUserPack ¶
func (o *DeleteUserFromPackParams) WithUserPack(userPack *models.UserPackParams) *DeleteUserFromPackParams
WithUserPack adds the userPack to the delete user from pack params
func (*DeleteUserFromPackParams) WriteToRequest ¶
func (o *DeleteUserFromPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserFromPackPreconditionFailed ¶
type DeleteUserFromPackPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteUserFromPackPreconditionFailed describes a response with status code 412, with default header values.
Pack is not assigned
func NewDeleteUserFromPackPreconditionFailed ¶
func NewDeleteUserFromPackPreconditionFailed() *DeleteUserFromPackPreconditionFailed
NewDeleteUserFromPackPreconditionFailed creates a DeleteUserFromPackPreconditionFailed with default headers values
func (*DeleteUserFromPackPreconditionFailed) Code ¶
func (o *DeleteUserFromPackPreconditionFailed) Code() int
Code gets the status code for the delete user from pack precondition failed response
func (*DeleteUserFromPackPreconditionFailed) Error ¶
func (o *DeleteUserFromPackPreconditionFailed) Error() string
func (*DeleteUserFromPackPreconditionFailed) GetPayload ¶
func (o *DeleteUserFromPackPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteUserFromPackPreconditionFailed) IsClientError ¶
func (o *DeleteUserFromPackPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete user from pack precondition failed response has a 4xx status code
func (*DeleteUserFromPackPreconditionFailed) IsCode ¶
func (o *DeleteUserFromPackPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete user from pack precondition failed response a status code equal to that given
func (*DeleteUserFromPackPreconditionFailed) IsRedirect ¶
func (o *DeleteUserFromPackPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete user from pack precondition failed response has a 3xx status code
func (*DeleteUserFromPackPreconditionFailed) IsServerError ¶
func (o *DeleteUserFromPackPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete user from pack precondition failed response has a 5xx status code
func (*DeleteUserFromPackPreconditionFailed) IsSuccess ¶
func (o *DeleteUserFromPackPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete user from pack precondition failed response has a 2xx status code
func (*DeleteUserFromPackPreconditionFailed) String ¶
func (o *DeleteUserFromPackPreconditionFailed) String() string
type DeleteUserFromPackReader ¶
type DeleteUserFromPackReader struct {
// contains filtered or unexported fields
}
DeleteUserFromPackReader is a Reader for the DeleteUserFromPack structure.
func (*DeleteUserFromPackReader) ReadResponse ¶
func (o *DeleteUserFromPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserFromTeamDefault ¶
type DeleteUserFromTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteUserFromTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteUserFromTeamDefault ¶
func NewDeleteUserFromTeamDefault(code int) *DeleteUserFromTeamDefault
NewDeleteUserFromTeamDefault creates a DeleteUserFromTeamDefault with default headers values
func (*DeleteUserFromTeamDefault) Code ¶
func (o *DeleteUserFromTeamDefault) Code() int
Code gets the status code for the delete user from team default response
func (*DeleteUserFromTeamDefault) Error ¶
func (o *DeleteUserFromTeamDefault) Error() string
func (*DeleteUserFromTeamDefault) GetPayload ¶
func (o *DeleteUserFromTeamDefault) GetPayload() *models.GeneralError
func (*DeleteUserFromTeamDefault) IsClientError ¶
func (o *DeleteUserFromTeamDefault) IsClientError() bool
IsClientError returns true when this delete user from team default response has a 4xx status code
func (*DeleteUserFromTeamDefault) IsCode ¶
func (o *DeleteUserFromTeamDefault) IsCode(code int) bool
IsCode returns true when this delete user from team default response a status code equal to that given
func (*DeleteUserFromTeamDefault) IsRedirect ¶
func (o *DeleteUserFromTeamDefault) IsRedirect() bool
IsRedirect returns true when this delete user from team default response has a 3xx status code
func (*DeleteUserFromTeamDefault) IsServerError ¶
func (o *DeleteUserFromTeamDefault) IsServerError() bool
IsServerError returns true when this delete user from team default response has a 5xx status code
func (*DeleteUserFromTeamDefault) IsSuccess ¶
func (o *DeleteUserFromTeamDefault) IsSuccess() bool
IsSuccess returns true when this delete user from team default response has a 2xx status code
func (*DeleteUserFromTeamDefault) String ¶
func (o *DeleteUserFromTeamDefault) String() string
type DeleteUserFromTeamForbidden ¶
type DeleteUserFromTeamForbidden struct {
Payload *models.GeneralError
}
DeleteUserFromTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteUserFromTeamForbidden ¶
func NewDeleteUserFromTeamForbidden() *DeleteUserFromTeamForbidden
NewDeleteUserFromTeamForbidden creates a DeleteUserFromTeamForbidden with default headers values
func (*DeleteUserFromTeamForbidden) Code ¶
func (o *DeleteUserFromTeamForbidden) Code() int
Code gets the status code for the delete user from team forbidden response
func (*DeleteUserFromTeamForbidden) Error ¶
func (o *DeleteUserFromTeamForbidden) Error() string
func (*DeleteUserFromTeamForbidden) GetPayload ¶
func (o *DeleteUserFromTeamForbidden) GetPayload() *models.GeneralError
func (*DeleteUserFromTeamForbidden) IsClientError ¶
func (o *DeleteUserFromTeamForbidden) IsClientError() bool
IsClientError returns true when this delete user from team forbidden response has a 4xx status code
func (*DeleteUserFromTeamForbidden) IsCode ¶
func (o *DeleteUserFromTeamForbidden) IsCode(code int) bool
IsCode returns true when this delete user from team forbidden response a status code equal to that given
func (*DeleteUserFromTeamForbidden) IsRedirect ¶
func (o *DeleteUserFromTeamForbidden) IsRedirect() bool
IsRedirect returns true when this delete user from team forbidden response has a 3xx status code
func (*DeleteUserFromTeamForbidden) IsServerError ¶
func (o *DeleteUserFromTeamForbidden) IsServerError() bool
IsServerError returns true when this delete user from team forbidden response has a 5xx status code
func (*DeleteUserFromTeamForbidden) IsSuccess ¶
func (o *DeleteUserFromTeamForbidden) IsSuccess() bool
IsSuccess returns true when this delete user from team forbidden response has a 2xx status code
func (*DeleteUserFromTeamForbidden) String ¶
func (o *DeleteUserFromTeamForbidden) String() string
type DeleteUserFromTeamNotFound ¶
type DeleteUserFromTeamNotFound struct {
Payload *models.GeneralError
}
DeleteUserFromTeamNotFound describes a response with status code 404, with default header values.
User or team not found
func NewDeleteUserFromTeamNotFound ¶
func NewDeleteUserFromTeamNotFound() *DeleteUserFromTeamNotFound
NewDeleteUserFromTeamNotFound creates a DeleteUserFromTeamNotFound with default headers values
func (*DeleteUserFromTeamNotFound) Code ¶
func (o *DeleteUserFromTeamNotFound) Code() int
Code gets the status code for the delete user from team not found response
func (*DeleteUserFromTeamNotFound) Error ¶
func (o *DeleteUserFromTeamNotFound) Error() string
func (*DeleteUserFromTeamNotFound) GetPayload ¶
func (o *DeleteUserFromTeamNotFound) GetPayload() *models.GeneralError
func (*DeleteUserFromTeamNotFound) IsClientError ¶
func (o *DeleteUserFromTeamNotFound) IsClientError() bool
IsClientError returns true when this delete user from team not found response has a 4xx status code
func (*DeleteUserFromTeamNotFound) IsCode ¶
func (o *DeleteUserFromTeamNotFound) IsCode(code int) bool
IsCode returns true when this delete user from team not found response a status code equal to that given
func (*DeleteUserFromTeamNotFound) IsRedirect ¶
func (o *DeleteUserFromTeamNotFound) IsRedirect() bool
IsRedirect returns true when this delete user from team not found response has a 3xx status code
func (*DeleteUserFromTeamNotFound) IsServerError ¶
func (o *DeleteUserFromTeamNotFound) IsServerError() bool
IsServerError returns true when this delete user from team not found response has a 5xx status code
func (*DeleteUserFromTeamNotFound) IsSuccess ¶
func (o *DeleteUserFromTeamNotFound) IsSuccess() bool
IsSuccess returns true when this delete user from team not found response has a 2xx status code
func (*DeleteUserFromTeamNotFound) String ¶
func (o *DeleteUserFromTeamNotFound) String() string
type DeleteUserFromTeamOK ¶
type DeleteUserFromTeamOK struct {
Payload *models.GeneralError
}
DeleteUserFromTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteUserFromTeamOK ¶
func NewDeleteUserFromTeamOK() *DeleteUserFromTeamOK
NewDeleteUserFromTeamOK creates a DeleteUserFromTeamOK with default headers values
func (*DeleteUserFromTeamOK) Code ¶
func (o *DeleteUserFromTeamOK) Code() int
Code gets the status code for the delete user from team o k response
func (*DeleteUserFromTeamOK) Error ¶
func (o *DeleteUserFromTeamOK) Error() string
func (*DeleteUserFromTeamOK) GetPayload ¶
func (o *DeleteUserFromTeamOK) GetPayload() *models.GeneralError
func (*DeleteUserFromTeamOK) IsClientError ¶
func (o *DeleteUserFromTeamOK) IsClientError() bool
IsClientError returns true when this delete user from team o k response has a 4xx status code
func (*DeleteUserFromTeamOK) IsCode ¶
func (o *DeleteUserFromTeamOK) IsCode(code int) bool
IsCode returns true when this delete user from team o k response a status code equal to that given
func (*DeleteUserFromTeamOK) IsRedirect ¶
func (o *DeleteUserFromTeamOK) IsRedirect() bool
IsRedirect returns true when this delete user from team o k response has a 3xx status code
func (*DeleteUserFromTeamOK) IsServerError ¶
func (o *DeleteUserFromTeamOK) IsServerError() bool
IsServerError returns true when this delete user from team o k response has a 5xx status code
func (*DeleteUserFromTeamOK) IsSuccess ¶
func (o *DeleteUserFromTeamOK) IsSuccess() bool
IsSuccess returns true when this delete user from team o k response has a 2xx status code
func (*DeleteUserFromTeamOK) String ¶
func (o *DeleteUserFromTeamOK) String() string
type DeleteUserFromTeamParams ¶
type DeleteUserFromTeamParams struct { /* UserID. A user UUID or slug */ UserID string /* UserTeam. The user team data to delete */ UserTeam *models.UserTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserFromTeamParams contains all the parameters to send to the API endpoint
for the delete user from team operation. Typically these are written to a http.Request.
func NewDeleteUserFromTeamParams ¶
func NewDeleteUserFromTeamParams() *DeleteUserFromTeamParams
NewDeleteUserFromTeamParams creates a new DeleteUserFromTeamParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserFromTeamParamsWithContext ¶
func NewDeleteUserFromTeamParamsWithContext(ctx context.Context) *DeleteUserFromTeamParams
NewDeleteUserFromTeamParamsWithContext creates a new DeleteUserFromTeamParams object with the ability to set a context for a request.
func NewDeleteUserFromTeamParamsWithHTTPClient ¶
func NewDeleteUserFromTeamParamsWithHTTPClient(client *http.Client) *DeleteUserFromTeamParams
NewDeleteUserFromTeamParamsWithHTTPClient creates a new DeleteUserFromTeamParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserFromTeamParamsWithTimeout ¶
func NewDeleteUserFromTeamParamsWithTimeout(timeout time.Duration) *DeleteUserFromTeamParams
NewDeleteUserFromTeamParamsWithTimeout creates a new DeleteUserFromTeamParams object with the ability to set a timeout on a request.
func (*DeleteUserFromTeamParams) SetContext ¶
func (o *DeleteUserFromTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user from team params
func (*DeleteUserFromTeamParams) SetDefaults ¶
func (o *DeleteUserFromTeamParams) SetDefaults()
SetDefaults hydrates default values in the delete user from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromTeamParams) SetHTTPClient ¶
func (o *DeleteUserFromTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user from team params
func (*DeleteUserFromTeamParams) SetTimeout ¶
func (o *DeleteUserFromTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user from team params
func (*DeleteUserFromTeamParams) SetUserID ¶
func (o *DeleteUserFromTeamParams) SetUserID(userID string)
SetUserID adds the userId to the delete user from team params
func (*DeleteUserFromTeamParams) SetUserTeam ¶
func (o *DeleteUserFromTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
SetUserTeam adds the userTeam to the delete user from team params
func (*DeleteUserFromTeamParams) WithContext ¶
func (o *DeleteUserFromTeamParams) WithContext(ctx context.Context) *DeleteUserFromTeamParams
WithContext adds the context to the delete user from team params
func (*DeleteUserFromTeamParams) WithDefaults ¶
func (o *DeleteUserFromTeamParams) WithDefaults() *DeleteUserFromTeamParams
WithDefaults hydrates default values in the delete user from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserFromTeamParams) WithHTTPClient ¶
func (o *DeleteUserFromTeamParams) WithHTTPClient(client *http.Client) *DeleteUserFromTeamParams
WithHTTPClient adds the HTTPClient to the delete user from team params
func (*DeleteUserFromTeamParams) WithTimeout ¶
func (o *DeleteUserFromTeamParams) WithTimeout(timeout time.Duration) *DeleteUserFromTeamParams
WithTimeout adds the timeout to the delete user from team params
func (*DeleteUserFromTeamParams) WithUserID ¶
func (o *DeleteUserFromTeamParams) WithUserID(userID string) *DeleteUserFromTeamParams
WithUserID adds the userID to the delete user from team params
func (*DeleteUserFromTeamParams) WithUserTeam ¶
func (o *DeleteUserFromTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *DeleteUserFromTeamParams
WithUserTeam adds the userTeam to the delete user from team params
func (*DeleteUserFromTeamParams) WriteToRequest ¶
func (o *DeleteUserFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserFromTeamPreconditionFailed ¶
type DeleteUserFromTeamPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteUserFromTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewDeleteUserFromTeamPreconditionFailed ¶
func NewDeleteUserFromTeamPreconditionFailed() *DeleteUserFromTeamPreconditionFailed
NewDeleteUserFromTeamPreconditionFailed creates a DeleteUserFromTeamPreconditionFailed with default headers values
func (*DeleteUserFromTeamPreconditionFailed) Code ¶
func (o *DeleteUserFromTeamPreconditionFailed) Code() int
Code gets the status code for the delete user from team precondition failed response
func (*DeleteUserFromTeamPreconditionFailed) Error ¶
func (o *DeleteUserFromTeamPreconditionFailed) Error() string
func (*DeleteUserFromTeamPreconditionFailed) GetPayload ¶
func (o *DeleteUserFromTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteUserFromTeamPreconditionFailed) IsClientError ¶
func (o *DeleteUserFromTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete user from team precondition failed response has a 4xx status code
func (*DeleteUserFromTeamPreconditionFailed) IsCode ¶
func (o *DeleteUserFromTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete user from team precondition failed response a status code equal to that given
func (*DeleteUserFromTeamPreconditionFailed) IsRedirect ¶
func (o *DeleteUserFromTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete user from team precondition failed response has a 3xx status code
func (*DeleteUserFromTeamPreconditionFailed) IsServerError ¶
func (o *DeleteUserFromTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete user from team precondition failed response has a 5xx status code
func (*DeleteUserFromTeamPreconditionFailed) IsSuccess ¶
func (o *DeleteUserFromTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete user from team precondition failed response has a 2xx status code
func (*DeleteUserFromTeamPreconditionFailed) String ¶
func (o *DeleteUserFromTeamPreconditionFailed) String() string
type DeleteUserFromTeamReader ¶
type DeleteUserFromTeamReader struct {
// contains filtered or unexported fields
}
DeleteUserFromTeamReader is a Reader for the DeleteUserFromTeam structure.
func (*DeleteUserFromTeamReader) ReadResponse ¶
func (o *DeleteUserFromTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserNotFound ¶
type DeleteUserNotFound struct {
Payload *models.GeneralError
}
DeleteUserNotFound describes a response with status code 404, with default header values.
User not found
func NewDeleteUserNotFound ¶
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Code ¶
func (o *DeleteUserNotFound) Code() int
Code gets the status code for the delete user not found response
func (*DeleteUserNotFound) Error ¶
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) GetPayload ¶
func (o *DeleteUserNotFound) GetPayload() *models.GeneralError
func (*DeleteUserNotFound) IsClientError ¶
func (o *DeleteUserNotFound) IsClientError() bool
IsClientError returns true when this delete user not found response has a 4xx status code
func (*DeleteUserNotFound) IsCode ¶
func (o *DeleteUserNotFound) IsCode(code int) bool
IsCode returns true when this delete user not found response a status code equal to that given
func (*DeleteUserNotFound) IsRedirect ¶
func (o *DeleteUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete user not found response has a 3xx status code
func (*DeleteUserNotFound) IsServerError ¶
func (o *DeleteUserNotFound) IsServerError() bool
IsServerError returns true when this delete user not found response has a 5xx status code
func (*DeleteUserNotFound) IsSuccess ¶
func (o *DeleteUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete user not found response has a 2xx status code
func (*DeleteUserNotFound) String ¶
func (o *DeleteUserNotFound) String() string
type DeleteUserOK ¶
type DeleteUserOK struct {
Payload *models.GeneralError
}
DeleteUserOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Code ¶
func (o *DeleteUserOK) Code() int
Code gets the status code for the delete user o k response
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
func (*DeleteUserOK) GetPayload ¶
func (o *DeleteUserOK) GetPayload() *models.GeneralError
func (*DeleteUserOK) IsClientError ¶
func (o *DeleteUserOK) IsClientError() bool
IsClientError returns true when this delete user o k response has a 4xx status code
func (*DeleteUserOK) IsCode ¶
func (o *DeleteUserOK) IsCode(code int) bool
IsCode returns true when this delete user o k response a status code equal to that given
func (*DeleteUserOK) IsRedirect ¶
func (o *DeleteUserOK) IsRedirect() bool
IsRedirect returns true when this delete user o k response has a 3xx status code
func (*DeleteUserOK) IsServerError ¶
func (o *DeleteUserOK) IsServerError() bool
IsServerError returns true when this delete user o k response has a 5xx status code
func (*DeleteUserOK) IsSuccess ¶
func (o *DeleteUserOK) IsSuccess() bool
IsSuccess returns true when this delete user o k response has a 2xx status code
func (*DeleteUserOK) String ¶
func (o *DeleteUserOK) String() string
type DeleteUserParams ¶
type DeleteUserParams struct { /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserParams contains all the parameters to send to the API endpoint
for the delete user operation. Typically these are written to a http.Request.
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.
func NewDeleteUserParamsWithHTTPClient ¶
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserParamsWithTimeout ¶
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.
func (*DeleteUserParams) SetContext ¶
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetDefaults ¶
func (o *DeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) SetUserID ¶
func (o *DeleteUserParams) SetUserID(userID string)
SetUserID adds the userId to the delete user params
func (*DeleteUserParams) WithContext ¶
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithDefaults ¶
func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
WithDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithUserID ¶
func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams
WithUserID adds the userID to the delete user params
func (*DeleteUserParams) WriteToRequest ¶
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserModsDefault ¶
type ListUserModsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListUserModsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListUserModsDefault ¶
func NewListUserModsDefault(code int) *ListUserModsDefault
NewListUserModsDefault creates a ListUserModsDefault with default headers values
func (*ListUserModsDefault) Code ¶
func (o *ListUserModsDefault) Code() int
Code gets the status code for the list user mods default response
func (*ListUserModsDefault) Error ¶
func (o *ListUserModsDefault) Error() string
func (*ListUserModsDefault) GetPayload ¶
func (o *ListUserModsDefault) GetPayload() *models.GeneralError
func (*ListUserModsDefault) IsClientError ¶
func (o *ListUserModsDefault) IsClientError() bool
IsClientError returns true when this list user mods default response has a 4xx status code
func (*ListUserModsDefault) IsCode ¶
func (o *ListUserModsDefault) IsCode(code int) bool
IsCode returns true when this list user mods default response a status code equal to that given
func (*ListUserModsDefault) IsRedirect ¶
func (o *ListUserModsDefault) IsRedirect() bool
IsRedirect returns true when this list user mods default response has a 3xx status code
func (*ListUserModsDefault) IsServerError ¶
func (o *ListUserModsDefault) IsServerError() bool
IsServerError returns true when this list user mods default response has a 5xx status code
func (*ListUserModsDefault) IsSuccess ¶
func (o *ListUserModsDefault) IsSuccess() bool
IsSuccess returns true when this list user mods default response has a 2xx status code
func (*ListUserModsDefault) String ¶
func (o *ListUserModsDefault) String() string
type ListUserModsForbidden ¶
type ListUserModsForbidden struct {
Payload *models.GeneralError
}
ListUserModsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListUserModsForbidden ¶
func NewListUserModsForbidden() *ListUserModsForbidden
NewListUserModsForbidden creates a ListUserModsForbidden with default headers values
func (*ListUserModsForbidden) Code ¶
func (o *ListUserModsForbidden) Code() int
Code gets the status code for the list user mods forbidden response
func (*ListUserModsForbidden) Error ¶
func (o *ListUserModsForbidden) Error() string
func (*ListUserModsForbidden) GetPayload ¶
func (o *ListUserModsForbidden) GetPayload() *models.GeneralError
func (*ListUserModsForbidden) IsClientError ¶
func (o *ListUserModsForbidden) IsClientError() bool
IsClientError returns true when this list user mods forbidden response has a 4xx status code
func (*ListUserModsForbidden) IsCode ¶
func (o *ListUserModsForbidden) IsCode(code int) bool
IsCode returns true when this list user mods forbidden response a status code equal to that given
func (*ListUserModsForbidden) IsRedirect ¶
func (o *ListUserModsForbidden) IsRedirect() bool
IsRedirect returns true when this list user mods forbidden response has a 3xx status code
func (*ListUserModsForbidden) IsServerError ¶
func (o *ListUserModsForbidden) IsServerError() bool
IsServerError returns true when this list user mods forbidden response has a 5xx status code
func (*ListUserModsForbidden) IsSuccess ¶
func (o *ListUserModsForbidden) IsSuccess() bool
IsSuccess returns true when this list user mods forbidden response has a 2xx status code
func (*ListUserModsForbidden) String ¶
func (o *ListUserModsForbidden) String() string
type ListUserModsNotFound ¶
type ListUserModsNotFound struct {
Payload *models.GeneralError
}
ListUserModsNotFound describes a response with status code 404, with default header values.
User not found
func NewListUserModsNotFound ¶
func NewListUserModsNotFound() *ListUserModsNotFound
NewListUserModsNotFound creates a ListUserModsNotFound with default headers values
func (*ListUserModsNotFound) Code ¶
func (o *ListUserModsNotFound) Code() int
Code gets the status code for the list user mods not found response
func (*ListUserModsNotFound) Error ¶
func (o *ListUserModsNotFound) Error() string
func (*ListUserModsNotFound) GetPayload ¶
func (o *ListUserModsNotFound) GetPayload() *models.GeneralError
func (*ListUserModsNotFound) IsClientError ¶
func (o *ListUserModsNotFound) IsClientError() bool
IsClientError returns true when this list user mods not found response has a 4xx status code
func (*ListUserModsNotFound) IsCode ¶
func (o *ListUserModsNotFound) IsCode(code int) bool
IsCode returns true when this list user mods not found response a status code equal to that given
func (*ListUserModsNotFound) IsRedirect ¶
func (o *ListUserModsNotFound) IsRedirect() bool
IsRedirect returns true when this list user mods not found response has a 3xx status code
func (*ListUserModsNotFound) IsServerError ¶
func (o *ListUserModsNotFound) IsServerError() bool
IsServerError returns true when this list user mods not found response has a 5xx status code
func (*ListUserModsNotFound) IsSuccess ¶
func (o *ListUserModsNotFound) IsSuccess() bool
IsSuccess returns true when this list user mods not found response has a 2xx status code
func (*ListUserModsNotFound) String ¶
func (o *ListUserModsNotFound) String() string
type ListUserModsOK ¶
ListUserModsOK describes a response with status code 200, with default header values.
A collection of user mods
func NewListUserModsOK ¶
func NewListUserModsOK() *ListUserModsOK
NewListUserModsOK creates a ListUserModsOK with default headers values
func (*ListUserModsOK) Code ¶
func (o *ListUserModsOK) Code() int
Code gets the status code for the list user mods o k response
func (*ListUserModsOK) Error ¶
func (o *ListUserModsOK) Error() string
func (*ListUserModsOK) GetPayload ¶
func (o *ListUserModsOK) GetPayload() *models.UserMods
func (*ListUserModsOK) IsClientError ¶
func (o *ListUserModsOK) IsClientError() bool
IsClientError returns true when this list user mods o k response has a 4xx status code
func (*ListUserModsOK) IsCode ¶
func (o *ListUserModsOK) IsCode(code int) bool
IsCode returns true when this list user mods o k response a status code equal to that given
func (*ListUserModsOK) IsRedirect ¶
func (o *ListUserModsOK) IsRedirect() bool
IsRedirect returns true when this list user mods o k response has a 3xx status code
func (*ListUserModsOK) IsServerError ¶
func (o *ListUserModsOK) IsServerError() bool
IsServerError returns true when this list user mods o k response has a 5xx status code
func (*ListUserModsOK) IsSuccess ¶
func (o *ListUserModsOK) IsSuccess() bool
IsSuccess returns true when this list user mods o k response has a 2xx status code
func (*ListUserModsOK) String ¶
func (o *ListUserModsOK) String() string
type ListUserModsParams ¶
type ListUserModsParams struct { /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserModsParams contains all the parameters to send to the API endpoint
for the list user mods operation. Typically these are written to a http.Request.
func NewListUserModsParams ¶
func NewListUserModsParams() *ListUserModsParams
NewListUserModsParams creates a new ListUserModsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUserModsParamsWithContext ¶
func NewListUserModsParamsWithContext(ctx context.Context) *ListUserModsParams
NewListUserModsParamsWithContext creates a new ListUserModsParams object with the ability to set a context for a request.
func NewListUserModsParamsWithHTTPClient ¶
func NewListUserModsParamsWithHTTPClient(client *http.Client) *ListUserModsParams
NewListUserModsParamsWithHTTPClient creates a new ListUserModsParams object with the ability to set a custom HTTPClient for a request.
func NewListUserModsParamsWithTimeout ¶
func NewListUserModsParamsWithTimeout(timeout time.Duration) *ListUserModsParams
NewListUserModsParamsWithTimeout creates a new ListUserModsParams object with the ability to set a timeout on a request.
func (*ListUserModsParams) SetContext ¶
func (o *ListUserModsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user mods params
func (*ListUserModsParams) SetDefaults ¶
func (o *ListUserModsParams) SetDefaults()
SetDefaults hydrates default values in the list user mods params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserModsParams) SetHTTPClient ¶
func (o *ListUserModsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user mods params
func (*ListUserModsParams) SetTimeout ¶
func (o *ListUserModsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user mods params
func (*ListUserModsParams) SetUserID ¶
func (o *ListUserModsParams) SetUserID(userID string)
SetUserID adds the userId to the list user mods params
func (*ListUserModsParams) WithContext ¶
func (o *ListUserModsParams) WithContext(ctx context.Context) *ListUserModsParams
WithContext adds the context to the list user mods params
func (*ListUserModsParams) WithDefaults ¶
func (o *ListUserModsParams) WithDefaults() *ListUserModsParams
WithDefaults hydrates default values in the list user mods params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserModsParams) WithHTTPClient ¶
func (o *ListUserModsParams) WithHTTPClient(client *http.Client) *ListUserModsParams
WithHTTPClient adds the HTTPClient to the list user mods params
func (*ListUserModsParams) WithTimeout ¶
func (o *ListUserModsParams) WithTimeout(timeout time.Duration) *ListUserModsParams
WithTimeout adds the timeout to the list user mods params
func (*ListUserModsParams) WithUserID ¶
func (o *ListUserModsParams) WithUserID(userID string) *ListUserModsParams
WithUserID adds the userID to the list user mods params
func (*ListUserModsParams) WriteToRequest ¶
func (o *ListUserModsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserModsReader ¶
type ListUserModsReader struct {
// contains filtered or unexported fields
}
ListUserModsReader is a Reader for the ListUserMods structure.
func (*ListUserModsReader) ReadResponse ¶
func (o *ListUserModsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserPacksDefault ¶
type ListUserPacksDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListUserPacksDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListUserPacksDefault ¶
func NewListUserPacksDefault(code int) *ListUserPacksDefault
NewListUserPacksDefault creates a ListUserPacksDefault with default headers values
func (*ListUserPacksDefault) Code ¶
func (o *ListUserPacksDefault) Code() int
Code gets the status code for the list user packs default response
func (*ListUserPacksDefault) Error ¶
func (o *ListUserPacksDefault) Error() string
func (*ListUserPacksDefault) GetPayload ¶
func (o *ListUserPacksDefault) GetPayload() *models.GeneralError
func (*ListUserPacksDefault) IsClientError ¶
func (o *ListUserPacksDefault) IsClientError() bool
IsClientError returns true when this list user packs default response has a 4xx status code
func (*ListUserPacksDefault) IsCode ¶
func (o *ListUserPacksDefault) IsCode(code int) bool
IsCode returns true when this list user packs default response a status code equal to that given
func (*ListUserPacksDefault) IsRedirect ¶
func (o *ListUserPacksDefault) IsRedirect() bool
IsRedirect returns true when this list user packs default response has a 3xx status code
func (*ListUserPacksDefault) IsServerError ¶
func (o *ListUserPacksDefault) IsServerError() bool
IsServerError returns true when this list user packs default response has a 5xx status code
func (*ListUserPacksDefault) IsSuccess ¶
func (o *ListUserPacksDefault) IsSuccess() bool
IsSuccess returns true when this list user packs default response has a 2xx status code
func (*ListUserPacksDefault) String ¶
func (o *ListUserPacksDefault) String() string
type ListUserPacksForbidden ¶
type ListUserPacksForbidden struct {
Payload *models.GeneralError
}
ListUserPacksForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListUserPacksForbidden ¶
func NewListUserPacksForbidden() *ListUserPacksForbidden
NewListUserPacksForbidden creates a ListUserPacksForbidden with default headers values
func (*ListUserPacksForbidden) Code ¶
func (o *ListUserPacksForbidden) Code() int
Code gets the status code for the list user packs forbidden response
func (*ListUserPacksForbidden) Error ¶
func (o *ListUserPacksForbidden) Error() string
func (*ListUserPacksForbidden) GetPayload ¶
func (o *ListUserPacksForbidden) GetPayload() *models.GeneralError
func (*ListUserPacksForbidden) IsClientError ¶
func (o *ListUserPacksForbidden) IsClientError() bool
IsClientError returns true when this list user packs forbidden response has a 4xx status code
func (*ListUserPacksForbidden) IsCode ¶
func (o *ListUserPacksForbidden) IsCode(code int) bool
IsCode returns true when this list user packs forbidden response a status code equal to that given
func (*ListUserPacksForbidden) IsRedirect ¶
func (o *ListUserPacksForbidden) IsRedirect() bool
IsRedirect returns true when this list user packs forbidden response has a 3xx status code
func (*ListUserPacksForbidden) IsServerError ¶
func (o *ListUserPacksForbidden) IsServerError() bool
IsServerError returns true when this list user packs forbidden response has a 5xx status code
func (*ListUserPacksForbidden) IsSuccess ¶
func (o *ListUserPacksForbidden) IsSuccess() bool
IsSuccess returns true when this list user packs forbidden response has a 2xx status code
func (*ListUserPacksForbidden) String ¶
func (o *ListUserPacksForbidden) String() string
type ListUserPacksNotFound ¶
type ListUserPacksNotFound struct {
Payload *models.GeneralError
}
ListUserPacksNotFound describes a response with status code 404, with default header values.
User not found
func NewListUserPacksNotFound ¶
func NewListUserPacksNotFound() *ListUserPacksNotFound
NewListUserPacksNotFound creates a ListUserPacksNotFound with default headers values
func (*ListUserPacksNotFound) Code ¶
func (o *ListUserPacksNotFound) Code() int
Code gets the status code for the list user packs not found response
func (*ListUserPacksNotFound) Error ¶
func (o *ListUserPacksNotFound) Error() string
func (*ListUserPacksNotFound) GetPayload ¶
func (o *ListUserPacksNotFound) GetPayload() *models.GeneralError
func (*ListUserPacksNotFound) IsClientError ¶
func (o *ListUserPacksNotFound) IsClientError() bool
IsClientError returns true when this list user packs not found response has a 4xx status code
func (*ListUserPacksNotFound) IsCode ¶
func (o *ListUserPacksNotFound) IsCode(code int) bool
IsCode returns true when this list user packs not found response a status code equal to that given
func (*ListUserPacksNotFound) IsRedirect ¶
func (o *ListUserPacksNotFound) IsRedirect() bool
IsRedirect returns true when this list user packs not found response has a 3xx status code
func (*ListUserPacksNotFound) IsServerError ¶
func (o *ListUserPacksNotFound) IsServerError() bool
IsServerError returns true when this list user packs not found response has a 5xx status code
func (*ListUserPacksNotFound) IsSuccess ¶
func (o *ListUserPacksNotFound) IsSuccess() bool
IsSuccess returns true when this list user packs not found response has a 2xx status code
func (*ListUserPacksNotFound) String ¶
func (o *ListUserPacksNotFound) String() string
type ListUserPacksOK ¶
ListUserPacksOK describes a response with status code 200, with default header values.
A collection of team packs
func NewListUserPacksOK ¶
func NewListUserPacksOK() *ListUserPacksOK
NewListUserPacksOK creates a ListUserPacksOK with default headers values
func (*ListUserPacksOK) Code ¶
func (o *ListUserPacksOK) Code() int
Code gets the status code for the list user packs o k response
func (*ListUserPacksOK) Error ¶
func (o *ListUserPacksOK) Error() string
func (*ListUserPacksOK) GetPayload ¶
func (o *ListUserPacksOK) GetPayload() *models.UserPacks
func (*ListUserPacksOK) IsClientError ¶
func (o *ListUserPacksOK) IsClientError() bool
IsClientError returns true when this list user packs o k response has a 4xx status code
func (*ListUserPacksOK) IsCode ¶
func (o *ListUserPacksOK) IsCode(code int) bool
IsCode returns true when this list user packs o k response a status code equal to that given
func (*ListUserPacksOK) IsRedirect ¶
func (o *ListUserPacksOK) IsRedirect() bool
IsRedirect returns true when this list user packs o k response has a 3xx status code
func (*ListUserPacksOK) IsServerError ¶
func (o *ListUserPacksOK) IsServerError() bool
IsServerError returns true when this list user packs o k response has a 5xx status code
func (*ListUserPacksOK) IsSuccess ¶
func (o *ListUserPacksOK) IsSuccess() bool
IsSuccess returns true when this list user packs o k response has a 2xx status code
func (*ListUserPacksOK) String ¶
func (o *ListUserPacksOK) String() string
type ListUserPacksParams ¶
type ListUserPacksParams struct { /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserPacksParams contains all the parameters to send to the API endpoint
for the list user packs operation. Typically these are written to a http.Request.
func NewListUserPacksParams ¶
func NewListUserPacksParams() *ListUserPacksParams
NewListUserPacksParams creates a new ListUserPacksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUserPacksParamsWithContext ¶
func NewListUserPacksParamsWithContext(ctx context.Context) *ListUserPacksParams
NewListUserPacksParamsWithContext creates a new ListUserPacksParams object with the ability to set a context for a request.
func NewListUserPacksParamsWithHTTPClient ¶
func NewListUserPacksParamsWithHTTPClient(client *http.Client) *ListUserPacksParams
NewListUserPacksParamsWithHTTPClient creates a new ListUserPacksParams object with the ability to set a custom HTTPClient for a request.
func NewListUserPacksParamsWithTimeout ¶
func NewListUserPacksParamsWithTimeout(timeout time.Duration) *ListUserPacksParams
NewListUserPacksParamsWithTimeout creates a new ListUserPacksParams object with the ability to set a timeout on a request.
func (*ListUserPacksParams) SetContext ¶
func (o *ListUserPacksParams) SetContext(ctx context.Context)
SetContext adds the context to the list user packs params
func (*ListUserPacksParams) SetDefaults ¶
func (o *ListUserPacksParams) SetDefaults()
SetDefaults hydrates default values in the list user packs params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserPacksParams) SetHTTPClient ¶
func (o *ListUserPacksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user packs params
func (*ListUserPacksParams) SetTimeout ¶
func (o *ListUserPacksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user packs params
func (*ListUserPacksParams) SetUserID ¶
func (o *ListUserPacksParams) SetUserID(userID string)
SetUserID adds the userId to the list user packs params
func (*ListUserPacksParams) WithContext ¶
func (o *ListUserPacksParams) WithContext(ctx context.Context) *ListUserPacksParams
WithContext adds the context to the list user packs params
func (*ListUserPacksParams) WithDefaults ¶
func (o *ListUserPacksParams) WithDefaults() *ListUserPacksParams
WithDefaults hydrates default values in the list user packs params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserPacksParams) WithHTTPClient ¶
func (o *ListUserPacksParams) WithHTTPClient(client *http.Client) *ListUserPacksParams
WithHTTPClient adds the HTTPClient to the list user packs params
func (*ListUserPacksParams) WithTimeout ¶
func (o *ListUserPacksParams) WithTimeout(timeout time.Duration) *ListUserPacksParams
WithTimeout adds the timeout to the list user packs params
func (*ListUserPacksParams) WithUserID ¶
func (o *ListUserPacksParams) WithUserID(userID string) *ListUserPacksParams
WithUserID adds the userID to the list user packs params
func (*ListUserPacksParams) WriteToRequest ¶
func (o *ListUserPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserPacksReader ¶
type ListUserPacksReader struct {
// contains filtered or unexported fields
}
ListUserPacksReader is a Reader for the ListUserPacks structure.
func (*ListUserPacksReader) ReadResponse ¶
func (o *ListUserPacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserTeamsDefault ¶
type ListUserTeamsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListUserTeamsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListUserTeamsDefault ¶
func NewListUserTeamsDefault(code int) *ListUserTeamsDefault
NewListUserTeamsDefault creates a ListUserTeamsDefault with default headers values
func (*ListUserTeamsDefault) Code ¶
func (o *ListUserTeamsDefault) Code() int
Code gets the status code for the list user teams default response
func (*ListUserTeamsDefault) Error ¶
func (o *ListUserTeamsDefault) Error() string
func (*ListUserTeamsDefault) GetPayload ¶
func (o *ListUserTeamsDefault) GetPayload() *models.GeneralError
func (*ListUserTeamsDefault) IsClientError ¶
func (o *ListUserTeamsDefault) IsClientError() bool
IsClientError returns true when this list user teams default response has a 4xx status code
func (*ListUserTeamsDefault) IsCode ¶
func (o *ListUserTeamsDefault) IsCode(code int) bool
IsCode returns true when this list user teams default response a status code equal to that given
func (*ListUserTeamsDefault) IsRedirect ¶
func (o *ListUserTeamsDefault) IsRedirect() bool
IsRedirect returns true when this list user teams default response has a 3xx status code
func (*ListUserTeamsDefault) IsServerError ¶
func (o *ListUserTeamsDefault) IsServerError() bool
IsServerError returns true when this list user teams default response has a 5xx status code
func (*ListUserTeamsDefault) IsSuccess ¶
func (o *ListUserTeamsDefault) IsSuccess() bool
IsSuccess returns true when this list user teams default response has a 2xx status code
func (*ListUserTeamsDefault) String ¶
func (o *ListUserTeamsDefault) String() string
type ListUserTeamsForbidden ¶
type ListUserTeamsForbidden struct {
Payload *models.GeneralError
}
ListUserTeamsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListUserTeamsForbidden ¶
func NewListUserTeamsForbidden() *ListUserTeamsForbidden
NewListUserTeamsForbidden creates a ListUserTeamsForbidden with default headers values
func (*ListUserTeamsForbidden) Code ¶
func (o *ListUserTeamsForbidden) Code() int
Code gets the status code for the list user teams forbidden response
func (*ListUserTeamsForbidden) Error ¶
func (o *ListUserTeamsForbidden) Error() string
func (*ListUserTeamsForbidden) GetPayload ¶
func (o *ListUserTeamsForbidden) GetPayload() *models.GeneralError
func (*ListUserTeamsForbidden) IsClientError ¶
func (o *ListUserTeamsForbidden) IsClientError() bool
IsClientError returns true when this list user teams forbidden response has a 4xx status code
func (*ListUserTeamsForbidden) IsCode ¶
func (o *ListUserTeamsForbidden) IsCode(code int) bool
IsCode returns true when this list user teams forbidden response a status code equal to that given
func (*ListUserTeamsForbidden) IsRedirect ¶
func (o *ListUserTeamsForbidden) IsRedirect() bool
IsRedirect returns true when this list user teams forbidden response has a 3xx status code
func (*ListUserTeamsForbidden) IsServerError ¶
func (o *ListUserTeamsForbidden) IsServerError() bool
IsServerError returns true when this list user teams forbidden response has a 5xx status code
func (*ListUserTeamsForbidden) IsSuccess ¶
func (o *ListUserTeamsForbidden) IsSuccess() bool
IsSuccess returns true when this list user teams forbidden response has a 2xx status code
func (*ListUserTeamsForbidden) String ¶
func (o *ListUserTeamsForbidden) String() string
type ListUserTeamsNotFound ¶
type ListUserTeamsNotFound struct {
Payload *models.GeneralError
}
ListUserTeamsNotFound describes a response with status code 404, with default header values.
User not found
func NewListUserTeamsNotFound ¶
func NewListUserTeamsNotFound() *ListUserTeamsNotFound
NewListUserTeamsNotFound creates a ListUserTeamsNotFound with default headers values
func (*ListUserTeamsNotFound) Code ¶
func (o *ListUserTeamsNotFound) Code() int
Code gets the status code for the list user teams not found response
func (*ListUserTeamsNotFound) Error ¶
func (o *ListUserTeamsNotFound) Error() string
func (*ListUserTeamsNotFound) GetPayload ¶
func (o *ListUserTeamsNotFound) GetPayload() *models.GeneralError
func (*ListUserTeamsNotFound) IsClientError ¶
func (o *ListUserTeamsNotFound) IsClientError() bool
IsClientError returns true when this list user teams not found response has a 4xx status code
func (*ListUserTeamsNotFound) IsCode ¶
func (o *ListUserTeamsNotFound) IsCode(code int) bool
IsCode returns true when this list user teams not found response a status code equal to that given
func (*ListUserTeamsNotFound) IsRedirect ¶
func (o *ListUserTeamsNotFound) IsRedirect() bool
IsRedirect returns true when this list user teams not found response has a 3xx status code
func (*ListUserTeamsNotFound) IsServerError ¶
func (o *ListUserTeamsNotFound) IsServerError() bool
IsServerError returns true when this list user teams not found response has a 5xx status code
func (*ListUserTeamsNotFound) IsSuccess ¶
func (o *ListUserTeamsNotFound) IsSuccess() bool
IsSuccess returns true when this list user teams not found response has a 2xx status code
func (*ListUserTeamsNotFound) String ¶
func (o *ListUserTeamsNotFound) String() string
type ListUserTeamsOK ¶
ListUserTeamsOK describes a response with status code 200, with default header values.
A collection of user teams
func NewListUserTeamsOK ¶
func NewListUserTeamsOK() *ListUserTeamsOK
NewListUserTeamsOK creates a ListUserTeamsOK with default headers values
func (*ListUserTeamsOK) Code ¶
func (o *ListUserTeamsOK) Code() int
Code gets the status code for the list user teams o k response
func (*ListUserTeamsOK) Error ¶
func (o *ListUserTeamsOK) Error() string
func (*ListUserTeamsOK) GetPayload ¶
func (o *ListUserTeamsOK) GetPayload() *models.UserTeams
func (*ListUserTeamsOK) IsClientError ¶
func (o *ListUserTeamsOK) IsClientError() bool
IsClientError returns true when this list user teams o k response has a 4xx status code
func (*ListUserTeamsOK) IsCode ¶
func (o *ListUserTeamsOK) IsCode(code int) bool
IsCode returns true when this list user teams o k response a status code equal to that given
func (*ListUserTeamsOK) IsRedirect ¶
func (o *ListUserTeamsOK) IsRedirect() bool
IsRedirect returns true when this list user teams o k response has a 3xx status code
func (*ListUserTeamsOK) IsServerError ¶
func (o *ListUserTeamsOK) IsServerError() bool
IsServerError returns true when this list user teams o k response has a 5xx status code
func (*ListUserTeamsOK) IsSuccess ¶
func (o *ListUserTeamsOK) IsSuccess() bool
IsSuccess returns true when this list user teams o k response has a 2xx status code
func (*ListUserTeamsOK) String ¶
func (o *ListUserTeamsOK) String() string
type ListUserTeamsParams ¶
type ListUserTeamsParams struct { /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserTeamsParams contains all the parameters to send to the API endpoint
for the list user teams operation. Typically these are written to a http.Request.
func NewListUserTeamsParams ¶
func NewListUserTeamsParams() *ListUserTeamsParams
NewListUserTeamsParams creates a new ListUserTeamsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUserTeamsParamsWithContext ¶
func NewListUserTeamsParamsWithContext(ctx context.Context) *ListUserTeamsParams
NewListUserTeamsParamsWithContext creates a new ListUserTeamsParams object with the ability to set a context for a request.
func NewListUserTeamsParamsWithHTTPClient ¶
func NewListUserTeamsParamsWithHTTPClient(client *http.Client) *ListUserTeamsParams
NewListUserTeamsParamsWithHTTPClient creates a new ListUserTeamsParams object with the ability to set a custom HTTPClient for a request.
func NewListUserTeamsParamsWithTimeout ¶
func NewListUserTeamsParamsWithTimeout(timeout time.Duration) *ListUserTeamsParams
NewListUserTeamsParamsWithTimeout creates a new ListUserTeamsParams object with the ability to set a timeout on a request.
func (*ListUserTeamsParams) SetContext ¶
func (o *ListUserTeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user teams params
func (*ListUserTeamsParams) SetDefaults ¶
func (o *ListUserTeamsParams) SetDefaults()
SetDefaults hydrates default values in the list user teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserTeamsParams) SetHTTPClient ¶
func (o *ListUserTeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user teams params
func (*ListUserTeamsParams) SetTimeout ¶
func (o *ListUserTeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user teams params
func (*ListUserTeamsParams) SetUserID ¶
func (o *ListUserTeamsParams) SetUserID(userID string)
SetUserID adds the userId to the list user teams params
func (*ListUserTeamsParams) WithContext ¶
func (o *ListUserTeamsParams) WithContext(ctx context.Context) *ListUserTeamsParams
WithContext adds the context to the list user teams params
func (*ListUserTeamsParams) WithDefaults ¶
func (o *ListUserTeamsParams) WithDefaults() *ListUserTeamsParams
WithDefaults hydrates default values in the list user teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserTeamsParams) WithHTTPClient ¶
func (o *ListUserTeamsParams) WithHTTPClient(client *http.Client) *ListUserTeamsParams
WithHTTPClient adds the HTTPClient to the list user teams params
func (*ListUserTeamsParams) WithTimeout ¶
func (o *ListUserTeamsParams) WithTimeout(timeout time.Duration) *ListUserTeamsParams
WithTimeout adds the timeout to the list user teams params
func (*ListUserTeamsParams) WithUserID ¶
func (o *ListUserTeamsParams) WithUserID(userID string) *ListUserTeamsParams
WithUserID adds the userID to the list user teams params
func (*ListUserTeamsParams) WriteToRequest ¶
func (o *ListUserTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserTeamsReader ¶
type ListUserTeamsReader struct {
// contains filtered or unexported fields
}
ListUserTeamsReader is a Reader for the ListUserTeams structure.
func (*ListUserTeamsReader) ReadResponse ¶
func (o *ListUserTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUsersDefault ¶
type ListUsersDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListUsersDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListUsersDefault ¶
func NewListUsersDefault(code int) *ListUsersDefault
NewListUsersDefault creates a ListUsersDefault with default headers values
func (*ListUsersDefault) Code ¶
func (o *ListUsersDefault) Code() int
Code gets the status code for the list users default response
func (*ListUsersDefault) Error ¶
func (o *ListUsersDefault) Error() string
func (*ListUsersDefault) GetPayload ¶
func (o *ListUsersDefault) GetPayload() *models.GeneralError
func (*ListUsersDefault) IsClientError ¶
func (o *ListUsersDefault) IsClientError() bool
IsClientError returns true when this list users default response has a 4xx status code
func (*ListUsersDefault) IsCode ¶
func (o *ListUsersDefault) IsCode(code int) bool
IsCode returns true when this list users default response a status code equal to that given
func (*ListUsersDefault) IsRedirect ¶
func (o *ListUsersDefault) IsRedirect() bool
IsRedirect returns true when this list users default response has a 3xx status code
func (*ListUsersDefault) IsServerError ¶
func (o *ListUsersDefault) IsServerError() bool
IsServerError returns true when this list users default response has a 5xx status code
func (*ListUsersDefault) IsSuccess ¶
func (o *ListUsersDefault) IsSuccess() bool
IsSuccess returns true when this list users default response has a 2xx status code
func (*ListUsersDefault) String ¶
func (o *ListUsersDefault) String() string
type ListUsersForbidden ¶
type ListUsersForbidden struct {
Payload *models.GeneralError
}
ListUsersForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListUsersForbidden ¶
func NewListUsersForbidden() *ListUsersForbidden
NewListUsersForbidden creates a ListUsersForbidden with default headers values
func (*ListUsersForbidden) Code ¶
func (o *ListUsersForbidden) Code() int
Code gets the status code for the list users forbidden response
func (*ListUsersForbidden) Error ¶
func (o *ListUsersForbidden) Error() string
func (*ListUsersForbidden) GetPayload ¶
func (o *ListUsersForbidden) GetPayload() *models.GeneralError
func (*ListUsersForbidden) IsClientError ¶
func (o *ListUsersForbidden) IsClientError() bool
IsClientError returns true when this list users forbidden response has a 4xx status code
func (*ListUsersForbidden) IsCode ¶
func (o *ListUsersForbidden) IsCode(code int) bool
IsCode returns true when this list users forbidden response a status code equal to that given
func (*ListUsersForbidden) IsRedirect ¶
func (o *ListUsersForbidden) IsRedirect() bool
IsRedirect returns true when this list users forbidden response has a 3xx status code
func (*ListUsersForbidden) IsServerError ¶
func (o *ListUsersForbidden) IsServerError() bool
IsServerError returns true when this list users forbidden response has a 5xx status code
func (*ListUsersForbidden) IsSuccess ¶
func (o *ListUsersForbidden) IsSuccess() bool
IsSuccess returns true when this list users forbidden response has a 2xx status code
func (*ListUsersForbidden) String ¶
func (o *ListUsersForbidden) String() string
type ListUsersOK ¶
ListUsersOK describes a response with status code 200, with default header values.
A collection of users
func NewListUsersOK ¶
func NewListUsersOK() *ListUsersOK
NewListUsersOK creates a ListUsersOK with default headers values
func (*ListUsersOK) Code ¶
func (o *ListUsersOK) Code() int
Code gets the status code for the list users o k response
func (*ListUsersOK) Error ¶
func (o *ListUsersOK) Error() string
func (*ListUsersOK) GetPayload ¶
func (o *ListUsersOK) GetPayload() *models.Users
func (*ListUsersOK) IsClientError ¶
func (o *ListUsersOK) IsClientError() bool
IsClientError returns true when this list users o k response has a 4xx status code
func (*ListUsersOK) IsCode ¶
func (o *ListUsersOK) IsCode(code int) bool
IsCode returns true when this list users o k response a status code equal to that given
func (*ListUsersOK) IsRedirect ¶
func (o *ListUsersOK) IsRedirect() bool
IsRedirect returns true when this list users o k response has a 3xx status code
func (*ListUsersOK) IsServerError ¶
func (o *ListUsersOK) IsServerError() bool
IsServerError returns true when this list users o k response has a 5xx status code
func (*ListUsersOK) IsSuccess ¶
func (o *ListUsersOK) IsSuccess() bool
IsSuccess returns true when this list users o k response has a 2xx status code
func (*ListUsersOK) String ¶
func (o *ListUsersOK) String() string
type ListUsersParams ¶
type ListUsersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUsersParams contains all the parameters to send to the API endpoint
for the list users operation. Typically these are written to a http.Request.
func NewListUsersParams ¶
func NewListUsersParams() *ListUsersParams
NewListUsersParams creates a new ListUsersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUsersParamsWithContext ¶
func NewListUsersParamsWithContext(ctx context.Context) *ListUsersParams
NewListUsersParamsWithContext creates a new ListUsersParams object with the ability to set a context for a request.
func NewListUsersParamsWithHTTPClient ¶
func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams
NewListUsersParamsWithHTTPClient creates a new ListUsersParams object with the ability to set a custom HTTPClient for a request.
func NewListUsersParamsWithTimeout ¶
func NewListUsersParamsWithTimeout(timeout time.Duration) *ListUsersParams
NewListUsersParamsWithTimeout creates a new ListUsersParams object with the ability to set a timeout on a request.
func (*ListUsersParams) SetContext ¶
func (o *ListUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the list users params
func (*ListUsersParams) SetDefaults ¶
func (o *ListUsersParams) SetDefaults()
SetDefaults hydrates default values in the list users params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsersParams) SetHTTPClient ¶
func (o *ListUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list users params
func (*ListUsersParams) SetTimeout ¶
func (o *ListUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list users params
func (*ListUsersParams) WithContext ¶
func (o *ListUsersParams) WithContext(ctx context.Context) *ListUsersParams
WithContext adds the context to the list users params
func (*ListUsersParams) WithDefaults ¶
func (o *ListUsersParams) WithDefaults() *ListUsersParams
WithDefaults hydrates default values in the list users params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsersParams) WithHTTPClient ¶
func (o *ListUsersParams) WithHTTPClient(client *http.Client) *ListUsersParams
WithHTTPClient adds the HTTPClient to the list users params
func (*ListUsersParams) WithTimeout ¶
func (o *ListUsersParams) WithTimeout(timeout time.Duration) *ListUsersParams
WithTimeout adds the timeout to the list users params
func (*ListUsersParams) WriteToRequest ¶
func (o *ListUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUsersReader ¶
type ListUsersReader struct {
// contains filtered or unexported fields
}
ListUsersReader is a Reader for the ListUsers structure.
func (*ListUsersReader) ReadResponse ¶
func (o *ListUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitUserModDefault ¶
type PermitUserModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitUserModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitUserModDefault ¶
func NewPermitUserModDefault(code int) *PermitUserModDefault
NewPermitUserModDefault creates a PermitUserModDefault with default headers values
func (*PermitUserModDefault) Code ¶
func (o *PermitUserModDefault) Code() int
Code gets the status code for the permit user mod default response
func (*PermitUserModDefault) Error ¶
func (o *PermitUserModDefault) Error() string
func (*PermitUserModDefault) GetPayload ¶
func (o *PermitUserModDefault) GetPayload() *models.GeneralError
func (*PermitUserModDefault) IsClientError ¶
func (o *PermitUserModDefault) IsClientError() bool
IsClientError returns true when this permit user mod default response has a 4xx status code
func (*PermitUserModDefault) IsCode ¶
func (o *PermitUserModDefault) IsCode(code int) bool
IsCode returns true when this permit user mod default response a status code equal to that given
func (*PermitUserModDefault) IsRedirect ¶
func (o *PermitUserModDefault) IsRedirect() bool
IsRedirect returns true when this permit user mod default response has a 3xx status code
func (*PermitUserModDefault) IsServerError ¶
func (o *PermitUserModDefault) IsServerError() bool
IsServerError returns true when this permit user mod default response has a 5xx status code
func (*PermitUserModDefault) IsSuccess ¶
func (o *PermitUserModDefault) IsSuccess() bool
IsSuccess returns true when this permit user mod default response has a 2xx status code
func (*PermitUserModDefault) String ¶
func (o *PermitUserModDefault) String() string
type PermitUserModForbidden ¶
type PermitUserModForbidden struct {
Payload *models.GeneralError
}
PermitUserModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitUserModForbidden ¶
func NewPermitUserModForbidden() *PermitUserModForbidden
NewPermitUserModForbidden creates a PermitUserModForbidden with default headers values
func (*PermitUserModForbidden) Code ¶
func (o *PermitUserModForbidden) Code() int
Code gets the status code for the permit user mod forbidden response
func (*PermitUserModForbidden) Error ¶
func (o *PermitUserModForbidden) Error() string
func (*PermitUserModForbidden) GetPayload ¶
func (o *PermitUserModForbidden) GetPayload() *models.GeneralError
func (*PermitUserModForbidden) IsClientError ¶
func (o *PermitUserModForbidden) IsClientError() bool
IsClientError returns true when this permit user mod forbidden response has a 4xx status code
func (*PermitUserModForbidden) IsCode ¶
func (o *PermitUserModForbidden) IsCode(code int) bool
IsCode returns true when this permit user mod forbidden response a status code equal to that given
func (*PermitUserModForbidden) IsRedirect ¶
func (o *PermitUserModForbidden) IsRedirect() bool
IsRedirect returns true when this permit user mod forbidden response has a 3xx status code
func (*PermitUserModForbidden) IsServerError ¶
func (o *PermitUserModForbidden) IsServerError() bool
IsServerError returns true when this permit user mod forbidden response has a 5xx status code
func (*PermitUserModForbidden) IsSuccess ¶
func (o *PermitUserModForbidden) IsSuccess() bool
IsSuccess returns true when this permit user mod forbidden response has a 2xx status code
func (*PermitUserModForbidden) String ¶
func (o *PermitUserModForbidden) String() string
type PermitUserModNotFound ¶
type PermitUserModNotFound struct {
Payload *models.GeneralError
}
PermitUserModNotFound describes a response with status code 404, with default header values.
User or mod not found
func NewPermitUserModNotFound ¶
func NewPermitUserModNotFound() *PermitUserModNotFound
NewPermitUserModNotFound creates a PermitUserModNotFound with default headers values
func (*PermitUserModNotFound) Code ¶
func (o *PermitUserModNotFound) Code() int
Code gets the status code for the permit user mod not found response
func (*PermitUserModNotFound) Error ¶
func (o *PermitUserModNotFound) Error() string
func (*PermitUserModNotFound) GetPayload ¶
func (o *PermitUserModNotFound) GetPayload() *models.GeneralError
func (*PermitUserModNotFound) IsClientError ¶
func (o *PermitUserModNotFound) IsClientError() bool
IsClientError returns true when this permit user mod not found response has a 4xx status code
func (*PermitUserModNotFound) IsCode ¶
func (o *PermitUserModNotFound) IsCode(code int) bool
IsCode returns true when this permit user mod not found response a status code equal to that given
func (*PermitUserModNotFound) IsRedirect ¶
func (o *PermitUserModNotFound) IsRedirect() bool
IsRedirect returns true when this permit user mod not found response has a 3xx status code
func (*PermitUserModNotFound) IsServerError ¶
func (o *PermitUserModNotFound) IsServerError() bool
IsServerError returns true when this permit user mod not found response has a 5xx status code
func (*PermitUserModNotFound) IsSuccess ¶
func (o *PermitUserModNotFound) IsSuccess() bool
IsSuccess returns true when this permit user mod not found response has a 2xx status code
func (*PermitUserModNotFound) String ¶
func (o *PermitUserModNotFound) String() string
type PermitUserModOK ¶
type PermitUserModOK struct {
Payload *models.GeneralError
}
PermitUserModOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitUserModOK ¶
func NewPermitUserModOK() *PermitUserModOK
NewPermitUserModOK creates a PermitUserModOK with default headers values
func (*PermitUserModOK) Code ¶
func (o *PermitUserModOK) Code() int
Code gets the status code for the permit user mod o k response
func (*PermitUserModOK) Error ¶
func (o *PermitUserModOK) Error() string
func (*PermitUserModOK) GetPayload ¶
func (o *PermitUserModOK) GetPayload() *models.GeneralError
func (*PermitUserModOK) IsClientError ¶
func (o *PermitUserModOK) IsClientError() bool
IsClientError returns true when this permit user mod o k response has a 4xx status code
func (*PermitUserModOK) IsCode ¶
func (o *PermitUserModOK) IsCode(code int) bool
IsCode returns true when this permit user mod o k response a status code equal to that given
func (*PermitUserModOK) IsRedirect ¶
func (o *PermitUserModOK) IsRedirect() bool
IsRedirect returns true when this permit user mod o k response has a 3xx status code
func (*PermitUserModOK) IsServerError ¶
func (o *PermitUserModOK) IsServerError() bool
IsServerError returns true when this permit user mod o k response has a 5xx status code
func (*PermitUserModOK) IsSuccess ¶
func (o *PermitUserModOK) IsSuccess() bool
IsSuccess returns true when this permit user mod o k response has a 2xx status code
func (*PermitUserModOK) String ¶
func (o *PermitUserModOK) String() string
type PermitUserModParams ¶
type PermitUserModParams struct { /* UserID. A user UUID or slug */ UserID string /* UserMod. The user mod data to update */ UserMod *models.UserModParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitUserModParams contains all the parameters to send to the API endpoint
for the permit user mod operation. Typically these are written to a http.Request.
func NewPermitUserModParams ¶
func NewPermitUserModParams() *PermitUserModParams
NewPermitUserModParams creates a new PermitUserModParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPermitUserModParamsWithContext ¶
func NewPermitUserModParamsWithContext(ctx context.Context) *PermitUserModParams
NewPermitUserModParamsWithContext creates a new PermitUserModParams object with the ability to set a context for a request.
func NewPermitUserModParamsWithHTTPClient ¶
func NewPermitUserModParamsWithHTTPClient(client *http.Client) *PermitUserModParams
NewPermitUserModParamsWithHTTPClient creates a new PermitUserModParams object with the ability to set a custom HTTPClient for a request.
func NewPermitUserModParamsWithTimeout ¶
func NewPermitUserModParamsWithTimeout(timeout time.Duration) *PermitUserModParams
NewPermitUserModParamsWithTimeout creates a new PermitUserModParams object with the ability to set a timeout on a request.
func (*PermitUserModParams) SetContext ¶
func (o *PermitUserModParams) SetContext(ctx context.Context)
SetContext adds the context to the permit user mod params
func (*PermitUserModParams) SetDefaults ¶
func (o *PermitUserModParams) SetDefaults()
SetDefaults hydrates default values in the permit user mod params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserModParams) SetHTTPClient ¶
func (o *PermitUserModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit user mod params
func (*PermitUserModParams) SetTimeout ¶
func (o *PermitUserModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit user mod params
func (*PermitUserModParams) SetUserID ¶
func (o *PermitUserModParams) SetUserID(userID string)
SetUserID adds the userId to the permit user mod params
func (*PermitUserModParams) SetUserMod ¶
func (o *PermitUserModParams) SetUserMod(userMod *models.UserModParams)
SetUserMod adds the userMod to the permit user mod params
func (*PermitUserModParams) WithContext ¶
func (o *PermitUserModParams) WithContext(ctx context.Context) *PermitUserModParams
WithContext adds the context to the permit user mod params
func (*PermitUserModParams) WithDefaults ¶
func (o *PermitUserModParams) WithDefaults() *PermitUserModParams
WithDefaults hydrates default values in the permit user mod params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserModParams) WithHTTPClient ¶
func (o *PermitUserModParams) WithHTTPClient(client *http.Client) *PermitUserModParams
WithHTTPClient adds the HTTPClient to the permit user mod params
func (*PermitUserModParams) WithTimeout ¶
func (o *PermitUserModParams) WithTimeout(timeout time.Duration) *PermitUserModParams
WithTimeout adds the timeout to the permit user mod params
func (*PermitUserModParams) WithUserID ¶
func (o *PermitUserModParams) WithUserID(userID string) *PermitUserModParams
WithUserID adds the userID to the permit user mod params
func (*PermitUserModParams) WithUserMod ¶
func (o *PermitUserModParams) WithUserMod(userMod *models.UserModParams) *PermitUserModParams
WithUserMod adds the userMod to the permit user mod params
func (*PermitUserModParams) WriteToRequest ¶
func (o *PermitUserModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitUserModPreconditionFailed ¶
type PermitUserModPreconditionFailed struct {
Payload *models.GeneralError
}
PermitUserModPreconditionFailed describes a response with status code 412, with default header values.
Mod is not assigned
func NewPermitUserModPreconditionFailed ¶
func NewPermitUserModPreconditionFailed() *PermitUserModPreconditionFailed
NewPermitUserModPreconditionFailed creates a PermitUserModPreconditionFailed with default headers values
func (*PermitUserModPreconditionFailed) Code ¶
func (o *PermitUserModPreconditionFailed) Code() int
Code gets the status code for the permit user mod precondition failed response
func (*PermitUserModPreconditionFailed) Error ¶
func (o *PermitUserModPreconditionFailed) Error() string
func (*PermitUserModPreconditionFailed) GetPayload ¶
func (o *PermitUserModPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitUserModPreconditionFailed) IsClientError ¶
func (o *PermitUserModPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit user mod precondition failed response has a 4xx status code
func (*PermitUserModPreconditionFailed) IsCode ¶
func (o *PermitUserModPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit user mod precondition failed response a status code equal to that given
func (*PermitUserModPreconditionFailed) IsRedirect ¶
func (o *PermitUserModPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit user mod precondition failed response has a 3xx status code
func (*PermitUserModPreconditionFailed) IsServerError ¶
func (o *PermitUserModPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit user mod precondition failed response has a 5xx status code
func (*PermitUserModPreconditionFailed) IsSuccess ¶
func (o *PermitUserModPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit user mod precondition failed response has a 2xx status code
func (*PermitUserModPreconditionFailed) String ¶
func (o *PermitUserModPreconditionFailed) String() string
type PermitUserModReader ¶
type PermitUserModReader struct {
// contains filtered or unexported fields
}
PermitUserModReader is a Reader for the PermitUserMod structure.
func (*PermitUserModReader) ReadResponse ¶
func (o *PermitUserModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitUserModUnprocessableEntity ¶
type PermitUserModUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitUserModUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitUserModUnprocessableEntity ¶
func NewPermitUserModUnprocessableEntity() *PermitUserModUnprocessableEntity
NewPermitUserModUnprocessableEntity creates a PermitUserModUnprocessableEntity with default headers values
func (*PermitUserModUnprocessableEntity) Code ¶
func (o *PermitUserModUnprocessableEntity) Code() int
Code gets the status code for the permit user mod unprocessable entity response
func (*PermitUserModUnprocessableEntity) Error ¶
func (o *PermitUserModUnprocessableEntity) Error() string
func (*PermitUserModUnprocessableEntity) GetPayload ¶
func (o *PermitUserModUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitUserModUnprocessableEntity) IsClientError ¶
func (o *PermitUserModUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit user mod unprocessable entity response has a 4xx status code
func (*PermitUserModUnprocessableEntity) IsCode ¶
func (o *PermitUserModUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit user mod unprocessable entity response a status code equal to that given
func (*PermitUserModUnprocessableEntity) IsRedirect ¶
func (o *PermitUserModUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit user mod unprocessable entity response has a 3xx status code
func (*PermitUserModUnprocessableEntity) IsServerError ¶
func (o *PermitUserModUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit user mod unprocessable entity response has a 5xx status code
func (*PermitUserModUnprocessableEntity) IsSuccess ¶
func (o *PermitUserModUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit user mod unprocessable entity response has a 2xx status code
func (*PermitUserModUnprocessableEntity) String ¶
func (o *PermitUserModUnprocessableEntity) String() string
type PermitUserPackDefault ¶
type PermitUserPackDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitUserPackDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitUserPackDefault ¶
func NewPermitUserPackDefault(code int) *PermitUserPackDefault
NewPermitUserPackDefault creates a PermitUserPackDefault with default headers values
func (*PermitUserPackDefault) Code ¶
func (o *PermitUserPackDefault) Code() int
Code gets the status code for the permit user pack default response
func (*PermitUserPackDefault) Error ¶
func (o *PermitUserPackDefault) Error() string
func (*PermitUserPackDefault) GetPayload ¶
func (o *PermitUserPackDefault) GetPayload() *models.GeneralError
func (*PermitUserPackDefault) IsClientError ¶
func (o *PermitUserPackDefault) IsClientError() bool
IsClientError returns true when this permit user pack default response has a 4xx status code
func (*PermitUserPackDefault) IsCode ¶
func (o *PermitUserPackDefault) IsCode(code int) bool
IsCode returns true when this permit user pack default response a status code equal to that given
func (*PermitUserPackDefault) IsRedirect ¶
func (o *PermitUserPackDefault) IsRedirect() bool
IsRedirect returns true when this permit user pack default response has a 3xx status code
func (*PermitUserPackDefault) IsServerError ¶
func (o *PermitUserPackDefault) IsServerError() bool
IsServerError returns true when this permit user pack default response has a 5xx status code
func (*PermitUserPackDefault) IsSuccess ¶
func (o *PermitUserPackDefault) IsSuccess() bool
IsSuccess returns true when this permit user pack default response has a 2xx status code
func (*PermitUserPackDefault) String ¶
func (o *PermitUserPackDefault) String() string
type PermitUserPackForbidden ¶
type PermitUserPackForbidden struct {
Payload *models.GeneralError
}
PermitUserPackForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitUserPackForbidden ¶
func NewPermitUserPackForbidden() *PermitUserPackForbidden
NewPermitUserPackForbidden creates a PermitUserPackForbidden with default headers values
func (*PermitUserPackForbidden) Code ¶
func (o *PermitUserPackForbidden) Code() int
Code gets the status code for the permit user pack forbidden response
func (*PermitUserPackForbidden) Error ¶
func (o *PermitUserPackForbidden) Error() string
func (*PermitUserPackForbidden) GetPayload ¶
func (o *PermitUserPackForbidden) GetPayload() *models.GeneralError
func (*PermitUserPackForbidden) IsClientError ¶
func (o *PermitUserPackForbidden) IsClientError() bool
IsClientError returns true when this permit user pack forbidden response has a 4xx status code
func (*PermitUserPackForbidden) IsCode ¶
func (o *PermitUserPackForbidden) IsCode(code int) bool
IsCode returns true when this permit user pack forbidden response a status code equal to that given
func (*PermitUserPackForbidden) IsRedirect ¶
func (o *PermitUserPackForbidden) IsRedirect() bool
IsRedirect returns true when this permit user pack forbidden response has a 3xx status code
func (*PermitUserPackForbidden) IsServerError ¶
func (o *PermitUserPackForbidden) IsServerError() bool
IsServerError returns true when this permit user pack forbidden response has a 5xx status code
func (*PermitUserPackForbidden) IsSuccess ¶
func (o *PermitUserPackForbidden) IsSuccess() bool
IsSuccess returns true when this permit user pack forbidden response has a 2xx status code
func (*PermitUserPackForbidden) String ¶
func (o *PermitUserPackForbidden) String() string
type PermitUserPackNotFound ¶
type PermitUserPackNotFound struct {
Payload *models.GeneralError
}
PermitUserPackNotFound describes a response with status code 404, with default header values.
User or pack not found
func NewPermitUserPackNotFound ¶
func NewPermitUserPackNotFound() *PermitUserPackNotFound
NewPermitUserPackNotFound creates a PermitUserPackNotFound with default headers values
func (*PermitUserPackNotFound) Code ¶
func (o *PermitUserPackNotFound) Code() int
Code gets the status code for the permit user pack not found response
func (*PermitUserPackNotFound) Error ¶
func (o *PermitUserPackNotFound) Error() string
func (*PermitUserPackNotFound) GetPayload ¶
func (o *PermitUserPackNotFound) GetPayload() *models.GeneralError
func (*PermitUserPackNotFound) IsClientError ¶
func (o *PermitUserPackNotFound) IsClientError() bool
IsClientError returns true when this permit user pack not found response has a 4xx status code
func (*PermitUserPackNotFound) IsCode ¶
func (o *PermitUserPackNotFound) IsCode(code int) bool
IsCode returns true when this permit user pack not found response a status code equal to that given
func (*PermitUserPackNotFound) IsRedirect ¶
func (o *PermitUserPackNotFound) IsRedirect() bool
IsRedirect returns true when this permit user pack not found response has a 3xx status code
func (*PermitUserPackNotFound) IsServerError ¶
func (o *PermitUserPackNotFound) IsServerError() bool
IsServerError returns true when this permit user pack not found response has a 5xx status code
func (*PermitUserPackNotFound) IsSuccess ¶
func (o *PermitUserPackNotFound) IsSuccess() bool
IsSuccess returns true when this permit user pack not found response has a 2xx status code
func (*PermitUserPackNotFound) String ¶
func (o *PermitUserPackNotFound) String() string
type PermitUserPackOK ¶
type PermitUserPackOK struct {
Payload *models.GeneralError
}
PermitUserPackOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitUserPackOK ¶
func NewPermitUserPackOK() *PermitUserPackOK
NewPermitUserPackOK creates a PermitUserPackOK with default headers values
func (*PermitUserPackOK) Code ¶
func (o *PermitUserPackOK) Code() int
Code gets the status code for the permit user pack o k response
func (*PermitUserPackOK) Error ¶
func (o *PermitUserPackOK) Error() string
func (*PermitUserPackOK) GetPayload ¶
func (o *PermitUserPackOK) GetPayload() *models.GeneralError
func (*PermitUserPackOK) IsClientError ¶
func (o *PermitUserPackOK) IsClientError() bool
IsClientError returns true when this permit user pack o k response has a 4xx status code
func (*PermitUserPackOK) IsCode ¶
func (o *PermitUserPackOK) IsCode(code int) bool
IsCode returns true when this permit user pack o k response a status code equal to that given
func (*PermitUserPackOK) IsRedirect ¶
func (o *PermitUserPackOK) IsRedirect() bool
IsRedirect returns true when this permit user pack o k response has a 3xx status code
func (*PermitUserPackOK) IsServerError ¶
func (o *PermitUserPackOK) IsServerError() bool
IsServerError returns true when this permit user pack o k response has a 5xx status code
func (*PermitUserPackOK) IsSuccess ¶
func (o *PermitUserPackOK) IsSuccess() bool
IsSuccess returns true when this permit user pack o k response has a 2xx status code
func (*PermitUserPackOK) String ¶
func (o *PermitUserPackOK) String() string
type PermitUserPackParams ¶
type PermitUserPackParams struct { /* UserID. A user UUID or slug */ UserID string /* UserPack. The user pack data to update */ UserPack *models.UserPackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitUserPackParams contains all the parameters to send to the API endpoint
for the permit user pack operation. Typically these are written to a http.Request.
func NewPermitUserPackParams ¶
func NewPermitUserPackParams() *PermitUserPackParams
NewPermitUserPackParams creates a new PermitUserPackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPermitUserPackParamsWithContext ¶
func NewPermitUserPackParamsWithContext(ctx context.Context) *PermitUserPackParams
NewPermitUserPackParamsWithContext creates a new PermitUserPackParams object with the ability to set a context for a request.
func NewPermitUserPackParamsWithHTTPClient ¶
func NewPermitUserPackParamsWithHTTPClient(client *http.Client) *PermitUserPackParams
NewPermitUserPackParamsWithHTTPClient creates a new PermitUserPackParams object with the ability to set a custom HTTPClient for a request.
func NewPermitUserPackParamsWithTimeout ¶
func NewPermitUserPackParamsWithTimeout(timeout time.Duration) *PermitUserPackParams
NewPermitUserPackParamsWithTimeout creates a new PermitUserPackParams object with the ability to set a timeout on a request.
func (*PermitUserPackParams) SetContext ¶
func (o *PermitUserPackParams) SetContext(ctx context.Context)
SetContext adds the context to the permit user pack params
func (*PermitUserPackParams) SetDefaults ¶
func (o *PermitUserPackParams) SetDefaults()
SetDefaults hydrates default values in the permit user pack params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserPackParams) SetHTTPClient ¶
func (o *PermitUserPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit user pack params
func (*PermitUserPackParams) SetTimeout ¶
func (o *PermitUserPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit user pack params
func (*PermitUserPackParams) SetUserID ¶
func (o *PermitUserPackParams) SetUserID(userID string)
SetUserID adds the userId to the permit user pack params
func (*PermitUserPackParams) SetUserPack ¶
func (o *PermitUserPackParams) SetUserPack(userPack *models.UserPackParams)
SetUserPack adds the userPack to the permit user pack params
func (*PermitUserPackParams) WithContext ¶
func (o *PermitUserPackParams) WithContext(ctx context.Context) *PermitUserPackParams
WithContext adds the context to the permit user pack params
func (*PermitUserPackParams) WithDefaults ¶
func (o *PermitUserPackParams) WithDefaults() *PermitUserPackParams
WithDefaults hydrates default values in the permit user pack params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserPackParams) WithHTTPClient ¶
func (o *PermitUserPackParams) WithHTTPClient(client *http.Client) *PermitUserPackParams
WithHTTPClient adds the HTTPClient to the permit user pack params
func (*PermitUserPackParams) WithTimeout ¶
func (o *PermitUserPackParams) WithTimeout(timeout time.Duration) *PermitUserPackParams
WithTimeout adds the timeout to the permit user pack params
func (*PermitUserPackParams) WithUserID ¶
func (o *PermitUserPackParams) WithUserID(userID string) *PermitUserPackParams
WithUserID adds the userID to the permit user pack params
func (*PermitUserPackParams) WithUserPack ¶
func (o *PermitUserPackParams) WithUserPack(userPack *models.UserPackParams) *PermitUserPackParams
WithUserPack adds the userPack to the permit user pack params
func (*PermitUserPackParams) WriteToRequest ¶
func (o *PermitUserPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitUserPackPreconditionFailed ¶
type PermitUserPackPreconditionFailed struct {
Payload *models.GeneralError
}
PermitUserPackPreconditionFailed describes a response with status code 412, with default header values.
Pack is not assigned
func NewPermitUserPackPreconditionFailed ¶
func NewPermitUserPackPreconditionFailed() *PermitUserPackPreconditionFailed
NewPermitUserPackPreconditionFailed creates a PermitUserPackPreconditionFailed with default headers values
func (*PermitUserPackPreconditionFailed) Code ¶
func (o *PermitUserPackPreconditionFailed) Code() int
Code gets the status code for the permit user pack precondition failed response
func (*PermitUserPackPreconditionFailed) Error ¶
func (o *PermitUserPackPreconditionFailed) Error() string
func (*PermitUserPackPreconditionFailed) GetPayload ¶
func (o *PermitUserPackPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitUserPackPreconditionFailed) IsClientError ¶
func (o *PermitUserPackPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit user pack precondition failed response has a 4xx status code
func (*PermitUserPackPreconditionFailed) IsCode ¶
func (o *PermitUserPackPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit user pack precondition failed response a status code equal to that given
func (*PermitUserPackPreconditionFailed) IsRedirect ¶
func (o *PermitUserPackPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit user pack precondition failed response has a 3xx status code
func (*PermitUserPackPreconditionFailed) IsServerError ¶
func (o *PermitUserPackPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit user pack precondition failed response has a 5xx status code
func (*PermitUserPackPreconditionFailed) IsSuccess ¶
func (o *PermitUserPackPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit user pack precondition failed response has a 2xx status code
func (*PermitUserPackPreconditionFailed) String ¶
func (o *PermitUserPackPreconditionFailed) String() string
type PermitUserPackReader ¶
type PermitUserPackReader struct {
// contains filtered or unexported fields
}
PermitUserPackReader is a Reader for the PermitUserPack structure.
func (*PermitUserPackReader) ReadResponse ¶
func (o *PermitUserPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitUserPackUnprocessableEntity ¶
type PermitUserPackUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitUserPackUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitUserPackUnprocessableEntity ¶
func NewPermitUserPackUnprocessableEntity() *PermitUserPackUnprocessableEntity
NewPermitUserPackUnprocessableEntity creates a PermitUserPackUnprocessableEntity with default headers values
func (*PermitUserPackUnprocessableEntity) Code ¶
func (o *PermitUserPackUnprocessableEntity) Code() int
Code gets the status code for the permit user pack unprocessable entity response
func (*PermitUserPackUnprocessableEntity) Error ¶
func (o *PermitUserPackUnprocessableEntity) Error() string
func (*PermitUserPackUnprocessableEntity) GetPayload ¶
func (o *PermitUserPackUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitUserPackUnprocessableEntity) IsClientError ¶
func (o *PermitUserPackUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit user pack unprocessable entity response has a 4xx status code
func (*PermitUserPackUnprocessableEntity) IsCode ¶
func (o *PermitUserPackUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit user pack unprocessable entity response a status code equal to that given
func (*PermitUserPackUnprocessableEntity) IsRedirect ¶
func (o *PermitUserPackUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit user pack unprocessable entity response has a 3xx status code
func (*PermitUserPackUnprocessableEntity) IsServerError ¶
func (o *PermitUserPackUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit user pack unprocessable entity response has a 5xx status code
func (*PermitUserPackUnprocessableEntity) IsSuccess ¶
func (o *PermitUserPackUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit user pack unprocessable entity response has a 2xx status code
func (*PermitUserPackUnprocessableEntity) String ¶
func (o *PermitUserPackUnprocessableEntity) String() string
type PermitUserTeamDefault ¶
type PermitUserTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitUserTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitUserTeamDefault ¶
func NewPermitUserTeamDefault(code int) *PermitUserTeamDefault
NewPermitUserTeamDefault creates a PermitUserTeamDefault with default headers values
func (*PermitUserTeamDefault) Code ¶
func (o *PermitUserTeamDefault) Code() int
Code gets the status code for the permit user team default response
func (*PermitUserTeamDefault) Error ¶
func (o *PermitUserTeamDefault) Error() string
func (*PermitUserTeamDefault) GetPayload ¶
func (o *PermitUserTeamDefault) GetPayload() *models.GeneralError
func (*PermitUserTeamDefault) IsClientError ¶
func (o *PermitUserTeamDefault) IsClientError() bool
IsClientError returns true when this permit user team default response has a 4xx status code
func (*PermitUserTeamDefault) IsCode ¶
func (o *PermitUserTeamDefault) IsCode(code int) bool
IsCode returns true when this permit user team default response a status code equal to that given
func (*PermitUserTeamDefault) IsRedirect ¶
func (o *PermitUserTeamDefault) IsRedirect() bool
IsRedirect returns true when this permit user team default response has a 3xx status code
func (*PermitUserTeamDefault) IsServerError ¶
func (o *PermitUserTeamDefault) IsServerError() bool
IsServerError returns true when this permit user team default response has a 5xx status code
func (*PermitUserTeamDefault) IsSuccess ¶
func (o *PermitUserTeamDefault) IsSuccess() bool
IsSuccess returns true when this permit user team default response has a 2xx status code
func (*PermitUserTeamDefault) String ¶
func (o *PermitUserTeamDefault) String() string
type PermitUserTeamForbidden ¶
type PermitUserTeamForbidden struct {
Payload *models.GeneralError
}
PermitUserTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitUserTeamForbidden ¶
func NewPermitUserTeamForbidden() *PermitUserTeamForbidden
NewPermitUserTeamForbidden creates a PermitUserTeamForbidden with default headers values
func (*PermitUserTeamForbidden) Code ¶
func (o *PermitUserTeamForbidden) Code() int
Code gets the status code for the permit user team forbidden response
func (*PermitUserTeamForbidden) Error ¶
func (o *PermitUserTeamForbidden) Error() string
func (*PermitUserTeamForbidden) GetPayload ¶
func (o *PermitUserTeamForbidden) GetPayload() *models.GeneralError
func (*PermitUserTeamForbidden) IsClientError ¶
func (o *PermitUserTeamForbidden) IsClientError() bool
IsClientError returns true when this permit user team forbidden response has a 4xx status code
func (*PermitUserTeamForbidden) IsCode ¶
func (o *PermitUserTeamForbidden) IsCode(code int) bool
IsCode returns true when this permit user team forbidden response a status code equal to that given
func (*PermitUserTeamForbidden) IsRedirect ¶
func (o *PermitUserTeamForbidden) IsRedirect() bool
IsRedirect returns true when this permit user team forbidden response has a 3xx status code
func (*PermitUserTeamForbidden) IsServerError ¶
func (o *PermitUserTeamForbidden) IsServerError() bool
IsServerError returns true when this permit user team forbidden response has a 5xx status code
func (*PermitUserTeamForbidden) IsSuccess ¶
func (o *PermitUserTeamForbidden) IsSuccess() bool
IsSuccess returns true when this permit user team forbidden response has a 2xx status code
func (*PermitUserTeamForbidden) String ¶
func (o *PermitUserTeamForbidden) String() string
type PermitUserTeamNotFound ¶
type PermitUserTeamNotFound struct {
Payload *models.GeneralError
}
PermitUserTeamNotFound describes a response with status code 404, with default header values.
User or team not found
func NewPermitUserTeamNotFound ¶
func NewPermitUserTeamNotFound() *PermitUserTeamNotFound
NewPermitUserTeamNotFound creates a PermitUserTeamNotFound with default headers values
func (*PermitUserTeamNotFound) Code ¶
func (o *PermitUserTeamNotFound) Code() int
Code gets the status code for the permit user team not found response
func (*PermitUserTeamNotFound) Error ¶
func (o *PermitUserTeamNotFound) Error() string
func (*PermitUserTeamNotFound) GetPayload ¶
func (o *PermitUserTeamNotFound) GetPayload() *models.GeneralError
func (*PermitUserTeamNotFound) IsClientError ¶
func (o *PermitUserTeamNotFound) IsClientError() bool
IsClientError returns true when this permit user team not found response has a 4xx status code
func (*PermitUserTeamNotFound) IsCode ¶
func (o *PermitUserTeamNotFound) IsCode(code int) bool
IsCode returns true when this permit user team not found response a status code equal to that given
func (*PermitUserTeamNotFound) IsRedirect ¶
func (o *PermitUserTeamNotFound) IsRedirect() bool
IsRedirect returns true when this permit user team not found response has a 3xx status code
func (*PermitUserTeamNotFound) IsServerError ¶
func (o *PermitUserTeamNotFound) IsServerError() bool
IsServerError returns true when this permit user team not found response has a 5xx status code
func (*PermitUserTeamNotFound) IsSuccess ¶
func (o *PermitUserTeamNotFound) IsSuccess() bool
IsSuccess returns true when this permit user team not found response has a 2xx status code
func (*PermitUserTeamNotFound) String ¶
func (o *PermitUserTeamNotFound) String() string
type PermitUserTeamOK ¶
type PermitUserTeamOK struct {
Payload *models.GeneralError
}
PermitUserTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitUserTeamOK ¶
func NewPermitUserTeamOK() *PermitUserTeamOK
NewPermitUserTeamOK creates a PermitUserTeamOK with default headers values
func (*PermitUserTeamOK) Code ¶
func (o *PermitUserTeamOK) Code() int
Code gets the status code for the permit user team o k response
func (*PermitUserTeamOK) Error ¶
func (o *PermitUserTeamOK) Error() string
func (*PermitUserTeamOK) GetPayload ¶
func (o *PermitUserTeamOK) GetPayload() *models.GeneralError
func (*PermitUserTeamOK) IsClientError ¶
func (o *PermitUserTeamOK) IsClientError() bool
IsClientError returns true when this permit user team o k response has a 4xx status code
func (*PermitUserTeamOK) IsCode ¶
func (o *PermitUserTeamOK) IsCode(code int) bool
IsCode returns true when this permit user team o k response a status code equal to that given
func (*PermitUserTeamOK) IsRedirect ¶
func (o *PermitUserTeamOK) IsRedirect() bool
IsRedirect returns true when this permit user team o k response has a 3xx status code
func (*PermitUserTeamOK) IsServerError ¶
func (o *PermitUserTeamOK) IsServerError() bool
IsServerError returns true when this permit user team o k response has a 5xx status code
func (*PermitUserTeamOK) IsSuccess ¶
func (o *PermitUserTeamOK) IsSuccess() bool
IsSuccess returns true when this permit user team o k response has a 2xx status code
func (*PermitUserTeamOK) String ¶
func (o *PermitUserTeamOK) String() string
type PermitUserTeamParams ¶
type PermitUserTeamParams struct { /* UserID. A user UUID or slug */ UserID string /* UserTeam. The user team data to update */ UserTeam *models.UserTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitUserTeamParams contains all the parameters to send to the API endpoint
for the permit user team operation. Typically these are written to a http.Request.
func NewPermitUserTeamParams ¶
func NewPermitUserTeamParams() *PermitUserTeamParams
NewPermitUserTeamParams creates a new PermitUserTeamParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPermitUserTeamParamsWithContext ¶
func NewPermitUserTeamParamsWithContext(ctx context.Context) *PermitUserTeamParams
NewPermitUserTeamParamsWithContext creates a new PermitUserTeamParams object with the ability to set a context for a request.
func NewPermitUserTeamParamsWithHTTPClient ¶
func NewPermitUserTeamParamsWithHTTPClient(client *http.Client) *PermitUserTeamParams
NewPermitUserTeamParamsWithHTTPClient creates a new PermitUserTeamParams object with the ability to set a custom HTTPClient for a request.
func NewPermitUserTeamParamsWithTimeout ¶
func NewPermitUserTeamParamsWithTimeout(timeout time.Duration) *PermitUserTeamParams
NewPermitUserTeamParamsWithTimeout creates a new PermitUserTeamParams object with the ability to set a timeout on a request.
func (*PermitUserTeamParams) SetContext ¶
func (o *PermitUserTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the permit user team params
func (*PermitUserTeamParams) SetDefaults ¶
func (o *PermitUserTeamParams) SetDefaults()
SetDefaults hydrates default values in the permit user team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserTeamParams) SetHTTPClient ¶
func (o *PermitUserTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit user team params
func (*PermitUserTeamParams) SetTimeout ¶
func (o *PermitUserTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit user team params
func (*PermitUserTeamParams) SetUserID ¶
func (o *PermitUserTeamParams) SetUserID(userID string)
SetUserID adds the userId to the permit user team params
func (*PermitUserTeamParams) SetUserTeam ¶
func (o *PermitUserTeamParams) SetUserTeam(userTeam *models.UserTeamParams)
SetUserTeam adds the userTeam to the permit user team params
func (*PermitUserTeamParams) WithContext ¶
func (o *PermitUserTeamParams) WithContext(ctx context.Context) *PermitUserTeamParams
WithContext adds the context to the permit user team params
func (*PermitUserTeamParams) WithDefaults ¶
func (o *PermitUserTeamParams) WithDefaults() *PermitUserTeamParams
WithDefaults hydrates default values in the permit user team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitUserTeamParams) WithHTTPClient ¶
func (o *PermitUserTeamParams) WithHTTPClient(client *http.Client) *PermitUserTeamParams
WithHTTPClient adds the HTTPClient to the permit user team params
func (*PermitUserTeamParams) WithTimeout ¶
func (o *PermitUserTeamParams) WithTimeout(timeout time.Duration) *PermitUserTeamParams
WithTimeout adds the timeout to the permit user team params
func (*PermitUserTeamParams) WithUserID ¶
func (o *PermitUserTeamParams) WithUserID(userID string) *PermitUserTeamParams
WithUserID adds the userID to the permit user team params
func (*PermitUserTeamParams) WithUserTeam ¶
func (o *PermitUserTeamParams) WithUserTeam(userTeam *models.UserTeamParams) *PermitUserTeamParams
WithUserTeam adds the userTeam to the permit user team params
func (*PermitUserTeamParams) WriteToRequest ¶
func (o *PermitUserTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitUserTeamPreconditionFailed ¶
type PermitUserTeamPreconditionFailed struct {
Payload *models.GeneralError
}
PermitUserTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewPermitUserTeamPreconditionFailed ¶
func NewPermitUserTeamPreconditionFailed() *PermitUserTeamPreconditionFailed
NewPermitUserTeamPreconditionFailed creates a PermitUserTeamPreconditionFailed with default headers values
func (*PermitUserTeamPreconditionFailed) Code ¶
func (o *PermitUserTeamPreconditionFailed) Code() int
Code gets the status code for the permit user team precondition failed response
func (*PermitUserTeamPreconditionFailed) Error ¶
func (o *PermitUserTeamPreconditionFailed) Error() string
func (*PermitUserTeamPreconditionFailed) GetPayload ¶
func (o *PermitUserTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitUserTeamPreconditionFailed) IsClientError ¶
func (o *PermitUserTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit user team precondition failed response has a 4xx status code
func (*PermitUserTeamPreconditionFailed) IsCode ¶
func (o *PermitUserTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit user team precondition failed response a status code equal to that given
func (*PermitUserTeamPreconditionFailed) IsRedirect ¶
func (o *PermitUserTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit user team precondition failed response has a 3xx status code
func (*PermitUserTeamPreconditionFailed) IsServerError ¶
func (o *PermitUserTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit user team precondition failed response has a 5xx status code
func (*PermitUserTeamPreconditionFailed) IsSuccess ¶
func (o *PermitUserTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit user team precondition failed response has a 2xx status code
func (*PermitUserTeamPreconditionFailed) String ¶
func (o *PermitUserTeamPreconditionFailed) String() string
type PermitUserTeamReader ¶
type PermitUserTeamReader struct {
// contains filtered or unexported fields
}
PermitUserTeamReader is a Reader for the PermitUserTeam structure.
func (*PermitUserTeamReader) ReadResponse ¶
func (o *PermitUserTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitUserTeamUnprocessableEntity ¶
type PermitUserTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitUserTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitUserTeamUnprocessableEntity ¶
func NewPermitUserTeamUnprocessableEntity() *PermitUserTeamUnprocessableEntity
NewPermitUserTeamUnprocessableEntity creates a PermitUserTeamUnprocessableEntity with default headers values
func (*PermitUserTeamUnprocessableEntity) Code ¶
func (o *PermitUserTeamUnprocessableEntity) Code() int
Code gets the status code for the permit user team unprocessable entity response
func (*PermitUserTeamUnprocessableEntity) Error ¶
func (o *PermitUserTeamUnprocessableEntity) Error() string
func (*PermitUserTeamUnprocessableEntity) GetPayload ¶
func (o *PermitUserTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitUserTeamUnprocessableEntity) IsClientError ¶
func (o *PermitUserTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit user team unprocessable entity response has a 4xx status code
func (*PermitUserTeamUnprocessableEntity) IsCode ¶
func (o *PermitUserTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit user team unprocessable entity response a status code equal to that given
func (*PermitUserTeamUnprocessableEntity) IsRedirect ¶
func (o *PermitUserTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit user team unprocessable entity response has a 3xx status code
func (*PermitUserTeamUnprocessableEntity) IsServerError ¶
func (o *PermitUserTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit user team unprocessable entity response has a 5xx status code
func (*PermitUserTeamUnprocessableEntity) IsSuccess ¶
func (o *PermitUserTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit user team unprocessable entity response has a 2xx status code
func (*PermitUserTeamUnprocessableEntity) String ¶
func (o *PermitUserTeamUnprocessableEntity) String() string
type ShowUserDefault ¶
type ShowUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ShowUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewShowUserDefault ¶
func NewShowUserDefault(code int) *ShowUserDefault
NewShowUserDefault creates a ShowUserDefault with default headers values
func (*ShowUserDefault) Code ¶
func (o *ShowUserDefault) Code() int
Code gets the status code for the show user default response
func (*ShowUserDefault) Error ¶
func (o *ShowUserDefault) Error() string
func (*ShowUserDefault) GetPayload ¶
func (o *ShowUserDefault) GetPayload() *models.GeneralError
func (*ShowUserDefault) IsClientError ¶
func (o *ShowUserDefault) IsClientError() bool
IsClientError returns true when this show user default response has a 4xx status code
func (*ShowUserDefault) IsCode ¶
func (o *ShowUserDefault) IsCode(code int) bool
IsCode returns true when this show user default response a status code equal to that given
func (*ShowUserDefault) IsRedirect ¶
func (o *ShowUserDefault) IsRedirect() bool
IsRedirect returns true when this show user default response has a 3xx status code
func (*ShowUserDefault) IsServerError ¶
func (o *ShowUserDefault) IsServerError() bool
IsServerError returns true when this show user default response has a 5xx status code
func (*ShowUserDefault) IsSuccess ¶
func (o *ShowUserDefault) IsSuccess() bool
IsSuccess returns true when this show user default response has a 2xx status code
func (*ShowUserDefault) String ¶
func (o *ShowUserDefault) String() string
type ShowUserForbidden ¶
type ShowUserForbidden struct {
Payload *models.GeneralError
}
ShowUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewShowUserForbidden ¶
func NewShowUserForbidden() *ShowUserForbidden
NewShowUserForbidden creates a ShowUserForbidden with default headers values
func (*ShowUserForbidden) Code ¶
func (o *ShowUserForbidden) Code() int
Code gets the status code for the show user forbidden response
func (*ShowUserForbidden) Error ¶
func (o *ShowUserForbidden) Error() string
func (*ShowUserForbidden) GetPayload ¶
func (o *ShowUserForbidden) GetPayload() *models.GeneralError
func (*ShowUserForbidden) IsClientError ¶
func (o *ShowUserForbidden) IsClientError() bool
IsClientError returns true when this show user forbidden response has a 4xx status code
func (*ShowUserForbidden) IsCode ¶
func (o *ShowUserForbidden) IsCode(code int) bool
IsCode returns true when this show user forbidden response a status code equal to that given
func (*ShowUserForbidden) IsRedirect ¶
func (o *ShowUserForbidden) IsRedirect() bool
IsRedirect returns true when this show user forbidden response has a 3xx status code
func (*ShowUserForbidden) IsServerError ¶
func (o *ShowUserForbidden) IsServerError() bool
IsServerError returns true when this show user forbidden response has a 5xx status code
func (*ShowUserForbidden) IsSuccess ¶
func (o *ShowUserForbidden) IsSuccess() bool
IsSuccess returns true when this show user forbidden response has a 2xx status code
func (*ShowUserForbidden) String ¶
func (o *ShowUserForbidden) String() string
type ShowUserNotFound ¶
type ShowUserNotFound struct {
Payload *models.GeneralError
}
ShowUserNotFound describes a response with status code 404, with default header values.
User not found
func NewShowUserNotFound ¶
func NewShowUserNotFound() *ShowUserNotFound
NewShowUserNotFound creates a ShowUserNotFound with default headers values
func (*ShowUserNotFound) Code ¶
func (o *ShowUserNotFound) Code() int
Code gets the status code for the show user not found response
func (*ShowUserNotFound) Error ¶
func (o *ShowUserNotFound) Error() string
func (*ShowUserNotFound) GetPayload ¶
func (o *ShowUserNotFound) GetPayload() *models.GeneralError
func (*ShowUserNotFound) IsClientError ¶
func (o *ShowUserNotFound) IsClientError() bool
IsClientError returns true when this show user not found response has a 4xx status code
func (*ShowUserNotFound) IsCode ¶
func (o *ShowUserNotFound) IsCode(code int) bool
IsCode returns true when this show user not found response a status code equal to that given
func (*ShowUserNotFound) IsRedirect ¶
func (o *ShowUserNotFound) IsRedirect() bool
IsRedirect returns true when this show user not found response has a 3xx status code
func (*ShowUserNotFound) IsServerError ¶
func (o *ShowUserNotFound) IsServerError() bool
IsServerError returns true when this show user not found response has a 5xx status code
func (*ShowUserNotFound) IsSuccess ¶
func (o *ShowUserNotFound) IsSuccess() bool
IsSuccess returns true when this show user not found response has a 2xx status code
func (*ShowUserNotFound) String ¶
func (o *ShowUserNotFound) String() string
type ShowUserOK ¶
ShowUserOK describes a response with status code 200, with default header values.
The fetched user details
func NewShowUserOK ¶
func NewShowUserOK() *ShowUserOK
NewShowUserOK creates a ShowUserOK with default headers values
func (*ShowUserOK) Code ¶
func (o *ShowUserOK) Code() int
Code gets the status code for the show user o k response
func (*ShowUserOK) Error ¶
func (o *ShowUserOK) Error() string
func (*ShowUserOK) GetPayload ¶
func (o *ShowUserOK) GetPayload() *models.User
func (*ShowUserOK) IsClientError ¶
func (o *ShowUserOK) IsClientError() bool
IsClientError returns true when this show user o k response has a 4xx status code
func (*ShowUserOK) IsCode ¶
func (o *ShowUserOK) IsCode(code int) bool
IsCode returns true when this show user o k response a status code equal to that given
func (*ShowUserOK) IsRedirect ¶
func (o *ShowUserOK) IsRedirect() bool
IsRedirect returns true when this show user o k response has a 3xx status code
func (*ShowUserOK) IsServerError ¶
func (o *ShowUserOK) IsServerError() bool
IsServerError returns true when this show user o k response has a 5xx status code
func (*ShowUserOK) IsSuccess ¶
func (o *ShowUserOK) IsSuccess() bool
IsSuccess returns true when this show user o k response has a 2xx status code
func (*ShowUserOK) String ¶
func (o *ShowUserOK) String() string
type ShowUserParams ¶
type ShowUserParams struct { /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowUserParams contains all the parameters to send to the API endpoint
for the show user operation. Typically these are written to a http.Request.
func NewShowUserParams ¶
func NewShowUserParams() *ShowUserParams
NewShowUserParams creates a new ShowUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewShowUserParamsWithContext ¶
func NewShowUserParamsWithContext(ctx context.Context) *ShowUserParams
NewShowUserParamsWithContext creates a new ShowUserParams object with the ability to set a context for a request.
func NewShowUserParamsWithHTTPClient ¶
func NewShowUserParamsWithHTTPClient(client *http.Client) *ShowUserParams
NewShowUserParamsWithHTTPClient creates a new ShowUserParams object with the ability to set a custom HTTPClient for a request.
func NewShowUserParamsWithTimeout ¶
func NewShowUserParamsWithTimeout(timeout time.Duration) *ShowUserParams
NewShowUserParamsWithTimeout creates a new ShowUserParams object with the ability to set a timeout on a request.
func (*ShowUserParams) SetContext ¶
func (o *ShowUserParams) SetContext(ctx context.Context)
SetContext adds the context to the show user params
func (*ShowUserParams) SetDefaults ¶
func (o *ShowUserParams) SetDefaults()
SetDefaults hydrates default values in the show user params (not the query body).
All values with no default are reset to their zero value.
func (*ShowUserParams) SetHTTPClient ¶
func (o *ShowUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show user params
func (*ShowUserParams) SetTimeout ¶
func (o *ShowUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show user params
func (*ShowUserParams) SetUserID ¶
func (o *ShowUserParams) SetUserID(userID string)
SetUserID adds the userId to the show user params
func (*ShowUserParams) WithContext ¶
func (o *ShowUserParams) WithContext(ctx context.Context) *ShowUserParams
WithContext adds the context to the show user params
func (*ShowUserParams) WithDefaults ¶
func (o *ShowUserParams) WithDefaults() *ShowUserParams
WithDefaults hydrates default values in the show user params (not the query body).
All values with no default are reset to their zero value.
func (*ShowUserParams) WithHTTPClient ¶
func (o *ShowUserParams) WithHTTPClient(client *http.Client) *ShowUserParams
WithHTTPClient adds the HTTPClient to the show user params
func (*ShowUserParams) WithTimeout ¶
func (o *ShowUserParams) WithTimeout(timeout time.Duration) *ShowUserParams
WithTimeout adds the timeout to the show user params
func (*ShowUserParams) WithUserID ¶
func (o *ShowUserParams) WithUserID(userID string) *ShowUserParams
WithUserID adds the userID to the show user params
func (*ShowUserParams) WriteToRequest ¶
func (o *ShowUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowUserReader ¶
type ShowUserReader struct {
// contains filtered or unexported fields
}
ShowUserReader is a Reader for the ShowUser structure.
func (*ShowUserReader) ReadResponse ¶
func (o *ShowUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserDefault ¶
type UpdateUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
UpdateUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewUpdateUserDefault ¶
func NewUpdateUserDefault(code int) *UpdateUserDefault
NewUpdateUserDefault creates a UpdateUserDefault with default headers values
func (*UpdateUserDefault) Code ¶
func (o *UpdateUserDefault) Code() int
Code gets the status code for the update user default response
func (*UpdateUserDefault) Error ¶
func (o *UpdateUserDefault) Error() string
func (*UpdateUserDefault) GetPayload ¶
func (o *UpdateUserDefault) GetPayload() *models.GeneralError
func (*UpdateUserDefault) IsClientError ¶
func (o *UpdateUserDefault) IsClientError() bool
IsClientError returns true when this update user default response has a 4xx status code
func (*UpdateUserDefault) IsCode ¶
func (o *UpdateUserDefault) IsCode(code int) bool
IsCode returns true when this update user default response a status code equal to that given
func (*UpdateUserDefault) IsRedirect ¶
func (o *UpdateUserDefault) IsRedirect() bool
IsRedirect returns true when this update user default response has a 3xx status code
func (*UpdateUserDefault) IsServerError ¶
func (o *UpdateUserDefault) IsServerError() bool
IsServerError returns true when this update user default response has a 5xx status code
func (*UpdateUserDefault) IsSuccess ¶
func (o *UpdateUserDefault) IsSuccess() bool
IsSuccess returns true when this update user default response has a 2xx status code
func (*UpdateUserDefault) String ¶
func (o *UpdateUserDefault) String() string
type UpdateUserForbidden ¶
type UpdateUserForbidden struct {
Payload *models.GeneralError
}
UpdateUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewUpdateUserForbidden ¶
func NewUpdateUserForbidden() *UpdateUserForbidden
NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values
func (*UpdateUserForbidden) Code ¶
func (o *UpdateUserForbidden) Code() int
Code gets the status code for the update user forbidden response
func (*UpdateUserForbidden) Error ¶
func (o *UpdateUserForbidden) Error() string
func (*UpdateUserForbidden) GetPayload ¶
func (o *UpdateUserForbidden) GetPayload() *models.GeneralError
func (*UpdateUserForbidden) IsClientError ¶
func (o *UpdateUserForbidden) IsClientError() bool
IsClientError returns true when this update user forbidden response has a 4xx status code
func (*UpdateUserForbidden) IsCode ¶
func (o *UpdateUserForbidden) IsCode(code int) bool
IsCode returns true when this update user forbidden response a status code equal to that given
func (*UpdateUserForbidden) IsRedirect ¶
func (o *UpdateUserForbidden) IsRedirect() bool
IsRedirect returns true when this update user forbidden response has a 3xx status code
func (*UpdateUserForbidden) IsServerError ¶
func (o *UpdateUserForbidden) IsServerError() bool
IsServerError returns true when this update user forbidden response has a 5xx status code
func (*UpdateUserForbidden) IsSuccess ¶
func (o *UpdateUserForbidden) IsSuccess() bool
IsSuccess returns true when this update user forbidden response has a 2xx status code
func (*UpdateUserForbidden) String ¶
func (o *UpdateUserForbidden) String() string
type UpdateUserNotFound ¶
type UpdateUserNotFound struct {
Payload *models.GeneralError
}
UpdateUserNotFound describes a response with status code 404, with default header values.
User not found
func NewUpdateUserNotFound ¶
func NewUpdateUserNotFound() *UpdateUserNotFound
NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values
func (*UpdateUserNotFound) Code ¶
func (o *UpdateUserNotFound) Code() int
Code gets the status code for the update user not found response
func (*UpdateUserNotFound) Error ¶
func (o *UpdateUserNotFound) Error() string
func (*UpdateUserNotFound) GetPayload ¶
func (o *UpdateUserNotFound) GetPayload() *models.GeneralError
func (*UpdateUserNotFound) IsClientError ¶
func (o *UpdateUserNotFound) IsClientError() bool
IsClientError returns true when this update user not found response has a 4xx status code
func (*UpdateUserNotFound) IsCode ¶
func (o *UpdateUserNotFound) IsCode(code int) bool
IsCode returns true when this update user not found response a status code equal to that given
func (*UpdateUserNotFound) IsRedirect ¶
func (o *UpdateUserNotFound) IsRedirect() bool
IsRedirect returns true when this update user not found response has a 3xx status code
func (*UpdateUserNotFound) IsServerError ¶
func (o *UpdateUserNotFound) IsServerError() bool
IsServerError returns true when this update user not found response has a 5xx status code
func (*UpdateUserNotFound) IsSuccess ¶
func (o *UpdateUserNotFound) IsSuccess() bool
IsSuccess returns true when this update user not found response has a 2xx status code
func (*UpdateUserNotFound) String ¶
func (o *UpdateUserNotFound) String() string
type UpdateUserOK ¶
UpdateUserOK describes a response with status code 200, with default header values.
The updated user details
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Code ¶
func (o *UpdateUserOK) Code() int
Code gets the status code for the update user o k response
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() *models.User
func (*UpdateUserOK) IsClientError ¶
func (o *UpdateUserOK) IsClientError() bool
IsClientError returns true when this update user o k response has a 4xx status code
func (*UpdateUserOK) IsCode ¶
func (o *UpdateUserOK) IsCode(code int) bool
IsCode returns true when this update user o k response a status code equal to that given
func (*UpdateUserOK) IsRedirect ¶
func (o *UpdateUserOK) IsRedirect() bool
IsRedirect returns true when this update user o k response has a 3xx status code
func (*UpdateUserOK) IsServerError ¶
func (o *UpdateUserOK) IsServerError() bool
IsServerError returns true when this update user o k response has a 5xx status code
func (*UpdateUserOK) IsSuccess ¶
func (o *UpdateUserOK) IsSuccess() bool
IsSuccess returns true when this update user o k response has a 2xx status code
func (*UpdateUserOK) String ¶
func (o *UpdateUserOK) String() string
type UpdateUserParams ¶
type UpdateUserParams struct { /* User. The user data to update */ User *models.User /* UserID. A user UUID or slug */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserParams contains all the parameters to send to the API endpoint
for the update user operation. Typically these are written to a http.Request.
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams creates a new UpdateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUserParamsWithContext ¶
func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams
NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.
func NewUpdateUserParamsWithHTTPClient ¶
func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams
NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserParamsWithTimeout ¶
func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams
NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.
func (*UpdateUserParams) SetContext ¶
func (o *UpdateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update user params
func (*UpdateUserParams) SetDefaults ¶
func (o *UpdateUserParams) SetDefaults()
SetDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) SetHTTPClient ¶
func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) SetUser ¶
func (o *UpdateUserParams) SetUser(user *models.User)
SetUser adds the user to the update user params
func (*UpdateUserParams) SetUserID ¶
func (o *UpdateUserParams) SetUserID(userID string)
SetUserID adds the userId to the update user params
func (*UpdateUserParams) WithContext ¶
func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
WithContext adds the context to the update user params
func (*UpdateUserParams) WithDefaults ¶
func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
WithDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) WithHTTPClient ¶
func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
WithHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) WithTimeout ¶
func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
WithTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithUser ¶
func (o *UpdateUserParams) WithUser(user *models.User) *UpdateUserParams
WithUser adds the user to the update user params
func (*UpdateUserParams) WithUserID ¶
func (o *UpdateUserParams) WithUserID(userID string) *UpdateUserParams
WithUserID adds the userID to the update user params
func (*UpdateUserParams) WriteToRequest ¶
func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserReader ¶
type UpdateUserReader struct {
// contains filtered or unexported fields
}
UpdateUserReader is a Reader for the UpdateUser structure.
func (*UpdateUserReader) ReadResponse ¶
func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserUnprocessableEntity ¶
type UpdateUserUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewUpdateUserUnprocessableEntity ¶
func NewUpdateUserUnprocessableEntity() *UpdateUserUnprocessableEntity
NewUpdateUserUnprocessableEntity creates a UpdateUserUnprocessableEntity with default headers values
func (*UpdateUserUnprocessableEntity) Code ¶
func (o *UpdateUserUnprocessableEntity) Code() int
Code gets the status code for the update user unprocessable entity response
func (*UpdateUserUnprocessableEntity) Error ¶
func (o *UpdateUserUnprocessableEntity) Error() string
func (*UpdateUserUnprocessableEntity) GetPayload ¶
func (o *UpdateUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdateUserUnprocessableEntity) IsClientError ¶
func (o *UpdateUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update user unprocessable entity response has a 4xx status code
func (*UpdateUserUnprocessableEntity) IsCode ¶
func (o *UpdateUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update user unprocessable entity response a status code equal to that given
func (*UpdateUserUnprocessableEntity) IsRedirect ¶
func (o *UpdateUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update user unprocessable entity response has a 3xx status code
func (*UpdateUserUnprocessableEntity) IsServerError ¶
func (o *UpdateUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update user unprocessable entity response has a 5xx status code
func (*UpdateUserUnprocessableEntity) IsSuccess ¶
func (o *UpdateUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update user unprocessable entity response has a 2xx status code
func (*UpdateUserUnprocessableEntity) String ¶
func (o *UpdateUserUnprocessableEntity) String() string
Source Files ¶
- attach_user_to_mod_parameters.go
- attach_user_to_mod_responses.go
- attach_user_to_pack_parameters.go
- attach_user_to_pack_responses.go
- attach_user_to_team_parameters.go
- attach_user_to_team_responses.go
- create_user_parameters.go
- create_user_responses.go
- delete_user_from_mod_parameters.go
- delete_user_from_mod_responses.go
- delete_user_from_pack_parameters.go
- delete_user_from_pack_responses.go
- delete_user_from_team_parameters.go
- delete_user_from_team_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- list_user_mods_parameters.go
- list_user_mods_responses.go
- list_user_packs_parameters.go
- list_user_packs_responses.go
- list_user_teams_parameters.go
- list_user_teams_responses.go
- list_users_parameters.go
- list_users_responses.go
- permit_user_mod_parameters.go
- permit_user_mod_responses.go
- permit_user_pack_parameters.go
- permit_user_pack_responses.go
- permit_user_team_parameters.go
- permit_user_team_responses.go
- show_user_parameters.go
- show_user_responses.go
- update_user_parameters.go
- update_user_responses.go
- user_client.go