Documentation ¶
Index ¶
- type AppendVersionToBuildDefault
- func (o *AppendVersionToBuildDefault) Code() int
- func (o *AppendVersionToBuildDefault) Error() string
- func (o *AppendVersionToBuildDefault) GetPayload() *models.GeneralError
- func (o *AppendVersionToBuildDefault) IsClientError() bool
- func (o *AppendVersionToBuildDefault) IsCode(code int) bool
- func (o *AppendVersionToBuildDefault) IsRedirect() bool
- func (o *AppendVersionToBuildDefault) IsServerError() bool
- func (o *AppendVersionToBuildDefault) IsSuccess() bool
- func (o *AppendVersionToBuildDefault) String() string
- type AppendVersionToBuildForbidden
- func (o *AppendVersionToBuildForbidden) Code() int
- func (o *AppendVersionToBuildForbidden) Error() string
- func (o *AppendVersionToBuildForbidden) GetPayload() *models.GeneralError
- func (o *AppendVersionToBuildForbidden) IsClientError() bool
- func (o *AppendVersionToBuildForbidden) IsCode(code int) bool
- func (o *AppendVersionToBuildForbidden) IsRedirect() bool
- func (o *AppendVersionToBuildForbidden) IsServerError() bool
- func (o *AppendVersionToBuildForbidden) IsSuccess() bool
- func (o *AppendVersionToBuildForbidden) String() string
- type AppendVersionToBuildNotFound
- func (o *AppendVersionToBuildNotFound) Code() int
- func (o *AppendVersionToBuildNotFound) Error() string
- func (o *AppendVersionToBuildNotFound) GetPayload() *models.GeneralError
- func (o *AppendVersionToBuildNotFound) IsClientError() bool
- func (o *AppendVersionToBuildNotFound) IsCode(code int) bool
- func (o *AppendVersionToBuildNotFound) IsRedirect() bool
- func (o *AppendVersionToBuildNotFound) IsServerError() bool
- func (o *AppendVersionToBuildNotFound) IsSuccess() bool
- func (o *AppendVersionToBuildNotFound) String() string
- type AppendVersionToBuildOK
- func (o *AppendVersionToBuildOK) Code() int
- func (o *AppendVersionToBuildOK) Error() string
- func (o *AppendVersionToBuildOK) GetPayload() *models.GeneralError
- func (o *AppendVersionToBuildOK) IsClientError() bool
- func (o *AppendVersionToBuildOK) IsCode(code int) bool
- func (o *AppendVersionToBuildOK) IsRedirect() bool
- func (o *AppendVersionToBuildOK) IsServerError() bool
- func (o *AppendVersionToBuildOK) IsSuccess() bool
- func (o *AppendVersionToBuildOK) String() string
- type AppendVersionToBuildParams
- func NewAppendVersionToBuildParams() *AppendVersionToBuildParams
- func NewAppendVersionToBuildParamsWithContext(ctx context.Context) *AppendVersionToBuildParams
- func NewAppendVersionToBuildParamsWithHTTPClient(client *http.Client) *AppendVersionToBuildParams
- func NewAppendVersionToBuildParamsWithTimeout(timeout time.Duration) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) SetContext(ctx context.Context)
- func (o *AppendVersionToBuildParams) SetDefaults()
- func (o *AppendVersionToBuildParams) SetHTTPClient(client *http.Client)
- func (o *AppendVersionToBuildParams) SetModID(modID string)
- func (o *AppendVersionToBuildParams) SetTimeout(timeout time.Duration)
- func (o *AppendVersionToBuildParams) SetVersionBuild(versionBuild *models.VersionBuildParams)
- func (o *AppendVersionToBuildParams) SetVersionID(versionID string)
- func (o *AppendVersionToBuildParams) WithContext(ctx context.Context) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithDefaults() *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithHTTPClient(client *http.Client) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithModID(modID string) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithTimeout(timeout time.Duration) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithVersionBuild(versionBuild *models.VersionBuildParams) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WithVersionID(versionID string) *AppendVersionToBuildParams
- func (o *AppendVersionToBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AppendVersionToBuildPreconditionFailed
- func (o *AppendVersionToBuildPreconditionFailed) Code() int
- func (o *AppendVersionToBuildPreconditionFailed) Error() string
- func (o *AppendVersionToBuildPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AppendVersionToBuildPreconditionFailed) IsClientError() bool
- func (o *AppendVersionToBuildPreconditionFailed) IsCode(code int) bool
- func (o *AppendVersionToBuildPreconditionFailed) IsRedirect() bool
- func (o *AppendVersionToBuildPreconditionFailed) IsServerError() bool
- func (o *AppendVersionToBuildPreconditionFailed) IsSuccess() bool
- func (o *AppendVersionToBuildPreconditionFailed) String() string
- type AppendVersionToBuildReader
- type AppendVersionToBuildUnprocessableEntity
- func (o *AppendVersionToBuildUnprocessableEntity) Code() int
- func (o *AppendVersionToBuildUnprocessableEntity) Error() string
- func (o *AppendVersionToBuildUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AppendVersionToBuildUnprocessableEntity) IsClientError() bool
- func (o *AppendVersionToBuildUnprocessableEntity) IsCode(code int) bool
- func (o *AppendVersionToBuildUnprocessableEntity) IsRedirect() bool
- func (o *AppendVersionToBuildUnprocessableEntity) IsServerError() bool
- func (o *AppendVersionToBuildUnprocessableEntity) IsSuccess() bool
- func (o *AppendVersionToBuildUnprocessableEntity) String() string
- type AttachModToTeamDefault
- func (o *AttachModToTeamDefault) Code() int
- func (o *AttachModToTeamDefault) Error() string
- func (o *AttachModToTeamDefault) GetPayload() *models.GeneralError
- func (o *AttachModToTeamDefault) IsClientError() bool
- func (o *AttachModToTeamDefault) IsCode(code int) bool
- func (o *AttachModToTeamDefault) IsRedirect() bool
- func (o *AttachModToTeamDefault) IsServerError() bool
- func (o *AttachModToTeamDefault) IsSuccess() bool
- func (o *AttachModToTeamDefault) String() string
- type AttachModToTeamForbidden
- func (o *AttachModToTeamForbidden) Code() int
- func (o *AttachModToTeamForbidden) Error() string
- func (o *AttachModToTeamForbidden) GetPayload() *models.GeneralError
- func (o *AttachModToTeamForbidden) IsClientError() bool
- func (o *AttachModToTeamForbidden) IsCode(code int) bool
- func (o *AttachModToTeamForbidden) IsRedirect() bool
- func (o *AttachModToTeamForbidden) IsServerError() bool
- func (o *AttachModToTeamForbidden) IsSuccess() bool
- func (o *AttachModToTeamForbidden) String() string
- type AttachModToTeamNotFound
- func (o *AttachModToTeamNotFound) Code() int
- func (o *AttachModToTeamNotFound) Error() string
- func (o *AttachModToTeamNotFound) GetPayload() *models.GeneralError
- func (o *AttachModToTeamNotFound) IsClientError() bool
- func (o *AttachModToTeamNotFound) IsCode(code int) bool
- func (o *AttachModToTeamNotFound) IsRedirect() bool
- func (o *AttachModToTeamNotFound) IsServerError() bool
- func (o *AttachModToTeamNotFound) IsSuccess() bool
- func (o *AttachModToTeamNotFound) String() string
- type AttachModToTeamOK
- func (o *AttachModToTeamOK) Code() int
- func (o *AttachModToTeamOK) Error() string
- func (o *AttachModToTeamOK) GetPayload() *models.GeneralError
- func (o *AttachModToTeamOK) IsClientError() bool
- func (o *AttachModToTeamOK) IsCode(code int) bool
- func (o *AttachModToTeamOK) IsRedirect() bool
- func (o *AttachModToTeamOK) IsServerError() bool
- func (o *AttachModToTeamOK) IsSuccess() bool
- func (o *AttachModToTeamOK) String() string
- type AttachModToTeamParams
- func NewAttachModToTeamParams() *AttachModToTeamParams
- func NewAttachModToTeamParamsWithContext(ctx context.Context) *AttachModToTeamParams
- func NewAttachModToTeamParamsWithHTTPClient(client *http.Client) *AttachModToTeamParams
- func NewAttachModToTeamParamsWithTimeout(timeout time.Duration) *AttachModToTeamParams
- func (o *AttachModToTeamParams) SetContext(ctx context.Context)
- func (o *AttachModToTeamParams) SetDefaults()
- func (o *AttachModToTeamParams) SetHTTPClient(client *http.Client)
- func (o *AttachModToTeamParams) SetModID(modID string)
- func (o *AttachModToTeamParams) SetModTeam(modTeam *models.ModTeamParams)
- func (o *AttachModToTeamParams) SetTimeout(timeout time.Duration)
- func (o *AttachModToTeamParams) WithContext(ctx context.Context) *AttachModToTeamParams
- func (o *AttachModToTeamParams) WithDefaults() *AttachModToTeamParams
- func (o *AttachModToTeamParams) WithHTTPClient(client *http.Client) *AttachModToTeamParams
- func (o *AttachModToTeamParams) WithModID(modID string) *AttachModToTeamParams
- func (o *AttachModToTeamParams) WithModTeam(modTeam *models.ModTeamParams) *AttachModToTeamParams
- func (o *AttachModToTeamParams) WithTimeout(timeout time.Duration) *AttachModToTeamParams
- func (o *AttachModToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachModToTeamPreconditionFailed
- func (o *AttachModToTeamPreconditionFailed) Code() int
- func (o *AttachModToTeamPreconditionFailed) Error() string
- func (o *AttachModToTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachModToTeamPreconditionFailed) IsClientError() bool
- func (o *AttachModToTeamPreconditionFailed) IsCode(code int) bool
- func (o *AttachModToTeamPreconditionFailed) IsRedirect() bool
- func (o *AttachModToTeamPreconditionFailed) IsServerError() bool
- func (o *AttachModToTeamPreconditionFailed) IsSuccess() bool
- func (o *AttachModToTeamPreconditionFailed) String() string
- type AttachModToTeamReader
- type AttachModToTeamUnprocessableEntity
- func (o *AttachModToTeamUnprocessableEntity) Code() int
- func (o *AttachModToTeamUnprocessableEntity) Error() string
- func (o *AttachModToTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachModToTeamUnprocessableEntity) IsClientError() bool
- func (o *AttachModToTeamUnprocessableEntity) IsCode(code int) bool
- func (o *AttachModToTeamUnprocessableEntity) IsRedirect() bool
- func (o *AttachModToTeamUnprocessableEntity) IsServerError() bool
- func (o *AttachModToTeamUnprocessableEntity) IsSuccess() bool
- func (o *AttachModToTeamUnprocessableEntity) String() string
- type AttachModToUserDefault
- func (o *AttachModToUserDefault) Code() int
- func (o *AttachModToUserDefault) Error() string
- func (o *AttachModToUserDefault) GetPayload() *models.GeneralError
- func (o *AttachModToUserDefault) IsClientError() bool
- func (o *AttachModToUserDefault) IsCode(code int) bool
- func (o *AttachModToUserDefault) IsRedirect() bool
- func (o *AttachModToUserDefault) IsServerError() bool
- func (o *AttachModToUserDefault) IsSuccess() bool
- func (o *AttachModToUserDefault) String() string
- type AttachModToUserForbidden
- func (o *AttachModToUserForbidden) Code() int
- func (o *AttachModToUserForbidden) Error() string
- func (o *AttachModToUserForbidden) GetPayload() *models.GeneralError
- func (o *AttachModToUserForbidden) IsClientError() bool
- func (o *AttachModToUserForbidden) IsCode(code int) bool
- func (o *AttachModToUserForbidden) IsRedirect() bool
- func (o *AttachModToUserForbidden) IsServerError() bool
- func (o *AttachModToUserForbidden) IsSuccess() bool
- func (o *AttachModToUserForbidden) String() string
- type AttachModToUserNotFound
- func (o *AttachModToUserNotFound) Code() int
- func (o *AttachModToUserNotFound) Error() string
- func (o *AttachModToUserNotFound) GetPayload() *models.GeneralError
- func (o *AttachModToUserNotFound) IsClientError() bool
- func (o *AttachModToUserNotFound) IsCode(code int) bool
- func (o *AttachModToUserNotFound) IsRedirect() bool
- func (o *AttachModToUserNotFound) IsServerError() bool
- func (o *AttachModToUserNotFound) IsSuccess() bool
- func (o *AttachModToUserNotFound) String() string
- type AttachModToUserOK
- func (o *AttachModToUserOK) Code() int
- func (o *AttachModToUserOK) Error() string
- func (o *AttachModToUserOK) GetPayload() *models.GeneralError
- func (o *AttachModToUserOK) IsClientError() bool
- func (o *AttachModToUserOK) IsCode(code int) bool
- func (o *AttachModToUserOK) IsRedirect() bool
- func (o *AttachModToUserOK) IsServerError() bool
- func (o *AttachModToUserOK) IsSuccess() bool
- func (o *AttachModToUserOK) String() string
- type AttachModToUserParams
- func NewAttachModToUserParams() *AttachModToUserParams
- func NewAttachModToUserParamsWithContext(ctx context.Context) *AttachModToUserParams
- func NewAttachModToUserParamsWithHTTPClient(client *http.Client) *AttachModToUserParams
- func NewAttachModToUserParamsWithTimeout(timeout time.Duration) *AttachModToUserParams
- func (o *AttachModToUserParams) SetContext(ctx context.Context)
- func (o *AttachModToUserParams) SetDefaults()
- func (o *AttachModToUserParams) SetHTTPClient(client *http.Client)
- func (o *AttachModToUserParams) SetModID(modID string)
- func (o *AttachModToUserParams) SetModUser(modUser *models.ModUserParams)
- func (o *AttachModToUserParams) SetTimeout(timeout time.Duration)
- func (o *AttachModToUserParams) WithContext(ctx context.Context) *AttachModToUserParams
- func (o *AttachModToUserParams) WithDefaults() *AttachModToUserParams
- func (o *AttachModToUserParams) WithHTTPClient(client *http.Client) *AttachModToUserParams
- func (o *AttachModToUserParams) WithModID(modID string) *AttachModToUserParams
- func (o *AttachModToUserParams) WithModUser(modUser *models.ModUserParams) *AttachModToUserParams
- func (o *AttachModToUserParams) WithTimeout(timeout time.Duration) *AttachModToUserParams
- func (o *AttachModToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachModToUserPreconditionFailed
- func (o *AttachModToUserPreconditionFailed) Code() int
- func (o *AttachModToUserPreconditionFailed) Error() string
- func (o *AttachModToUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AttachModToUserPreconditionFailed) IsClientError() bool
- func (o *AttachModToUserPreconditionFailed) IsCode(code int) bool
- func (o *AttachModToUserPreconditionFailed) IsRedirect() bool
- func (o *AttachModToUserPreconditionFailed) IsServerError() bool
- func (o *AttachModToUserPreconditionFailed) IsSuccess() bool
- func (o *AttachModToUserPreconditionFailed) String() string
- type AttachModToUserReader
- type AttachModToUserUnprocessableEntity
- func (o *AttachModToUserUnprocessableEntity) Code() int
- func (o *AttachModToUserUnprocessableEntity) Error() string
- func (o *AttachModToUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *AttachModToUserUnprocessableEntity) IsClientError() bool
- func (o *AttachModToUserUnprocessableEntity) IsCode(code int) bool
- func (o *AttachModToUserUnprocessableEntity) IsRedirect() bool
- func (o *AttachModToUserUnprocessableEntity) IsServerError() bool
- func (o *AttachModToUserUnprocessableEntity) IsSuccess() bool
- func (o *AttachModToUserUnprocessableEntity) String() string
- type Client
- func (a *Client) AppendVersionToBuild(params *AppendVersionToBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AppendVersionToBuildOK, error)
- func (a *Client) AttachModToTeam(params *AttachModToTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachModToTeamOK, error)
- func (a *Client) AttachModToUser(params *AttachModToUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AttachModToUserOK, error)
- func (a *Client) CreateMod(params *CreateModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateModOK, error)
- func (a *Client) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateVersionOK, error)
- func (a *Client) DeleteMod(params *DeleteModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteModOK, error)
- func (a *Client) DeleteModFromTeam(params *DeleteModFromTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteModFromTeamOK, error)
- func (a *Client) DeleteModFromUser(params *DeleteModFromUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteModFromUserOK, error)
- func (a *Client) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteVersionOK, error)
- func (a *Client) DeleteVersionFromBuild(params *DeleteVersionFromBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteVersionFromBuildOK, error)
- func (a *Client) ListModTeams(params *ListModTeamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListModTeamsOK, error)
- func (a *Client) ListModUsers(params *ListModUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListModUsersOK, error)
- func (a *Client) ListMods(params *ListModsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListModsOK, error)
- func (a *Client) ListVersionBuilds(params *ListVersionBuildsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVersionBuildsOK, error)
- func (a *Client) ListVersions(params *ListVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVersionsOK, error)
- func (a *Client) PermitModTeam(params *PermitModTeamParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitModTeamOK, error)
- func (a *Client) PermitModUser(params *PermitModUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PermitModUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowMod(params *ShowModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowModOK, error)
- func (a *Client) ShowVersion(params *ShowVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowVersionOK, error)
- func (a *Client) UpdateMod(params *UpdateModParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateModOK, error)
- func (a *Client) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateVersionOK, error)
- type ClientOption
- type ClientService
- type CreateModDefault
- func (o *CreateModDefault) Code() int
- func (o *CreateModDefault) Error() string
- func (o *CreateModDefault) GetPayload() *models.GeneralError
- func (o *CreateModDefault) IsClientError() bool
- func (o *CreateModDefault) IsCode(code int) bool
- func (o *CreateModDefault) IsRedirect() bool
- func (o *CreateModDefault) IsServerError() bool
- func (o *CreateModDefault) IsSuccess() bool
- func (o *CreateModDefault) String() string
- type CreateModForbidden
- func (o *CreateModForbidden) Code() int
- func (o *CreateModForbidden) Error() string
- func (o *CreateModForbidden) GetPayload() *models.GeneralError
- func (o *CreateModForbidden) IsClientError() bool
- func (o *CreateModForbidden) IsCode(code int) bool
- func (o *CreateModForbidden) IsRedirect() bool
- func (o *CreateModForbidden) IsServerError() bool
- func (o *CreateModForbidden) IsSuccess() bool
- func (o *CreateModForbidden) String() string
- type CreateModOK
- func (o *CreateModOK) Code() int
- func (o *CreateModOK) Error() string
- func (o *CreateModOK) GetPayload() *models.Mod
- func (o *CreateModOK) IsClientError() bool
- func (o *CreateModOK) IsCode(code int) bool
- func (o *CreateModOK) IsRedirect() bool
- func (o *CreateModOK) IsServerError() bool
- func (o *CreateModOK) IsSuccess() bool
- func (o *CreateModOK) String() string
- type CreateModParams
- func (o *CreateModParams) SetContext(ctx context.Context)
- func (o *CreateModParams) SetDefaults()
- func (o *CreateModParams) SetHTTPClient(client *http.Client)
- func (o *CreateModParams) SetMod(mod *models.Mod)
- func (o *CreateModParams) SetTimeout(timeout time.Duration)
- func (o *CreateModParams) WithContext(ctx context.Context) *CreateModParams
- func (o *CreateModParams) WithDefaults() *CreateModParams
- func (o *CreateModParams) WithHTTPClient(client *http.Client) *CreateModParams
- func (o *CreateModParams) WithMod(mod *models.Mod) *CreateModParams
- func (o *CreateModParams) WithTimeout(timeout time.Duration) *CreateModParams
- func (o *CreateModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateModReader
- type CreateModUnprocessableEntity
- func (o *CreateModUnprocessableEntity) Code() int
- func (o *CreateModUnprocessableEntity) Error() string
- func (o *CreateModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreateModUnprocessableEntity) IsClientError() bool
- func (o *CreateModUnprocessableEntity) IsCode(code int) bool
- func (o *CreateModUnprocessableEntity) IsRedirect() bool
- func (o *CreateModUnprocessableEntity) IsServerError() bool
- func (o *CreateModUnprocessableEntity) IsSuccess() bool
- func (o *CreateModUnprocessableEntity) String() string
- type CreateVersionDefault
- func (o *CreateVersionDefault) Code() int
- func (o *CreateVersionDefault) Error() string
- func (o *CreateVersionDefault) GetPayload() *models.GeneralError
- func (o *CreateVersionDefault) IsClientError() bool
- func (o *CreateVersionDefault) IsCode(code int) bool
- func (o *CreateVersionDefault) IsRedirect() bool
- func (o *CreateVersionDefault) IsServerError() bool
- func (o *CreateVersionDefault) IsSuccess() bool
- func (o *CreateVersionDefault) String() string
- type CreateVersionForbidden
- func (o *CreateVersionForbidden) Code() int
- func (o *CreateVersionForbidden) Error() string
- func (o *CreateVersionForbidden) GetPayload() *models.GeneralError
- func (o *CreateVersionForbidden) IsClientError() bool
- func (o *CreateVersionForbidden) IsCode(code int) bool
- func (o *CreateVersionForbidden) IsRedirect() bool
- func (o *CreateVersionForbidden) IsServerError() bool
- func (o *CreateVersionForbidden) IsSuccess() bool
- func (o *CreateVersionForbidden) String() string
- type CreateVersionNotFound
- func (o *CreateVersionNotFound) Code() int
- func (o *CreateVersionNotFound) Error() string
- func (o *CreateVersionNotFound) GetPayload() *models.GeneralError
- func (o *CreateVersionNotFound) IsClientError() bool
- func (o *CreateVersionNotFound) IsCode(code int) bool
- func (o *CreateVersionNotFound) IsRedirect() bool
- func (o *CreateVersionNotFound) IsServerError() bool
- func (o *CreateVersionNotFound) IsSuccess() bool
- func (o *CreateVersionNotFound) String() string
- type CreateVersionOK
- func (o *CreateVersionOK) Code() int
- func (o *CreateVersionOK) Error() string
- func (o *CreateVersionOK) GetPayload() *models.Version
- func (o *CreateVersionOK) IsClientError() bool
- func (o *CreateVersionOK) IsCode(code int) bool
- func (o *CreateVersionOK) IsRedirect() bool
- func (o *CreateVersionOK) IsServerError() bool
- func (o *CreateVersionOK) IsSuccess() bool
- func (o *CreateVersionOK) String() string
- type CreateVersionParams
- func (o *CreateVersionParams) SetContext(ctx context.Context)
- func (o *CreateVersionParams) SetDefaults()
- func (o *CreateVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateVersionParams) SetModID(modID string)
- func (o *CreateVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateVersionParams) SetVersion(version *models.Version)
- func (o *CreateVersionParams) WithContext(ctx context.Context) *CreateVersionParams
- func (o *CreateVersionParams) WithDefaults() *CreateVersionParams
- func (o *CreateVersionParams) WithHTTPClient(client *http.Client) *CreateVersionParams
- func (o *CreateVersionParams) WithModID(modID string) *CreateVersionParams
- func (o *CreateVersionParams) WithTimeout(timeout time.Duration) *CreateVersionParams
- func (o *CreateVersionParams) WithVersion(version *models.Version) *CreateVersionParams
- func (o *CreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVersionReader
- type CreateVersionUnprocessableEntity
- func (o *CreateVersionUnprocessableEntity) Code() int
- func (o *CreateVersionUnprocessableEntity) Error() string
- func (o *CreateVersionUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *CreateVersionUnprocessableEntity) IsClientError() bool
- func (o *CreateVersionUnprocessableEntity) IsCode(code int) bool
- func (o *CreateVersionUnprocessableEntity) IsRedirect() bool
- func (o *CreateVersionUnprocessableEntity) IsServerError() bool
- func (o *CreateVersionUnprocessableEntity) IsSuccess() bool
- func (o *CreateVersionUnprocessableEntity) String() string
- type DeleteModBadRequest
- func (o *DeleteModBadRequest) Code() int
- func (o *DeleteModBadRequest) Error() string
- func (o *DeleteModBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteModBadRequest) IsClientError() bool
- func (o *DeleteModBadRequest) IsCode(code int) bool
- func (o *DeleteModBadRequest) IsRedirect() bool
- func (o *DeleteModBadRequest) IsServerError() bool
- func (o *DeleteModBadRequest) IsSuccess() bool
- func (o *DeleteModBadRequest) String() string
- type DeleteModDefault
- func (o *DeleteModDefault) Code() int
- func (o *DeleteModDefault) Error() string
- func (o *DeleteModDefault) GetPayload() *models.GeneralError
- func (o *DeleteModDefault) IsClientError() bool
- func (o *DeleteModDefault) IsCode(code int) bool
- func (o *DeleteModDefault) IsRedirect() bool
- func (o *DeleteModDefault) IsServerError() bool
- func (o *DeleteModDefault) IsSuccess() bool
- func (o *DeleteModDefault) String() string
- type DeleteModForbidden
- func (o *DeleteModForbidden) Code() int
- func (o *DeleteModForbidden) Error() string
- func (o *DeleteModForbidden) GetPayload() *models.GeneralError
- func (o *DeleteModForbidden) IsClientError() bool
- func (o *DeleteModForbidden) IsCode(code int) bool
- func (o *DeleteModForbidden) IsRedirect() bool
- func (o *DeleteModForbidden) IsServerError() bool
- func (o *DeleteModForbidden) IsSuccess() bool
- func (o *DeleteModForbidden) String() string
- type DeleteModFromTeamDefault
- func (o *DeleteModFromTeamDefault) Code() int
- func (o *DeleteModFromTeamDefault) Error() string
- func (o *DeleteModFromTeamDefault) GetPayload() *models.GeneralError
- func (o *DeleteModFromTeamDefault) IsClientError() bool
- func (o *DeleteModFromTeamDefault) IsCode(code int) bool
- func (o *DeleteModFromTeamDefault) IsRedirect() bool
- func (o *DeleteModFromTeamDefault) IsServerError() bool
- func (o *DeleteModFromTeamDefault) IsSuccess() bool
- func (o *DeleteModFromTeamDefault) String() string
- type DeleteModFromTeamForbidden
- func (o *DeleteModFromTeamForbidden) Code() int
- func (o *DeleteModFromTeamForbidden) Error() string
- func (o *DeleteModFromTeamForbidden) GetPayload() *models.GeneralError
- func (o *DeleteModFromTeamForbidden) IsClientError() bool
- func (o *DeleteModFromTeamForbidden) IsCode(code int) bool
- func (o *DeleteModFromTeamForbidden) IsRedirect() bool
- func (o *DeleteModFromTeamForbidden) IsServerError() bool
- func (o *DeleteModFromTeamForbidden) IsSuccess() bool
- func (o *DeleteModFromTeamForbidden) String() string
- type DeleteModFromTeamNotFound
- func (o *DeleteModFromTeamNotFound) Code() int
- func (o *DeleteModFromTeamNotFound) Error() string
- func (o *DeleteModFromTeamNotFound) GetPayload() *models.GeneralError
- func (o *DeleteModFromTeamNotFound) IsClientError() bool
- func (o *DeleteModFromTeamNotFound) IsCode(code int) bool
- func (o *DeleteModFromTeamNotFound) IsRedirect() bool
- func (o *DeleteModFromTeamNotFound) IsServerError() bool
- func (o *DeleteModFromTeamNotFound) IsSuccess() bool
- func (o *DeleteModFromTeamNotFound) String() string
- type DeleteModFromTeamOK
- func (o *DeleteModFromTeamOK) Code() int
- func (o *DeleteModFromTeamOK) Error() string
- func (o *DeleteModFromTeamOK) GetPayload() *models.GeneralError
- func (o *DeleteModFromTeamOK) IsClientError() bool
- func (o *DeleteModFromTeamOK) IsCode(code int) bool
- func (o *DeleteModFromTeamOK) IsRedirect() bool
- func (o *DeleteModFromTeamOK) IsServerError() bool
- func (o *DeleteModFromTeamOK) IsSuccess() bool
- func (o *DeleteModFromTeamOK) String() string
- type DeleteModFromTeamParams
- func NewDeleteModFromTeamParams() *DeleteModFromTeamParams
- func NewDeleteModFromTeamParamsWithContext(ctx context.Context) *DeleteModFromTeamParams
- func NewDeleteModFromTeamParamsWithHTTPClient(client *http.Client) *DeleteModFromTeamParams
- func NewDeleteModFromTeamParamsWithTimeout(timeout time.Duration) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) SetContext(ctx context.Context)
- func (o *DeleteModFromTeamParams) SetDefaults()
- func (o *DeleteModFromTeamParams) SetHTTPClient(client *http.Client)
- func (o *DeleteModFromTeamParams) SetModID(modID string)
- func (o *DeleteModFromTeamParams) SetModTeam(modTeam *models.ModTeamParams)
- func (o *DeleteModFromTeamParams) SetTimeout(timeout time.Duration)
- func (o *DeleteModFromTeamParams) WithContext(ctx context.Context) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WithDefaults() *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WithHTTPClient(client *http.Client) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WithModID(modID string) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WithModTeam(modTeam *models.ModTeamParams) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WithTimeout(timeout time.Duration) *DeleteModFromTeamParams
- func (o *DeleteModFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteModFromTeamPreconditionFailed
- func (o *DeleteModFromTeamPreconditionFailed) Code() int
- func (o *DeleteModFromTeamPreconditionFailed) Error() string
- func (o *DeleteModFromTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteModFromTeamPreconditionFailed) IsClientError() bool
- func (o *DeleteModFromTeamPreconditionFailed) IsCode(code int) bool
- func (o *DeleteModFromTeamPreconditionFailed) IsRedirect() bool
- func (o *DeleteModFromTeamPreconditionFailed) IsServerError() bool
- func (o *DeleteModFromTeamPreconditionFailed) IsSuccess() bool
- func (o *DeleteModFromTeamPreconditionFailed) String() string
- type DeleteModFromTeamReader
- type DeleteModFromUserDefault
- func (o *DeleteModFromUserDefault) Code() int
- func (o *DeleteModFromUserDefault) Error() string
- func (o *DeleteModFromUserDefault) GetPayload() *models.GeneralError
- func (o *DeleteModFromUserDefault) IsClientError() bool
- func (o *DeleteModFromUserDefault) IsCode(code int) bool
- func (o *DeleteModFromUserDefault) IsRedirect() bool
- func (o *DeleteModFromUserDefault) IsServerError() bool
- func (o *DeleteModFromUserDefault) IsSuccess() bool
- func (o *DeleteModFromUserDefault) String() string
- type DeleteModFromUserForbidden
- func (o *DeleteModFromUserForbidden) Code() int
- func (o *DeleteModFromUserForbidden) Error() string
- func (o *DeleteModFromUserForbidden) GetPayload() *models.GeneralError
- func (o *DeleteModFromUserForbidden) IsClientError() bool
- func (o *DeleteModFromUserForbidden) IsCode(code int) bool
- func (o *DeleteModFromUserForbidden) IsRedirect() bool
- func (o *DeleteModFromUserForbidden) IsServerError() bool
- func (o *DeleteModFromUserForbidden) IsSuccess() bool
- func (o *DeleteModFromUserForbidden) String() string
- type DeleteModFromUserNotFound
- func (o *DeleteModFromUserNotFound) Code() int
- func (o *DeleteModFromUserNotFound) Error() string
- func (o *DeleteModFromUserNotFound) GetPayload() *models.GeneralError
- func (o *DeleteModFromUserNotFound) IsClientError() bool
- func (o *DeleteModFromUserNotFound) IsCode(code int) bool
- func (o *DeleteModFromUserNotFound) IsRedirect() bool
- func (o *DeleteModFromUserNotFound) IsServerError() bool
- func (o *DeleteModFromUserNotFound) IsSuccess() bool
- func (o *DeleteModFromUserNotFound) String() string
- type DeleteModFromUserOK
- func (o *DeleteModFromUserOK) Code() int
- func (o *DeleteModFromUserOK) Error() string
- func (o *DeleteModFromUserOK) GetPayload() *models.GeneralError
- func (o *DeleteModFromUserOK) IsClientError() bool
- func (o *DeleteModFromUserOK) IsCode(code int) bool
- func (o *DeleteModFromUserOK) IsRedirect() bool
- func (o *DeleteModFromUserOK) IsServerError() bool
- func (o *DeleteModFromUserOK) IsSuccess() bool
- func (o *DeleteModFromUserOK) String() string
- type DeleteModFromUserParams
- func NewDeleteModFromUserParams() *DeleteModFromUserParams
- func NewDeleteModFromUserParamsWithContext(ctx context.Context) *DeleteModFromUserParams
- func NewDeleteModFromUserParamsWithHTTPClient(client *http.Client) *DeleteModFromUserParams
- func NewDeleteModFromUserParamsWithTimeout(timeout time.Duration) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) SetContext(ctx context.Context)
- func (o *DeleteModFromUserParams) SetDefaults()
- func (o *DeleteModFromUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteModFromUserParams) SetModID(modID string)
- func (o *DeleteModFromUserParams) SetModUser(modUser *models.ModUserParams)
- func (o *DeleteModFromUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteModFromUserParams) WithContext(ctx context.Context) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WithDefaults() *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WithHTTPClient(client *http.Client) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WithModID(modID string) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WithModUser(modUser *models.ModUserParams) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WithTimeout(timeout time.Duration) *DeleteModFromUserParams
- func (o *DeleteModFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteModFromUserPreconditionFailed
- func (o *DeleteModFromUserPreconditionFailed) Code() int
- func (o *DeleteModFromUserPreconditionFailed) Error() string
- func (o *DeleteModFromUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteModFromUserPreconditionFailed) IsClientError() bool
- func (o *DeleteModFromUserPreconditionFailed) IsCode(code int) bool
- func (o *DeleteModFromUserPreconditionFailed) IsRedirect() bool
- func (o *DeleteModFromUserPreconditionFailed) IsServerError() bool
- func (o *DeleteModFromUserPreconditionFailed) IsSuccess() bool
- func (o *DeleteModFromUserPreconditionFailed) String() string
- type DeleteModFromUserReader
- type DeleteModNotFound
- func (o *DeleteModNotFound) Code() int
- func (o *DeleteModNotFound) Error() string
- func (o *DeleteModNotFound) GetPayload() *models.GeneralError
- func (o *DeleteModNotFound) IsClientError() bool
- func (o *DeleteModNotFound) IsCode(code int) bool
- func (o *DeleteModNotFound) IsRedirect() bool
- func (o *DeleteModNotFound) IsServerError() bool
- func (o *DeleteModNotFound) IsSuccess() bool
- func (o *DeleteModNotFound) String() string
- type DeleteModOK
- func (o *DeleteModOK) Code() int
- func (o *DeleteModOK) Error() string
- func (o *DeleteModOK) GetPayload() *models.GeneralError
- func (o *DeleteModOK) IsClientError() bool
- func (o *DeleteModOK) IsCode(code int) bool
- func (o *DeleteModOK) IsRedirect() bool
- func (o *DeleteModOK) IsServerError() bool
- func (o *DeleteModOK) IsSuccess() bool
- func (o *DeleteModOK) String() string
- type DeleteModParams
- func (o *DeleteModParams) SetContext(ctx context.Context)
- func (o *DeleteModParams) SetDefaults()
- func (o *DeleteModParams) SetHTTPClient(client *http.Client)
- func (o *DeleteModParams) SetModID(modID string)
- func (o *DeleteModParams) SetTimeout(timeout time.Duration)
- func (o *DeleteModParams) WithContext(ctx context.Context) *DeleteModParams
- func (o *DeleteModParams) WithDefaults() *DeleteModParams
- func (o *DeleteModParams) WithHTTPClient(client *http.Client) *DeleteModParams
- func (o *DeleteModParams) WithModID(modID string) *DeleteModParams
- func (o *DeleteModParams) WithTimeout(timeout time.Duration) *DeleteModParams
- func (o *DeleteModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteModReader
- type DeleteVersionBadRequest
- func (o *DeleteVersionBadRequest) Code() int
- func (o *DeleteVersionBadRequest) Error() string
- func (o *DeleteVersionBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteVersionBadRequest) IsClientError() bool
- func (o *DeleteVersionBadRequest) IsCode(code int) bool
- func (o *DeleteVersionBadRequest) IsRedirect() bool
- func (o *DeleteVersionBadRequest) IsServerError() bool
- func (o *DeleteVersionBadRequest) IsSuccess() bool
- func (o *DeleteVersionBadRequest) String() string
- type DeleteVersionDefault
- func (o *DeleteVersionDefault) Code() int
- func (o *DeleteVersionDefault) Error() string
- func (o *DeleteVersionDefault) GetPayload() *models.GeneralError
- func (o *DeleteVersionDefault) IsClientError() bool
- func (o *DeleteVersionDefault) IsCode(code int) bool
- func (o *DeleteVersionDefault) IsRedirect() bool
- func (o *DeleteVersionDefault) IsServerError() bool
- func (o *DeleteVersionDefault) IsSuccess() bool
- func (o *DeleteVersionDefault) String() string
- type DeleteVersionForbidden
- func (o *DeleteVersionForbidden) Code() int
- func (o *DeleteVersionForbidden) Error() string
- func (o *DeleteVersionForbidden) GetPayload() *models.GeneralError
- func (o *DeleteVersionForbidden) IsClientError() bool
- func (o *DeleteVersionForbidden) IsCode(code int) bool
- func (o *DeleteVersionForbidden) IsRedirect() bool
- func (o *DeleteVersionForbidden) IsServerError() bool
- func (o *DeleteVersionForbidden) IsSuccess() bool
- func (o *DeleteVersionForbidden) String() string
- type DeleteVersionFromBuildBadRequest
- func (o *DeleteVersionFromBuildBadRequest) Code() int
- func (o *DeleteVersionFromBuildBadRequest) Error() string
- func (o *DeleteVersionFromBuildBadRequest) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildBadRequest) IsClientError() bool
- func (o *DeleteVersionFromBuildBadRequest) IsCode(code int) bool
- func (o *DeleteVersionFromBuildBadRequest) IsRedirect() bool
- func (o *DeleteVersionFromBuildBadRequest) IsServerError() bool
- func (o *DeleteVersionFromBuildBadRequest) IsSuccess() bool
- func (o *DeleteVersionFromBuildBadRequest) String() string
- type DeleteVersionFromBuildDefault
- func (o *DeleteVersionFromBuildDefault) Code() int
- func (o *DeleteVersionFromBuildDefault) Error() string
- func (o *DeleteVersionFromBuildDefault) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildDefault) IsClientError() bool
- func (o *DeleteVersionFromBuildDefault) IsCode(code int) bool
- func (o *DeleteVersionFromBuildDefault) IsRedirect() bool
- func (o *DeleteVersionFromBuildDefault) IsServerError() bool
- func (o *DeleteVersionFromBuildDefault) IsSuccess() bool
- func (o *DeleteVersionFromBuildDefault) String() string
- type DeleteVersionFromBuildForbidden
- func (o *DeleteVersionFromBuildForbidden) Code() int
- func (o *DeleteVersionFromBuildForbidden) Error() string
- func (o *DeleteVersionFromBuildForbidden) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildForbidden) IsClientError() bool
- func (o *DeleteVersionFromBuildForbidden) IsCode(code int) bool
- func (o *DeleteVersionFromBuildForbidden) IsRedirect() bool
- func (o *DeleteVersionFromBuildForbidden) IsServerError() bool
- func (o *DeleteVersionFromBuildForbidden) IsSuccess() bool
- func (o *DeleteVersionFromBuildForbidden) String() string
- type DeleteVersionFromBuildNotFound
- func (o *DeleteVersionFromBuildNotFound) Code() int
- func (o *DeleteVersionFromBuildNotFound) Error() string
- func (o *DeleteVersionFromBuildNotFound) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildNotFound) IsClientError() bool
- func (o *DeleteVersionFromBuildNotFound) IsCode(code int) bool
- func (o *DeleteVersionFromBuildNotFound) IsRedirect() bool
- func (o *DeleteVersionFromBuildNotFound) IsServerError() bool
- func (o *DeleteVersionFromBuildNotFound) IsSuccess() bool
- func (o *DeleteVersionFromBuildNotFound) String() string
- type DeleteVersionFromBuildOK
- func (o *DeleteVersionFromBuildOK) Code() int
- func (o *DeleteVersionFromBuildOK) Error() string
- func (o *DeleteVersionFromBuildOK) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildOK) IsClientError() bool
- func (o *DeleteVersionFromBuildOK) IsCode(code int) bool
- func (o *DeleteVersionFromBuildOK) IsRedirect() bool
- func (o *DeleteVersionFromBuildOK) IsServerError() bool
- func (o *DeleteVersionFromBuildOK) IsSuccess() bool
- func (o *DeleteVersionFromBuildOK) String() string
- type DeleteVersionFromBuildParams
- func NewDeleteVersionFromBuildParams() *DeleteVersionFromBuildParams
- func NewDeleteVersionFromBuildParamsWithContext(ctx context.Context) *DeleteVersionFromBuildParams
- func NewDeleteVersionFromBuildParamsWithHTTPClient(client *http.Client) *DeleteVersionFromBuildParams
- func NewDeleteVersionFromBuildParamsWithTimeout(timeout time.Duration) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) SetContext(ctx context.Context)
- func (o *DeleteVersionFromBuildParams) SetDefaults()
- func (o *DeleteVersionFromBuildParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVersionFromBuildParams) SetModID(modID string)
- func (o *DeleteVersionFromBuildParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVersionFromBuildParams) SetVersionBuild(versionBuild *models.VersionBuildParams)
- func (o *DeleteVersionFromBuildParams) SetVersionID(versionID string)
- func (o *DeleteVersionFromBuildParams) WithContext(ctx context.Context) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithDefaults() *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithHTTPClient(client *http.Client) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithModID(modID string) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithTimeout(timeout time.Duration) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithVersionBuild(versionBuild *models.VersionBuildParams) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WithVersionID(versionID string) *DeleteVersionFromBuildParams
- func (o *DeleteVersionFromBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVersionFromBuildPreconditionFailed
- func (o *DeleteVersionFromBuildPreconditionFailed) Code() int
- func (o *DeleteVersionFromBuildPreconditionFailed) Error() string
- func (o *DeleteVersionFromBuildPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteVersionFromBuildPreconditionFailed) IsClientError() bool
- func (o *DeleteVersionFromBuildPreconditionFailed) IsCode(code int) bool
- func (o *DeleteVersionFromBuildPreconditionFailed) IsRedirect() bool
- func (o *DeleteVersionFromBuildPreconditionFailed) IsServerError() bool
- func (o *DeleteVersionFromBuildPreconditionFailed) IsSuccess() bool
- func (o *DeleteVersionFromBuildPreconditionFailed) String() string
- type DeleteVersionFromBuildReader
- type DeleteVersionNotFound
- func (o *DeleteVersionNotFound) Code() int
- func (o *DeleteVersionNotFound) Error() string
- func (o *DeleteVersionNotFound) GetPayload() *models.GeneralError
- func (o *DeleteVersionNotFound) IsClientError() bool
- func (o *DeleteVersionNotFound) IsCode(code int) bool
- func (o *DeleteVersionNotFound) IsRedirect() bool
- func (o *DeleteVersionNotFound) IsServerError() bool
- func (o *DeleteVersionNotFound) IsSuccess() bool
- func (o *DeleteVersionNotFound) String() string
- type DeleteVersionOK
- func (o *DeleteVersionOK) Code() int
- func (o *DeleteVersionOK) Error() string
- func (o *DeleteVersionOK) GetPayload() *models.GeneralError
- func (o *DeleteVersionOK) IsClientError() bool
- func (o *DeleteVersionOK) IsCode(code int) bool
- func (o *DeleteVersionOK) IsRedirect() bool
- func (o *DeleteVersionOK) IsServerError() bool
- func (o *DeleteVersionOK) IsSuccess() bool
- func (o *DeleteVersionOK) String() string
- type DeleteVersionParams
- func (o *DeleteVersionParams) SetContext(ctx context.Context)
- func (o *DeleteVersionParams) SetDefaults()
- func (o *DeleteVersionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVersionParams) SetModID(modID string)
- func (o *DeleteVersionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVersionParams) SetVersionID(versionID string)
- func (o *DeleteVersionParams) WithContext(ctx context.Context) *DeleteVersionParams
- func (o *DeleteVersionParams) WithDefaults() *DeleteVersionParams
- func (o *DeleteVersionParams) WithHTTPClient(client *http.Client) *DeleteVersionParams
- func (o *DeleteVersionParams) WithModID(modID string) *DeleteVersionParams
- func (o *DeleteVersionParams) WithTimeout(timeout time.Duration) *DeleteVersionParams
- func (o *DeleteVersionParams) WithVersionID(versionID string) *DeleteVersionParams
- func (o *DeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVersionReader
- type ListModTeamsDefault
- func (o *ListModTeamsDefault) Code() int
- func (o *ListModTeamsDefault) Error() string
- func (o *ListModTeamsDefault) GetPayload() *models.GeneralError
- func (o *ListModTeamsDefault) IsClientError() bool
- func (o *ListModTeamsDefault) IsCode(code int) bool
- func (o *ListModTeamsDefault) IsRedirect() bool
- func (o *ListModTeamsDefault) IsServerError() bool
- func (o *ListModTeamsDefault) IsSuccess() bool
- func (o *ListModTeamsDefault) String() string
- type ListModTeamsForbidden
- func (o *ListModTeamsForbidden) Code() int
- func (o *ListModTeamsForbidden) Error() string
- func (o *ListModTeamsForbidden) GetPayload() *models.GeneralError
- func (o *ListModTeamsForbidden) IsClientError() bool
- func (o *ListModTeamsForbidden) IsCode(code int) bool
- func (o *ListModTeamsForbidden) IsRedirect() bool
- func (o *ListModTeamsForbidden) IsServerError() bool
- func (o *ListModTeamsForbidden) IsSuccess() bool
- func (o *ListModTeamsForbidden) String() string
- type ListModTeamsNotFound
- func (o *ListModTeamsNotFound) Code() int
- func (o *ListModTeamsNotFound) Error() string
- func (o *ListModTeamsNotFound) GetPayload() *models.GeneralError
- func (o *ListModTeamsNotFound) IsClientError() bool
- func (o *ListModTeamsNotFound) IsCode(code int) bool
- func (o *ListModTeamsNotFound) IsRedirect() bool
- func (o *ListModTeamsNotFound) IsServerError() bool
- func (o *ListModTeamsNotFound) IsSuccess() bool
- func (o *ListModTeamsNotFound) String() string
- type ListModTeamsOK
- func (o *ListModTeamsOK) Code() int
- func (o *ListModTeamsOK) Error() string
- func (o *ListModTeamsOK) GetPayload() *models.ModTeams
- func (o *ListModTeamsOK) IsClientError() bool
- func (o *ListModTeamsOK) IsCode(code int) bool
- func (o *ListModTeamsOK) IsRedirect() bool
- func (o *ListModTeamsOK) IsServerError() bool
- func (o *ListModTeamsOK) IsSuccess() bool
- func (o *ListModTeamsOK) String() string
- type ListModTeamsParams
- func (o *ListModTeamsParams) SetContext(ctx context.Context)
- func (o *ListModTeamsParams) SetDefaults()
- func (o *ListModTeamsParams) SetHTTPClient(client *http.Client)
- func (o *ListModTeamsParams) SetModID(modID string)
- func (o *ListModTeamsParams) SetTimeout(timeout time.Duration)
- func (o *ListModTeamsParams) WithContext(ctx context.Context) *ListModTeamsParams
- func (o *ListModTeamsParams) WithDefaults() *ListModTeamsParams
- func (o *ListModTeamsParams) WithHTTPClient(client *http.Client) *ListModTeamsParams
- func (o *ListModTeamsParams) WithModID(modID string) *ListModTeamsParams
- func (o *ListModTeamsParams) WithTimeout(timeout time.Duration) *ListModTeamsParams
- func (o *ListModTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListModTeamsReader
- type ListModUsersDefault
- func (o *ListModUsersDefault) Code() int
- func (o *ListModUsersDefault) Error() string
- func (o *ListModUsersDefault) GetPayload() *models.GeneralError
- func (o *ListModUsersDefault) IsClientError() bool
- func (o *ListModUsersDefault) IsCode(code int) bool
- func (o *ListModUsersDefault) IsRedirect() bool
- func (o *ListModUsersDefault) IsServerError() bool
- func (o *ListModUsersDefault) IsSuccess() bool
- func (o *ListModUsersDefault) String() string
- type ListModUsersForbidden
- func (o *ListModUsersForbidden) Code() int
- func (o *ListModUsersForbidden) Error() string
- func (o *ListModUsersForbidden) GetPayload() *models.GeneralError
- func (o *ListModUsersForbidden) IsClientError() bool
- func (o *ListModUsersForbidden) IsCode(code int) bool
- func (o *ListModUsersForbidden) IsRedirect() bool
- func (o *ListModUsersForbidden) IsServerError() bool
- func (o *ListModUsersForbidden) IsSuccess() bool
- func (o *ListModUsersForbidden) String() string
- type ListModUsersNotFound
- func (o *ListModUsersNotFound) Code() int
- func (o *ListModUsersNotFound) Error() string
- func (o *ListModUsersNotFound) GetPayload() *models.GeneralError
- func (o *ListModUsersNotFound) IsClientError() bool
- func (o *ListModUsersNotFound) IsCode(code int) bool
- func (o *ListModUsersNotFound) IsRedirect() bool
- func (o *ListModUsersNotFound) IsServerError() bool
- func (o *ListModUsersNotFound) IsSuccess() bool
- func (o *ListModUsersNotFound) String() string
- type ListModUsersOK
- func (o *ListModUsersOK) Code() int
- func (o *ListModUsersOK) Error() string
- func (o *ListModUsersOK) GetPayload() *models.ModUsers
- func (o *ListModUsersOK) IsClientError() bool
- func (o *ListModUsersOK) IsCode(code int) bool
- func (o *ListModUsersOK) IsRedirect() bool
- func (o *ListModUsersOK) IsServerError() bool
- func (o *ListModUsersOK) IsSuccess() bool
- func (o *ListModUsersOK) String() string
- type ListModUsersParams
- func (o *ListModUsersParams) SetContext(ctx context.Context)
- func (o *ListModUsersParams) SetDefaults()
- func (o *ListModUsersParams) SetHTTPClient(client *http.Client)
- func (o *ListModUsersParams) SetModID(modID string)
- func (o *ListModUsersParams) SetTimeout(timeout time.Duration)
- func (o *ListModUsersParams) WithContext(ctx context.Context) *ListModUsersParams
- func (o *ListModUsersParams) WithDefaults() *ListModUsersParams
- func (o *ListModUsersParams) WithHTTPClient(client *http.Client) *ListModUsersParams
- func (o *ListModUsersParams) WithModID(modID string) *ListModUsersParams
- func (o *ListModUsersParams) WithTimeout(timeout time.Duration) *ListModUsersParams
- func (o *ListModUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListModUsersReader
- type ListModsDefault
- func (o *ListModsDefault) Code() int
- func (o *ListModsDefault) Error() string
- func (o *ListModsDefault) GetPayload() *models.GeneralError
- func (o *ListModsDefault) IsClientError() bool
- func (o *ListModsDefault) IsCode(code int) bool
- func (o *ListModsDefault) IsRedirect() bool
- func (o *ListModsDefault) IsServerError() bool
- func (o *ListModsDefault) IsSuccess() bool
- func (o *ListModsDefault) String() string
- type ListModsForbidden
- func (o *ListModsForbidden) Code() int
- func (o *ListModsForbidden) Error() string
- func (o *ListModsForbidden) GetPayload() *models.GeneralError
- func (o *ListModsForbidden) IsClientError() bool
- func (o *ListModsForbidden) IsCode(code int) bool
- func (o *ListModsForbidden) IsRedirect() bool
- func (o *ListModsForbidden) IsServerError() bool
- func (o *ListModsForbidden) IsSuccess() bool
- func (o *ListModsForbidden) String() string
- type ListModsOK
- func (o *ListModsOK) Code() int
- func (o *ListModsOK) Error() string
- func (o *ListModsOK) GetPayload() *models.Mods
- func (o *ListModsOK) IsClientError() bool
- func (o *ListModsOK) IsCode(code int) bool
- func (o *ListModsOK) IsRedirect() bool
- func (o *ListModsOK) IsServerError() bool
- func (o *ListModsOK) IsSuccess() bool
- func (o *ListModsOK) String() string
- type ListModsParams
- func (o *ListModsParams) SetContext(ctx context.Context)
- func (o *ListModsParams) SetDefaults()
- func (o *ListModsParams) SetHTTPClient(client *http.Client)
- func (o *ListModsParams) SetTimeout(timeout time.Duration)
- func (o *ListModsParams) WithContext(ctx context.Context) *ListModsParams
- func (o *ListModsParams) WithDefaults() *ListModsParams
- func (o *ListModsParams) WithHTTPClient(client *http.Client) *ListModsParams
- func (o *ListModsParams) WithTimeout(timeout time.Duration) *ListModsParams
- func (o *ListModsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListModsReader
- type ListVersionBuildsDefault
- func (o *ListVersionBuildsDefault) Code() int
- func (o *ListVersionBuildsDefault) Error() string
- func (o *ListVersionBuildsDefault) GetPayload() *models.GeneralError
- func (o *ListVersionBuildsDefault) IsClientError() bool
- func (o *ListVersionBuildsDefault) IsCode(code int) bool
- func (o *ListVersionBuildsDefault) IsRedirect() bool
- func (o *ListVersionBuildsDefault) IsServerError() bool
- func (o *ListVersionBuildsDefault) IsSuccess() bool
- func (o *ListVersionBuildsDefault) String() string
- type ListVersionBuildsForbidden
- func (o *ListVersionBuildsForbidden) Code() int
- func (o *ListVersionBuildsForbidden) Error() string
- func (o *ListVersionBuildsForbidden) GetPayload() *models.GeneralError
- func (o *ListVersionBuildsForbidden) IsClientError() bool
- func (o *ListVersionBuildsForbidden) IsCode(code int) bool
- func (o *ListVersionBuildsForbidden) IsRedirect() bool
- func (o *ListVersionBuildsForbidden) IsServerError() bool
- func (o *ListVersionBuildsForbidden) IsSuccess() bool
- func (o *ListVersionBuildsForbidden) String() string
- type ListVersionBuildsNotFound
- func (o *ListVersionBuildsNotFound) Code() int
- func (o *ListVersionBuildsNotFound) Error() string
- func (o *ListVersionBuildsNotFound) GetPayload() *models.GeneralError
- func (o *ListVersionBuildsNotFound) IsClientError() bool
- func (o *ListVersionBuildsNotFound) IsCode(code int) bool
- func (o *ListVersionBuildsNotFound) IsRedirect() bool
- func (o *ListVersionBuildsNotFound) IsServerError() bool
- func (o *ListVersionBuildsNotFound) IsSuccess() bool
- func (o *ListVersionBuildsNotFound) String() string
- type ListVersionBuildsOK
- func (o *ListVersionBuildsOK) Code() int
- func (o *ListVersionBuildsOK) Error() string
- func (o *ListVersionBuildsOK) GetPayload() *models.VersionBuilds
- func (o *ListVersionBuildsOK) IsClientError() bool
- func (o *ListVersionBuildsOK) IsCode(code int) bool
- func (o *ListVersionBuildsOK) IsRedirect() bool
- func (o *ListVersionBuildsOK) IsServerError() bool
- func (o *ListVersionBuildsOK) IsSuccess() bool
- func (o *ListVersionBuildsOK) String() string
- type ListVersionBuildsParams
- func NewListVersionBuildsParams() *ListVersionBuildsParams
- func NewListVersionBuildsParamsWithContext(ctx context.Context) *ListVersionBuildsParams
- func NewListVersionBuildsParamsWithHTTPClient(client *http.Client) *ListVersionBuildsParams
- func NewListVersionBuildsParamsWithTimeout(timeout time.Duration) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) SetContext(ctx context.Context)
- func (o *ListVersionBuildsParams) SetDefaults()
- func (o *ListVersionBuildsParams) SetHTTPClient(client *http.Client)
- func (o *ListVersionBuildsParams) SetModID(modID string)
- func (o *ListVersionBuildsParams) SetTimeout(timeout time.Duration)
- func (o *ListVersionBuildsParams) SetVersionID(versionID string)
- func (o *ListVersionBuildsParams) WithContext(ctx context.Context) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WithDefaults() *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WithHTTPClient(client *http.Client) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WithModID(modID string) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WithTimeout(timeout time.Duration) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WithVersionID(versionID string) *ListVersionBuildsParams
- func (o *ListVersionBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVersionBuildsReader
- type ListVersionsDefault
- func (o *ListVersionsDefault) Code() int
- func (o *ListVersionsDefault) Error() string
- func (o *ListVersionsDefault) GetPayload() *models.GeneralError
- func (o *ListVersionsDefault) IsClientError() bool
- func (o *ListVersionsDefault) IsCode(code int) bool
- func (o *ListVersionsDefault) IsRedirect() bool
- func (o *ListVersionsDefault) IsServerError() bool
- func (o *ListVersionsDefault) IsSuccess() bool
- func (o *ListVersionsDefault) String() string
- type ListVersionsForbidden
- func (o *ListVersionsForbidden) Code() int
- func (o *ListVersionsForbidden) Error() string
- func (o *ListVersionsForbidden) GetPayload() *models.GeneralError
- func (o *ListVersionsForbidden) IsClientError() bool
- func (o *ListVersionsForbidden) IsCode(code int) bool
- func (o *ListVersionsForbidden) IsRedirect() bool
- func (o *ListVersionsForbidden) IsServerError() bool
- func (o *ListVersionsForbidden) IsSuccess() bool
- func (o *ListVersionsForbidden) String() string
- type ListVersionsNotFound
- func (o *ListVersionsNotFound) Code() int
- func (o *ListVersionsNotFound) Error() string
- func (o *ListVersionsNotFound) GetPayload() *models.GeneralError
- func (o *ListVersionsNotFound) IsClientError() bool
- func (o *ListVersionsNotFound) IsCode(code int) bool
- func (o *ListVersionsNotFound) IsRedirect() bool
- func (o *ListVersionsNotFound) IsServerError() bool
- func (o *ListVersionsNotFound) IsSuccess() bool
- func (o *ListVersionsNotFound) String() string
- type ListVersionsOK
- func (o *ListVersionsOK) Code() int
- func (o *ListVersionsOK) Error() string
- func (o *ListVersionsOK) GetPayload() *models.Versions
- func (o *ListVersionsOK) IsClientError() bool
- func (o *ListVersionsOK) IsCode(code int) bool
- func (o *ListVersionsOK) IsRedirect() bool
- func (o *ListVersionsOK) IsServerError() bool
- func (o *ListVersionsOK) IsSuccess() bool
- func (o *ListVersionsOK) String() string
- type ListVersionsParams
- func (o *ListVersionsParams) SetContext(ctx context.Context)
- func (o *ListVersionsParams) SetDefaults()
- func (o *ListVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListVersionsParams) SetModID(modID string)
- func (o *ListVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListVersionsParams) WithContext(ctx context.Context) *ListVersionsParams
- func (o *ListVersionsParams) WithDefaults() *ListVersionsParams
- func (o *ListVersionsParams) WithHTTPClient(client *http.Client) *ListVersionsParams
- func (o *ListVersionsParams) WithModID(modID string) *ListVersionsParams
- func (o *ListVersionsParams) WithTimeout(timeout time.Duration) *ListVersionsParams
- func (o *ListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVersionsReader
- type PermitModTeamDefault
- func (o *PermitModTeamDefault) Code() int
- func (o *PermitModTeamDefault) Error() string
- func (o *PermitModTeamDefault) GetPayload() *models.GeneralError
- func (o *PermitModTeamDefault) IsClientError() bool
- func (o *PermitModTeamDefault) IsCode(code int) bool
- func (o *PermitModTeamDefault) IsRedirect() bool
- func (o *PermitModTeamDefault) IsServerError() bool
- func (o *PermitModTeamDefault) IsSuccess() bool
- func (o *PermitModTeamDefault) String() string
- type PermitModTeamForbidden
- func (o *PermitModTeamForbidden) Code() int
- func (o *PermitModTeamForbidden) Error() string
- func (o *PermitModTeamForbidden) GetPayload() *models.GeneralError
- func (o *PermitModTeamForbidden) IsClientError() bool
- func (o *PermitModTeamForbidden) IsCode(code int) bool
- func (o *PermitModTeamForbidden) IsRedirect() bool
- func (o *PermitModTeamForbidden) IsServerError() bool
- func (o *PermitModTeamForbidden) IsSuccess() bool
- func (o *PermitModTeamForbidden) String() string
- type PermitModTeamNotFound
- func (o *PermitModTeamNotFound) Code() int
- func (o *PermitModTeamNotFound) Error() string
- func (o *PermitModTeamNotFound) GetPayload() *models.GeneralError
- func (o *PermitModTeamNotFound) IsClientError() bool
- func (o *PermitModTeamNotFound) IsCode(code int) bool
- func (o *PermitModTeamNotFound) IsRedirect() bool
- func (o *PermitModTeamNotFound) IsServerError() bool
- func (o *PermitModTeamNotFound) IsSuccess() bool
- func (o *PermitModTeamNotFound) String() string
- type PermitModTeamOK
- func (o *PermitModTeamOK) Code() int
- func (o *PermitModTeamOK) Error() string
- func (o *PermitModTeamOK) GetPayload() *models.GeneralError
- func (o *PermitModTeamOK) IsClientError() bool
- func (o *PermitModTeamOK) IsCode(code int) bool
- func (o *PermitModTeamOK) IsRedirect() bool
- func (o *PermitModTeamOK) IsServerError() bool
- func (o *PermitModTeamOK) IsSuccess() bool
- func (o *PermitModTeamOK) String() string
- type PermitModTeamParams
- func (o *PermitModTeamParams) SetContext(ctx context.Context)
- func (o *PermitModTeamParams) SetDefaults()
- func (o *PermitModTeamParams) SetHTTPClient(client *http.Client)
- func (o *PermitModTeamParams) SetModID(modID string)
- func (o *PermitModTeamParams) SetModTeam(modTeam *models.ModTeamParams)
- func (o *PermitModTeamParams) SetTimeout(timeout time.Duration)
- func (o *PermitModTeamParams) WithContext(ctx context.Context) *PermitModTeamParams
- func (o *PermitModTeamParams) WithDefaults() *PermitModTeamParams
- func (o *PermitModTeamParams) WithHTTPClient(client *http.Client) *PermitModTeamParams
- func (o *PermitModTeamParams) WithModID(modID string) *PermitModTeamParams
- func (o *PermitModTeamParams) WithModTeam(modTeam *models.ModTeamParams) *PermitModTeamParams
- func (o *PermitModTeamParams) WithTimeout(timeout time.Duration) *PermitModTeamParams
- func (o *PermitModTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitModTeamPreconditionFailed
- func (o *PermitModTeamPreconditionFailed) Code() int
- func (o *PermitModTeamPreconditionFailed) Error() string
- func (o *PermitModTeamPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitModTeamPreconditionFailed) IsClientError() bool
- func (o *PermitModTeamPreconditionFailed) IsCode(code int) bool
- func (o *PermitModTeamPreconditionFailed) IsRedirect() bool
- func (o *PermitModTeamPreconditionFailed) IsServerError() bool
- func (o *PermitModTeamPreconditionFailed) IsSuccess() bool
- func (o *PermitModTeamPreconditionFailed) String() string
- type PermitModTeamReader
- type PermitModTeamUnprocessableEntity
- func (o *PermitModTeamUnprocessableEntity) Code() int
- func (o *PermitModTeamUnprocessableEntity) Error() string
- func (o *PermitModTeamUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitModTeamUnprocessableEntity) IsClientError() bool
- func (o *PermitModTeamUnprocessableEntity) IsCode(code int) bool
- func (o *PermitModTeamUnprocessableEntity) IsRedirect() bool
- func (o *PermitModTeamUnprocessableEntity) IsServerError() bool
- func (o *PermitModTeamUnprocessableEntity) IsSuccess() bool
- func (o *PermitModTeamUnprocessableEntity) String() string
- type PermitModUserDefault
- func (o *PermitModUserDefault) Code() int
- func (o *PermitModUserDefault) Error() string
- func (o *PermitModUserDefault) GetPayload() *models.GeneralError
- func (o *PermitModUserDefault) IsClientError() bool
- func (o *PermitModUserDefault) IsCode(code int) bool
- func (o *PermitModUserDefault) IsRedirect() bool
- func (o *PermitModUserDefault) IsServerError() bool
- func (o *PermitModUserDefault) IsSuccess() bool
- func (o *PermitModUserDefault) String() string
- type PermitModUserForbidden
- func (o *PermitModUserForbidden) Code() int
- func (o *PermitModUserForbidden) Error() string
- func (o *PermitModUserForbidden) GetPayload() *models.GeneralError
- func (o *PermitModUserForbidden) IsClientError() bool
- func (o *PermitModUserForbidden) IsCode(code int) bool
- func (o *PermitModUserForbidden) IsRedirect() bool
- func (o *PermitModUserForbidden) IsServerError() bool
- func (o *PermitModUserForbidden) IsSuccess() bool
- func (o *PermitModUserForbidden) String() string
- type PermitModUserNotFound
- func (o *PermitModUserNotFound) Code() int
- func (o *PermitModUserNotFound) Error() string
- func (o *PermitModUserNotFound) GetPayload() *models.GeneralError
- func (o *PermitModUserNotFound) IsClientError() bool
- func (o *PermitModUserNotFound) IsCode(code int) bool
- func (o *PermitModUserNotFound) IsRedirect() bool
- func (o *PermitModUserNotFound) IsServerError() bool
- func (o *PermitModUserNotFound) IsSuccess() bool
- func (o *PermitModUserNotFound) String() string
- type PermitModUserOK
- func (o *PermitModUserOK) Code() int
- func (o *PermitModUserOK) Error() string
- func (o *PermitModUserOK) GetPayload() *models.GeneralError
- func (o *PermitModUserOK) IsClientError() bool
- func (o *PermitModUserOK) IsCode(code int) bool
- func (o *PermitModUserOK) IsRedirect() bool
- func (o *PermitModUserOK) IsServerError() bool
- func (o *PermitModUserOK) IsSuccess() bool
- func (o *PermitModUserOK) String() string
- type PermitModUserParams
- func (o *PermitModUserParams) SetContext(ctx context.Context)
- func (o *PermitModUserParams) SetDefaults()
- func (o *PermitModUserParams) SetHTTPClient(client *http.Client)
- func (o *PermitModUserParams) SetModID(modID string)
- func (o *PermitModUserParams) SetModUser(modUser *models.ModUserParams)
- func (o *PermitModUserParams) SetTimeout(timeout time.Duration)
- func (o *PermitModUserParams) WithContext(ctx context.Context) *PermitModUserParams
- func (o *PermitModUserParams) WithDefaults() *PermitModUserParams
- func (o *PermitModUserParams) WithHTTPClient(client *http.Client) *PermitModUserParams
- func (o *PermitModUserParams) WithModID(modID string) *PermitModUserParams
- func (o *PermitModUserParams) WithModUser(modUser *models.ModUserParams) *PermitModUserParams
- func (o *PermitModUserParams) WithTimeout(timeout time.Duration) *PermitModUserParams
- func (o *PermitModUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermitModUserPreconditionFailed
- func (o *PermitModUserPreconditionFailed) Code() int
- func (o *PermitModUserPreconditionFailed) Error() string
- func (o *PermitModUserPreconditionFailed) GetPayload() *models.GeneralError
- func (o *PermitModUserPreconditionFailed) IsClientError() bool
- func (o *PermitModUserPreconditionFailed) IsCode(code int) bool
- func (o *PermitModUserPreconditionFailed) IsRedirect() bool
- func (o *PermitModUserPreconditionFailed) IsServerError() bool
- func (o *PermitModUserPreconditionFailed) IsSuccess() bool
- func (o *PermitModUserPreconditionFailed) String() string
- type PermitModUserReader
- type PermitModUserUnprocessableEntity
- func (o *PermitModUserUnprocessableEntity) Code() int
- func (o *PermitModUserUnprocessableEntity) Error() string
- func (o *PermitModUserUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *PermitModUserUnprocessableEntity) IsClientError() bool
- func (o *PermitModUserUnprocessableEntity) IsCode(code int) bool
- func (o *PermitModUserUnprocessableEntity) IsRedirect() bool
- func (o *PermitModUserUnprocessableEntity) IsServerError() bool
- func (o *PermitModUserUnprocessableEntity) IsSuccess() bool
- func (o *PermitModUserUnprocessableEntity) String() string
- type ShowModDefault
- func (o *ShowModDefault) Code() int
- func (o *ShowModDefault) Error() string
- func (o *ShowModDefault) GetPayload() *models.GeneralError
- func (o *ShowModDefault) IsClientError() bool
- func (o *ShowModDefault) IsCode(code int) bool
- func (o *ShowModDefault) IsRedirect() bool
- func (o *ShowModDefault) IsServerError() bool
- func (o *ShowModDefault) IsSuccess() bool
- func (o *ShowModDefault) String() string
- type ShowModForbidden
- func (o *ShowModForbidden) Code() int
- func (o *ShowModForbidden) Error() string
- func (o *ShowModForbidden) GetPayload() *models.GeneralError
- func (o *ShowModForbidden) IsClientError() bool
- func (o *ShowModForbidden) IsCode(code int) bool
- func (o *ShowModForbidden) IsRedirect() bool
- func (o *ShowModForbidden) IsServerError() bool
- func (o *ShowModForbidden) IsSuccess() bool
- func (o *ShowModForbidden) String() string
- type ShowModNotFound
- func (o *ShowModNotFound) Code() int
- func (o *ShowModNotFound) Error() string
- func (o *ShowModNotFound) GetPayload() *models.GeneralError
- func (o *ShowModNotFound) IsClientError() bool
- func (o *ShowModNotFound) IsCode(code int) bool
- func (o *ShowModNotFound) IsRedirect() bool
- func (o *ShowModNotFound) IsServerError() bool
- func (o *ShowModNotFound) IsSuccess() bool
- func (o *ShowModNotFound) String() string
- type ShowModOK
- func (o *ShowModOK) Code() int
- func (o *ShowModOK) Error() string
- func (o *ShowModOK) GetPayload() *models.Mod
- func (o *ShowModOK) IsClientError() bool
- func (o *ShowModOK) IsCode(code int) bool
- func (o *ShowModOK) IsRedirect() bool
- func (o *ShowModOK) IsServerError() bool
- func (o *ShowModOK) IsSuccess() bool
- func (o *ShowModOK) String() string
- type ShowModParams
- func (o *ShowModParams) SetContext(ctx context.Context)
- func (o *ShowModParams) SetDefaults()
- func (o *ShowModParams) SetHTTPClient(client *http.Client)
- func (o *ShowModParams) SetModID(modID string)
- func (o *ShowModParams) SetTimeout(timeout time.Duration)
- func (o *ShowModParams) WithContext(ctx context.Context) *ShowModParams
- func (o *ShowModParams) WithDefaults() *ShowModParams
- func (o *ShowModParams) WithHTTPClient(client *http.Client) *ShowModParams
- func (o *ShowModParams) WithModID(modID string) *ShowModParams
- func (o *ShowModParams) WithTimeout(timeout time.Duration) *ShowModParams
- func (o *ShowModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowModReader
- type ShowVersionDefault
- func (o *ShowVersionDefault) Code() int
- func (o *ShowVersionDefault) Error() string
- func (o *ShowVersionDefault) GetPayload() *models.GeneralError
- func (o *ShowVersionDefault) IsClientError() bool
- func (o *ShowVersionDefault) IsCode(code int) bool
- func (o *ShowVersionDefault) IsRedirect() bool
- func (o *ShowVersionDefault) IsServerError() bool
- func (o *ShowVersionDefault) IsSuccess() bool
- func (o *ShowVersionDefault) String() string
- type ShowVersionForbidden
- func (o *ShowVersionForbidden) Code() int
- func (o *ShowVersionForbidden) Error() string
- func (o *ShowVersionForbidden) GetPayload() *models.GeneralError
- func (o *ShowVersionForbidden) IsClientError() bool
- func (o *ShowVersionForbidden) IsCode(code int) bool
- func (o *ShowVersionForbidden) IsRedirect() bool
- func (o *ShowVersionForbidden) IsServerError() bool
- func (o *ShowVersionForbidden) IsSuccess() bool
- func (o *ShowVersionForbidden) String() string
- type ShowVersionNotFound
- func (o *ShowVersionNotFound) Code() int
- func (o *ShowVersionNotFound) Error() string
- func (o *ShowVersionNotFound) GetPayload() *models.GeneralError
- func (o *ShowVersionNotFound) IsClientError() bool
- func (o *ShowVersionNotFound) IsCode(code int) bool
- func (o *ShowVersionNotFound) IsRedirect() bool
- func (o *ShowVersionNotFound) IsServerError() bool
- func (o *ShowVersionNotFound) IsSuccess() bool
- func (o *ShowVersionNotFound) String() string
- type ShowVersionOK
- func (o *ShowVersionOK) Code() int
- func (o *ShowVersionOK) Error() string
- func (o *ShowVersionOK) GetPayload() *models.Version
- func (o *ShowVersionOK) IsClientError() bool
- func (o *ShowVersionOK) IsCode(code int) bool
- func (o *ShowVersionOK) IsRedirect() bool
- func (o *ShowVersionOK) IsServerError() bool
- func (o *ShowVersionOK) IsSuccess() bool
- func (o *ShowVersionOK) String() string
- type ShowVersionParams
- func (o *ShowVersionParams) SetContext(ctx context.Context)
- func (o *ShowVersionParams) SetDefaults()
- func (o *ShowVersionParams) SetHTTPClient(client *http.Client)
- func (o *ShowVersionParams) SetModID(modID string)
- func (o *ShowVersionParams) SetTimeout(timeout time.Duration)
- func (o *ShowVersionParams) SetVersionID(versionID string)
- func (o *ShowVersionParams) WithContext(ctx context.Context) *ShowVersionParams
- func (o *ShowVersionParams) WithDefaults() *ShowVersionParams
- func (o *ShowVersionParams) WithHTTPClient(client *http.Client) *ShowVersionParams
- func (o *ShowVersionParams) WithModID(modID string) *ShowVersionParams
- func (o *ShowVersionParams) WithTimeout(timeout time.Duration) *ShowVersionParams
- func (o *ShowVersionParams) WithVersionID(versionID string) *ShowVersionParams
- func (o *ShowVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowVersionReader
- type UpdateModDefault
- func (o *UpdateModDefault) Code() int
- func (o *UpdateModDefault) Error() string
- func (o *UpdateModDefault) GetPayload() *models.GeneralError
- func (o *UpdateModDefault) IsClientError() bool
- func (o *UpdateModDefault) IsCode(code int) bool
- func (o *UpdateModDefault) IsRedirect() bool
- func (o *UpdateModDefault) IsServerError() bool
- func (o *UpdateModDefault) IsSuccess() bool
- func (o *UpdateModDefault) String() string
- type UpdateModForbidden
- func (o *UpdateModForbidden) Code() int
- func (o *UpdateModForbidden) Error() string
- func (o *UpdateModForbidden) GetPayload() *models.GeneralError
- func (o *UpdateModForbidden) IsClientError() bool
- func (o *UpdateModForbidden) IsCode(code int) bool
- func (o *UpdateModForbidden) IsRedirect() bool
- func (o *UpdateModForbidden) IsServerError() bool
- func (o *UpdateModForbidden) IsSuccess() bool
- func (o *UpdateModForbidden) String() string
- type UpdateModNotFound
- func (o *UpdateModNotFound) Code() int
- func (o *UpdateModNotFound) Error() string
- func (o *UpdateModNotFound) GetPayload() *models.GeneralError
- func (o *UpdateModNotFound) IsClientError() bool
- func (o *UpdateModNotFound) IsCode(code int) bool
- func (o *UpdateModNotFound) IsRedirect() bool
- func (o *UpdateModNotFound) IsServerError() bool
- func (o *UpdateModNotFound) IsSuccess() bool
- func (o *UpdateModNotFound) String() string
- type UpdateModOK
- func (o *UpdateModOK) Code() int
- func (o *UpdateModOK) Error() string
- func (o *UpdateModOK) GetPayload() *models.Mod
- func (o *UpdateModOK) IsClientError() bool
- func (o *UpdateModOK) IsCode(code int) bool
- func (o *UpdateModOK) IsRedirect() bool
- func (o *UpdateModOK) IsServerError() bool
- func (o *UpdateModOK) IsSuccess() bool
- func (o *UpdateModOK) String() string
- type UpdateModParams
- func (o *UpdateModParams) SetContext(ctx context.Context)
- func (o *UpdateModParams) SetDefaults()
- func (o *UpdateModParams) SetHTTPClient(client *http.Client)
- func (o *UpdateModParams) SetMod(mod *models.Mod)
- func (o *UpdateModParams) SetModID(modID string)
- func (o *UpdateModParams) SetTimeout(timeout time.Duration)
- func (o *UpdateModParams) WithContext(ctx context.Context) *UpdateModParams
- func (o *UpdateModParams) WithDefaults() *UpdateModParams
- func (o *UpdateModParams) WithHTTPClient(client *http.Client) *UpdateModParams
- func (o *UpdateModParams) WithMod(mod *models.Mod) *UpdateModParams
- func (o *UpdateModParams) WithModID(modID string) *UpdateModParams
- func (o *UpdateModParams) WithTimeout(timeout time.Duration) *UpdateModParams
- func (o *UpdateModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateModReader
- type UpdateModUnprocessableEntity
- func (o *UpdateModUnprocessableEntity) Code() int
- func (o *UpdateModUnprocessableEntity) Error() string
- func (o *UpdateModUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateModUnprocessableEntity) IsClientError() bool
- func (o *UpdateModUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateModUnprocessableEntity) IsRedirect() bool
- func (o *UpdateModUnprocessableEntity) IsServerError() bool
- func (o *UpdateModUnprocessableEntity) IsSuccess() bool
- func (o *UpdateModUnprocessableEntity) String() string
- type UpdateVersionDefault
- func (o *UpdateVersionDefault) Code() int
- func (o *UpdateVersionDefault) Error() string
- func (o *UpdateVersionDefault) GetPayload() *models.GeneralError
- func (o *UpdateVersionDefault) IsClientError() bool
- func (o *UpdateVersionDefault) IsCode(code int) bool
- func (o *UpdateVersionDefault) IsRedirect() bool
- func (o *UpdateVersionDefault) IsServerError() bool
- func (o *UpdateVersionDefault) IsSuccess() bool
- func (o *UpdateVersionDefault) String() string
- type UpdateVersionForbidden
- func (o *UpdateVersionForbidden) Code() int
- func (o *UpdateVersionForbidden) Error() string
- func (o *UpdateVersionForbidden) GetPayload() *models.GeneralError
- func (o *UpdateVersionForbidden) IsClientError() bool
- func (o *UpdateVersionForbidden) IsCode(code int) bool
- func (o *UpdateVersionForbidden) IsRedirect() bool
- func (o *UpdateVersionForbidden) IsServerError() bool
- func (o *UpdateVersionForbidden) IsSuccess() bool
- func (o *UpdateVersionForbidden) String() string
- type UpdateVersionNotFound
- func (o *UpdateVersionNotFound) Code() int
- func (o *UpdateVersionNotFound) Error() string
- func (o *UpdateVersionNotFound) GetPayload() *models.GeneralError
- func (o *UpdateVersionNotFound) IsClientError() bool
- func (o *UpdateVersionNotFound) IsCode(code int) bool
- func (o *UpdateVersionNotFound) IsRedirect() bool
- func (o *UpdateVersionNotFound) IsServerError() bool
- func (o *UpdateVersionNotFound) IsSuccess() bool
- func (o *UpdateVersionNotFound) String() string
- type UpdateVersionOK
- func (o *UpdateVersionOK) Code() int
- func (o *UpdateVersionOK) Error() string
- func (o *UpdateVersionOK) GetPayload() *models.Version
- func (o *UpdateVersionOK) IsClientError() bool
- func (o *UpdateVersionOK) IsCode(code int) bool
- func (o *UpdateVersionOK) IsRedirect() bool
- func (o *UpdateVersionOK) IsServerError() bool
- func (o *UpdateVersionOK) IsSuccess() bool
- func (o *UpdateVersionOK) String() string
- type UpdateVersionParams
- func (o *UpdateVersionParams) SetContext(ctx context.Context)
- func (o *UpdateVersionParams) SetDefaults()
- func (o *UpdateVersionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVersionParams) SetModID(modID string)
- func (o *UpdateVersionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVersionParams) SetVersion(version *models.Version)
- func (o *UpdateVersionParams) SetVersionID(versionID string)
- func (o *UpdateVersionParams) WithContext(ctx context.Context) *UpdateVersionParams
- func (o *UpdateVersionParams) WithDefaults() *UpdateVersionParams
- func (o *UpdateVersionParams) WithHTTPClient(client *http.Client) *UpdateVersionParams
- func (o *UpdateVersionParams) WithModID(modID string) *UpdateVersionParams
- func (o *UpdateVersionParams) WithTimeout(timeout time.Duration) *UpdateVersionParams
- func (o *UpdateVersionParams) WithVersion(version *models.Version) *UpdateVersionParams
- func (o *UpdateVersionParams) WithVersionID(versionID string) *UpdateVersionParams
- func (o *UpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVersionReader
- type UpdateVersionUnprocessableEntity
- func (o *UpdateVersionUnprocessableEntity) Code() int
- func (o *UpdateVersionUnprocessableEntity) Error() string
- func (o *UpdateVersionUnprocessableEntity) GetPayload() *models.ValidationError
- func (o *UpdateVersionUnprocessableEntity) IsClientError() bool
- func (o *UpdateVersionUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateVersionUnprocessableEntity) IsRedirect() bool
- func (o *UpdateVersionUnprocessableEntity) IsServerError() bool
- func (o *UpdateVersionUnprocessableEntity) IsSuccess() bool
- func (o *UpdateVersionUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendVersionToBuildDefault ¶
type AppendVersionToBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AppendVersionToBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAppendVersionToBuildDefault ¶
func NewAppendVersionToBuildDefault(code int) *AppendVersionToBuildDefault
NewAppendVersionToBuildDefault creates a AppendVersionToBuildDefault with default headers values
func (*AppendVersionToBuildDefault) Code ¶
func (o *AppendVersionToBuildDefault) Code() int
Code gets the status code for the append version to build default response
func (*AppendVersionToBuildDefault) Error ¶
func (o *AppendVersionToBuildDefault) Error() string
func (*AppendVersionToBuildDefault) GetPayload ¶
func (o *AppendVersionToBuildDefault) GetPayload() *models.GeneralError
func (*AppendVersionToBuildDefault) IsClientError ¶
func (o *AppendVersionToBuildDefault) IsClientError() bool
IsClientError returns true when this append version to build default response has a 4xx status code
func (*AppendVersionToBuildDefault) IsCode ¶
func (o *AppendVersionToBuildDefault) IsCode(code int) bool
IsCode returns true when this append version to build default response a status code equal to that given
func (*AppendVersionToBuildDefault) IsRedirect ¶
func (o *AppendVersionToBuildDefault) IsRedirect() bool
IsRedirect returns true when this append version to build default response has a 3xx status code
func (*AppendVersionToBuildDefault) IsServerError ¶
func (o *AppendVersionToBuildDefault) IsServerError() bool
IsServerError returns true when this append version to build default response has a 5xx status code
func (*AppendVersionToBuildDefault) IsSuccess ¶
func (o *AppendVersionToBuildDefault) IsSuccess() bool
IsSuccess returns true when this append version to build default response has a 2xx status code
func (*AppendVersionToBuildDefault) String ¶
func (o *AppendVersionToBuildDefault) String() string
type AppendVersionToBuildForbidden ¶
type AppendVersionToBuildForbidden struct {
Payload *models.GeneralError
}
AppendVersionToBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAppendVersionToBuildForbidden ¶
func NewAppendVersionToBuildForbidden() *AppendVersionToBuildForbidden
NewAppendVersionToBuildForbidden creates a AppendVersionToBuildForbidden with default headers values
func (*AppendVersionToBuildForbidden) Code ¶
func (o *AppendVersionToBuildForbidden) Code() int
Code gets the status code for the append version to build forbidden response
func (*AppendVersionToBuildForbidden) Error ¶
func (o *AppendVersionToBuildForbidden) Error() string
func (*AppendVersionToBuildForbidden) GetPayload ¶
func (o *AppendVersionToBuildForbidden) GetPayload() *models.GeneralError
func (*AppendVersionToBuildForbidden) IsClientError ¶
func (o *AppendVersionToBuildForbidden) IsClientError() bool
IsClientError returns true when this append version to build forbidden response has a 4xx status code
func (*AppendVersionToBuildForbidden) IsCode ¶
func (o *AppendVersionToBuildForbidden) IsCode(code int) bool
IsCode returns true when this append version to build forbidden response a status code equal to that given
func (*AppendVersionToBuildForbidden) IsRedirect ¶
func (o *AppendVersionToBuildForbidden) IsRedirect() bool
IsRedirect returns true when this append version to build forbidden response has a 3xx status code
func (*AppendVersionToBuildForbidden) IsServerError ¶
func (o *AppendVersionToBuildForbidden) IsServerError() bool
IsServerError returns true when this append version to build forbidden response has a 5xx status code
func (*AppendVersionToBuildForbidden) IsSuccess ¶
func (o *AppendVersionToBuildForbidden) IsSuccess() bool
IsSuccess returns true when this append version to build forbidden response has a 2xx status code
func (*AppendVersionToBuildForbidden) String ¶
func (o *AppendVersionToBuildForbidden) String() string
type AppendVersionToBuildNotFound ¶
type AppendVersionToBuildNotFound struct {
Payload *models.GeneralError
}
AppendVersionToBuildNotFound describes a response with status code 404, with default header values.
Build, version or mod not found
func NewAppendVersionToBuildNotFound ¶
func NewAppendVersionToBuildNotFound() *AppendVersionToBuildNotFound
NewAppendVersionToBuildNotFound creates a AppendVersionToBuildNotFound with default headers values
func (*AppendVersionToBuildNotFound) Code ¶
func (o *AppendVersionToBuildNotFound) Code() int
Code gets the status code for the append version to build not found response
func (*AppendVersionToBuildNotFound) Error ¶
func (o *AppendVersionToBuildNotFound) Error() string
func (*AppendVersionToBuildNotFound) GetPayload ¶
func (o *AppendVersionToBuildNotFound) GetPayload() *models.GeneralError
func (*AppendVersionToBuildNotFound) IsClientError ¶
func (o *AppendVersionToBuildNotFound) IsClientError() bool
IsClientError returns true when this append version to build not found response has a 4xx status code
func (*AppendVersionToBuildNotFound) IsCode ¶
func (o *AppendVersionToBuildNotFound) IsCode(code int) bool
IsCode returns true when this append version to build not found response a status code equal to that given
func (*AppendVersionToBuildNotFound) IsRedirect ¶
func (o *AppendVersionToBuildNotFound) IsRedirect() bool
IsRedirect returns true when this append version to build not found response has a 3xx status code
func (*AppendVersionToBuildNotFound) IsServerError ¶
func (o *AppendVersionToBuildNotFound) IsServerError() bool
IsServerError returns true when this append version to build not found response has a 5xx status code
func (*AppendVersionToBuildNotFound) IsSuccess ¶
func (o *AppendVersionToBuildNotFound) IsSuccess() bool
IsSuccess returns true when this append version to build not found response has a 2xx status code
func (*AppendVersionToBuildNotFound) String ¶
func (o *AppendVersionToBuildNotFound) String() string
type AppendVersionToBuildOK ¶
type AppendVersionToBuildOK struct {
Payload *models.GeneralError
}
AppendVersionToBuildOK describes a response with status code 200, with default header values.
Plain success message
func NewAppendVersionToBuildOK ¶
func NewAppendVersionToBuildOK() *AppendVersionToBuildOK
NewAppendVersionToBuildOK creates a AppendVersionToBuildOK with default headers values
func (*AppendVersionToBuildOK) Code ¶
func (o *AppendVersionToBuildOK) Code() int
Code gets the status code for the append version to build o k response
func (*AppendVersionToBuildOK) Error ¶
func (o *AppendVersionToBuildOK) Error() string
func (*AppendVersionToBuildOK) GetPayload ¶
func (o *AppendVersionToBuildOK) GetPayload() *models.GeneralError
func (*AppendVersionToBuildOK) IsClientError ¶
func (o *AppendVersionToBuildOK) IsClientError() bool
IsClientError returns true when this append version to build o k response has a 4xx status code
func (*AppendVersionToBuildOK) IsCode ¶
func (o *AppendVersionToBuildOK) IsCode(code int) bool
IsCode returns true when this append version to build o k response a status code equal to that given
func (*AppendVersionToBuildOK) IsRedirect ¶
func (o *AppendVersionToBuildOK) IsRedirect() bool
IsRedirect returns true when this append version to build o k response has a 3xx status code
func (*AppendVersionToBuildOK) IsServerError ¶
func (o *AppendVersionToBuildOK) IsServerError() bool
IsServerError returns true when this append version to build o k response has a 5xx status code
func (*AppendVersionToBuildOK) IsSuccess ¶
func (o *AppendVersionToBuildOK) IsSuccess() bool
IsSuccess returns true when this append version to build o k response has a 2xx status code
func (*AppendVersionToBuildOK) String ¶
func (o *AppendVersionToBuildOK) String() string
type AppendVersionToBuildParams ¶
type AppendVersionToBuildParams struct { /* ModID. A mod UUID or slug */ ModID string /* VersionBuild. The build data to append to version */ VersionBuild *models.VersionBuildParams /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AppendVersionToBuildParams contains all the parameters to send to the API endpoint
for the append version to build operation. Typically these are written to a http.Request.
func NewAppendVersionToBuildParams ¶
func NewAppendVersionToBuildParams() *AppendVersionToBuildParams
NewAppendVersionToBuildParams creates a new AppendVersionToBuildParams 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 NewAppendVersionToBuildParamsWithContext ¶
func NewAppendVersionToBuildParamsWithContext(ctx context.Context) *AppendVersionToBuildParams
NewAppendVersionToBuildParamsWithContext creates a new AppendVersionToBuildParams object with the ability to set a context for a request.
func NewAppendVersionToBuildParamsWithHTTPClient ¶
func NewAppendVersionToBuildParamsWithHTTPClient(client *http.Client) *AppendVersionToBuildParams
NewAppendVersionToBuildParamsWithHTTPClient creates a new AppendVersionToBuildParams object with the ability to set a custom HTTPClient for a request.
func NewAppendVersionToBuildParamsWithTimeout ¶
func NewAppendVersionToBuildParamsWithTimeout(timeout time.Duration) *AppendVersionToBuildParams
NewAppendVersionToBuildParamsWithTimeout creates a new AppendVersionToBuildParams object with the ability to set a timeout on a request.
func (*AppendVersionToBuildParams) SetContext ¶
func (o *AppendVersionToBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the append version to build params
func (*AppendVersionToBuildParams) SetDefaults ¶
func (o *AppendVersionToBuildParams) SetDefaults()
SetDefaults hydrates default values in the append version to build params (not the query body).
All values with no default are reset to their zero value.
func (*AppendVersionToBuildParams) SetHTTPClient ¶
func (o *AppendVersionToBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the append version to build params
func (*AppendVersionToBuildParams) SetModID ¶
func (o *AppendVersionToBuildParams) SetModID(modID string)
SetModID adds the modId to the append version to build params
func (*AppendVersionToBuildParams) SetTimeout ¶
func (o *AppendVersionToBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the append version to build params
func (*AppendVersionToBuildParams) SetVersionBuild ¶
func (o *AppendVersionToBuildParams) SetVersionBuild(versionBuild *models.VersionBuildParams)
SetVersionBuild adds the versionBuild to the append version to build params
func (*AppendVersionToBuildParams) SetVersionID ¶
func (o *AppendVersionToBuildParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the append version to build params
func (*AppendVersionToBuildParams) WithContext ¶
func (o *AppendVersionToBuildParams) WithContext(ctx context.Context) *AppendVersionToBuildParams
WithContext adds the context to the append version to build params
func (*AppendVersionToBuildParams) WithDefaults ¶
func (o *AppendVersionToBuildParams) WithDefaults() *AppendVersionToBuildParams
WithDefaults hydrates default values in the append version to build params (not the query body).
All values with no default are reset to their zero value.
func (*AppendVersionToBuildParams) WithHTTPClient ¶
func (o *AppendVersionToBuildParams) WithHTTPClient(client *http.Client) *AppendVersionToBuildParams
WithHTTPClient adds the HTTPClient to the append version to build params
func (*AppendVersionToBuildParams) WithModID ¶
func (o *AppendVersionToBuildParams) WithModID(modID string) *AppendVersionToBuildParams
WithModID adds the modID to the append version to build params
func (*AppendVersionToBuildParams) WithTimeout ¶
func (o *AppendVersionToBuildParams) WithTimeout(timeout time.Duration) *AppendVersionToBuildParams
WithTimeout adds the timeout to the append version to build params
func (*AppendVersionToBuildParams) WithVersionBuild ¶
func (o *AppendVersionToBuildParams) WithVersionBuild(versionBuild *models.VersionBuildParams) *AppendVersionToBuildParams
WithVersionBuild adds the versionBuild to the append version to build params
func (*AppendVersionToBuildParams) WithVersionID ¶
func (o *AppendVersionToBuildParams) WithVersionID(versionID string) *AppendVersionToBuildParams
WithVersionID adds the versionID to the append version to build params
func (*AppendVersionToBuildParams) WriteToRequest ¶
func (o *AppendVersionToBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AppendVersionToBuildPreconditionFailed ¶
type AppendVersionToBuildPreconditionFailed struct {
Payload *models.GeneralError
}
AppendVersionToBuildPreconditionFailed describes a response with status code 412, with default header values.
Build is already assigned
func NewAppendVersionToBuildPreconditionFailed ¶
func NewAppendVersionToBuildPreconditionFailed() *AppendVersionToBuildPreconditionFailed
NewAppendVersionToBuildPreconditionFailed creates a AppendVersionToBuildPreconditionFailed with default headers values
func (*AppendVersionToBuildPreconditionFailed) Code ¶
func (o *AppendVersionToBuildPreconditionFailed) Code() int
Code gets the status code for the append version to build precondition failed response
func (*AppendVersionToBuildPreconditionFailed) Error ¶
func (o *AppendVersionToBuildPreconditionFailed) Error() string
func (*AppendVersionToBuildPreconditionFailed) GetPayload ¶
func (o *AppendVersionToBuildPreconditionFailed) GetPayload() *models.GeneralError
func (*AppendVersionToBuildPreconditionFailed) IsClientError ¶
func (o *AppendVersionToBuildPreconditionFailed) IsClientError() bool
IsClientError returns true when this append version to build precondition failed response has a 4xx status code
func (*AppendVersionToBuildPreconditionFailed) IsCode ¶
func (o *AppendVersionToBuildPreconditionFailed) IsCode(code int) bool
IsCode returns true when this append version to build precondition failed response a status code equal to that given
func (*AppendVersionToBuildPreconditionFailed) IsRedirect ¶
func (o *AppendVersionToBuildPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this append version to build precondition failed response has a 3xx status code
func (*AppendVersionToBuildPreconditionFailed) IsServerError ¶
func (o *AppendVersionToBuildPreconditionFailed) IsServerError() bool
IsServerError returns true when this append version to build precondition failed response has a 5xx status code
func (*AppendVersionToBuildPreconditionFailed) IsSuccess ¶
func (o *AppendVersionToBuildPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this append version to build precondition failed response has a 2xx status code
func (*AppendVersionToBuildPreconditionFailed) String ¶
func (o *AppendVersionToBuildPreconditionFailed) String() string
type AppendVersionToBuildReader ¶
type AppendVersionToBuildReader struct {
// contains filtered or unexported fields
}
AppendVersionToBuildReader is a Reader for the AppendVersionToBuild structure.
func (*AppendVersionToBuildReader) ReadResponse ¶
func (o *AppendVersionToBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AppendVersionToBuildUnprocessableEntity ¶
type AppendVersionToBuildUnprocessableEntity struct {
Payload *models.ValidationError
}
AppendVersionToBuildUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAppendVersionToBuildUnprocessableEntity ¶
func NewAppendVersionToBuildUnprocessableEntity() *AppendVersionToBuildUnprocessableEntity
NewAppendVersionToBuildUnprocessableEntity creates a AppendVersionToBuildUnprocessableEntity with default headers values
func (*AppendVersionToBuildUnprocessableEntity) Code ¶
func (o *AppendVersionToBuildUnprocessableEntity) Code() int
Code gets the status code for the append version to build unprocessable entity response
func (*AppendVersionToBuildUnprocessableEntity) Error ¶
func (o *AppendVersionToBuildUnprocessableEntity) Error() string
func (*AppendVersionToBuildUnprocessableEntity) GetPayload ¶
func (o *AppendVersionToBuildUnprocessableEntity) GetPayload() *models.ValidationError
func (*AppendVersionToBuildUnprocessableEntity) IsClientError ¶
func (o *AppendVersionToBuildUnprocessableEntity) IsClientError() bool
IsClientError returns true when this append version to build unprocessable entity response has a 4xx status code
func (*AppendVersionToBuildUnprocessableEntity) IsCode ¶
func (o *AppendVersionToBuildUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this append version to build unprocessable entity response a status code equal to that given
func (*AppendVersionToBuildUnprocessableEntity) IsRedirect ¶
func (o *AppendVersionToBuildUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this append version to build unprocessable entity response has a 3xx status code
func (*AppendVersionToBuildUnprocessableEntity) IsServerError ¶
func (o *AppendVersionToBuildUnprocessableEntity) IsServerError() bool
IsServerError returns true when this append version to build unprocessable entity response has a 5xx status code
func (*AppendVersionToBuildUnprocessableEntity) IsSuccess ¶
func (o *AppendVersionToBuildUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this append version to build unprocessable entity response has a 2xx status code
func (*AppendVersionToBuildUnprocessableEntity) String ¶
func (o *AppendVersionToBuildUnprocessableEntity) String() string
type AttachModToTeamDefault ¶
type AttachModToTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachModToTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachModToTeamDefault ¶
func NewAttachModToTeamDefault(code int) *AttachModToTeamDefault
NewAttachModToTeamDefault creates a AttachModToTeamDefault with default headers values
func (*AttachModToTeamDefault) Code ¶
func (o *AttachModToTeamDefault) Code() int
Code gets the status code for the attach mod to team default response
func (*AttachModToTeamDefault) Error ¶
func (o *AttachModToTeamDefault) Error() string
func (*AttachModToTeamDefault) GetPayload ¶
func (o *AttachModToTeamDefault) GetPayload() *models.GeneralError
func (*AttachModToTeamDefault) IsClientError ¶
func (o *AttachModToTeamDefault) IsClientError() bool
IsClientError returns true when this attach mod to team default response has a 4xx status code
func (*AttachModToTeamDefault) IsCode ¶
func (o *AttachModToTeamDefault) IsCode(code int) bool
IsCode returns true when this attach mod to team default response a status code equal to that given
func (*AttachModToTeamDefault) IsRedirect ¶
func (o *AttachModToTeamDefault) IsRedirect() bool
IsRedirect returns true when this attach mod to team default response has a 3xx status code
func (*AttachModToTeamDefault) IsServerError ¶
func (o *AttachModToTeamDefault) IsServerError() bool
IsServerError returns true when this attach mod to team default response has a 5xx status code
func (*AttachModToTeamDefault) IsSuccess ¶
func (o *AttachModToTeamDefault) IsSuccess() bool
IsSuccess returns true when this attach mod to team default response has a 2xx status code
func (*AttachModToTeamDefault) String ¶
func (o *AttachModToTeamDefault) String() string
type AttachModToTeamForbidden ¶
type AttachModToTeamForbidden struct {
Payload *models.GeneralError
}
AttachModToTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachModToTeamForbidden ¶
func NewAttachModToTeamForbidden() *AttachModToTeamForbidden
NewAttachModToTeamForbidden creates a AttachModToTeamForbidden with default headers values
func (*AttachModToTeamForbidden) Code ¶
func (o *AttachModToTeamForbidden) Code() int
Code gets the status code for the attach mod to team forbidden response
func (*AttachModToTeamForbidden) Error ¶
func (o *AttachModToTeamForbidden) Error() string
func (*AttachModToTeamForbidden) GetPayload ¶
func (o *AttachModToTeamForbidden) GetPayload() *models.GeneralError
func (*AttachModToTeamForbidden) IsClientError ¶
func (o *AttachModToTeamForbidden) IsClientError() bool
IsClientError returns true when this attach mod to team forbidden response has a 4xx status code
func (*AttachModToTeamForbidden) IsCode ¶
func (o *AttachModToTeamForbidden) IsCode(code int) bool
IsCode returns true when this attach mod to team forbidden response a status code equal to that given
func (*AttachModToTeamForbidden) IsRedirect ¶
func (o *AttachModToTeamForbidden) IsRedirect() bool
IsRedirect returns true when this attach mod to team forbidden response has a 3xx status code
func (*AttachModToTeamForbidden) IsServerError ¶
func (o *AttachModToTeamForbidden) IsServerError() bool
IsServerError returns true when this attach mod to team forbidden response has a 5xx status code
func (*AttachModToTeamForbidden) IsSuccess ¶
func (o *AttachModToTeamForbidden) IsSuccess() bool
IsSuccess returns true when this attach mod to team forbidden response has a 2xx status code
func (*AttachModToTeamForbidden) String ¶
func (o *AttachModToTeamForbidden) String() string
type AttachModToTeamNotFound ¶
type AttachModToTeamNotFound struct {
Payload *models.GeneralError
}
AttachModToTeamNotFound describes a response with status code 404, with default header values.
Mod or team not found
func NewAttachModToTeamNotFound ¶
func NewAttachModToTeamNotFound() *AttachModToTeamNotFound
NewAttachModToTeamNotFound creates a AttachModToTeamNotFound with default headers values
func (*AttachModToTeamNotFound) Code ¶
func (o *AttachModToTeamNotFound) Code() int
Code gets the status code for the attach mod to team not found response
func (*AttachModToTeamNotFound) Error ¶
func (o *AttachModToTeamNotFound) Error() string
func (*AttachModToTeamNotFound) GetPayload ¶
func (o *AttachModToTeamNotFound) GetPayload() *models.GeneralError
func (*AttachModToTeamNotFound) IsClientError ¶
func (o *AttachModToTeamNotFound) IsClientError() bool
IsClientError returns true when this attach mod to team not found response has a 4xx status code
func (*AttachModToTeamNotFound) IsCode ¶
func (o *AttachModToTeamNotFound) IsCode(code int) bool
IsCode returns true when this attach mod to team not found response a status code equal to that given
func (*AttachModToTeamNotFound) IsRedirect ¶
func (o *AttachModToTeamNotFound) IsRedirect() bool
IsRedirect returns true when this attach mod to team not found response has a 3xx status code
func (*AttachModToTeamNotFound) IsServerError ¶
func (o *AttachModToTeamNotFound) IsServerError() bool
IsServerError returns true when this attach mod to team not found response has a 5xx status code
func (*AttachModToTeamNotFound) IsSuccess ¶
func (o *AttachModToTeamNotFound) IsSuccess() bool
IsSuccess returns true when this attach mod to team not found response has a 2xx status code
func (*AttachModToTeamNotFound) String ¶
func (o *AttachModToTeamNotFound) String() string
type AttachModToTeamOK ¶
type AttachModToTeamOK struct {
Payload *models.GeneralError
}
AttachModToTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachModToTeamOK ¶
func NewAttachModToTeamOK() *AttachModToTeamOK
NewAttachModToTeamOK creates a AttachModToTeamOK with default headers values
func (*AttachModToTeamOK) Code ¶
func (o *AttachModToTeamOK) Code() int
Code gets the status code for the attach mod to team o k response
func (*AttachModToTeamOK) Error ¶
func (o *AttachModToTeamOK) Error() string
func (*AttachModToTeamOK) GetPayload ¶
func (o *AttachModToTeamOK) GetPayload() *models.GeneralError
func (*AttachModToTeamOK) IsClientError ¶
func (o *AttachModToTeamOK) IsClientError() bool
IsClientError returns true when this attach mod to team o k response has a 4xx status code
func (*AttachModToTeamOK) IsCode ¶
func (o *AttachModToTeamOK) IsCode(code int) bool
IsCode returns true when this attach mod to team o k response a status code equal to that given
func (*AttachModToTeamOK) IsRedirect ¶
func (o *AttachModToTeamOK) IsRedirect() bool
IsRedirect returns true when this attach mod to team o k response has a 3xx status code
func (*AttachModToTeamOK) IsServerError ¶
func (o *AttachModToTeamOK) IsServerError() bool
IsServerError returns true when this attach mod to team o k response has a 5xx status code
func (*AttachModToTeamOK) IsSuccess ¶
func (o *AttachModToTeamOK) IsSuccess() bool
IsSuccess returns true when this attach mod to team o k response has a 2xx status code
func (*AttachModToTeamOK) String ¶
func (o *AttachModToTeamOK) String() string
type AttachModToTeamParams ¶
type AttachModToTeamParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModTeam. The mod team data to attach */ ModTeam *models.ModTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachModToTeamParams contains all the parameters to send to the API endpoint
for the attach mod to team operation. Typically these are written to a http.Request.
func NewAttachModToTeamParams ¶
func NewAttachModToTeamParams() *AttachModToTeamParams
NewAttachModToTeamParams creates a new AttachModToTeamParams 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 NewAttachModToTeamParamsWithContext ¶
func NewAttachModToTeamParamsWithContext(ctx context.Context) *AttachModToTeamParams
NewAttachModToTeamParamsWithContext creates a new AttachModToTeamParams object with the ability to set a context for a request.
func NewAttachModToTeamParamsWithHTTPClient ¶
func NewAttachModToTeamParamsWithHTTPClient(client *http.Client) *AttachModToTeamParams
NewAttachModToTeamParamsWithHTTPClient creates a new AttachModToTeamParams object with the ability to set a custom HTTPClient for a request.
func NewAttachModToTeamParamsWithTimeout ¶
func NewAttachModToTeamParamsWithTimeout(timeout time.Duration) *AttachModToTeamParams
NewAttachModToTeamParamsWithTimeout creates a new AttachModToTeamParams object with the ability to set a timeout on a request.
func (*AttachModToTeamParams) SetContext ¶
func (o *AttachModToTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the attach mod to team params
func (*AttachModToTeamParams) SetDefaults ¶
func (o *AttachModToTeamParams) SetDefaults()
SetDefaults hydrates default values in the attach mod to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachModToTeamParams) SetHTTPClient ¶
func (o *AttachModToTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach mod to team params
func (*AttachModToTeamParams) SetModID ¶
func (o *AttachModToTeamParams) SetModID(modID string)
SetModID adds the modId to the attach mod to team params
func (*AttachModToTeamParams) SetModTeam ¶
func (o *AttachModToTeamParams) SetModTeam(modTeam *models.ModTeamParams)
SetModTeam adds the modTeam to the attach mod to team params
func (*AttachModToTeamParams) SetTimeout ¶
func (o *AttachModToTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach mod to team params
func (*AttachModToTeamParams) WithContext ¶
func (o *AttachModToTeamParams) WithContext(ctx context.Context) *AttachModToTeamParams
WithContext adds the context to the attach mod to team params
func (*AttachModToTeamParams) WithDefaults ¶
func (o *AttachModToTeamParams) WithDefaults() *AttachModToTeamParams
WithDefaults hydrates default values in the attach mod to team params (not the query body).
All values with no default are reset to their zero value.
func (*AttachModToTeamParams) WithHTTPClient ¶
func (o *AttachModToTeamParams) WithHTTPClient(client *http.Client) *AttachModToTeamParams
WithHTTPClient adds the HTTPClient to the attach mod to team params
func (*AttachModToTeamParams) WithModID ¶
func (o *AttachModToTeamParams) WithModID(modID string) *AttachModToTeamParams
WithModID adds the modID to the attach mod to team params
func (*AttachModToTeamParams) WithModTeam ¶
func (o *AttachModToTeamParams) WithModTeam(modTeam *models.ModTeamParams) *AttachModToTeamParams
WithModTeam adds the modTeam to the attach mod to team params
func (*AttachModToTeamParams) WithTimeout ¶
func (o *AttachModToTeamParams) WithTimeout(timeout time.Duration) *AttachModToTeamParams
WithTimeout adds the timeout to the attach mod to team params
func (*AttachModToTeamParams) WriteToRequest ¶
func (o *AttachModToTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachModToTeamPreconditionFailed ¶
type AttachModToTeamPreconditionFailed struct {
Payload *models.GeneralError
}
AttachModToTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is already attached
func NewAttachModToTeamPreconditionFailed ¶
func NewAttachModToTeamPreconditionFailed() *AttachModToTeamPreconditionFailed
NewAttachModToTeamPreconditionFailed creates a AttachModToTeamPreconditionFailed with default headers values
func (*AttachModToTeamPreconditionFailed) Code ¶
func (o *AttachModToTeamPreconditionFailed) Code() int
Code gets the status code for the attach mod to team precondition failed response
func (*AttachModToTeamPreconditionFailed) Error ¶
func (o *AttachModToTeamPreconditionFailed) Error() string
func (*AttachModToTeamPreconditionFailed) GetPayload ¶
func (o *AttachModToTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachModToTeamPreconditionFailed) IsClientError ¶
func (o *AttachModToTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach mod to team precondition failed response has a 4xx status code
func (*AttachModToTeamPreconditionFailed) IsCode ¶
func (o *AttachModToTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach mod to team precondition failed response a status code equal to that given
func (*AttachModToTeamPreconditionFailed) IsRedirect ¶
func (o *AttachModToTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach mod to team precondition failed response has a 3xx status code
func (*AttachModToTeamPreconditionFailed) IsServerError ¶
func (o *AttachModToTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach mod to team precondition failed response has a 5xx status code
func (*AttachModToTeamPreconditionFailed) IsSuccess ¶
func (o *AttachModToTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach mod to team precondition failed response has a 2xx status code
func (*AttachModToTeamPreconditionFailed) String ¶
func (o *AttachModToTeamPreconditionFailed) String() string
type AttachModToTeamReader ¶
type AttachModToTeamReader struct {
// contains filtered or unexported fields
}
AttachModToTeamReader is a Reader for the AttachModToTeam structure.
func (*AttachModToTeamReader) ReadResponse ¶
func (o *AttachModToTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachModToTeamUnprocessableEntity ¶
type AttachModToTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachModToTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachModToTeamUnprocessableEntity ¶
func NewAttachModToTeamUnprocessableEntity() *AttachModToTeamUnprocessableEntity
NewAttachModToTeamUnprocessableEntity creates a AttachModToTeamUnprocessableEntity with default headers values
func (*AttachModToTeamUnprocessableEntity) Code ¶
func (o *AttachModToTeamUnprocessableEntity) Code() int
Code gets the status code for the attach mod to team unprocessable entity response
func (*AttachModToTeamUnprocessableEntity) Error ¶
func (o *AttachModToTeamUnprocessableEntity) Error() string
func (*AttachModToTeamUnprocessableEntity) GetPayload ¶
func (o *AttachModToTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachModToTeamUnprocessableEntity) IsClientError ¶
func (o *AttachModToTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach mod to team unprocessable entity response has a 4xx status code
func (*AttachModToTeamUnprocessableEntity) IsCode ¶
func (o *AttachModToTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach mod to team unprocessable entity response a status code equal to that given
func (*AttachModToTeamUnprocessableEntity) IsRedirect ¶
func (o *AttachModToTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach mod to team unprocessable entity response has a 3xx status code
func (*AttachModToTeamUnprocessableEntity) IsServerError ¶
func (o *AttachModToTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach mod to team unprocessable entity response has a 5xx status code
func (*AttachModToTeamUnprocessableEntity) IsSuccess ¶
func (o *AttachModToTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach mod to team unprocessable entity response has a 2xx status code
func (*AttachModToTeamUnprocessableEntity) String ¶
func (o *AttachModToTeamUnprocessableEntity) String() string
type AttachModToUserDefault ¶
type AttachModToUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
AttachModToUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewAttachModToUserDefault ¶
func NewAttachModToUserDefault(code int) *AttachModToUserDefault
NewAttachModToUserDefault creates a AttachModToUserDefault with default headers values
func (*AttachModToUserDefault) Code ¶
func (o *AttachModToUserDefault) Code() int
Code gets the status code for the attach mod to user default response
func (*AttachModToUserDefault) Error ¶
func (o *AttachModToUserDefault) Error() string
func (*AttachModToUserDefault) GetPayload ¶
func (o *AttachModToUserDefault) GetPayload() *models.GeneralError
func (*AttachModToUserDefault) IsClientError ¶
func (o *AttachModToUserDefault) IsClientError() bool
IsClientError returns true when this attach mod to user default response has a 4xx status code
func (*AttachModToUserDefault) IsCode ¶
func (o *AttachModToUserDefault) IsCode(code int) bool
IsCode returns true when this attach mod to user default response a status code equal to that given
func (*AttachModToUserDefault) IsRedirect ¶
func (o *AttachModToUserDefault) IsRedirect() bool
IsRedirect returns true when this attach mod to user default response has a 3xx status code
func (*AttachModToUserDefault) IsServerError ¶
func (o *AttachModToUserDefault) IsServerError() bool
IsServerError returns true when this attach mod to user default response has a 5xx status code
func (*AttachModToUserDefault) IsSuccess ¶
func (o *AttachModToUserDefault) IsSuccess() bool
IsSuccess returns true when this attach mod to user default response has a 2xx status code
func (*AttachModToUserDefault) String ¶
func (o *AttachModToUserDefault) String() string
type AttachModToUserForbidden ¶
type AttachModToUserForbidden struct {
Payload *models.GeneralError
}
AttachModToUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewAttachModToUserForbidden ¶
func NewAttachModToUserForbidden() *AttachModToUserForbidden
NewAttachModToUserForbidden creates a AttachModToUserForbidden with default headers values
func (*AttachModToUserForbidden) Code ¶
func (o *AttachModToUserForbidden) Code() int
Code gets the status code for the attach mod to user forbidden response
func (*AttachModToUserForbidden) Error ¶
func (o *AttachModToUserForbidden) Error() string
func (*AttachModToUserForbidden) GetPayload ¶
func (o *AttachModToUserForbidden) GetPayload() *models.GeneralError
func (*AttachModToUserForbidden) IsClientError ¶
func (o *AttachModToUserForbidden) IsClientError() bool
IsClientError returns true when this attach mod to user forbidden response has a 4xx status code
func (*AttachModToUserForbidden) IsCode ¶
func (o *AttachModToUserForbidden) IsCode(code int) bool
IsCode returns true when this attach mod to user forbidden response a status code equal to that given
func (*AttachModToUserForbidden) IsRedirect ¶
func (o *AttachModToUserForbidden) IsRedirect() bool
IsRedirect returns true when this attach mod to user forbidden response has a 3xx status code
func (*AttachModToUserForbidden) IsServerError ¶
func (o *AttachModToUserForbidden) IsServerError() bool
IsServerError returns true when this attach mod to user forbidden response has a 5xx status code
func (*AttachModToUserForbidden) IsSuccess ¶
func (o *AttachModToUserForbidden) IsSuccess() bool
IsSuccess returns true when this attach mod to user forbidden response has a 2xx status code
func (*AttachModToUserForbidden) String ¶
func (o *AttachModToUserForbidden) String() string
type AttachModToUserNotFound ¶
type AttachModToUserNotFound struct {
Payload *models.GeneralError
}
AttachModToUserNotFound describes a response with status code 404, with default header values.
Mod or user not found
func NewAttachModToUserNotFound ¶
func NewAttachModToUserNotFound() *AttachModToUserNotFound
NewAttachModToUserNotFound creates a AttachModToUserNotFound with default headers values
func (*AttachModToUserNotFound) Code ¶
func (o *AttachModToUserNotFound) Code() int
Code gets the status code for the attach mod to user not found response
func (*AttachModToUserNotFound) Error ¶
func (o *AttachModToUserNotFound) Error() string
func (*AttachModToUserNotFound) GetPayload ¶
func (o *AttachModToUserNotFound) GetPayload() *models.GeneralError
func (*AttachModToUserNotFound) IsClientError ¶
func (o *AttachModToUserNotFound) IsClientError() bool
IsClientError returns true when this attach mod to user not found response has a 4xx status code
func (*AttachModToUserNotFound) IsCode ¶
func (o *AttachModToUserNotFound) IsCode(code int) bool
IsCode returns true when this attach mod to user not found response a status code equal to that given
func (*AttachModToUserNotFound) IsRedirect ¶
func (o *AttachModToUserNotFound) IsRedirect() bool
IsRedirect returns true when this attach mod to user not found response has a 3xx status code
func (*AttachModToUserNotFound) IsServerError ¶
func (o *AttachModToUserNotFound) IsServerError() bool
IsServerError returns true when this attach mod to user not found response has a 5xx status code
func (*AttachModToUserNotFound) IsSuccess ¶
func (o *AttachModToUserNotFound) IsSuccess() bool
IsSuccess returns true when this attach mod to user not found response has a 2xx status code
func (*AttachModToUserNotFound) String ¶
func (o *AttachModToUserNotFound) String() string
type AttachModToUserOK ¶
type AttachModToUserOK struct {
Payload *models.GeneralError
}
AttachModToUserOK describes a response with status code 200, with default header values.
Plain success message
func NewAttachModToUserOK ¶
func NewAttachModToUserOK() *AttachModToUserOK
NewAttachModToUserOK creates a AttachModToUserOK with default headers values
func (*AttachModToUserOK) Code ¶
func (o *AttachModToUserOK) Code() int
Code gets the status code for the attach mod to user o k response
func (*AttachModToUserOK) Error ¶
func (o *AttachModToUserOK) Error() string
func (*AttachModToUserOK) GetPayload ¶
func (o *AttachModToUserOK) GetPayload() *models.GeneralError
func (*AttachModToUserOK) IsClientError ¶
func (o *AttachModToUserOK) IsClientError() bool
IsClientError returns true when this attach mod to user o k response has a 4xx status code
func (*AttachModToUserOK) IsCode ¶
func (o *AttachModToUserOK) IsCode(code int) bool
IsCode returns true when this attach mod to user o k response a status code equal to that given
func (*AttachModToUserOK) IsRedirect ¶
func (o *AttachModToUserOK) IsRedirect() bool
IsRedirect returns true when this attach mod to user o k response has a 3xx status code
func (*AttachModToUserOK) IsServerError ¶
func (o *AttachModToUserOK) IsServerError() bool
IsServerError returns true when this attach mod to user o k response has a 5xx status code
func (*AttachModToUserOK) IsSuccess ¶
func (o *AttachModToUserOK) IsSuccess() bool
IsSuccess returns true when this attach mod to user o k response has a 2xx status code
func (*AttachModToUserOK) String ¶
func (o *AttachModToUserOK) String() string
type AttachModToUserParams ¶
type AttachModToUserParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModUser. The mod user data to attach */ ModUser *models.ModUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AttachModToUserParams contains all the parameters to send to the API endpoint
for the attach mod to user operation. Typically these are written to a http.Request.
func NewAttachModToUserParams ¶
func NewAttachModToUserParams() *AttachModToUserParams
NewAttachModToUserParams creates a new AttachModToUserParams 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 NewAttachModToUserParamsWithContext ¶
func NewAttachModToUserParamsWithContext(ctx context.Context) *AttachModToUserParams
NewAttachModToUserParamsWithContext creates a new AttachModToUserParams object with the ability to set a context for a request.
func NewAttachModToUserParamsWithHTTPClient ¶
func NewAttachModToUserParamsWithHTTPClient(client *http.Client) *AttachModToUserParams
NewAttachModToUserParamsWithHTTPClient creates a new AttachModToUserParams object with the ability to set a custom HTTPClient for a request.
func NewAttachModToUserParamsWithTimeout ¶
func NewAttachModToUserParamsWithTimeout(timeout time.Duration) *AttachModToUserParams
NewAttachModToUserParamsWithTimeout creates a new AttachModToUserParams object with the ability to set a timeout on a request.
func (*AttachModToUserParams) SetContext ¶
func (o *AttachModToUserParams) SetContext(ctx context.Context)
SetContext adds the context to the attach mod to user params
func (*AttachModToUserParams) SetDefaults ¶
func (o *AttachModToUserParams) SetDefaults()
SetDefaults hydrates default values in the attach mod to user params (not the query body).
All values with no default are reset to their zero value.
func (*AttachModToUserParams) SetHTTPClient ¶
func (o *AttachModToUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the attach mod to user params
func (*AttachModToUserParams) SetModID ¶
func (o *AttachModToUserParams) SetModID(modID string)
SetModID adds the modId to the attach mod to user params
func (*AttachModToUserParams) SetModUser ¶
func (o *AttachModToUserParams) SetModUser(modUser *models.ModUserParams)
SetModUser adds the modUser to the attach mod to user params
func (*AttachModToUserParams) SetTimeout ¶
func (o *AttachModToUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the attach mod to user params
func (*AttachModToUserParams) WithContext ¶
func (o *AttachModToUserParams) WithContext(ctx context.Context) *AttachModToUserParams
WithContext adds the context to the attach mod to user params
func (*AttachModToUserParams) WithDefaults ¶
func (o *AttachModToUserParams) WithDefaults() *AttachModToUserParams
WithDefaults hydrates default values in the attach mod to user params (not the query body).
All values with no default are reset to their zero value.
func (*AttachModToUserParams) WithHTTPClient ¶
func (o *AttachModToUserParams) WithHTTPClient(client *http.Client) *AttachModToUserParams
WithHTTPClient adds the HTTPClient to the attach mod to user params
func (*AttachModToUserParams) WithModID ¶
func (o *AttachModToUserParams) WithModID(modID string) *AttachModToUserParams
WithModID adds the modID to the attach mod to user params
func (*AttachModToUserParams) WithModUser ¶
func (o *AttachModToUserParams) WithModUser(modUser *models.ModUserParams) *AttachModToUserParams
WithModUser adds the modUser to the attach mod to user params
func (*AttachModToUserParams) WithTimeout ¶
func (o *AttachModToUserParams) WithTimeout(timeout time.Duration) *AttachModToUserParams
WithTimeout adds the timeout to the attach mod to user params
func (*AttachModToUserParams) WriteToRequest ¶
func (o *AttachModToUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AttachModToUserPreconditionFailed ¶
type AttachModToUserPreconditionFailed struct {
Payload *models.GeneralError
}
AttachModToUserPreconditionFailed describes a response with status code 412, with default header values.
User is already attached
func NewAttachModToUserPreconditionFailed ¶
func NewAttachModToUserPreconditionFailed() *AttachModToUserPreconditionFailed
NewAttachModToUserPreconditionFailed creates a AttachModToUserPreconditionFailed with default headers values
func (*AttachModToUserPreconditionFailed) Code ¶
func (o *AttachModToUserPreconditionFailed) Code() int
Code gets the status code for the attach mod to user precondition failed response
func (*AttachModToUserPreconditionFailed) Error ¶
func (o *AttachModToUserPreconditionFailed) Error() string
func (*AttachModToUserPreconditionFailed) GetPayload ¶
func (o *AttachModToUserPreconditionFailed) GetPayload() *models.GeneralError
func (*AttachModToUserPreconditionFailed) IsClientError ¶
func (o *AttachModToUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this attach mod to user precondition failed response has a 4xx status code
func (*AttachModToUserPreconditionFailed) IsCode ¶
func (o *AttachModToUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this attach mod to user precondition failed response a status code equal to that given
func (*AttachModToUserPreconditionFailed) IsRedirect ¶
func (o *AttachModToUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this attach mod to user precondition failed response has a 3xx status code
func (*AttachModToUserPreconditionFailed) IsServerError ¶
func (o *AttachModToUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this attach mod to user precondition failed response has a 5xx status code
func (*AttachModToUserPreconditionFailed) IsSuccess ¶
func (o *AttachModToUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this attach mod to user precondition failed response has a 2xx status code
func (*AttachModToUserPreconditionFailed) String ¶
func (o *AttachModToUserPreconditionFailed) String() string
type AttachModToUserReader ¶
type AttachModToUserReader struct {
// contains filtered or unexported fields
}
AttachModToUserReader is a Reader for the AttachModToUser structure.
func (*AttachModToUserReader) ReadResponse ¶
func (o *AttachModToUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AttachModToUserUnprocessableEntity ¶
type AttachModToUserUnprocessableEntity struct {
Payload *models.ValidationError
}
AttachModToUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewAttachModToUserUnprocessableEntity ¶
func NewAttachModToUserUnprocessableEntity() *AttachModToUserUnprocessableEntity
NewAttachModToUserUnprocessableEntity creates a AttachModToUserUnprocessableEntity with default headers values
func (*AttachModToUserUnprocessableEntity) Code ¶
func (o *AttachModToUserUnprocessableEntity) Code() int
Code gets the status code for the attach mod to user unprocessable entity response
func (*AttachModToUserUnprocessableEntity) Error ¶
func (o *AttachModToUserUnprocessableEntity) Error() string
func (*AttachModToUserUnprocessableEntity) GetPayload ¶
func (o *AttachModToUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*AttachModToUserUnprocessableEntity) IsClientError ¶
func (o *AttachModToUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this attach mod to user unprocessable entity response has a 4xx status code
func (*AttachModToUserUnprocessableEntity) IsCode ¶
func (o *AttachModToUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this attach mod to user unprocessable entity response a status code equal to that given
func (*AttachModToUserUnprocessableEntity) IsRedirect ¶
func (o *AttachModToUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this attach mod to user unprocessable entity response has a 3xx status code
func (*AttachModToUserUnprocessableEntity) IsServerError ¶
func (o *AttachModToUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this attach mod to user unprocessable entity response has a 5xx status code
func (*AttachModToUserUnprocessableEntity) IsSuccess ¶
func (o *AttachModToUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this attach mod to user unprocessable entity response has a 2xx status code
func (*AttachModToUserUnprocessableEntity) String ¶
func (o *AttachModToUserUnprocessableEntity) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for mod API
func (*Client) AppendVersionToBuild ¶
func (a *Client) AppendVersionToBuild(params *AppendVersionToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendVersionToBuildOK, error)
AppendVersionToBuild assigns a build to a version
func (*Client) AttachModToTeam ¶
func (a *Client) AttachModToTeam(params *AttachModToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachModToTeamOK, error)
AttachModToTeam attaches a team to mod
func (*Client) AttachModToUser ¶
func (a *Client) AttachModToUser(params *AttachModToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachModToUserOK, error)
AttachModToUser attaches a user to mod
func (*Client) CreateMod ¶
func (a *Client) CreateMod(params *CreateModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateModOK, error)
CreateMod creates a new mod
func (*Client) CreateVersion ¶
func (a *Client) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error)
CreateVersion creates a new version for a mod
func (*Client) DeleteMod ¶
func (a *Client) DeleteMod(params *DeleteModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModOK, error)
DeleteMod deletes a specific mod
func (*Client) DeleteModFromTeam ¶
func (a *Client) DeleteModFromTeam(params *DeleteModFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModFromTeamOK, error)
DeleteModFromTeam removes a team from mod
func (*Client) DeleteModFromUser ¶
func (a *Client) DeleteModFromUser(params *DeleteModFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModFromUserOK, error)
DeleteModFromUser removes a user from mod
func (*Client) DeleteVersion ¶
func (a *Client) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error)
DeleteVersion deletes a specific version for a mod
func (*Client) DeleteVersionFromBuild ¶
func (a *Client) DeleteVersionFromBuild(params *DeleteVersionFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionFromBuildOK, error)
DeleteVersionFromBuild unlinks a build from a version
func (*Client) ListModTeams ¶
func (a *Client) ListModTeams(params *ListModTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModTeamsOK, error)
ListModTeams fetches all teams attached to mod
func (*Client) ListModUsers ¶
func (a *Client) ListModUsers(params *ListModUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModUsersOK, error)
ListModUsers fetches all users attached to mod
func (*Client) ListMods ¶
func (a *Client) ListMods(params *ListModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModsOK, error)
ListMods fetches all available mods
func (*Client) ListVersionBuilds ¶
func (a *Client) ListVersionBuilds(params *ListVersionBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionBuildsOK, error)
ListVersionBuilds fetches all builds assigned to version
func (*Client) ListVersions ¶
func (a *Client) ListVersions(params *ListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsOK, error)
ListVersions fetches all available versions for a mod
func (*Client) PermitModTeam ¶
func (a *Client) PermitModTeam(params *PermitModTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitModTeamOK, error)
PermitModTeam updates team perms for mod
func (*Client) PermitModUser ¶
func (a *Client) PermitModUser(params *PermitModUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitModUserOK, error)
PermitModUser updates user perms for mod
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowMod ¶
func (a *Client) ShowMod(params *ShowModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowModOK, error)
ShowMod fetches a specific mod
func (*Client) ShowVersion ¶
func (a *Client) ShowVersion(params *ShowVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowVersionOK, error)
ShowVersion fetches a specific version for a mod
func (*Client) UpdateMod ¶
func (a *Client) UpdateMod(params *UpdateModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateModOK, error)
UpdateMod updates a specific mod
func (*Client) UpdateVersion ¶
func (a *Client) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, error)
UpdateVersion updates a specific version for a mod
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AppendVersionToBuild(params *AppendVersionToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendVersionToBuildOK, error) AttachModToTeam(params *AttachModToTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachModToTeamOK, error) AttachModToUser(params *AttachModToUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AttachModToUserOK, error) CreateMod(params *CreateModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateModOK, error) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error) DeleteMod(params *DeleteModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModOK, error) DeleteModFromTeam(params *DeleteModFromTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModFromTeamOK, error) DeleteModFromUser(params *DeleteModFromUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteModFromUserOK, error) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error) DeleteVersionFromBuild(params *DeleteVersionFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionFromBuildOK, error) ListModTeams(params *ListModTeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModTeamsOK, error) ListModUsers(params *ListModUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModUsersOK, error) ListMods(params *ListModsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListModsOK, error) ListVersionBuilds(params *ListVersionBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionBuildsOK, error) ListVersions(params *ListVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsOK, error) PermitModTeam(params *PermitModTeamParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitModTeamOK, error) PermitModUser(params *PermitModUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PermitModUserOK, error) ShowMod(params *ShowModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowModOK, error) ShowVersion(params *ShowVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowVersionOK, error) UpdateMod(params *UpdateModParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateModOK, error) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, 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 mod API client.
type CreateModDefault ¶
type CreateModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
CreateModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewCreateModDefault ¶
func NewCreateModDefault(code int) *CreateModDefault
NewCreateModDefault creates a CreateModDefault with default headers values
func (*CreateModDefault) Code ¶
func (o *CreateModDefault) Code() int
Code gets the status code for the create mod default response
func (*CreateModDefault) Error ¶
func (o *CreateModDefault) Error() string
func (*CreateModDefault) GetPayload ¶
func (o *CreateModDefault) GetPayload() *models.GeneralError
func (*CreateModDefault) IsClientError ¶
func (o *CreateModDefault) IsClientError() bool
IsClientError returns true when this create mod default response has a 4xx status code
func (*CreateModDefault) IsCode ¶
func (o *CreateModDefault) IsCode(code int) bool
IsCode returns true when this create mod default response a status code equal to that given
func (*CreateModDefault) IsRedirect ¶
func (o *CreateModDefault) IsRedirect() bool
IsRedirect returns true when this create mod default response has a 3xx status code
func (*CreateModDefault) IsServerError ¶
func (o *CreateModDefault) IsServerError() bool
IsServerError returns true when this create mod default response has a 5xx status code
func (*CreateModDefault) IsSuccess ¶
func (o *CreateModDefault) IsSuccess() bool
IsSuccess returns true when this create mod default response has a 2xx status code
func (*CreateModDefault) String ¶
func (o *CreateModDefault) String() string
type CreateModForbidden ¶
type CreateModForbidden struct {
Payload *models.GeneralError
}
CreateModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewCreateModForbidden ¶
func NewCreateModForbidden() *CreateModForbidden
NewCreateModForbidden creates a CreateModForbidden with default headers values
func (*CreateModForbidden) Code ¶
func (o *CreateModForbidden) Code() int
Code gets the status code for the create mod forbidden response
func (*CreateModForbidden) Error ¶
func (o *CreateModForbidden) Error() string
func (*CreateModForbidden) GetPayload ¶
func (o *CreateModForbidden) GetPayload() *models.GeneralError
func (*CreateModForbidden) IsClientError ¶
func (o *CreateModForbidden) IsClientError() bool
IsClientError returns true when this create mod forbidden response has a 4xx status code
func (*CreateModForbidden) IsCode ¶
func (o *CreateModForbidden) IsCode(code int) bool
IsCode returns true when this create mod forbidden response a status code equal to that given
func (*CreateModForbidden) IsRedirect ¶
func (o *CreateModForbidden) IsRedirect() bool
IsRedirect returns true when this create mod forbidden response has a 3xx status code
func (*CreateModForbidden) IsServerError ¶
func (o *CreateModForbidden) IsServerError() bool
IsServerError returns true when this create mod forbidden response has a 5xx status code
func (*CreateModForbidden) IsSuccess ¶
func (o *CreateModForbidden) IsSuccess() bool
IsSuccess returns true when this create mod forbidden response has a 2xx status code
func (*CreateModForbidden) String ¶
func (o *CreateModForbidden) String() string
type CreateModOK ¶
CreateModOK describes a response with status code 200, with default header values.
The created mod data
func NewCreateModOK ¶
func NewCreateModOK() *CreateModOK
NewCreateModOK creates a CreateModOK with default headers values
func (*CreateModOK) Code ¶
func (o *CreateModOK) Code() int
Code gets the status code for the create mod o k response
func (*CreateModOK) Error ¶
func (o *CreateModOK) Error() string
func (*CreateModOK) GetPayload ¶
func (o *CreateModOK) GetPayload() *models.Mod
func (*CreateModOK) IsClientError ¶
func (o *CreateModOK) IsClientError() bool
IsClientError returns true when this create mod o k response has a 4xx status code
func (*CreateModOK) IsCode ¶
func (o *CreateModOK) IsCode(code int) bool
IsCode returns true when this create mod o k response a status code equal to that given
func (*CreateModOK) IsRedirect ¶
func (o *CreateModOK) IsRedirect() bool
IsRedirect returns true when this create mod o k response has a 3xx status code
func (*CreateModOK) IsServerError ¶
func (o *CreateModOK) IsServerError() bool
IsServerError returns true when this create mod o k response has a 5xx status code
func (*CreateModOK) IsSuccess ¶
func (o *CreateModOK) IsSuccess() bool
IsSuccess returns true when this create mod o k response has a 2xx status code
func (*CreateModOK) String ¶
func (o *CreateModOK) String() string
type CreateModParams ¶
type CreateModParams struct { /* Mod. The mod data to create */ Mod *models.Mod Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateModParams contains all the parameters to send to the API endpoint
for the create mod operation. Typically these are written to a http.Request.
func NewCreateModParams ¶
func NewCreateModParams() *CreateModParams
NewCreateModParams creates a new CreateModParams 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 NewCreateModParamsWithContext ¶
func NewCreateModParamsWithContext(ctx context.Context) *CreateModParams
NewCreateModParamsWithContext creates a new CreateModParams object with the ability to set a context for a request.
func NewCreateModParamsWithHTTPClient ¶
func NewCreateModParamsWithHTTPClient(client *http.Client) *CreateModParams
NewCreateModParamsWithHTTPClient creates a new CreateModParams object with the ability to set a custom HTTPClient for a request.
func NewCreateModParamsWithTimeout ¶
func NewCreateModParamsWithTimeout(timeout time.Duration) *CreateModParams
NewCreateModParamsWithTimeout creates a new CreateModParams object with the ability to set a timeout on a request.
func (*CreateModParams) SetContext ¶
func (o *CreateModParams) SetContext(ctx context.Context)
SetContext adds the context to the create mod params
func (*CreateModParams) SetDefaults ¶
func (o *CreateModParams) SetDefaults()
SetDefaults hydrates default values in the create mod params (not the query body).
All values with no default are reset to their zero value.
func (*CreateModParams) SetHTTPClient ¶
func (o *CreateModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create mod params
func (*CreateModParams) SetMod ¶
func (o *CreateModParams) SetMod(mod *models.Mod)
SetMod adds the mod to the create mod params
func (*CreateModParams) SetTimeout ¶
func (o *CreateModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create mod params
func (*CreateModParams) WithContext ¶
func (o *CreateModParams) WithContext(ctx context.Context) *CreateModParams
WithContext adds the context to the create mod params
func (*CreateModParams) WithDefaults ¶
func (o *CreateModParams) WithDefaults() *CreateModParams
WithDefaults hydrates default values in the create mod params (not the query body).
All values with no default are reset to their zero value.
func (*CreateModParams) WithHTTPClient ¶
func (o *CreateModParams) WithHTTPClient(client *http.Client) *CreateModParams
WithHTTPClient adds the HTTPClient to the create mod params
func (*CreateModParams) WithMod ¶
func (o *CreateModParams) WithMod(mod *models.Mod) *CreateModParams
WithMod adds the mod to the create mod params
func (*CreateModParams) WithTimeout ¶
func (o *CreateModParams) WithTimeout(timeout time.Duration) *CreateModParams
WithTimeout adds the timeout to the create mod params
func (*CreateModParams) WriteToRequest ¶
func (o *CreateModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateModReader ¶
type CreateModReader struct {
// contains filtered or unexported fields
}
CreateModReader is a Reader for the CreateMod structure.
func (*CreateModReader) ReadResponse ¶
func (o *CreateModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateModUnprocessableEntity ¶
type CreateModUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateModUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewCreateModUnprocessableEntity ¶
func NewCreateModUnprocessableEntity() *CreateModUnprocessableEntity
NewCreateModUnprocessableEntity creates a CreateModUnprocessableEntity with default headers values
func (*CreateModUnprocessableEntity) Code ¶
func (o *CreateModUnprocessableEntity) Code() int
Code gets the status code for the create mod unprocessable entity response
func (*CreateModUnprocessableEntity) Error ¶
func (o *CreateModUnprocessableEntity) Error() string
func (*CreateModUnprocessableEntity) GetPayload ¶
func (o *CreateModUnprocessableEntity) GetPayload() *models.ValidationError
func (*CreateModUnprocessableEntity) IsClientError ¶
func (o *CreateModUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create mod unprocessable entity response has a 4xx status code
func (*CreateModUnprocessableEntity) IsCode ¶
func (o *CreateModUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create mod unprocessable entity response a status code equal to that given
func (*CreateModUnprocessableEntity) IsRedirect ¶
func (o *CreateModUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create mod unprocessable entity response has a 3xx status code
func (*CreateModUnprocessableEntity) IsServerError ¶
func (o *CreateModUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create mod unprocessable entity response has a 5xx status code
func (*CreateModUnprocessableEntity) IsSuccess ¶
func (o *CreateModUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create mod unprocessable entity response has a 2xx status code
func (*CreateModUnprocessableEntity) String ¶
func (o *CreateModUnprocessableEntity) String() string
type CreateVersionDefault ¶
type CreateVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
CreateVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewCreateVersionDefault ¶
func NewCreateVersionDefault(code int) *CreateVersionDefault
NewCreateVersionDefault creates a CreateVersionDefault with default headers values
func (*CreateVersionDefault) Code ¶
func (o *CreateVersionDefault) Code() int
Code gets the status code for the create version default response
func (*CreateVersionDefault) Error ¶
func (o *CreateVersionDefault) Error() string
func (*CreateVersionDefault) GetPayload ¶
func (o *CreateVersionDefault) GetPayload() *models.GeneralError
func (*CreateVersionDefault) IsClientError ¶
func (o *CreateVersionDefault) IsClientError() bool
IsClientError returns true when this create version default response has a 4xx status code
func (*CreateVersionDefault) IsCode ¶
func (o *CreateVersionDefault) IsCode(code int) bool
IsCode returns true when this create version default response a status code equal to that given
func (*CreateVersionDefault) IsRedirect ¶
func (o *CreateVersionDefault) IsRedirect() bool
IsRedirect returns true when this create version default response has a 3xx status code
func (*CreateVersionDefault) IsServerError ¶
func (o *CreateVersionDefault) IsServerError() bool
IsServerError returns true when this create version default response has a 5xx status code
func (*CreateVersionDefault) IsSuccess ¶
func (o *CreateVersionDefault) IsSuccess() bool
IsSuccess returns true when this create version default response has a 2xx status code
func (*CreateVersionDefault) String ¶
func (o *CreateVersionDefault) String() string
type CreateVersionForbidden ¶
type CreateVersionForbidden struct {
Payload *models.GeneralError
}
CreateVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewCreateVersionForbidden ¶
func NewCreateVersionForbidden() *CreateVersionForbidden
NewCreateVersionForbidden creates a CreateVersionForbidden with default headers values
func (*CreateVersionForbidden) Code ¶
func (o *CreateVersionForbidden) Code() int
Code gets the status code for the create version forbidden response
func (*CreateVersionForbidden) Error ¶
func (o *CreateVersionForbidden) Error() string
func (*CreateVersionForbidden) GetPayload ¶
func (o *CreateVersionForbidden) GetPayload() *models.GeneralError
func (*CreateVersionForbidden) IsClientError ¶
func (o *CreateVersionForbidden) IsClientError() bool
IsClientError returns true when this create version forbidden response has a 4xx status code
func (*CreateVersionForbidden) IsCode ¶
func (o *CreateVersionForbidden) IsCode(code int) bool
IsCode returns true when this create version forbidden response a status code equal to that given
func (*CreateVersionForbidden) IsRedirect ¶
func (o *CreateVersionForbidden) IsRedirect() bool
IsRedirect returns true when this create version forbidden response has a 3xx status code
func (*CreateVersionForbidden) IsServerError ¶
func (o *CreateVersionForbidden) IsServerError() bool
IsServerError returns true when this create version forbidden response has a 5xx status code
func (*CreateVersionForbidden) IsSuccess ¶
func (o *CreateVersionForbidden) IsSuccess() bool
IsSuccess returns true when this create version forbidden response has a 2xx status code
func (*CreateVersionForbidden) String ¶
func (o *CreateVersionForbidden) String() string
type CreateVersionNotFound ¶
type CreateVersionNotFound struct {
Payload *models.GeneralError
}
CreateVersionNotFound describes a response with status code 404, with default header values.
Mod not found
func NewCreateVersionNotFound ¶
func NewCreateVersionNotFound() *CreateVersionNotFound
NewCreateVersionNotFound creates a CreateVersionNotFound with default headers values
func (*CreateVersionNotFound) Code ¶
func (o *CreateVersionNotFound) Code() int
Code gets the status code for the create version not found response
func (*CreateVersionNotFound) Error ¶
func (o *CreateVersionNotFound) Error() string
func (*CreateVersionNotFound) GetPayload ¶
func (o *CreateVersionNotFound) GetPayload() *models.GeneralError
func (*CreateVersionNotFound) IsClientError ¶
func (o *CreateVersionNotFound) IsClientError() bool
IsClientError returns true when this create version not found response has a 4xx status code
func (*CreateVersionNotFound) IsCode ¶
func (o *CreateVersionNotFound) IsCode(code int) bool
IsCode returns true when this create version not found response a status code equal to that given
func (*CreateVersionNotFound) IsRedirect ¶
func (o *CreateVersionNotFound) IsRedirect() bool
IsRedirect returns true when this create version not found response has a 3xx status code
func (*CreateVersionNotFound) IsServerError ¶
func (o *CreateVersionNotFound) IsServerError() bool
IsServerError returns true when this create version not found response has a 5xx status code
func (*CreateVersionNotFound) IsSuccess ¶
func (o *CreateVersionNotFound) IsSuccess() bool
IsSuccess returns true when this create version not found response has a 2xx status code
func (*CreateVersionNotFound) String ¶
func (o *CreateVersionNotFound) String() string
type CreateVersionOK ¶
CreateVersionOK describes a response with status code 200, with default header values.
The created version data
func NewCreateVersionOK ¶
func NewCreateVersionOK() *CreateVersionOK
NewCreateVersionOK creates a CreateVersionOK with default headers values
func (*CreateVersionOK) Code ¶
func (o *CreateVersionOK) Code() int
Code gets the status code for the create version o k response
func (*CreateVersionOK) Error ¶
func (o *CreateVersionOK) Error() string
func (*CreateVersionOK) GetPayload ¶
func (o *CreateVersionOK) GetPayload() *models.Version
func (*CreateVersionOK) IsClientError ¶
func (o *CreateVersionOK) IsClientError() bool
IsClientError returns true when this create version o k response has a 4xx status code
func (*CreateVersionOK) IsCode ¶
func (o *CreateVersionOK) IsCode(code int) bool
IsCode returns true when this create version o k response a status code equal to that given
func (*CreateVersionOK) IsRedirect ¶
func (o *CreateVersionOK) IsRedirect() bool
IsRedirect returns true when this create version o k response has a 3xx status code
func (*CreateVersionOK) IsServerError ¶
func (o *CreateVersionOK) IsServerError() bool
IsServerError returns true when this create version o k response has a 5xx status code
func (*CreateVersionOK) IsSuccess ¶
func (o *CreateVersionOK) IsSuccess() bool
IsSuccess returns true when this create version o k response has a 2xx status code
func (*CreateVersionOK) String ¶
func (o *CreateVersionOK) String() string
type CreateVersionParams ¶
type CreateVersionParams struct { /* ModID. A mod UUID or slug */ ModID string /* Version. The version data to create */ Version *models.Version Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVersionParams contains all the parameters to send to the API endpoint
for the create version operation. Typically these are written to a http.Request.
func NewCreateVersionParams ¶
func NewCreateVersionParams() *CreateVersionParams
NewCreateVersionParams creates a new CreateVersionParams 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 NewCreateVersionParamsWithContext ¶
func NewCreateVersionParamsWithContext(ctx context.Context) *CreateVersionParams
NewCreateVersionParamsWithContext creates a new CreateVersionParams object with the ability to set a context for a request.
func NewCreateVersionParamsWithHTTPClient ¶
func NewCreateVersionParamsWithHTTPClient(client *http.Client) *CreateVersionParams
NewCreateVersionParamsWithHTTPClient creates a new CreateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVersionParamsWithTimeout ¶
func NewCreateVersionParamsWithTimeout(timeout time.Duration) *CreateVersionParams
NewCreateVersionParamsWithTimeout creates a new CreateVersionParams object with the ability to set a timeout on a request.
func (*CreateVersionParams) SetContext ¶
func (o *CreateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create version params
func (*CreateVersionParams) SetDefaults ¶
func (o *CreateVersionParams) SetDefaults()
SetDefaults hydrates default values in the create version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVersionParams) SetHTTPClient ¶
func (o *CreateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create version params
func (*CreateVersionParams) SetModID ¶
func (o *CreateVersionParams) SetModID(modID string)
SetModID adds the modId to the create version params
func (*CreateVersionParams) SetTimeout ¶
func (o *CreateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create version params
func (*CreateVersionParams) SetVersion ¶
func (o *CreateVersionParams) SetVersion(version *models.Version)
SetVersion adds the version to the create version params
func (*CreateVersionParams) WithContext ¶
func (o *CreateVersionParams) WithContext(ctx context.Context) *CreateVersionParams
WithContext adds the context to the create version params
func (*CreateVersionParams) WithDefaults ¶
func (o *CreateVersionParams) WithDefaults() *CreateVersionParams
WithDefaults hydrates default values in the create version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVersionParams) WithHTTPClient ¶
func (o *CreateVersionParams) WithHTTPClient(client *http.Client) *CreateVersionParams
WithHTTPClient adds the HTTPClient to the create version params
func (*CreateVersionParams) WithModID ¶
func (o *CreateVersionParams) WithModID(modID string) *CreateVersionParams
WithModID adds the modID to the create version params
func (*CreateVersionParams) WithTimeout ¶
func (o *CreateVersionParams) WithTimeout(timeout time.Duration) *CreateVersionParams
WithTimeout adds the timeout to the create version params
func (*CreateVersionParams) WithVersion ¶
func (o *CreateVersionParams) WithVersion(version *models.Version) *CreateVersionParams
WithVersion adds the version to the create version params
func (*CreateVersionParams) WriteToRequest ¶
func (o *CreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVersionReader ¶
type CreateVersionReader struct {
// contains filtered or unexported fields
}
CreateVersionReader is a Reader for the CreateVersion structure.
func (*CreateVersionReader) ReadResponse ¶
func (o *CreateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVersionUnprocessableEntity ¶
type CreateVersionUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateVersionUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewCreateVersionUnprocessableEntity ¶
func NewCreateVersionUnprocessableEntity() *CreateVersionUnprocessableEntity
NewCreateVersionUnprocessableEntity creates a CreateVersionUnprocessableEntity with default headers values
func (*CreateVersionUnprocessableEntity) Code ¶
func (o *CreateVersionUnprocessableEntity) Code() int
Code gets the status code for the create version unprocessable entity response
func (*CreateVersionUnprocessableEntity) Error ¶
func (o *CreateVersionUnprocessableEntity) Error() string
func (*CreateVersionUnprocessableEntity) GetPayload ¶
func (o *CreateVersionUnprocessableEntity) GetPayload() *models.ValidationError
func (*CreateVersionUnprocessableEntity) IsClientError ¶
func (o *CreateVersionUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create version unprocessable entity response has a 4xx status code
func (*CreateVersionUnprocessableEntity) IsCode ¶
func (o *CreateVersionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create version unprocessable entity response a status code equal to that given
func (*CreateVersionUnprocessableEntity) IsRedirect ¶
func (o *CreateVersionUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create version unprocessable entity response has a 3xx status code
func (*CreateVersionUnprocessableEntity) IsServerError ¶
func (o *CreateVersionUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create version unprocessable entity response has a 5xx status code
func (*CreateVersionUnprocessableEntity) IsSuccess ¶
func (o *CreateVersionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create version unprocessable entity response has a 2xx status code
func (*CreateVersionUnprocessableEntity) String ¶
func (o *CreateVersionUnprocessableEntity) String() string
type DeleteModBadRequest ¶
type DeleteModBadRequest struct {
Payload *models.GeneralError
}
DeleteModBadRequest describes a response with status code 400, with default header values.
Failed to delete the mod
func NewDeleteModBadRequest ¶
func NewDeleteModBadRequest() *DeleteModBadRequest
NewDeleteModBadRequest creates a DeleteModBadRequest with default headers values
func (*DeleteModBadRequest) Code ¶
func (o *DeleteModBadRequest) Code() int
Code gets the status code for the delete mod bad request response
func (*DeleteModBadRequest) Error ¶
func (o *DeleteModBadRequest) Error() string
func (*DeleteModBadRequest) GetPayload ¶
func (o *DeleteModBadRequest) GetPayload() *models.GeneralError
func (*DeleteModBadRequest) IsClientError ¶
func (o *DeleteModBadRequest) IsClientError() bool
IsClientError returns true when this delete mod bad request response has a 4xx status code
func (*DeleteModBadRequest) IsCode ¶
func (o *DeleteModBadRequest) IsCode(code int) bool
IsCode returns true when this delete mod bad request response a status code equal to that given
func (*DeleteModBadRequest) IsRedirect ¶
func (o *DeleteModBadRequest) IsRedirect() bool
IsRedirect returns true when this delete mod bad request response has a 3xx status code
func (*DeleteModBadRequest) IsServerError ¶
func (o *DeleteModBadRequest) IsServerError() bool
IsServerError returns true when this delete mod bad request response has a 5xx status code
func (*DeleteModBadRequest) IsSuccess ¶
func (o *DeleteModBadRequest) IsSuccess() bool
IsSuccess returns true when this delete mod bad request response has a 2xx status code
func (*DeleteModBadRequest) String ¶
func (o *DeleteModBadRequest) String() string
type DeleteModDefault ¶
type DeleteModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteModDefault ¶
func NewDeleteModDefault(code int) *DeleteModDefault
NewDeleteModDefault creates a DeleteModDefault with default headers values
func (*DeleteModDefault) Code ¶
func (o *DeleteModDefault) Code() int
Code gets the status code for the delete mod default response
func (*DeleteModDefault) Error ¶
func (o *DeleteModDefault) Error() string
func (*DeleteModDefault) GetPayload ¶
func (o *DeleteModDefault) GetPayload() *models.GeneralError
func (*DeleteModDefault) IsClientError ¶
func (o *DeleteModDefault) IsClientError() bool
IsClientError returns true when this delete mod default response has a 4xx status code
func (*DeleteModDefault) IsCode ¶
func (o *DeleteModDefault) IsCode(code int) bool
IsCode returns true when this delete mod default response a status code equal to that given
func (*DeleteModDefault) IsRedirect ¶
func (o *DeleteModDefault) IsRedirect() bool
IsRedirect returns true when this delete mod default response has a 3xx status code
func (*DeleteModDefault) IsServerError ¶
func (o *DeleteModDefault) IsServerError() bool
IsServerError returns true when this delete mod default response has a 5xx status code
func (*DeleteModDefault) IsSuccess ¶
func (o *DeleteModDefault) IsSuccess() bool
IsSuccess returns true when this delete mod default response has a 2xx status code
func (*DeleteModDefault) String ¶
func (o *DeleteModDefault) String() string
type DeleteModForbidden ¶
type DeleteModForbidden struct {
Payload *models.GeneralError
}
DeleteModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteModForbidden ¶
func NewDeleteModForbidden() *DeleteModForbidden
NewDeleteModForbidden creates a DeleteModForbidden with default headers values
func (*DeleteModForbidden) Code ¶
func (o *DeleteModForbidden) Code() int
Code gets the status code for the delete mod forbidden response
func (*DeleteModForbidden) Error ¶
func (o *DeleteModForbidden) Error() string
func (*DeleteModForbidden) GetPayload ¶
func (o *DeleteModForbidden) GetPayload() *models.GeneralError
func (*DeleteModForbidden) IsClientError ¶
func (o *DeleteModForbidden) IsClientError() bool
IsClientError returns true when this delete mod forbidden response has a 4xx status code
func (*DeleteModForbidden) IsCode ¶
func (o *DeleteModForbidden) IsCode(code int) bool
IsCode returns true when this delete mod forbidden response a status code equal to that given
func (*DeleteModForbidden) IsRedirect ¶
func (o *DeleteModForbidden) IsRedirect() bool
IsRedirect returns true when this delete mod forbidden response has a 3xx status code
func (*DeleteModForbidden) IsServerError ¶
func (o *DeleteModForbidden) IsServerError() bool
IsServerError returns true when this delete mod forbidden response has a 5xx status code
func (*DeleteModForbidden) IsSuccess ¶
func (o *DeleteModForbidden) IsSuccess() bool
IsSuccess returns true when this delete mod forbidden response has a 2xx status code
func (*DeleteModForbidden) String ¶
func (o *DeleteModForbidden) String() string
type DeleteModFromTeamDefault ¶
type DeleteModFromTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteModFromTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteModFromTeamDefault ¶
func NewDeleteModFromTeamDefault(code int) *DeleteModFromTeamDefault
NewDeleteModFromTeamDefault creates a DeleteModFromTeamDefault with default headers values
func (*DeleteModFromTeamDefault) Code ¶
func (o *DeleteModFromTeamDefault) Code() int
Code gets the status code for the delete mod from team default response
func (*DeleteModFromTeamDefault) Error ¶
func (o *DeleteModFromTeamDefault) Error() string
func (*DeleteModFromTeamDefault) GetPayload ¶
func (o *DeleteModFromTeamDefault) GetPayload() *models.GeneralError
func (*DeleteModFromTeamDefault) IsClientError ¶
func (o *DeleteModFromTeamDefault) IsClientError() bool
IsClientError returns true when this delete mod from team default response has a 4xx status code
func (*DeleteModFromTeamDefault) IsCode ¶
func (o *DeleteModFromTeamDefault) IsCode(code int) bool
IsCode returns true when this delete mod from team default response a status code equal to that given
func (*DeleteModFromTeamDefault) IsRedirect ¶
func (o *DeleteModFromTeamDefault) IsRedirect() bool
IsRedirect returns true when this delete mod from team default response has a 3xx status code
func (*DeleteModFromTeamDefault) IsServerError ¶
func (o *DeleteModFromTeamDefault) IsServerError() bool
IsServerError returns true when this delete mod from team default response has a 5xx status code
func (*DeleteModFromTeamDefault) IsSuccess ¶
func (o *DeleteModFromTeamDefault) IsSuccess() bool
IsSuccess returns true when this delete mod from team default response has a 2xx status code
func (*DeleteModFromTeamDefault) String ¶
func (o *DeleteModFromTeamDefault) String() string
type DeleteModFromTeamForbidden ¶
type DeleteModFromTeamForbidden struct {
Payload *models.GeneralError
}
DeleteModFromTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteModFromTeamForbidden ¶
func NewDeleteModFromTeamForbidden() *DeleteModFromTeamForbidden
NewDeleteModFromTeamForbidden creates a DeleteModFromTeamForbidden with default headers values
func (*DeleteModFromTeamForbidden) Code ¶
func (o *DeleteModFromTeamForbidden) Code() int
Code gets the status code for the delete mod from team forbidden response
func (*DeleteModFromTeamForbidden) Error ¶
func (o *DeleteModFromTeamForbidden) Error() string
func (*DeleteModFromTeamForbidden) GetPayload ¶
func (o *DeleteModFromTeamForbidden) GetPayload() *models.GeneralError
func (*DeleteModFromTeamForbidden) IsClientError ¶
func (o *DeleteModFromTeamForbidden) IsClientError() bool
IsClientError returns true when this delete mod from team forbidden response has a 4xx status code
func (*DeleteModFromTeamForbidden) IsCode ¶
func (o *DeleteModFromTeamForbidden) IsCode(code int) bool
IsCode returns true when this delete mod from team forbidden response a status code equal to that given
func (*DeleteModFromTeamForbidden) IsRedirect ¶
func (o *DeleteModFromTeamForbidden) IsRedirect() bool
IsRedirect returns true when this delete mod from team forbidden response has a 3xx status code
func (*DeleteModFromTeamForbidden) IsServerError ¶
func (o *DeleteModFromTeamForbidden) IsServerError() bool
IsServerError returns true when this delete mod from team forbidden response has a 5xx status code
func (*DeleteModFromTeamForbidden) IsSuccess ¶
func (o *DeleteModFromTeamForbidden) IsSuccess() bool
IsSuccess returns true when this delete mod from team forbidden response has a 2xx status code
func (*DeleteModFromTeamForbidden) String ¶
func (o *DeleteModFromTeamForbidden) String() string
type DeleteModFromTeamNotFound ¶
type DeleteModFromTeamNotFound struct {
Payload *models.GeneralError
}
DeleteModFromTeamNotFound describes a response with status code 404, with default header values.
Mod or team not found
func NewDeleteModFromTeamNotFound ¶
func NewDeleteModFromTeamNotFound() *DeleteModFromTeamNotFound
NewDeleteModFromTeamNotFound creates a DeleteModFromTeamNotFound with default headers values
func (*DeleteModFromTeamNotFound) Code ¶
func (o *DeleteModFromTeamNotFound) Code() int
Code gets the status code for the delete mod from team not found response
func (*DeleteModFromTeamNotFound) Error ¶
func (o *DeleteModFromTeamNotFound) Error() string
func (*DeleteModFromTeamNotFound) GetPayload ¶
func (o *DeleteModFromTeamNotFound) GetPayload() *models.GeneralError
func (*DeleteModFromTeamNotFound) IsClientError ¶
func (o *DeleteModFromTeamNotFound) IsClientError() bool
IsClientError returns true when this delete mod from team not found response has a 4xx status code
func (*DeleteModFromTeamNotFound) IsCode ¶
func (o *DeleteModFromTeamNotFound) IsCode(code int) bool
IsCode returns true when this delete mod from team not found response a status code equal to that given
func (*DeleteModFromTeamNotFound) IsRedirect ¶
func (o *DeleteModFromTeamNotFound) IsRedirect() bool
IsRedirect returns true when this delete mod from team not found response has a 3xx status code
func (*DeleteModFromTeamNotFound) IsServerError ¶
func (o *DeleteModFromTeamNotFound) IsServerError() bool
IsServerError returns true when this delete mod from team not found response has a 5xx status code
func (*DeleteModFromTeamNotFound) IsSuccess ¶
func (o *DeleteModFromTeamNotFound) IsSuccess() bool
IsSuccess returns true when this delete mod from team not found response has a 2xx status code
func (*DeleteModFromTeamNotFound) String ¶
func (o *DeleteModFromTeamNotFound) String() string
type DeleteModFromTeamOK ¶
type DeleteModFromTeamOK struct {
Payload *models.GeneralError
}
DeleteModFromTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteModFromTeamOK ¶
func NewDeleteModFromTeamOK() *DeleteModFromTeamOK
NewDeleteModFromTeamOK creates a DeleteModFromTeamOK with default headers values
func (*DeleteModFromTeamOK) Code ¶
func (o *DeleteModFromTeamOK) Code() int
Code gets the status code for the delete mod from team o k response
func (*DeleteModFromTeamOK) Error ¶
func (o *DeleteModFromTeamOK) Error() string
func (*DeleteModFromTeamOK) GetPayload ¶
func (o *DeleteModFromTeamOK) GetPayload() *models.GeneralError
func (*DeleteModFromTeamOK) IsClientError ¶
func (o *DeleteModFromTeamOK) IsClientError() bool
IsClientError returns true when this delete mod from team o k response has a 4xx status code
func (*DeleteModFromTeamOK) IsCode ¶
func (o *DeleteModFromTeamOK) IsCode(code int) bool
IsCode returns true when this delete mod from team o k response a status code equal to that given
func (*DeleteModFromTeamOK) IsRedirect ¶
func (o *DeleteModFromTeamOK) IsRedirect() bool
IsRedirect returns true when this delete mod from team o k response has a 3xx status code
func (*DeleteModFromTeamOK) IsServerError ¶
func (o *DeleteModFromTeamOK) IsServerError() bool
IsServerError returns true when this delete mod from team o k response has a 5xx status code
func (*DeleteModFromTeamOK) IsSuccess ¶
func (o *DeleteModFromTeamOK) IsSuccess() bool
IsSuccess returns true when this delete mod from team o k response has a 2xx status code
func (*DeleteModFromTeamOK) String ¶
func (o *DeleteModFromTeamOK) String() string
type DeleteModFromTeamParams ¶
type DeleteModFromTeamParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModTeam. The mod team data to delete */ ModTeam *models.ModTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteModFromTeamParams contains all the parameters to send to the API endpoint
for the delete mod from team operation. Typically these are written to a http.Request.
func NewDeleteModFromTeamParams ¶
func NewDeleteModFromTeamParams() *DeleteModFromTeamParams
NewDeleteModFromTeamParams creates a new DeleteModFromTeamParams 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 NewDeleteModFromTeamParamsWithContext ¶
func NewDeleteModFromTeamParamsWithContext(ctx context.Context) *DeleteModFromTeamParams
NewDeleteModFromTeamParamsWithContext creates a new DeleteModFromTeamParams object with the ability to set a context for a request.
func NewDeleteModFromTeamParamsWithHTTPClient ¶
func NewDeleteModFromTeamParamsWithHTTPClient(client *http.Client) *DeleteModFromTeamParams
NewDeleteModFromTeamParamsWithHTTPClient creates a new DeleteModFromTeamParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteModFromTeamParamsWithTimeout ¶
func NewDeleteModFromTeamParamsWithTimeout(timeout time.Duration) *DeleteModFromTeamParams
NewDeleteModFromTeamParamsWithTimeout creates a new DeleteModFromTeamParams object with the ability to set a timeout on a request.
func (*DeleteModFromTeamParams) SetContext ¶
func (o *DeleteModFromTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the delete mod from team params
func (*DeleteModFromTeamParams) SetDefaults ¶
func (o *DeleteModFromTeamParams) SetDefaults()
SetDefaults hydrates default values in the delete mod from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModFromTeamParams) SetHTTPClient ¶
func (o *DeleteModFromTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete mod from team params
func (*DeleteModFromTeamParams) SetModID ¶
func (o *DeleteModFromTeamParams) SetModID(modID string)
SetModID adds the modId to the delete mod from team params
func (*DeleteModFromTeamParams) SetModTeam ¶
func (o *DeleteModFromTeamParams) SetModTeam(modTeam *models.ModTeamParams)
SetModTeam adds the modTeam to the delete mod from team params
func (*DeleteModFromTeamParams) SetTimeout ¶
func (o *DeleteModFromTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mod from team params
func (*DeleteModFromTeamParams) WithContext ¶
func (o *DeleteModFromTeamParams) WithContext(ctx context.Context) *DeleteModFromTeamParams
WithContext adds the context to the delete mod from team params
func (*DeleteModFromTeamParams) WithDefaults ¶
func (o *DeleteModFromTeamParams) WithDefaults() *DeleteModFromTeamParams
WithDefaults hydrates default values in the delete mod from team params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModFromTeamParams) WithHTTPClient ¶
func (o *DeleteModFromTeamParams) WithHTTPClient(client *http.Client) *DeleteModFromTeamParams
WithHTTPClient adds the HTTPClient to the delete mod from team params
func (*DeleteModFromTeamParams) WithModID ¶
func (o *DeleteModFromTeamParams) WithModID(modID string) *DeleteModFromTeamParams
WithModID adds the modID to the delete mod from team params
func (*DeleteModFromTeamParams) WithModTeam ¶
func (o *DeleteModFromTeamParams) WithModTeam(modTeam *models.ModTeamParams) *DeleteModFromTeamParams
WithModTeam adds the modTeam to the delete mod from team params
func (*DeleteModFromTeamParams) WithTimeout ¶
func (o *DeleteModFromTeamParams) WithTimeout(timeout time.Duration) *DeleteModFromTeamParams
WithTimeout adds the timeout to the delete mod from team params
func (*DeleteModFromTeamParams) WriteToRequest ¶
func (o *DeleteModFromTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteModFromTeamPreconditionFailed ¶
type DeleteModFromTeamPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteModFromTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewDeleteModFromTeamPreconditionFailed ¶
func NewDeleteModFromTeamPreconditionFailed() *DeleteModFromTeamPreconditionFailed
NewDeleteModFromTeamPreconditionFailed creates a DeleteModFromTeamPreconditionFailed with default headers values
func (*DeleteModFromTeamPreconditionFailed) Code ¶
func (o *DeleteModFromTeamPreconditionFailed) Code() int
Code gets the status code for the delete mod from team precondition failed response
func (*DeleteModFromTeamPreconditionFailed) Error ¶
func (o *DeleteModFromTeamPreconditionFailed) Error() string
func (*DeleteModFromTeamPreconditionFailed) GetPayload ¶
func (o *DeleteModFromTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteModFromTeamPreconditionFailed) IsClientError ¶
func (o *DeleteModFromTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete mod from team precondition failed response has a 4xx status code
func (*DeleteModFromTeamPreconditionFailed) IsCode ¶
func (o *DeleteModFromTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete mod from team precondition failed response a status code equal to that given
func (*DeleteModFromTeamPreconditionFailed) IsRedirect ¶
func (o *DeleteModFromTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete mod from team precondition failed response has a 3xx status code
func (*DeleteModFromTeamPreconditionFailed) IsServerError ¶
func (o *DeleteModFromTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete mod from team precondition failed response has a 5xx status code
func (*DeleteModFromTeamPreconditionFailed) IsSuccess ¶
func (o *DeleteModFromTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete mod from team precondition failed response has a 2xx status code
func (*DeleteModFromTeamPreconditionFailed) String ¶
func (o *DeleteModFromTeamPreconditionFailed) String() string
type DeleteModFromTeamReader ¶
type DeleteModFromTeamReader struct {
// contains filtered or unexported fields
}
DeleteModFromTeamReader is a Reader for the DeleteModFromTeam structure.
func (*DeleteModFromTeamReader) ReadResponse ¶
func (o *DeleteModFromTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteModFromUserDefault ¶
type DeleteModFromUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteModFromUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteModFromUserDefault ¶
func NewDeleteModFromUserDefault(code int) *DeleteModFromUserDefault
NewDeleteModFromUserDefault creates a DeleteModFromUserDefault with default headers values
func (*DeleteModFromUserDefault) Code ¶
func (o *DeleteModFromUserDefault) Code() int
Code gets the status code for the delete mod from user default response
func (*DeleteModFromUserDefault) Error ¶
func (o *DeleteModFromUserDefault) Error() string
func (*DeleteModFromUserDefault) GetPayload ¶
func (o *DeleteModFromUserDefault) GetPayload() *models.GeneralError
func (*DeleteModFromUserDefault) IsClientError ¶
func (o *DeleteModFromUserDefault) IsClientError() bool
IsClientError returns true when this delete mod from user default response has a 4xx status code
func (*DeleteModFromUserDefault) IsCode ¶
func (o *DeleteModFromUserDefault) IsCode(code int) bool
IsCode returns true when this delete mod from user default response a status code equal to that given
func (*DeleteModFromUserDefault) IsRedirect ¶
func (o *DeleteModFromUserDefault) IsRedirect() bool
IsRedirect returns true when this delete mod from user default response has a 3xx status code
func (*DeleteModFromUserDefault) IsServerError ¶
func (o *DeleteModFromUserDefault) IsServerError() bool
IsServerError returns true when this delete mod from user default response has a 5xx status code
func (*DeleteModFromUserDefault) IsSuccess ¶
func (o *DeleteModFromUserDefault) IsSuccess() bool
IsSuccess returns true when this delete mod from user default response has a 2xx status code
func (*DeleteModFromUserDefault) String ¶
func (o *DeleteModFromUserDefault) String() string
type DeleteModFromUserForbidden ¶
type DeleteModFromUserForbidden struct {
Payload *models.GeneralError
}
DeleteModFromUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteModFromUserForbidden ¶
func NewDeleteModFromUserForbidden() *DeleteModFromUserForbidden
NewDeleteModFromUserForbidden creates a DeleteModFromUserForbidden with default headers values
func (*DeleteModFromUserForbidden) Code ¶
func (o *DeleteModFromUserForbidden) Code() int
Code gets the status code for the delete mod from user forbidden response
func (*DeleteModFromUserForbidden) Error ¶
func (o *DeleteModFromUserForbidden) Error() string
func (*DeleteModFromUserForbidden) GetPayload ¶
func (o *DeleteModFromUserForbidden) GetPayload() *models.GeneralError
func (*DeleteModFromUserForbidden) IsClientError ¶
func (o *DeleteModFromUserForbidden) IsClientError() bool
IsClientError returns true when this delete mod from user forbidden response has a 4xx status code
func (*DeleteModFromUserForbidden) IsCode ¶
func (o *DeleteModFromUserForbidden) IsCode(code int) bool
IsCode returns true when this delete mod from user forbidden response a status code equal to that given
func (*DeleteModFromUserForbidden) IsRedirect ¶
func (o *DeleteModFromUserForbidden) IsRedirect() bool
IsRedirect returns true when this delete mod from user forbidden response has a 3xx status code
func (*DeleteModFromUserForbidden) IsServerError ¶
func (o *DeleteModFromUserForbidden) IsServerError() bool
IsServerError returns true when this delete mod from user forbidden response has a 5xx status code
func (*DeleteModFromUserForbidden) IsSuccess ¶
func (o *DeleteModFromUserForbidden) IsSuccess() bool
IsSuccess returns true when this delete mod from user forbidden response has a 2xx status code
func (*DeleteModFromUserForbidden) String ¶
func (o *DeleteModFromUserForbidden) String() string
type DeleteModFromUserNotFound ¶
type DeleteModFromUserNotFound struct {
Payload *models.GeneralError
}
DeleteModFromUserNotFound describes a response with status code 404, with default header values.
Mod or user not found
func NewDeleteModFromUserNotFound ¶
func NewDeleteModFromUserNotFound() *DeleteModFromUserNotFound
NewDeleteModFromUserNotFound creates a DeleteModFromUserNotFound with default headers values
func (*DeleteModFromUserNotFound) Code ¶
func (o *DeleteModFromUserNotFound) Code() int
Code gets the status code for the delete mod from user not found response
func (*DeleteModFromUserNotFound) Error ¶
func (o *DeleteModFromUserNotFound) Error() string
func (*DeleteModFromUserNotFound) GetPayload ¶
func (o *DeleteModFromUserNotFound) GetPayload() *models.GeneralError
func (*DeleteModFromUserNotFound) IsClientError ¶
func (o *DeleteModFromUserNotFound) IsClientError() bool
IsClientError returns true when this delete mod from user not found response has a 4xx status code
func (*DeleteModFromUserNotFound) IsCode ¶
func (o *DeleteModFromUserNotFound) IsCode(code int) bool
IsCode returns true when this delete mod from user not found response a status code equal to that given
func (*DeleteModFromUserNotFound) IsRedirect ¶
func (o *DeleteModFromUserNotFound) IsRedirect() bool
IsRedirect returns true when this delete mod from user not found response has a 3xx status code
func (*DeleteModFromUserNotFound) IsServerError ¶
func (o *DeleteModFromUserNotFound) IsServerError() bool
IsServerError returns true when this delete mod from user not found response has a 5xx status code
func (*DeleteModFromUserNotFound) IsSuccess ¶
func (o *DeleteModFromUserNotFound) IsSuccess() bool
IsSuccess returns true when this delete mod from user not found response has a 2xx status code
func (*DeleteModFromUserNotFound) String ¶
func (o *DeleteModFromUserNotFound) String() string
type DeleteModFromUserOK ¶
type DeleteModFromUserOK struct {
Payload *models.GeneralError
}
DeleteModFromUserOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteModFromUserOK ¶
func NewDeleteModFromUserOK() *DeleteModFromUserOK
NewDeleteModFromUserOK creates a DeleteModFromUserOK with default headers values
func (*DeleteModFromUserOK) Code ¶
func (o *DeleteModFromUserOK) Code() int
Code gets the status code for the delete mod from user o k response
func (*DeleteModFromUserOK) Error ¶
func (o *DeleteModFromUserOK) Error() string
func (*DeleteModFromUserOK) GetPayload ¶
func (o *DeleteModFromUserOK) GetPayload() *models.GeneralError
func (*DeleteModFromUserOK) IsClientError ¶
func (o *DeleteModFromUserOK) IsClientError() bool
IsClientError returns true when this delete mod from user o k response has a 4xx status code
func (*DeleteModFromUserOK) IsCode ¶
func (o *DeleteModFromUserOK) IsCode(code int) bool
IsCode returns true when this delete mod from user o k response a status code equal to that given
func (*DeleteModFromUserOK) IsRedirect ¶
func (o *DeleteModFromUserOK) IsRedirect() bool
IsRedirect returns true when this delete mod from user o k response has a 3xx status code
func (*DeleteModFromUserOK) IsServerError ¶
func (o *DeleteModFromUserOK) IsServerError() bool
IsServerError returns true when this delete mod from user o k response has a 5xx status code
func (*DeleteModFromUserOK) IsSuccess ¶
func (o *DeleteModFromUserOK) IsSuccess() bool
IsSuccess returns true when this delete mod from user o k response has a 2xx status code
func (*DeleteModFromUserOK) String ¶
func (o *DeleteModFromUserOK) String() string
type DeleteModFromUserParams ¶
type DeleteModFromUserParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModUser. The mod user data to delete */ ModUser *models.ModUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteModFromUserParams contains all the parameters to send to the API endpoint
for the delete mod from user operation. Typically these are written to a http.Request.
func NewDeleteModFromUserParams ¶
func NewDeleteModFromUserParams() *DeleteModFromUserParams
NewDeleteModFromUserParams creates a new DeleteModFromUserParams 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 NewDeleteModFromUserParamsWithContext ¶
func NewDeleteModFromUserParamsWithContext(ctx context.Context) *DeleteModFromUserParams
NewDeleteModFromUserParamsWithContext creates a new DeleteModFromUserParams object with the ability to set a context for a request.
func NewDeleteModFromUserParamsWithHTTPClient ¶
func NewDeleteModFromUserParamsWithHTTPClient(client *http.Client) *DeleteModFromUserParams
NewDeleteModFromUserParamsWithHTTPClient creates a new DeleteModFromUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteModFromUserParamsWithTimeout ¶
func NewDeleteModFromUserParamsWithTimeout(timeout time.Duration) *DeleteModFromUserParams
NewDeleteModFromUserParamsWithTimeout creates a new DeleteModFromUserParams object with the ability to set a timeout on a request.
func (*DeleteModFromUserParams) SetContext ¶
func (o *DeleteModFromUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete mod from user params
func (*DeleteModFromUserParams) SetDefaults ¶
func (o *DeleteModFromUserParams) SetDefaults()
SetDefaults hydrates default values in the delete mod from user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModFromUserParams) SetHTTPClient ¶
func (o *DeleteModFromUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete mod from user params
func (*DeleteModFromUserParams) SetModID ¶
func (o *DeleteModFromUserParams) SetModID(modID string)
SetModID adds the modId to the delete mod from user params
func (*DeleteModFromUserParams) SetModUser ¶
func (o *DeleteModFromUserParams) SetModUser(modUser *models.ModUserParams)
SetModUser adds the modUser to the delete mod from user params
func (*DeleteModFromUserParams) SetTimeout ¶
func (o *DeleteModFromUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mod from user params
func (*DeleteModFromUserParams) WithContext ¶
func (o *DeleteModFromUserParams) WithContext(ctx context.Context) *DeleteModFromUserParams
WithContext adds the context to the delete mod from user params
func (*DeleteModFromUserParams) WithDefaults ¶
func (o *DeleteModFromUserParams) WithDefaults() *DeleteModFromUserParams
WithDefaults hydrates default values in the delete mod from user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModFromUserParams) WithHTTPClient ¶
func (o *DeleteModFromUserParams) WithHTTPClient(client *http.Client) *DeleteModFromUserParams
WithHTTPClient adds the HTTPClient to the delete mod from user params
func (*DeleteModFromUserParams) WithModID ¶
func (o *DeleteModFromUserParams) WithModID(modID string) *DeleteModFromUserParams
WithModID adds the modID to the delete mod from user params
func (*DeleteModFromUserParams) WithModUser ¶
func (o *DeleteModFromUserParams) WithModUser(modUser *models.ModUserParams) *DeleteModFromUserParams
WithModUser adds the modUser to the delete mod from user params
func (*DeleteModFromUserParams) WithTimeout ¶
func (o *DeleteModFromUserParams) WithTimeout(timeout time.Duration) *DeleteModFromUserParams
WithTimeout adds the timeout to the delete mod from user params
func (*DeleteModFromUserParams) WriteToRequest ¶
func (o *DeleteModFromUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteModFromUserPreconditionFailed ¶
type DeleteModFromUserPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteModFromUserPreconditionFailed describes a response with status code 412, with default header values.
User is not attached
func NewDeleteModFromUserPreconditionFailed ¶
func NewDeleteModFromUserPreconditionFailed() *DeleteModFromUserPreconditionFailed
NewDeleteModFromUserPreconditionFailed creates a DeleteModFromUserPreconditionFailed with default headers values
func (*DeleteModFromUserPreconditionFailed) Code ¶
func (o *DeleteModFromUserPreconditionFailed) Code() int
Code gets the status code for the delete mod from user precondition failed response
func (*DeleteModFromUserPreconditionFailed) Error ¶
func (o *DeleteModFromUserPreconditionFailed) Error() string
func (*DeleteModFromUserPreconditionFailed) GetPayload ¶
func (o *DeleteModFromUserPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteModFromUserPreconditionFailed) IsClientError ¶
func (o *DeleteModFromUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete mod from user precondition failed response has a 4xx status code
func (*DeleteModFromUserPreconditionFailed) IsCode ¶
func (o *DeleteModFromUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete mod from user precondition failed response a status code equal to that given
func (*DeleteModFromUserPreconditionFailed) IsRedirect ¶
func (o *DeleteModFromUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete mod from user precondition failed response has a 3xx status code
func (*DeleteModFromUserPreconditionFailed) IsServerError ¶
func (o *DeleteModFromUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete mod from user precondition failed response has a 5xx status code
func (*DeleteModFromUserPreconditionFailed) IsSuccess ¶
func (o *DeleteModFromUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete mod from user precondition failed response has a 2xx status code
func (*DeleteModFromUserPreconditionFailed) String ¶
func (o *DeleteModFromUserPreconditionFailed) String() string
type DeleteModFromUserReader ¶
type DeleteModFromUserReader struct {
// contains filtered or unexported fields
}
DeleteModFromUserReader is a Reader for the DeleteModFromUser structure.
func (*DeleteModFromUserReader) ReadResponse ¶
func (o *DeleteModFromUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteModNotFound ¶
type DeleteModNotFound struct {
Payload *models.GeneralError
}
DeleteModNotFound describes a response with status code 404, with default header values.
Mod not found
func NewDeleteModNotFound ¶
func NewDeleteModNotFound() *DeleteModNotFound
NewDeleteModNotFound creates a DeleteModNotFound with default headers values
func (*DeleteModNotFound) Code ¶
func (o *DeleteModNotFound) Code() int
Code gets the status code for the delete mod not found response
func (*DeleteModNotFound) Error ¶
func (o *DeleteModNotFound) Error() string
func (*DeleteModNotFound) GetPayload ¶
func (o *DeleteModNotFound) GetPayload() *models.GeneralError
func (*DeleteModNotFound) IsClientError ¶
func (o *DeleteModNotFound) IsClientError() bool
IsClientError returns true when this delete mod not found response has a 4xx status code
func (*DeleteModNotFound) IsCode ¶
func (o *DeleteModNotFound) IsCode(code int) bool
IsCode returns true when this delete mod not found response a status code equal to that given
func (*DeleteModNotFound) IsRedirect ¶
func (o *DeleteModNotFound) IsRedirect() bool
IsRedirect returns true when this delete mod not found response has a 3xx status code
func (*DeleteModNotFound) IsServerError ¶
func (o *DeleteModNotFound) IsServerError() bool
IsServerError returns true when this delete mod not found response has a 5xx status code
func (*DeleteModNotFound) IsSuccess ¶
func (o *DeleteModNotFound) IsSuccess() bool
IsSuccess returns true when this delete mod not found response has a 2xx status code
func (*DeleteModNotFound) String ¶
func (o *DeleteModNotFound) String() string
type DeleteModOK ¶
type DeleteModOK struct {
Payload *models.GeneralError
}
DeleteModOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteModOK ¶
func NewDeleteModOK() *DeleteModOK
NewDeleteModOK creates a DeleteModOK with default headers values
func (*DeleteModOK) Code ¶
func (o *DeleteModOK) Code() int
Code gets the status code for the delete mod o k response
func (*DeleteModOK) Error ¶
func (o *DeleteModOK) Error() string
func (*DeleteModOK) GetPayload ¶
func (o *DeleteModOK) GetPayload() *models.GeneralError
func (*DeleteModOK) IsClientError ¶
func (o *DeleteModOK) IsClientError() bool
IsClientError returns true when this delete mod o k response has a 4xx status code
func (*DeleteModOK) IsCode ¶
func (o *DeleteModOK) IsCode(code int) bool
IsCode returns true when this delete mod o k response a status code equal to that given
func (*DeleteModOK) IsRedirect ¶
func (o *DeleteModOK) IsRedirect() bool
IsRedirect returns true when this delete mod o k response has a 3xx status code
func (*DeleteModOK) IsServerError ¶
func (o *DeleteModOK) IsServerError() bool
IsServerError returns true when this delete mod o k response has a 5xx status code
func (*DeleteModOK) IsSuccess ¶
func (o *DeleteModOK) IsSuccess() bool
IsSuccess returns true when this delete mod o k response has a 2xx status code
func (*DeleteModOK) String ¶
func (o *DeleteModOK) String() string
type DeleteModParams ¶
type DeleteModParams struct { /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteModParams contains all the parameters to send to the API endpoint
for the delete mod operation. Typically these are written to a http.Request.
func NewDeleteModParams ¶
func NewDeleteModParams() *DeleteModParams
NewDeleteModParams creates a new DeleteModParams 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 NewDeleteModParamsWithContext ¶
func NewDeleteModParamsWithContext(ctx context.Context) *DeleteModParams
NewDeleteModParamsWithContext creates a new DeleteModParams object with the ability to set a context for a request.
func NewDeleteModParamsWithHTTPClient ¶
func NewDeleteModParamsWithHTTPClient(client *http.Client) *DeleteModParams
NewDeleteModParamsWithHTTPClient creates a new DeleteModParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteModParamsWithTimeout ¶
func NewDeleteModParamsWithTimeout(timeout time.Duration) *DeleteModParams
NewDeleteModParamsWithTimeout creates a new DeleteModParams object with the ability to set a timeout on a request.
func (*DeleteModParams) SetContext ¶
func (o *DeleteModParams) SetContext(ctx context.Context)
SetContext adds the context to the delete mod params
func (*DeleteModParams) SetDefaults ¶
func (o *DeleteModParams) SetDefaults()
SetDefaults hydrates default values in the delete mod params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModParams) SetHTTPClient ¶
func (o *DeleteModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete mod params
func (*DeleteModParams) SetModID ¶
func (o *DeleteModParams) SetModID(modID string)
SetModID adds the modId to the delete mod params
func (*DeleteModParams) SetTimeout ¶
func (o *DeleteModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete mod params
func (*DeleteModParams) WithContext ¶
func (o *DeleteModParams) WithContext(ctx context.Context) *DeleteModParams
WithContext adds the context to the delete mod params
func (*DeleteModParams) WithDefaults ¶
func (o *DeleteModParams) WithDefaults() *DeleteModParams
WithDefaults hydrates default values in the delete mod params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteModParams) WithHTTPClient ¶
func (o *DeleteModParams) WithHTTPClient(client *http.Client) *DeleteModParams
WithHTTPClient adds the HTTPClient to the delete mod params
func (*DeleteModParams) WithModID ¶
func (o *DeleteModParams) WithModID(modID string) *DeleteModParams
WithModID adds the modID to the delete mod params
func (*DeleteModParams) WithTimeout ¶
func (o *DeleteModParams) WithTimeout(timeout time.Duration) *DeleteModParams
WithTimeout adds the timeout to the delete mod params
func (*DeleteModParams) WriteToRequest ¶
func (o *DeleteModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteModReader ¶
type DeleteModReader struct {
// contains filtered or unexported fields
}
DeleteModReader is a Reader for the DeleteMod structure.
func (*DeleteModReader) ReadResponse ¶
func (o *DeleteModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVersionBadRequest ¶
type DeleteVersionBadRequest struct {
Payload *models.GeneralError
}
DeleteVersionBadRequest describes a response with status code 400, with default header values.
Failed to delete the version
func NewDeleteVersionBadRequest ¶
func NewDeleteVersionBadRequest() *DeleteVersionBadRequest
NewDeleteVersionBadRequest creates a DeleteVersionBadRequest with default headers values
func (*DeleteVersionBadRequest) Code ¶
func (o *DeleteVersionBadRequest) Code() int
Code gets the status code for the delete version bad request response
func (*DeleteVersionBadRequest) Error ¶
func (o *DeleteVersionBadRequest) Error() string
func (*DeleteVersionBadRequest) GetPayload ¶
func (o *DeleteVersionBadRequest) GetPayload() *models.GeneralError
func (*DeleteVersionBadRequest) IsClientError ¶
func (o *DeleteVersionBadRequest) IsClientError() bool
IsClientError returns true when this delete version bad request response has a 4xx status code
func (*DeleteVersionBadRequest) IsCode ¶
func (o *DeleteVersionBadRequest) IsCode(code int) bool
IsCode returns true when this delete version bad request response a status code equal to that given
func (*DeleteVersionBadRequest) IsRedirect ¶
func (o *DeleteVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete version bad request response has a 3xx status code
func (*DeleteVersionBadRequest) IsServerError ¶
func (o *DeleteVersionBadRequest) IsServerError() bool
IsServerError returns true when this delete version bad request response has a 5xx status code
func (*DeleteVersionBadRequest) IsSuccess ¶
func (o *DeleteVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete version bad request response has a 2xx status code
func (*DeleteVersionBadRequest) String ¶
func (o *DeleteVersionBadRequest) String() string
type DeleteVersionDefault ¶
type DeleteVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteVersionDefault ¶
func NewDeleteVersionDefault(code int) *DeleteVersionDefault
NewDeleteVersionDefault creates a DeleteVersionDefault with default headers values
func (*DeleteVersionDefault) Code ¶
func (o *DeleteVersionDefault) Code() int
Code gets the status code for the delete version default response
func (*DeleteVersionDefault) Error ¶
func (o *DeleteVersionDefault) Error() string
func (*DeleteVersionDefault) GetPayload ¶
func (o *DeleteVersionDefault) GetPayload() *models.GeneralError
func (*DeleteVersionDefault) IsClientError ¶
func (o *DeleteVersionDefault) IsClientError() bool
IsClientError returns true when this delete version default response has a 4xx status code
func (*DeleteVersionDefault) IsCode ¶
func (o *DeleteVersionDefault) IsCode(code int) bool
IsCode returns true when this delete version default response a status code equal to that given
func (*DeleteVersionDefault) IsRedirect ¶
func (o *DeleteVersionDefault) IsRedirect() bool
IsRedirect returns true when this delete version default response has a 3xx status code
func (*DeleteVersionDefault) IsServerError ¶
func (o *DeleteVersionDefault) IsServerError() bool
IsServerError returns true when this delete version default response has a 5xx status code
func (*DeleteVersionDefault) IsSuccess ¶
func (o *DeleteVersionDefault) IsSuccess() bool
IsSuccess returns true when this delete version default response has a 2xx status code
func (*DeleteVersionDefault) String ¶
func (o *DeleteVersionDefault) String() string
type DeleteVersionForbidden ¶
type DeleteVersionForbidden struct {
Payload *models.GeneralError
}
DeleteVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteVersionForbidden ¶
func NewDeleteVersionForbidden() *DeleteVersionForbidden
NewDeleteVersionForbidden creates a DeleteVersionForbidden with default headers values
func (*DeleteVersionForbidden) Code ¶
func (o *DeleteVersionForbidden) Code() int
Code gets the status code for the delete version forbidden response
func (*DeleteVersionForbidden) Error ¶
func (o *DeleteVersionForbidden) Error() string
func (*DeleteVersionForbidden) GetPayload ¶
func (o *DeleteVersionForbidden) GetPayload() *models.GeneralError
func (*DeleteVersionForbidden) IsClientError ¶
func (o *DeleteVersionForbidden) IsClientError() bool
IsClientError returns true when this delete version forbidden response has a 4xx status code
func (*DeleteVersionForbidden) IsCode ¶
func (o *DeleteVersionForbidden) IsCode(code int) bool
IsCode returns true when this delete version forbidden response a status code equal to that given
func (*DeleteVersionForbidden) IsRedirect ¶
func (o *DeleteVersionForbidden) IsRedirect() bool
IsRedirect returns true when this delete version forbidden response has a 3xx status code
func (*DeleteVersionForbidden) IsServerError ¶
func (o *DeleteVersionForbidden) IsServerError() bool
IsServerError returns true when this delete version forbidden response has a 5xx status code
func (*DeleteVersionForbidden) IsSuccess ¶
func (o *DeleteVersionForbidden) IsSuccess() bool
IsSuccess returns true when this delete version forbidden response has a 2xx status code
func (*DeleteVersionForbidden) String ¶
func (o *DeleteVersionForbidden) String() string
type DeleteVersionFromBuildBadRequest ¶
type DeleteVersionFromBuildBadRequest struct {
Payload *models.GeneralError
}
DeleteVersionFromBuildBadRequest describes a response with status code 400, with default header values.
Failed to unlink build
func NewDeleteVersionFromBuildBadRequest ¶
func NewDeleteVersionFromBuildBadRequest() *DeleteVersionFromBuildBadRequest
NewDeleteVersionFromBuildBadRequest creates a DeleteVersionFromBuildBadRequest with default headers values
func (*DeleteVersionFromBuildBadRequest) Code ¶
func (o *DeleteVersionFromBuildBadRequest) Code() int
Code gets the status code for the delete version from build bad request response
func (*DeleteVersionFromBuildBadRequest) Error ¶
func (o *DeleteVersionFromBuildBadRequest) Error() string
func (*DeleteVersionFromBuildBadRequest) GetPayload ¶
func (o *DeleteVersionFromBuildBadRequest) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildBadRequest) IsClientError ¶
func (o *DeleteVersionFromBuildBadRequest) IsClientError() bool
IsClientError returns true when this delete version from build bad request response has a 4xx status code
func (*DeleteVersionFromBuildBadRequest) IsCode ¶
func (o *DeleteVersionFromBuildBadRequest) IsCode(code int) bool
IsCode returns true when this delete version from build bad request response a status code equal to that given
func (*DeleteVersionFromBuildBadRequest) IsRedirect ¶
func (o *DeleteVersionFromBuildBadRequest) IsRedirect() bool
IsRedirect returns true when this delete version from build bad request response has a 3xx status code
func (*DeleteVersionFromBuildBadRequest) IsServerError ¶
func (o *DeleteVersionFromBuildBadRequest) IsServerError() bool
IsServerError returns true when this delete version from build bad request response has a 5xx status code
func (*DeleteVersionFromBuildBadRequest) IsSuccess ¶
func (o *DeleteVersionFromBuildBadRequest) IsSuccess() bool
IsSuccess returns true when this delete version from build bad request response has a 2xx status code
func (*DeleteVersionFromBuildBadRequest) String ¶
func (o *DeleteVersionFromBuildBadRequest) String() string
type DeleteVersionFromBuildDefault ¶
type DeleteVersionFromBuildDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
DeleteVersionFromBuildDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewDeleteVersionFromBuildDefault ¶
func NewDeleteVersionFromBuildDefault(code int) *DeleteVersionFromBuildDefault
NewDeleteVersionFromBuildDefault creates a DeleteVersionFromBuildDefault with default headers values
func (*DeleteVersionFromBuildDefault) Code ¶
func (o *DeleteVersionFromBuildDefault) Code() int
Code gets the status code for the delete version from build default response
func (*DeleteVersionFromBuildDefault) Error ¶
func (o *DeleteVersionFromBuildDefault) Error() string
func (*DeleteVersionFromBuildDefault) GetPayload ¶
func (o *DeleteVersionFromBuildDefault) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildDefault) IsClientError ¶
func (o *DeleteVersionFromBuildDefault) IsClientError() bool
IsClientError returns true when this delete version from build default response has a 4xx status code
func (*DeleteVersionFromBuildDefault) IsCode ¶
func (o *DeleteVersionFromBuildDefault) IsCode(code int) bool
IsCode returns true when this delete version from build default response a status code equal to that given
func (*DeleteVersionFromBuildDefault) IsRedirect ¶
func (o *DeleteVersionFromBuildDefault) IsRedirect() bool
IsRedirect returns true when this delete version from build default response has a 3xx status code
func (*DeleteVersionFromBuildDefault) IsServerError ¶
func (o *DeleteVersionFromBuildDefault) IsServerError() bool
IsServerError returns true when this delete version from build default response has a 5xx status code
func (*DeleteVersionFromBuildDefault) IsSuccess ¶
func (o *DeleteVersionFromBuildDefault) IsSuccess() bool
IsSuccess returns true when this delete version from build default response has a 2xx status code
func (*DeleteVersionFromBuildDefault) String ¶
func (o *DeleteVersionFromBuildDefault) String() string
type DeleteVersionFromBuildForbidden ¶
type DeleteVersionFromBuildForbidden struct {
Payload *models.GeneralError
}
DeleteVersionFromBuildForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewDeleteVersionFromBuildForbidden ¶
func NewDeleteVersionFromBuildForbidden() *DeleteVersionFromBuildForbidden
NewDeleteVersionFromBuildForbidden creates a DeleteVersionFromBuildForbidden with default headers values
func (*DeleteVersionFromBuildForbidden) Code ¶
func (o *DeleteVersionFromBuildForbidden) Code() int
Code gets the status code for the delete version from build forbidden response
func (*DeleteVersionFromBuildForbidden) Error ¶
func (o *DeleteVersionFromBuildForbidden) Error() string
func (*DeleteVersionFromBuildForbidden) GetPayload ¶
func (o *DeleteVersionFromBuildForbidden) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildForbidden) IsClientError ¶
func (o *DeleteVersionFromBuildForbidden) IsClientError() bool
IsClientError returns true when this delete version from build forbidden response has a 4xx status code
func (*DeleteVersionFromBuildForbidden) IsCode ¶
func (o *DeleteVersionFromBuildForbidden) IsCode(code int) bool
IsCode returns true when this delete version from build forbidden response a status code equal to that given
func (*DeleteVersionFromBuildForbidden) IsRedirect ¶
func (o *DeleteVersionFromBuildForbidden) IsRedirect() bool
IsRedirect returns true when this delete version from build forbidden response has a 3xx status code
func (*DeleteVersionFromBuildForbidden) IsServerError ¶
func (o *DeleteVersionFromBuildForbidden) IsServerError() bool
IsServerError returns true when this delete version from build forbidden response has a 5xx status code
func (*DeleteVersionFromBuildForbidden) IsSuccess ¶
func (o *DeleteVersionFromBuildForbidden) IsSuccess() bool
IsSuccess returns true when this delete version from build forbidden response has a 2xx status code
func (*DeleteVersionFromBuildForbidden) String ¶
func (o *DeleteVersionFromBuildForbidden) String() string
type DeleteVersionFromBuildNotFound ¶
type DeleteVersionFromBuildNotFound struct {
Payload *models.GeneralError
}
DeleteVersionFromBuildNotFound describes a response with status code 404, with default header values.
Version or mod not found
func NewDeleteVersionFromBuildNotFound ¶
func NewDeleteVersionFromBuildNotFound() *DeleteVersionFromBuildNotFound
NewDeleteVersionFromBuildNotFound creates a DeleteVersionFromBuildNotFound with default headers values
func (*DeleteVersionFromBuildNotFound) Code ¶
func (o *DeleteVersionFromBuildNotFound) Code() int
Code gets the status code for the delete version from build not found response
func (*DeleteVersionFromBuildNotFound) Error ¶
func (o *DeleteVersionFromBuildNotFound) Error() string
func (*DeleteVersionFromBuildNotFound) GetPayload ¶
func (o *DeleteVersionFromBuildNotFound) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildNotFound) IsClientError ¶
func (o *DeleteVersionFromBuildNotFound) IsClientError() bool
IsClientError returns true when this delete version from build not found response has a 4xx status code
func (*DeleteVersionFromBuildNotFound) IsCode ¶
func (o *DeleteVersionFromBuildNotFound) IsCode(code int) bool
IsCode returns true when this delete version from build not found response a status code equal to that given
func (*DeleteVersionFromBuildNotFound) IsRedirect ¶
func (o *DeleteVersionFromBuildNotFound) IsRedirect() bool
IsRedirect returns true when this delete version from build not found response has a 3xx status code
func (*DeleteVersionFromBuildNotFound) IsServerError ¶
func (o *DeleteVersionFromBuildNotFound) IsServerError() bool
IsServerError returns true when this delete version from build not found response has a 5xx status code
func (*DeleteVersionFromBuildNotFound) IsSuccess ¶
func (o *DeleteVersionFromBuildNotFound) IsSuccess() bool
IsSuccess returns true when this delete version from build not found response has a 2xx status code
func (*DeleteVersionFromBuildNotFound) String ¶
func (o *DeleteVersionFromBuildNotFound) String() string
type DeleteVersionFromBuildOK ¶
type DeleteVersionFromBuildOK struct {
Payload *models.GeneralError
}
DeleteVersionFromBuildOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteVersionFromBuildOK ¶
func NewDeleteVersionFromBuildOK() *DeleteVersionFromBuildOK
NewDeleteVersionFromBuildOK creates a DeleteVersionFromBuildOK with default headers values
func (*DeleteVersionFromBuildOK) Code ¶
func (o *DeleteVersionFromBuildOK) Code() int
Code gets the status code for the delete version from build o k response
func (*DeleteVersionFromBuildOK) Error ¶
func (o *DeleteVersionFromBuildOK) Error() string
func (*DeleteVersionFromBuildOK) GetPayload ¶
func (o *DeleteVersionFromBuildOK) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildOK) IsClientError ¶
func (o *DeleteVersionFromBuildOK) IsClientError() bool
IsClientError returns true when this delete version from build o k response has a 4xx status code
func (*DeleteVersionFromBuildOK) IsCode ¶
func (o *DeleteVersionFromBuildOK) IsCode(code int) bool
IsCode returns true when this delete version from build o k response a status code equal to that given
func (*DeleteVersionFromBuildOK) IsRedirect ¶
func (o *DeleteVersionFromBuildOK) IsRedirect() bool
IsRedirect returns true when this delete version from build o k response has a 3xx status code
func (*DeleteVersionFromBuildOK) IsServerError ¶
func (o *DeleteVersionFromBuildOK) IsServerError() bool
IsServerError returns true when this delete version from build o k response has a 5xx status code
func (*DeleteVersionFromBuildOK) IsSuccess ¶
func (o *DeleteVersionFromBuildOK) IsSuccess() bool
IsSuccess returns true when this delete version from build o k response has a 2xx status code
func (*DeleteVersionFromBuildOK) String ¶
func (o *DeleteVersionFromBuildOK) String() string
type DeleteVersionFromBuildParams ¶
type DeleteVersionFromBuildParams struct { /* ModID. A mod UUID or slug */ ModID string /* VersionBuild. The build data to unlink from version */ VersionBuild *models.VersionBuildParams /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVersionFromBuildParams contains all the parameters to send to the API endpoint
for the delete version from build operation. Typically these are written to a http.Request.
func NewDeleteVersionFromBuildParams ¶
func NewDeleteVersionFromBuildParams() *DeleteVersionFromBuildParams
NewDeleteVersionFromBuildParams creates a new DeleteVersionFromBuildParams 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 NewDeleteVersionFromBuildParamsWithContext ¶
func NewDeleteVersionFromBuildParamsWithContext(ctx context.Context) *DeleteVersionFromBuildParams
NewDeleteVersionFromBuildParamsWithContext creates a new DeleteVersionFromBuildParams object with the ability to set a context for a request.
func NewDeleteVersionFromBuildParamsWithHTTPClient ¶
func NewDeleteVersionFromBuildParamsWithHTTPClient(client *http.Client) *DeleteVersionFromBuildParams
NewDeleteVersionFromBuildParamsWithHTTPClient creates a new DeleteVersionFromBuildParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVersionFromBuildParamsWithTimeout ¶
func NewDeleteVersionFromBuildParamsWithTimeout(timeout time.Duration) *DeleteVersionFromBuildParams
NewDeleteVersionFromBuildParamsWithTimeout creates a new DeleteVersionFromBuildParams object with the ability to set a timeout on a request.
func (*DeleteVersionFromBuildParams) SetContext ¶
func (o *DeleteVersionFromBuildParams) SetContext(ctx context.Context)
SetContext adds the context to the delete version from build params
func (*DeleteVersionFromBuildParams) SetDefaults ¶
func (o *DeleteVersionFromBuildParams) SetDefaults()
SetDefaults hydrates default values in the delete version from build params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionFromBuildParams) SetHTTPClient ¶
func (o *DeleteVersionFromBuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete version from build params
func (*DeleteVersionFromBuildParams) SetModID ¶
func (o *DeleteVersionFromBuildParams) SetModID(modID string)
SetModID adds the modId to the delete version from build params
func (*DeleteVersionFromBuildParams) SetTimeout ¶
func (o *DeleteVersionFromBuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete version from build params
func (*DeleteVersionFromBuildParams) SetVersionBuild ¶
func (o *DeleteVersionFromBuildParams) SetVersionBuild(versionBuild *models.VersionBuildParams)
SetVersionBuild adds the versionBuild to the delete version from build params
func (*DeleteVersionFromBuildParams) SetVersionID ¶
func (o *DeleteVersionFromBuildParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the delete version from build params
func (*DeleteVersionFromBuildParams) WithContext ¶
func (o *DeleteVersionFromBuildParams) WithContext(ctx context.Context) *DeleteVersionFromBuildParams
WithContext adds the context to the delete version from build params
func (*DeleteVersionFromBuildParams) WithDefaults ¶
func (o *DeleteVersionFromBuildParams) WithDefaults() *DeleteVersionFromBuildParams
WithDefaults hydrates default values in the delete version from build params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionFromBuildParams) WithHTTPClient ¶
func (o *DeleteVersionFromBuildParams) WithHTTPClient(client *http.Client) *DeleteVersionFromBuildParams
WithHTTPClient adds the HTTPClient to the delete version from build params
func (*DeleteVersionFromBuildParams) WithModID ¶
func (o *DeleteVersionFromBuildParams) WithModID(modID string) *DeleteVersionFromBuildParams
WithModID adds the modID to the delete version from build params
func (*DeleteVersionFromBuildParams) WithTimeout ¶
func (o *DeleteVersionFromBuildParams) WithTimeout(timeout time.Duration) *DeleteVersionFromBuildParams
WithTimeout adds the timeout to the delete version from build params
func (*DeleteVersionFromBuildParams) WithVersionBuild ¶
func (o *DeleteVersionFromBuildParams) WithVersionBuild(versionBuild *models.VersionBuildParams) *DeleteVersionFromBuildParams
WithVersionBuild adds the versionBuild to the delete version from build params
func (*DeleteVersionFromBuildParams) WithVersionID ¶
func (o *DeleteVersionFromBuildParams) WithVersionID(versionID string) *DeleteVersionFromBuildParams
WithVersionID adds the versionID to the delete version from build params
func (*DeleteVersionFromBuildParams) WriteToRequest ¶
func (o *DeleteVersionFromBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVersionFromBuildPreconditionFailed ¶
type DeleteVersionFromBuildPreconditionFailed struct {
Payload *models.GeneralError
}
DeleteVersionFromBuildPreconditionFailed describes a response with status code 412, with default header values.
Build is not assigned
func NewDeleteVersionFromBuildPreconditionFailed ¶
func NewDeleteVersionFromBuildPreconditionFailed() *DeleteVersionFromBuildPreconditionFailed
NewDeleteVersionFromBuildPreconditionFailed creates a DeleteVersionFromBuildPreconditionFailed with default headers values
func (*DeleteVersionFromBuildPreconditionFailed) Code ¶
func (o *DeleteVersionFromBuildPreconditionFailed) Code() int
Code gets the status code for the delete version from build precondition failed response
func (*DeleteVersionFromBuildPreconditionFailed) Error ¶
func (o *DeleteVersionFromBuildPreconditionFailed) Error() string
func (*DeleteVersionFromBuildPreconditionFailed) GetPayload ¶
func (o *DeleteVersionFromBuildPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteVersionFromBuildPreconditionFailed) IsClientError ¶
func (o *DeleteVersionFromBuildPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete version from build precondition failed response has a 4xx status code
func (*DeleteVersionFromBuildPreconditionFailed) IsCode ¶
func (o *DeleteVersionFromBuildPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete version from build precondition failed response a status code equal to that given
func (*DeleteVersionFromBuildPreconditionFailed) IsRedirect ¶
func (o *DeleteVersionFromBuildPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete version from build precondition failed response has a 3xx status code
func (*DeleteVersionFromBuildPreconditionFailed) IsServerError ¶
func (o *DeleteVersionFromBuildPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete version from build precondition failed response has a 5xx status code
func (*DeleteVersionFromBuildPreconditionFailed) IsSuccess ¶
func (o *DeleteVersionFromBuildPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete version from build precondition failed response has a 2xx status code
func (*DeleteVersionFromBuildPreconditionFailed) String ¶
func (o *DeleteVersionFromBuildPreconditionFailed) String() string
type DeleteVersionFromBuildReader ¶
type DeleteVersionFromBuildReader struct {
// contains filtered or unexported fields
}
DeleteVersionFromBuildReader is a Reader for the DeleteVersionFromBuild structure.
func (*DeleteVersionFromBuildReader) ReadResponse ¶
func (o *DeleteVersionFromBuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVersionNotFound ¶
type DeleteVersionNotFound struct {
Payload *models.GeneralError
}
DeleteVersionNotFound describes a response with status code 404, with default header values.
Version or mod not found
func NewDeleteVersionNotFound ¶
func NewDeleteVersionNotFound() *DeleteVersionNotFound
NewDeleteVersionNotFound creates a DeleteVersionNotFound with default headers values
func (*DeleteVersionNotFound) Code ¶
func (o *DeleteVersionNotFound) Code() int
Code gets the status code for the delete version not found response
func (*DeleteVersionNotFound) Error ¶
func (o *DeleteVersionNotFound) Error() string
func (*DeleteVersionNotFound) GetPayload ¶
func (o *DeleteVersionNotFound) GetPayload() *models.GeneralError
func (*DeleteVersionNotFound) IsClientError ¶
func (o *DeleteVersionNotFound) IsClientError() bool
IsClientError returns true when this delete version not found response has a 4xx status code
func (*DeleteVersionNotFound) IsCode ¶
func (o *DeleteVersionNotFound) IsCode(code int) bool
IsCode returns true when this delete version not found response a status code equal to that given
func (*DeleteVersionNotFound) IsRedirect ¶
func (o *DeleteVersionNotFound) IsRedirect() bool
IsRedirect returns true when this delete version not found response has a 3xx status code
func (*DeleteVersionNotFound) IsServerError ¶
func (o *DeleteVersionNotFound) IsServerError() bool
IsServerError returns true when this delete version not found response has a 5xx status code
func (*DeleteVersionNotFound) IsSuccess ¶
func (o *DeleteVersionNotFound) IsSuccess() bool
IsSuccess returns true when this delete version not found response has a 2xx status code
func (*DeleteVersionNotFound) String ¶
func (o *DeleteVersionNotFound) String() string
type DeleteVersionOK ¶
type DeleteVersionOK struct {
Payload *models.GeneralError
}
DeleteVersionOK describes a response with status code 200, with default header values.
Plain success message
func NewDeleteVersionOK ¶
func NewDeleteVersionOK() *DeleteVersionOK
NewDeleteVersionOK creates a DeleteVersionOK with default headers values
func (*DeleteVersionOK) Code ¶
func (o *DeleteVersionOK) Code() int
Code gets the status code for the delete version o k response
func (*DeleteVersionOK) Error ¶
func (o *DeleteVersionOK) Error() string
func (*DeleteVersionOK) GetPayload ¶
func (o *DeleteVersionOK) GetPayload() *models.GeneralError
func (*DeleteVersionOK) IsClientError ¶
func (o *DeleteVersionOK) IsClientError() bool
IsClientError returns true when this delete version o k response has a 4xx status code
func (*DeleteVersionOK) IsCode ¶
func (o *DeleteVersionOK) IsCode(code int) bool
IsCode returns true when this delete version o k response a status code equal to that given
func (*DeleteVersionOK) IsRedirect ¶
func (o *DeleteVersionOK) IsRedirect() bool
IsRedirect returns true when this delete version o k response has a 3xx status code
func (*DeleteVersionOK) IsServerError ¶
func (o *DeleteVersionOK) IsServerError() bool
IsServerError returns true when this delete version o k response has a 5xx status code
func (*DeleteVersionOK) IsSuccess ¶
func (o *DeleteVersionOK) IsSuccess() bool
IsSuccess returns true when this delete version o k response has a 2xx status code
func (*DeleteVersionOK) String ¶
func (o *DeleteVersionOK) String() string
type DeleteVersionParams ¶
type DeleteVersionParams struct { /* ModID. A mod UUID or slug */ ModID string /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVersionParams contains all the parameters to send to the API endpoint
for the delete version operation. Typically these are written to a http.Request.
func NewDeleteVersionParams ¶
func NewDeleteVersionParams() *DeleteVersionParams
NewDeleteVersionParams creates a new DeleteVersionParams 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 NewDeleteVersionParamsWithContext ¶
func NewDeleteVersionParamsWithContext(ctx context.Context) *DeleteVersionParams
NewDeleteVersionParamsWithContext creates a new DeleteVersionParams object with the ability to set a context for a request.
func NewDeleteVersionParamsWithHTTPClient ¶
func NewDeleteVersionParamsWithHTTPClient(client *http.Client) *DeleteVersionParams
NewDeleteVersionParamsWithHTTPClient creates a new DeleteVersionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVersionParamsWithTimeout ¶
func NewDeleteVersionParamsWithTimeout(timeout time.Duration) *DeleteVersionParams
NewDeleteVersionParamsWithTimeout creates a new DeleteVersionParams object with the ability to set a timeout on a request.
func (*DeleteVersionParams) SetContext ¶
func (o *DeleteVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete version params
func (*DeleteVersionParams) SetDefaults ¶
func (o *DeleteVersionParams) SetDefaults()
SetDefaults hydrates default values in the delete version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionParams) SetHTTPClient ¶
func (o *DeleteVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete version params
func (*DeleteVersionParams) SetModID ¶
func (o *DeleteVersionParams) SetModID(modID string)
SetModID adds the modId to the delete version params
func (*DeleteVersionParams) SetTimeout ¶
func (o *DeleteVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete version params
func (*DeleteVersionParams) SetVersionID ¶
func (o *DeleteVersionParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the delete version params
func (*DeleteVersionParams) WithContext ¶
func (o *DeleteVersionParams) WithContext(ctx context.Context) *DeleteVersionParams
WithContext adds the context to the delete version params
func (*DeleteVersionParams) WithDefaults ¶
func (o *DeleteVersionParams) WithDefaults() *DeleteVersionParams
WithDefaults hydrates default values in the delete version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionParams) WithHTTPClient ¶
func (o *DeleteVersionParams) WithHTTPClient(client *http.Client) *DeleteVersionParams
WithHTTPClient adds the HTTPClient to the delete version params
func (*DeleteVersionParams) WithModID ¶
func (o *DeleteVersionParams) WithModID(modID string) *DeleteVersionParams
WithModID adds the modID to the delete version params
func (*DeleteVersionParams) WithTimeout ¶
func (o *DeleteVersionParams) WithTimeout(timeout time.Duration) *DeleteVersionParams
WithTimeout adds the timeout to the delete version params
func (*DeleteVersionParams) WithVersionID ¶
func (o *DeleteVersionParams) WithVersionID(versionID string) *DeleteVersionParams
WithVersionID adds the versionID to the delete version params
func (*DeleteVersionParams) WriteToRequest ¶
func (o *DeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVersionReader ¶
type DeleteVersionReader struct {
// contains filtered or unexported fields
}
DeleteVersionReader is a Reader for the DeleteVersion structure.
func (*DeleteVersionReader) ReadResponse ¶
func (o *DeleteVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListModTeamsDefault ¶
type ListModTeamsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListModTeamsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListModTeamsDefault ¶
func NewListModTeamsDefault(code int) *ListModTeamsDefault
NewListModTeamsDefault creates a ListModTeamsDefault with default headers values
func (*ListModTeamsDefault) Code ¶
func (o *ListModTeamsDefault) Code() int
Code gets the status code for the list mod teams default response
func (*ListModTeamsDefault) Error ¶
func (o *ListModTeamsDefault) Error() string
func (*ListModTeamsDefault) GetPayload ¶
func (o *ListModTeamsDefault) GetPayload() *models.GeneralError
func (*ListModTeamsDefault) IsClientError ¶
func (o *ListModTeamsDefault) IsClientError() bool
IsClientError returns true when this list mod teams default response has a 4xx status code
func (*ListModTeamsDefault) IsCode ¶
func (o *ListModTeamsDefault) IsCode(code int) bool
IsCode returns true when this list mod teams default response a status code equal to that given
func (*ListModTeamsDefault) IsRedirect ¶
func (o *ListModTeamsDefault) IsRedirect() bool
IsRedirect returns true when this list mod teams default response has a 3xx status code
func (*ListModTeamsDefault) IsServerError ¶
func (o *ListModTeamsDefault) IsServerError() bool
IsServerError returns true when this list mod teams default response has a 5xx status code
func (*ListModTeamsDefault) IsSuccess ¶
func (o *ListModTeamsDefault) IsSuccess() bool
IsSuccess returns true when this list mod teams default response has a 2xx status code
func (*ListModTeamsDefault) String ¶
func (o *ListModTeamsDefault) String() string
type ListModTeamsForbidden ¶
type ListModTeamsForbidden struct {
Payload *models.GeneralError
}
ListModTeamsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListModTeamsForbidden ¶
func NewListModTeamsForbidden() *ListModTeamsForbidden
NewListModTeamsForbidden creates a ListModTeamsForbidden with default headers values
func (*ListModTeamsForbidden) Code ¶
func (o *ListModTeamsForbidden) Code() int
Code gets the status code for the list mod teams forbidden response
func (*ListModTeamsForbidden) Error ¶
func (o *ListModTeamsForbidden) Error() string
func (*ListModTeamsForbidden) GetPayload ¶
func (o *ListModTeamsForbidden) GetPayload() *models.GeneralError
func (*ListModTeamsForbidden) IsClientError ¶
func (o *ListModTeamsForbidden) IsClientError() bool
IsClientError returns true when this list mod teams forbidden response has a 4xx status code
func (*ListModTeamsForbidden) IsCode ¶
func (o *ListModTeamsForbidden) IsCode(code int) bool
IsCode returns true when this list mod teams forbidden response a status code equal to that given
func (*ListModTeamsForbidden) IsRedirect ¶
func (o *ListModTeamsForbidden) IsRedirect() bool
IsRedirect returns true when this list mod teams forbidden response has a 3xx status code
func (*ListModTeamsForbidden) IsServerError ¶
func (o *ListModTeamsForbidden) IsServerError() bool
IsServerError returns true when this list mod teams forbidden response has a 5xx status code
func (*ListModTeamsForbidden) IsSuccess ¶
func (o *ListModTeamsForbidden) IsSuccess() bool
IsSuccess returns true when this list mod teams forbidden response has a 2xx status code
func (*ListModTeamsForbidden) String ¶
func (o *ListModTeamsForbidden) String() string
type ListModTeamsNotFound ¶
type ListModTeamsNotFound struct {
Payload *models.GeneralError
}
ListModTeamsNotFound describes a response with status code 404, with default header values.
Mod not found
func NewListModTeamsNotFound ¶
func NewListModTeamsNotFound() *ListModTeamsNotFound
NewListModTeamsNotFound creates a ListModTeamsNotFound with default headers values
func (*ListModTeamsNotFound) Code ¶
func (o *ListModTeamsNotFound) Code() int
Code gets the status code for the list mod teams not found response
func (*ListModTeamsNotFound) Error ¶
func (o *ListModTeamsNotFound) Error() string
func (*ListModTeamsNotFound) GetPayload ¶
func (o *ListModTeamsNotFound) GetPayload() *models.GeneralError
func (*ListModTeamsNotFound) IsClientError ¶
func (o *ListModTeamsNotFound) IsClientError() bool
IsClientError returns true when this list mod teams not found response has a 4xx status code
func (*ListModTeamsNotFound) IsCode ¶
func (o *ListModTeamsNotFound) IsCode(code int) bool
IsCode returns true when this list mod teams not found response a status code equal to that given
func (*ListModTeamsNotFound) IsRedirect ¶
func (o *ListModTeamsNotFound) IsRedirect() bool
IsRedirect returns true when this list mod teams not found response has a 3xx status code
func (*ListModTeamsNotFound) IsServerError ¶
func (o *ListModTeamsNotFound) IsServerError() bool
IsServerError returns true when this list mod teams not found response has a 5xx status code
func (*ListModTeamsNotFound) IsSuccess ¶
func (o *ListModTeamsNotFound) IsSuccess() bool
IsSuccess returns true when this list mod teams not found response has a 2xx status code
func (*ListModTeamsNotFound) String ¶
func (o *ListModTeamsNotFound) String() string
type ListModTeamsOK ¶
ListModTeamsOK describes a response with status code 200, with default header values.
A collection of mod teams
func NewListModTeamsOK ¶
func NewListModTeamsOK() *ListModTeamsOK
NewListModTeamsOK creates a ListModTeamsOK with default headers values
func (*ListModTeamsOK) Code ¶
func (o *ListModTeamsOK) Code() int
Code gets the status code for the list mod teams o k response
func (*ListModTeamsOK) Error ¶
func (o *ListModTeamsOK) Error() string
func (*ListModTeamsOK) GetPayload ¶
func (o *ListModTeamsOK) GetPayload() *models.ModTeams
func (*ListModTeamsOK) IsClientError ¶
func (o *ListModTeamsOK) IsClientError() bool
IsClientError returns true when this list mod teams o k response has a 4xx status code
func (*ListModTeamsOK) IsCode ¶
func (o *ListModTeamsOK) IsCode(code int) bool
IsCode returns true when this list mod teams o k response a status code equal to that given
func (*ListModTeamsOK) IsRedirect ¶
func (o *ListModTeamsOK) IsRedirect() bool
IsRedirect returns true when this list mod teams o k response has a 3xx status code
func (*ListModTeamsOK) IsServerError ¶
func (o *ListModTeamsOK) IsServerError() bool
IsServerError returns true when this list mod teams o k response has a 5xx status code
func (*ListModTeamsOK) IsSuccess ¶
func (o *ListModTeamsOK) IsSuccess() bool
IsSuccess returns true when this list mod teams o k response has a 2xx status code
func (*ListModTeamsOK) String ¶
func (o *ListModTeamsOK) String() string
type ListModTeamsParams ¶
type ListModTeamsParams struct { /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListModTeamsParams contains all the parameters to send to the API endpoint
for the list mod teams operation. Typically these are written to a http.Request.
func NewListModTeamsParams ¶
func NewListModTeamsParams() *ListModTeamsParams
NewListModTeamsParams creates a new ListModTeamsParams 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 NewListModTeamsParamsWithContext ¶
func NewListModTeamsParamsWithContext(ctx context.Context) *ListModTeamsParams
NewListModTeamsParamsWithContext creates a new ListModTeamsParams object with the ability to set a context for a request.
func NewListModTeamsParamsWithHTTPClient ¶
func NewListModTeamsParamsWithHTTPClient(client *http.Client) *ListModTeamsParams
NewListModTeamsParamsWithHTTPClient creates a new ListModTeamsParams object with the ability to set a custom HTTPClient for a request.
func NewListModTeamsParamsWithTimeout ¶
func NewListModTeamsParamsWithTimeout(timeout time.Duration) *ListModTeamsParams
NewListModTeamsParamsWithTimeout creates a new ListModTeamsParams object with the ability to set a timeout on a request.
func (*ListModTeamsParams) SetContext ¶
func (o *ListModTeamsParams) SetContext(ctx context.Context)
SetContext adds the context to the list mod teams params
func (*ListModTeamsParams) SetDefaults ¶
func (o *ListModTeamsParams) SetDefaults()
SetDefaults hydrates default values in the list mod teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListModTeamsParams) SetHTTPClient ¶
func (o *ListModTeamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list mod teams params
func (*ListModTeamsParams) SetModID ¶
func (o *ListModTeamsParams) SetModID(modID string)
SetModID adds the modId to the list mod teams params
func (*ListModTeamsParams) SetTimeout ¶
func (o *ListModTeamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list mod teams params
func (*ListModTeamsParams) WithContext ¶
func (o *ListModTeamsParams) WithContext(ctx context.Context) *ListModTeamsParams
WithContext adds the context to the list mod teams params
func (*ListModTeamsParams) WithDefaults ¶
func (o *ListModTeamsParams) WithDefaults() *ListModTeamsParams
WithDefaults hydrates default values in the list mod teams params (not the query body).
All values with no default are reset to their zero value.
func (*ListModTeamsParams) WithHTTPClient ¶
func (o *ListModTeamsParams) WithHTTPClient(client *http.Client) *ListModTeamsParams
WithHTTPClient adds the HTTPClient to the list mod teams params
func (*ListModTeamsParams) WithModID ¶
func (o *ListModTeamsParams) WithModID(modID string) *ListModTeamsParams
WithModID adds the modID to the list mod teams params
func (*ListModTeamsParams) WithTimeout ¶
func (o *ListModTeamsParams) WithTimeout(timeout time.Duration) *ListModTeamsParams
WithTimeout adds the timeout to the list mod teams params
func (*ListModTeamsParams) WriteToRequest ¶
func (o *ListModTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListModTeamsReader ¶
type ListModTeamsReader struct {
// contains filtered or unexported fields
}
ListModTeamsReader is a Reader for the ListModTeams structure.
func (*ListModTeamsReader) ReadResponse ¶
func (o *ListModTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListModUsersDefault ¶
type ListModUsersDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListModUsersDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListModUsersDefault ¶
func NewListModUsersDefault(code int) *ListModUsersDefault
NewListModUsersDefault creates a ListModUsersDefault with default headers values
func (*ListModUsersDefault) Code ¶
func (o *ListModUsersDefault) Code() int
Code gets the status code for the list mod users default response
func (*ListModUsersDefault) Error ¶
func (o *ListModUsersDefault) Error() string
func (*ListModUsersDefault) GetPayload ¶
func (o *ListModUsersDefault) GetPayload() *models.GeneralError
func (*ListModUsersDefault) IsClientError ¶
func (o *ListModUsersDefault) IsClientError() bool
IsClientError returns true when this list mod users default response has a 4xx status code
func (*ListModUsersDefault) IsCode ¶
func (o *ListModUsersDefault) IsCode(code int) bool
IsCode returns true when this list mod users default response a status code equal to that given
func (*ListModUsersDefault) IsRedirect ¶
func (o *ListModUsersDefault) IsRedirect() bool
IsRedirect returns true when this list mod users default response has a 3xx status code
func (*ListModUsersDefault) IsServerError ¶
func (o *ListModUsersDefault) IsServerError() bool
IsServerError returns true when this list mod users default response has a 5xx status code
func (*ListModUsersDefault) IsSuccess ¶
func (o *ListModUsersDefault) IsSuccess() bool
IsSuccess returns true when this list mod users default response has a 2xx status code
func (*ListModUsersDefault) String ¶
func (o *ListModUsersDefault) String() string
type ListModUsersForbidden ¶
type ListModUsersForbidden struct {
Payload *models.GeneralError
}
ListModUsersForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListModUsersForbidden ¶
func NewListModUsersForbidden() *ListModUsersForbidden
NewListModUsersForbidden creates a ListModUsersForbidden with default headers values
func (*ListModUsersForbidden) Code ¶
func (o *ListModUsersForbidden) Code() int
Code gets the status code for the list mod users forbidden response
func (*ListModUsersForbidden) Error ¶
func (o *ListModUsersForbidden) Error() string
func (*ListModUsersForbidden) GetPayload ¶
func (o *ListModUsersForbidden) GetPayload() *models.GeneralError
func (*ListModUsersForbidden) IsClientError ¶
func (o *ListModUsersForbidden) IsClientError() bool
IsClientError returns true when this list mod users forbidden response has a 4xx status code
func (*ListModUsersForbidden) IsCode ¶
func (o *ListModUsersForbidden) IsCode(code int) bool
IsCode returns true when this list mod users forbidden response a status code equal to that given
func (*ListModUsersForbidden) IsRedirect ¶
func (o *ListModUsersForbidden) IsRedirect() bool
IsRedirect returns true when this list mod users forbidden response has a 3xx status code
func (*ListModUsersForbidden) IsServerError ¶
func (o *ListModUsersForbidden) IsServerError() bool
IsServerError returns true when this list mod users forbidden response has a 5xx status code
func (*ListModUsersForbidden) IsSuccess ¶
func (o *ListModUsersForbidden) IsSuccess() bool
IsSuccess returns true when this list mod users forbidden response has a 2xx status code
func (*ListModUsersForbidden) String ¶
func (o *ListModUsersForbidden) String() string
type ListModUsersNotFound ¶
type ListModUsersNotFound struct {
Payload *models.GeneralError
}
ListModUsersNotFound describes a response with status code 404, with default header values.
Mod not found
func NewListModUsersNotFound ¶
func NewListModUsersNotFound() *ListModUsersNotFound
NewListModUsersNotFound creates a ListModUsersNotFound with default headers values
func (*ListModUsersNotFound) Code ¶
func (o *ListModUsersNotFound) Code() int
Code gets the status code for the list mod users not found response
func (*ListModUsersNotFound) Error ¶
func (o *ListModUsersNotFound) Error() string
func (*ListModUsersNotFound) GetPayload ¶
func (o *ListModUsersNotFound) GetPayload() *models.GeneralError
func (*ListModUsersNotFound) IsClientError ¶
func (o *ListModUsersNotFound) IsClientError() bool
IsClientError returns true when this list mod users not found response has a 4xx status code
func (*ListModUsersNotFound) IsCode ¶
func (o *ListModUsersNotFound) IsCode(code int) bool
IsCode returns true when this list mod users not found response a status code equal to that given
func (*ListModUsersNotFound) IsRedirect ¶
func (o *ListModUsersNotFound) IsRedirect() bool
IsRedirect returns true when this list mod users not found response has a 3xx status code
func (*ListModUsersNotFound) IsServerError ¶
func (o *ListModUsersNotFound) IsServerError() bool
IsServerError returns true when this list mod users not found response has a 5xx status code
func (*ListModUsersNotFound) IsSuccess ¶
func (o *ListModUsersNotFound) IsSuccess() bool
IsSuccess returns true when this list mod users not found response has a 2xx status code
func (*ListModUsersNotFound) String ¶
func (o *ListModUsersNotFound) String() string
type ListModUsersOK ¶
ListModUsersOK describes a response with status code 200, with default header values.
A collection of mod users
func NewListModUsersOK ¶
func NewListModUsersOK() *ListModUsersOK
NewListModUsersOK creates a ListModUsersOK with default headers values
func (*ListModUsersOK) Code ¶
func (o *ListModUsersOK) Code() int
Code gets the status code for the list mod users o k response
func (*ListModUsersOK) Error ¶
func (o *ListModUsersOK) Error() string
func (*ListModUsersOK) GetPayload ¶
func (o *ListModUsersOK) GetPayload() *models.ModUsers
func (*ListModUsersOK) IsClientError ¶
func (o *ListModUsersOK) IsClientError() bool
IsClientError returns true when this list mod users o k response has a 4xx status code
func (*ListModUsersOK) IsCode ¶
func (o *ListModUsersOK) IsCode(code int) bool
IsCode returns true when this list mod users o k response a status code equal to that given
func (*ListModUsersOK) IsRedirect ¶
func (o *ListModUsersOK) IsRedirect() bool
IsRedirect returns true when this list mod users o k response has a 3xx status code
func (*ListModUsersOK) IsServerError ¶
func (o *ListModUsersOK) IsServerError() bool
IsServerError returns true when this list mod users o k response has a 5xx status code
func (*ListModUsersOK) IsSuccess ¶
func (o *ListModUsersOK) IsSuccess() bool
IsSuccess returns true when this list mod users o k response has a 2xx status code
func (*ListModUsersOK) String ¶
func (o *ListModUsersOK) String() string
type ListModUsersParams ¶
type ListModUsersParams struct { /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListModUsersParams contains all the parameters to send to the API endpoint
for the list mod users operation. Typically these are written to a http.Request.
func NewListModUsersParams ¶
func NewListModUsersParams() *ListModUsersParams
NewListModUsersParams creates a new ListModUsersParams 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 NewListModUsersParamsWithContext ¶
func NewListModUsersParamsWithContext(ctx context.Context) *ListModUsersParams
NewListModUsersParamsWithContext creates a new ListModUsersParams object with the ability to set a context for a request.
func NewListModUsersParamsWithHTTPClient ¶
func NewListModUsersParamsWithHTTPClient(client *http.Client) *ListModUsersParams
NewListModUsersParamsWithHTTPClient creates a new ListModUsersParams object with the ability to set a custom HTTPClient for a request.
func NewListModUsersParamsWithTimeout ¶
func NewListModUsersParamsWithTimeout(timeout time.Duration) *ListModUsersParams
NewListModUsersParamsWithTimeout creates a new ListModUsersParams object with the ability to set a timeout on a request.
func (*ListModUsersParams) SetContext ¶
func (o *ListModUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the list mod users params
func (*ListModUsersParams) SetDefaults ¶
func (o *ListModUsersParams) SetDefaults()
SetDefaults hydrates default values in the list mod users params (not the query body).
All values with no default are reset to their zero value.
func (*ListModUsersParams) SetHTTPClient ¶
func (o *ListModUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list mod users params
func (*ListModUsersParams) SetModID ¶
func (o *ListModUsersParams) SetModID(modID string)
SetModID adds the modId to the list mod users params
func (*ListModUsersParams) SetTimeout ¶
func (o *ListModUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list mod users params
func (*ListModUsersParams) WithContext ¶
func (o *ListModUsersParams) WithContext(ctx context.Context) *ListModUsersParams
WithContext adds the context to the list mod users params
func (*ListModUsersParams) WithDefaults ¶
func (o *ListModUsersParams) WithDefaults() *ListModUsersParams
WithDefaults hydrates default values in the list mod users params (not the query body).
All values with no default are reset to their zero value.
func (*ListModUsersParams) WithHTTPClient ¶
func (o *ListModUsersParams) WithHTTPClient(client *http.Client) *ListModUsersParams
WithHTTPClient adds the HTTPClient to the list mod users params
func (*ListModUsersParams) WithModID ¶
func (o *ListModUsersParams) WithModID(modID string) *ListModUsersParams
WithModID adds the modID to the list mod users params
func (*ListModUsersParams) WithTimeout ¶
func (o *ListModUsersParams) WithTimeout(timeout time.Duration) *ListModUsersParams
WithTimeout adds the timeout to the list mod users params
func (*ListModUsersParams) WriteToRequest ¶
func (o *ListModUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListModUsersReader ¶
type ListModUsersReader struct {
// contains filtered or unexported fields
}
ListModUsersReader is a Reader for the ListModUsers structure.
func (*ListModUsersReader) ReadResponse ¶
func (o *ListModUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListModsDefault ¶
type ListModsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListModsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListModsDefault ¶
func NewListModsDefault(code int) *ListModsDefault
NewListModsDefault creates a ListModsDefault with default headers values
func (*ListModsDefault) Code ¶
func (o *ListModsDefault) Code() int
Code gets the status code for the list mods default response
func (*ListModsDefault) Error ¶
func (o *ListModsDefault) Error() string
func (*ListModsDefault) GetPayload ¶
func (o *ListModsDefault) GetPayload() *models.GeneralError
func (*ListModsDefault) IsClientError ¶
func (o *ListModsDefault) IsClientError() bool
IsClientError returns true when this list mods default response has a 4xx status code
func (*ListModsDefault) IsCode ¶
func (o *ListModsDefault) IsCode(code int) bool
IsCode returns true when this list mods default response a status code equal to that given
func (*ListModsDefault) IsRedirect ¶
func (o *ListModsDefault) IsRedirect() bool
IsRedirect returns true when this list mods default response has a 3xx status code
func (*ListModsDefault) IsServerError ¶
func (o *ListModsDefault) IsServerError() bool
IsServerError returns true when this list mods default response has a 5xx status code
func (*ListModsDefault) IsSuccess ¶
func (o *ListModsDefault) IsSuccess() bool
IsSuccess returns true when this list mods default response has a 2xx status code
func (*ListModsDefault) String ¶
func (o *ListModsDefault) String() string
type ListModsForbidden ¶
type ListModsForbidden struct {
Payload *models.GeneralError
}
ListModsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListModsForbidden ¶
func NewListModsForbidden() *ListModsForbidden
NewListModsForbidden creates a ListModsForbidden with default headers values
func (*ListModsForbidden) Code ¶
func (o *ListModsForbidden) Code() int
Code gets the status code for the list mods forbidden response
func (*ListModsForbidden) Error ¶
func (o *ListModsForbidden) Error() string
func (*ListModsForbidden) GetPayload ¶
func (o *ListModsForbidden) GetPayload() *models.GeneralError
func (*ListModsForbidden) IsClientError ¶
func (o *ListModsForbidden) IsClientError() bool
IsClientError returns true when this list mods forbidden response has a 4xx status code
func (*ListModsForbidden) IsCode ¶
func (o *ListModsForbidden) IsCode(code int) bool
IsCode returns true when this list mods forbidden response a status code equal to that given
func (*ListModsForbidden) IsRedirect ¶
func (o *ListModsForbidden) IsRedirect() bool
IsRedirect returns true when this list mods forbidden response has a 3xx status code
func (*ListModsForbidden) IsServerError ¶
func (o *ListModsForbidden) IsServerError() bool
IsServerError returns true when this list mods forbidden response has a 5xx status code
func (*ListModsForbidden) IsSuccess ¶
func (o *ListModsForbidden) IsSuccess() bool
IsSuccess returns true when this list mods forbidden response has a 2xx status code
func (*ListModsForbidden) String ¶
func (o *ListModsForbidden) String() string
type ListModsOK ¶
ListModsOK describes a response with status code 200, with default header values.
A collection of mods
func NewListModsOK ¶
func NewListModsOK() *ListModsOK
NewListModsOK creates a ListModsOK with default headers values
func (*ListModsOK) Code ¶
func (o *ListModsOK) Code() int
Code gets the status code for the list mods o k response
func (*ListModsOK) Error ¶
func (o *ListModsOK) Error() string
func (*ListModsOK) GetPayload ¶
func (o *ListModsOK) GetPayload() *models.Mods
func (*ListModsOK) IsClientError ¶
func (o *ListModsOK) IsClientError() bool
IsClientError returns true when this list mods o k response has a 4xx status code
func (*ListModsOK) IsCode ¶
func (o *ListModsOK) IsCode(code int) bool
IsCode returns true when this list mods o k response a status code equal to that given
func (*ListModsOK) IsRedirect ¶
func (o *ListModsOK) IsRedirect() bool
IsRedirect returns true when this list mods o k response has a 3xx status code
func (*ListModsOK) IsServerError ¶
func (o *ListModsOK) IsServerError() bool
IsServerError returns true when this list mods o k response has a 5xx status code
func (*ListModsOK) IsSuccess ¶
func (o *ListModsOK) IsSuccess() bool
IsSuccess returns true when this list mods o k response has a 2xx status code
func (*ListModsOK) String ¶
func (o *ListModsOK) String() string
type ListModsParams ¶
type ListModsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListModsParams contains all the parameters to send to the API endpoint
for the list mods operation. Typically these are written to a http.Request.
func NewListModsParams ¶
func NewListModsParams() *ListModsParams
NewListModsParams creates a new ListModsParams 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 NewListModsParamsWithContext ¶
func NewListModsParamsWithContext(ctx context.Context) *ListModsParams
NewListModsParamsWithContext creates a new ListModsParams object with the ability to set a context for a request.
func NewListModsParamsWithHTTPClient ¶
func NewListModsParamsWithHTTPClient(client *http.Client) *ListModsParams
NewListModsParamsWithHTTPClient creates a new ListModsParams object with the ability to set a custom HTTPClient for a request.
func NewListModsParamsWithTimeout ¶
func NewListModsParamsWithTimeout(timeout time.Duration) *ListModsParams
NewListModsParamsWithTimeout creates a new ListModsParams object with the ability to set a timeout on a request.
func (*ListModsParams) SetContext ¶
func (o *ListModsParams) SetContext(ctx context.Context)
SetContext adds the context to the list mods params
func (*ListModsParams) SetDefaults ¶
func (o *ListModsParams) SetDefaults()
SetDefaults hydrates default values in the list mods params (not the query body).
All values with no default are reset to their zero value.
func (*ListModsParams) SetHTTPClient ¶
func (o *ListModsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list mods params
func (*ListModsParams) SetTimeout ¶
func (o *ListModsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list mods params
func (*ListModsParams) WithContext ¶
func (o *ListModsParams) WithContext(ctx context.Context) *ListModsParams
WithContext adds the context to the list mods params
func (*ListModsParams) WithDefaults ¶
func (o *ListModsParams) WithDefaults() *ListModsParams
WithDefaults hydrates default values in the list mods params (not the query body).
All values with no default are reset to their zero value.
func (*ListModsParams) WithHTTPClient ¶
func (o *ListModsParams) WithHTTPClient(client *http.Client) *ListModsParams
WithHTTPClient adds the HTTPClient to the list mods params
func (*ListModsParams) WithTimeout ¶
func (o *ListModsParams) WithTimeout(timeout time.Duration) *ListModsParams
WithTimeout adds the timeout to the list mods params
func (*ListModsParams) WriteToRequest ¶
func (o *ListModsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListModsReader ¶
type ListModsReader struct {
// contains filtered or unexported fields
}
ListModsReader is a Reader for the ListMods structure.
func (*ListModsReader) ReadResponse ¶
func (o *ListModsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListVersionBuildsDefault ¶
type ListVersionBuildsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListVersionBuildsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListVersionBuildsDefault ¶
func NewListVersionBuildsDefault(code int) *ListVersionBuildsDefault
NewListVersionBuildsDefault creates a ListVersionBuildsDefault with default headers values
func (*ListVersionBuildsDefault) Code ¶
func (o *ListVersionBuildsDefault) Code() int
Code gets the status code for the list version builds default response
func (*ListVersionBuildsDefault) Error ¶
func (o *ListVersionBuildsDefault) Error() string
func (*ListVersionBuildsDefault) GetPayload ¶
func (o *ListVersionBuildsDefault) GetPayload() *models.GeneralError
func (*ListVersionBuildsDefault) IsClientError ¶
func (o *ListVersionBuildsDefault) IsClientError() bool
IsClientError returns true when this list version builds default response has a 4xx status code
func (*ListVersionBuildsDefault) IsCode ¶
func (o *ListVersionBuildsDefault) IsCode(code int) bool
IsCode returns true when this list version builds default response a status code equal to that given
func (*ListVersionBuildsDefault) IsRedirect ¶
func (o *ListVersionBuildsDefault) IsRedirect() bool
IsRedirect returns true when this list version builds default response has a 3xx status code
func (*ListVersionBuildsDefault) IsServerError ¶
func (o *ListVersionBuildsDefault) IsServerError() bool
IsServerError returns true when this list version builds default response has a 5xx status code
func (*ListVersionBuildsDefault) IsSuccess ¶
func (o *ListVersionBuildsDefault) IsSuccess() bool
IsSuccess returns true when this list version builds default response has a 2xx status code
func (*ListVersionBuildsDefault) String ¶
func (o *ListVersionBuildsDefault) String() string
type ListVersionBuildsForbidden ¶
type ListVersionBuildsForbidden struct {
Payload *models.GeneralError
}
ListVersionBuildsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListVersionBuildsForbidden ¶
func NewListVersionBuildsForbidden() *ListVersionBuildsForbidden
NewListVersionBuildsForbidden creates a ListVersionBuildsForbidden with default headers values
func (*ListVersionBuildsForbidden) Code ¶
func (o *ListVersionBuildsForbidden) Code() int
Code gets the status code for the list version builds forbidden response
func (*ListVersionBuildsForbidden) Error ¶
func (o *ListVersionBuildsForbidden) Error() string
func (*ListVersionBuildsForbidden) GetPayload ¶
func (o *ListVersionBuildsForbidden) GetPayload() *models.GeneralError
func (*ListVersionBuildsForbidden) IsClientError ¶
func (o *ListVersionBuildsForbidden) IsClientError() bool
IsClientError returns true when this list version builds forbidden response has a 4xx status code
func (*ListVersionBuildsForbidden) IsCode ¶
func (o *ListVersionBuildsForbidden) IsCode(code int) bool
IsCode returns true when this list version builds forbidden response a status code equal to that given
func (*ListVersionBuildsForbidden) IsRedirect ¶
func (o *ListVersionBuildsForbidden) IsRedirect() bool
IsRedirect returns true when this list version builds forbidden response has a 3xx status code
func (*ListVersionBuildsForbidden) IsServerError ¶
func (o *ListVersionBuildsForbidden) IsServerError() bool
IsServerError returns true when this list version builds forbidden response has a 5xx status code
func (*ListVersionBuildsForbidden) IsSuccess ¶
func (o *ListVersionBuildsForbidden) IsSuccess() bool
IsSuccess returns true when this list version builds forbidden response has a 2xx status code
func (*ListVersionBuildsForbidden) String ¶
func (o *ListVersionBuildsForbidden) String() string
type ListVersionBuildsNotFound ¶
type ListVersionBuildsNotFound struct {
Payload *models.GeneralError
}
ListVersionBuildsNotFound describes a response with status code 404, with default header values.
Version or mod not found
func NewListVersionBuildsNotFound ¶
func NewListVersionBuildsNotFound() *ListVersionBuildsNotFound
NewListVersionBuildsNotFound creates a ListVersionBuildsNotFound with default headers values
func (*ListVersionBuildsNotFound) Code ¶
func (o *ListVersionBuildsNotFound) Code() int
Code gets the status code for the list version builds not found response
func (*ListVersionBuildsNotFound) Error ¶
func (o *ListVersionBuildsNotFound) Error() string
func (*ListVersionBuildsNotFound) GetPayload ¶
func (o *ListVersionBuildsNotFound) GetPayload() *models.GeneralError
func (*ListVersionBuildsNotFound) IsClientError ¶
func (o *ListVersionBuildsNotFound) IsClientError() bool
IsClientError returns true when this list version builds not found response has a 4xx status code
func (*ListVersionBuildsNotFound) IsCode ¶
func (o *ListVersionBuildsNotFound) IsCode(code int) bool
IsCode returns true when this list version builds not found response a status code equal to that given
func (*ListVersionBuildsNotFound) IsRedirect ¶
func (o *ListVersionBuildsNotFound) IsRedirect() bool
IsRedirect returns true when this list version builds not found response has a 3xx status code
func (*ListVersionBuildsNotFound) IsServerError ¶
func (o *ListVersionBuildsNotFound) IsServerError() bool
IsServerError returns true when this list version builds not found response has a 5xx status code
func (*ListVersionBuildsNotFound) IsSuccess ¶
func (o *ListVersionBuildsNotFound) IsSuccess() bool
IsSuccess returns true when this list version builds not found response has a 2xx status code
func (*ListVersionBuildsNotFound) String ¶
func (o *ListVersionBuildsNotFound) String() string
type ListVersionBuildsOK ¶
type ListVersionBuildsOK struct {
Payload *models.VersionBuilds
}
ListVersionBuildsOK describes a response with status code 200, with default header values.
A collection of version builds
func NewListVersionBuildsOK ¶
func NewListVersionBuildsOK() *ListVersionBuildsOK
NewListVersionBuildsOK creates a ListVersionBuildsOK with default headers values
func (*ListVersionBuildsOK) Code ¶
func (o *ListVersionBuildsOK) Code() int
Code gets the status code for the list version builds o k response
func (*ListVersionBuildsOK) Error ¶
func (o *ListVersionBuildsOK) Error() string
func (*ListVersionBuildsOK) GetPayload ¶
func (o *ListVersionBuildsOK) GetPayload() *models.VersionBuilds
func (*ListVersionBuildsOK) IsClientError ¶
func (o *ListVersionBuildsOK) IsClientError() bool
IsClientError returns true when this list version builds o k response has a 4xx status code
func (*ListVersionBuildsOK) IsCode ¶
func (o *ListVersionBuildsOK) IsCode(code int) bool
IsCode returns true when this list version builds o k response a status code equal to that given
func (*ListVersionBuildsOK) IsRedirect ¶
func (o *ListVersionBuildsOK) IsRedirect() bool
IsRedirect returns true when this list version builds o k response has a 3xx status code
func (*ListVersionBuildsOK) IsServerError ¶
func (o *ListVersionBuildsOK) IsServerError() bool
IsServerError returns true when this list version builds o k response has a 5xx status code
func (*ListVersionBuildsOK) IsSuccess ¶
func (o *ListVersionBuildsOK) IsSuccess() bool
IsSuccess returns true when this list version builds o k response has a 2xx status code
func (*ListVersionBuildsOK) String ¶
func (o *ListVersionBuildsOK) String() string
type ListVersionBuildsParams ¶
type ListVersionBuildsParams struct { /* ModID. A mod UUID or slug */ ModID string /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListVersionBuildsParams contains all the parameters to send to the API endpoint
for the list version builds operation. Typically these are written to a http.Request.
func NewListVersionBuildsParams ¶
func NewListVersionBuildsParams() *ListVersionBuildsParams
NewListVersionBuildsParams creates a new ListVersionBuildsParams 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 NewListVersionBuildsParamsWithContext ¶
func NewListVersionBuildsParamsWithContext(ctx context.Context) *ListVersionBuildsParams
NewListVersionBuildsParamsWithContext creates a new ListVersionBuildsParams object with the ability to set a context for a request.
func NewListVersionBuildsParamsWithHTTPClient ¶
func NewListVersionBuildsParamsWithHTTPClient(client *http.Client) *ListVersionBuildsParams
NewListVersionBuildsParamsWithHTTPClient creates a new ListVersionBuildsParams object with the ability to set a custom HTTPClient for a request.
func NewListVersionBuildsParamsWithTimeout ¶
func NewListVersionBuildsParamsWithTimeout(timeout time.Duration) *ListVersionBuildsParams
NewListVersionBuildsParamsWithTimeout creates a new ListVersionBuildsParams object with the ability to set a timeout on a request.
func (*ListVersionBuildsParams) SetContext ¶
func (o *ListVersionBuildsParams) SetContext(ctx context.Context)
SetContext adds the context to the list version builds params
func (*ListVersionBuildsParams) SetDefaults ¶
func (o *ListVersionBuildsParams) SetDefaults()
SetDefaults hydrates default values in the list version builds params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionBuildsParams) SetHTTPClient ¶
func (o *ListVersionBuildsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list version builds params
func (*ListVersionBuildsParams) SetModID ¶
func (o *ListVersionBuildsParams) SetModID(modID string)
SetModID adds the modId to the list version builds params
func (*ListVersionBuildsParams) SetTimeout ¶
func (o *ListVersionBuildsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list version builds params
func (*ListVersionBuildsParams) SetVersionID ¶
func (o *ListVersionBuildsParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the list version builds params
func (*ListVersionBuildsParams) WithContext ¶
func (o *ListVersionBuildsParams) WithContext(ctx context.Context) *ListVersionBuildsParams
WithContext adds the context to the list version builds params
func (*ListVersionBuildsParams) WithDefaults ¶
func (o *ListVersionBuildsParams) WithDefaults() *ListVersionBuildsParams
WithDefaults hydrates default values in the list version builds params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionBuildsParams) WithHTTPClient ¶
func (o *ListVersionBuildsParams) WithHTTPClient(client *http.Client) *ListVersionBuildsParams
WithHTTPClient adds the HTTPClient to the list version builds params
func (*ListVersionBuildsParams) WithModID ¶
func (o *ListVersionBuildsParams) WithModID(modID string) *ListVersionBuildsParams
WithModID adds the modID to the list version builds params
func (*ListVersionBuildsParams) WithTimeout ¶
func (o *ListVersionBuildsParams) WithTimeout(timeout time.Duration) *ListVersionBuildsParams
WithTimeout adds the timeout to the list version builds params
func (*ListVersionBuildsParams) WithVersionID ¶
func (o *ListVersionBuildsParams) WithVersionID(versionID string) *ListVersionBuildsParams
WithVersionID adds the versionID to the list version builds params
func (*ListVersionBuildsParams) WriteToRequest ¶
func (o *ListVersionBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVersionBuildsReader ¶
type ListVersionBuildsReader struct {
// contains filtered or unexported fields
}
ListVersionBuildsReader is a Reader for the ListVersionBuilds structure.
func (*ListVersionBuildsReader) ReadResponse ¶
func (o *ListVersionBuildsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListVersionsDefault ¶
type ListVersionsDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ListVersionsDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewListVersionsDefault ¶
func NewListVersionsDefault(code int) *ListVersionsDefault
NewListVersionsDefault creates a ListVersionsDefault with default headers values
func (*ListVersionsDefault) Code ¶
func (o *ListVersionsDefault) Code() int
Code gets the status code for the list versions default response
func (*ListVersionsDefault) Error ¶
func (o *ListVersionsDefault) Error() string
func (*ListVersionsDefault) GetPayload ¶
func (o *ListVersionsDefault) GetPayload() *models.GeneralError
func (*ListVersionsDefault) IsClientError ¶
func (o *ListVersionsDefault) IsClientError() bool
IsClientError returns true when this list versions default response has a 4xx status code
func (*ListVersionsDefault) IsCode ¶
func (o *ListVersionsDefault) IsCode(code int) bool
IsCode returns true when this list versions default response a status code equal to that given
func (*ListVersionsDefault) IsRedirect ¶
func (o *ListVersionsDefault) IsRedirect() bool
IsRedirect returns true when this list versions default response has a 3xx status code
func (*ListVersionsDefault) IsServerError ¶
func (o *ListVersionsDefault) IsServerError() bool
IsServerError returns true when this list versions default response has a 5xx status code
func (*ListVersionsDefault) IsSuccess ¶
func (o *ListVersionsDefault) IsSuccess() bool
IsSuccess returns true when this list versions default response has a 2xx status code
func (*ListVersionsDefault) String ¶
func (o *ListVersionsDefault) String() string
type ListVersionsForbidden ¶
type ListVersionsForbidden struct {
Payload *models.GeneralError
}
ListVersionsForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewListVersionsForbidden ¶
func NewListVersionsForbidden() *ListVersionsForbidden
NewListVersionsForbidden creates a ListVersionsForbidden with default headers values
func (*ListVersionsForbidden) Code ¶
func (o *ListVersionsForbidden) Code() int
Code gets the status code for the list versions forbidden response
func (*ListVersionsForbidden) Error ¶
func (o *ListVersionsForbidden) Error() string
func (*ListVersionsForbidden) GetPayload ¶
func (o *ListVersionsForbidden) GetPayload() *models.GeneralError
func (*ListVersionsForbidden) IsClientError ¶
func (o *ListVersionsForbidden) IsClientError() bool
IsClientError returns true when this list versions forbidden response has a 4xx status code
func (*ListVersionsForbidden) IsCode ¶
func (o *ListVersionsForbidden) IsCode(code int) bool
IsCode returns true when this list versions forbidden response a status code equal to that given
func (*ListVersionsForbidden) IsRedirect ¶
func (o *ListVersionsForbidden) IsRedirect() bool
IsRedirect returns true when this list versions forbidden response has a 3xx status code
func (*ListVersionsForbidden) IsServerError ¶
func (o *ListVersionsForbidden) IsServerError() bool
IsServerError returns true when this list versions forbidden response has a 5xx status code
func (*ListVersionsForbidden) IsSuccess ¶
func (o *ListVersionsForbidden) IsSuccess() bool
IsSuccess returns true when this list versions forbidden response has a 2xx status code
func (*ListVersionsForbidden) String ¶
func (o *ListVersionsForbidden) String() string
type ListVersionsNotFound ¶
type ListVersionsNotFound struct {
Payload *models.GeneralError
}
ListVersionsNotFound describes a response with status code 404, with default header values.
Mod not found
func NewListVersionsNotFound ¶
func NewListVersionsNotFound() *ListVersionsNotFound
NewListVersionsNotFound creates a ListVersionsNotFound with default headers values
func (*ListVersionsNotFound) Code ¶
func (o *ListVersionsNotFound) Code() int
Code gets the status code for the list versions not found response
func (*ListVersionsNotFound) Error ¶
func (o *ListVersionsNotFound) Error() string
func (*ListVersionsNotFound) GetPayload ¶
func (o *ListVersionsNotFound) GetPayload() *models.GeneralError
func (*ListVersionsNotFound) IsClientError ¶
func (o *ListVersionsNotFound) IsClientError() bool
IsClientError returns true when this list versions not found response has a 4xx status code
func (*ListVersionsNotFound) IsCode ¶
func (o *ListVersionsNotFound) IsCode(code int) bool
IsCode returns true when this list versions not found response a status code equal to that given
func (*ListVersionsNotFound) IsRedirect ¶
func (o *ListVersionsNotFound) IsRedirect() bool
IsRedirect returns true when this list versions not found response has a 3xx status code
func (*ListVersionsNotFound) IsServerError ¶
func (o *ListVersionsNotFound) IsServerError() bool
IsServerError returns true when this list versions not found response has a 5xx status code
func (*ListVersionsNotFound) IsSuccess ¶
func (o *ListVersionsNotFound) IsSuccess() bool
IsSuccess returns true when this list versions not found response has a 2xx status code
func (*ListVersionsNotFound) String ¶
func (o *ListVersionsNotFound) String() string
type ListVersionsOK ¶
ListVersionsOK describes a response with status code 200, with default header values.
A collection of versions
func NewListVersionsOK ¶
func NewListVersionsOK() *ListVersionsOK
NewListVersionsOK creates a ListVersionsOK with default headers values
func (*ListVersionsOK) Code ¶
func (o *ListVersionsOK) Code() int
Code gets the status code for the list versions o k response
func (*ListVersionsOK) Error ¶
func (o *ListVersionsOK) Error() string
func (*ListVersionsOK) GetPayload ¶
func (o *ListVersionsOK) GetPayload() *models.Versions
func (*ListVersionsOK) IsClientError ¶
func (o *ListVersionsOK) IsClientError() bool
IsClientError returns true when this list versions o k response has a 4xx status code
func (*ListVersionsOK) IsCode ¶
func (o *ListVersionsOK) IsCode(code int) bool
IsCode returns true when this list versions o k response a status code equal to that given
func (*ListVersionsOK) IsRedirect ¶
func (o *ListVersionsOK) IsRedirect() bool
IsRedirect returns true when this list versions o k response has a 3xx status code
func (*ListVersionsOK) IsServerError ¶
func (o *ListVersionsOK) IsServerError() bool
IsServerError returns true when this list versions o k response has a 5xx status code
func (*ListVersionsOK) IsSuccess ¶
func (o *ListVersionsOK) IsSuccess() bool
IsSuccess returns true when this list versions o k response has a 2xx status code
func (*ListVersionsOK) String ¶
func (o *ListVersionsOK) String() string
type ListVersionsParams ¶
type ListVersionsParams struct { /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListVersionsParams contains all the parameters to send to the API endpoint
for the list versions operation. Typically these are written to a http.Request.
func NewListVersionsParams ¶
func NewListVersionsParams() *ListVersionsParams
NewListVersionsParams creates a new ListVersionsParams 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 NewListVersionsParamsWithContext ¶
func NewListVersionsParamsWithContext(ctx context.Context) *ListVersionsParams
NewListVersionsParamsWithContext creates a new ListVersionsParams object with the ability to set a context for a request.
func NewListVersionsParamsWithHTTPClient ¶
func NewListVersionsParamsWithHTTPClient(client *http.Client) *ListVersionsParams
NewListVersionsParamsWithHTTPClient creates a new ListVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewListVersionsParamsWithTimeout ¶
func NewListVersionsParamsWithTimeout(timeout time.Duration) *ListVersionsParams
NewListVersionsParamsWithTimeout creates a new ListVersionsParams object with the ability to set a timeout on a request.
func (*ListVersionsParams) SetContext ¶
func (o *ListVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list versions params
func (*ListVersionsParams) SetDefaults ¶
func (o *ListVersionsParams) SetDefaults()
SetDefaults hydrates default values in the list versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsParams) SetHTTPClient ¶
func (o *ListVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list versions params
func (*ListVersionsParams) SetModID ¶
func (o *ListVersionsParams) SetModID(modID string)
SetModID adds the modId to the list versions params
func (*ListVersionsParams) SetTimeout ¶
func (o *ListVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list versions params
func (*ListVersionsParams) WithContext ¶
func (o *ListVersionsParams) WithContext(ctx context.Context) *ListVersionsParams
WithContext adds the context to the list versions params
func (*ListVersionsParams) WithDefaults ¶
func (o *ListVersionsParams) WithDefaults() *ListVersionsParams
WithDefaults hydrates default values in the list versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsParams) WithHTTPClient ¶
func (o *ListVersionsParams) WithHTTPClient(client *http.Client) *ListVersionsParams
WithHTTPClient adds the HTTPClient to the list versions params
func (*ListVersionsParams) WithModID ¶
func (o *ListVersionsParams) WithModID(modID string) *ListVersionsParams
WithModID adds the modID to the list versions params
func (*ListVersionsParams) WithTimeout ¶
func (o *ListVersionsParams) WithTimeout(timeout time.Duration) *ListVersionsParams
WithTimeout adds the timeout to the list versions params
func (*ListVersionsParams) WriteToRequest ¶
func (o *ListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVersionsReader ¶
type ListVersionsReader struct {
// contains filtered or unexported fields
}
ListVersionsReader is a Reader for the ListVersions structure.
func (*ListVersionsReader) ReadResponse ¶
func (o *ListVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitModTeamDefault ¶
type PermitModTeamDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitModTeamDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitModTeamDefault ¶
func NewPermitModTeamDefault(code int) *PermitModTeamDefault
NewPermitModTeamDefault creates a PermitModTeamDefault with default headers values
func (*PermitModTeamDefault) Code ¶
func (o *PermitModTeamDefault) Code() int
Code gets the status code for the permit mod team default response
func (*PermitModTeamDefault) Error ¶
func (o *PermitModTeamDefault) Error() string
func (*PermitModTeamDefault) GetPayload ¶
func (o *PermitModTeamDefault) GetPayload() *models.GeneralError
func (*PermitModTeamDefault) IsClientError ¶
func (o *PermitModTeamDefault) IsClientError() bool
IsClientError returns true when this permit mod team default response has a 4xx status code
func (*PermitModTeamDefault) IsCode ¶
func (o *PermitModTeamDefault) IsCode(code int) bool
IsCode returns true when this permit mod team default response a status code equal to that given
func (*PermitModTeamDefault) IsRedirect ¶
func (o *PermitModTeamDefault) IsRedirect() bool
IsRedirect returns true when this permit mod team default response has a 3xx status code
func (*PermitModTeamDefault) IsServerError ¶
func (o *PermitModTeamDefault) IsServerError() bool
IsServerError returns true when this permit mod team default response has a 5xx status code
func (*PermitModTeamDefault) IsSuccess ¶
func (o *PermitModTeamDefault) IsSuccess() bool
IsSuccess returns true when this permit mod team default response has a 2xx status code
func (*PermitModTeamDefault) String ¶
func (o *PermitModTeamDefault) String() string
type PermitModTeamForbidden ¶
type PermitModTeamForbidden struct {
Payload *models.GeneralError
}
PermitModTeamForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitModTeamForbidden ¶
func NewPermitModTeamForbidden() *PermitModTeamForbidden
NewPermitModTeamForbidden creates a PermitModTeamForbidden with default headers values
func (*PermitModTeamForbidden) Code ¶
func (o *PermitModTeamForbidden) Code() int
Code gets the status code for the permit mod team forbidden response
func (*PermitModTeamForbidden) Error ¶
func (o *PermitModTeamForbidden) Error() string
func (*PermitModTeamForbidden) GetPayload ¶
func (o *PermitModTeamForbidden) GetPayload() *models.GeneralError
func (*PermitModTeamForbidden) IsClientError ¶
func (o *PermitModTeamForbidden) IsClientError() bool
IsClientError returns true when this permit mod team forbidden response has a 4xx status code
func (*PermitModTeamForbidden) IsCode ¶
func (o *PermitModTeamForbidden) IsCode(code int) bool
IsCode returns true when this permit mod team forbidden response a status code equal to that given
func (*PermitModTeamForbidden) IsRedirect ¶
func (o *PermitModTeamForbidden) IsRedirect() bool
IsRedirect returns true when this permit mod team forbidden response has a 3xx status code
func (*PermitModTeamForbidden) IsServerError ¶
func (o *PermitModTeamForbidden) IsServerError() bool
IsServerError returns true when this permit mod team forbidden response has a 5xx status code
func (*PermitModTeamForbidden) IsSuccess ¶
func (o *PermitModTeamForbidden) IsSuccess() bool
IsSuccess returns true when this permit mod team forbidden response has a 2xx status code
func (*PermitModTeamForbidden) String ¶
func (o *PermitModTeamForbidden) String() string
type PermitModTeamNotFound ¶
type PermitModTeamNotFound struct {
Payload *models.GeneralError
}
PermitModTeamNotFound describes a response with status code 404, with default header values.
Mod or team not found
func NewPermitModTeamNotFound ¶
func NewPermitModTeamNotFound() *PermitModTeamNotFound
NewPermitModTeamNotFound creates a PermitModTeamNotFound with default headers values
func (*PermitModTeamNotFound) Code ¶
func (o *PermitModTeamNotFound) Code() int
Code gets the status code for the permit mod team not found response
func (*PermitModTeamNotFound) Error ¶
func (o *PermitModTeamNotFound) Error() string
func (*PermitModTeamNotFound) GetPayload ¶
func (o *PermitModTeamNotFound) GetPayload() *models.GeneralError
func (*PermitModTeamNotFound) IsClientError ¶
func (o *PermitModTeamNotFound) IsClientError() bool
IsClientError returns true when this permit mod team not found response has a 4xx status code
func (*PermitModTeamNotFound) IsCode ¶
func (o *PermitModTeamNotFound) IsCode(code int) bool
IsCode returns true when this permit mod team not found response a status code equal to that given
func (*PermitModTeamNotFound) IsRedirect ¶
func (o *PermitModTeamNotFound) IsRedirect() bool
IsRedirect returns true when this permit mod team not found response has a 3xx status code
func (*PermitModTeamNotFound) IsServerError ¶
func (o *PermitModTeamNotFound) IsServerError() bool
IsServerError returns true when this permit mod team not found response has a 5xx status code
func (*PermitModTeamNotFound) IsSuccess ¶
func (o *PermitModTeamNotFound) IsSuccess() bool
IsSuccess returns true when this permit mod team not found response has a 2xx status code
func (*PermitModTeamNotFound) String ¶
func (o *PermitModTeamNotFound) String() string
type PermitModTeamOK ¶
type PermitModTeamOK struct {
Payload *models.GeneralError
}
PermitModTeamOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitModTeamOK ¶
func NewPermitModTeamOK() *PermitModTeamOK
NewPermitModTeamOK creates a PermitModTeamOK with default headers values
func (*PermitModTeamOK) Code ¶
func (o *PermitModTeamOK) Code() int
Code gets the status code for the permit mod team o k response
func (*PermitModTeamOK) Error ¶
func (o *PermitModTeamOK) Error() string
func (*PermitModTeamOK) GetPayload ¶
func (o *PermitModTeamOK) GetPayload() *models.GeneralError
func (*PermitModTeamOK) IsClientError ¶
func (o *PermitModTeamOK) IsClientError() bool
IsClientError returns true when this permit mod team o k response has a 4xx status code
func (*PermitModTeamOK) IsCode ¶
func (o *PermitModTeamOK) IsCode(code int) bool
IsCode returns true when this permit mod team o k response a status code equal to that given
func (*PermitModTeamOK) IsRedirect ¶
func (o *PermitModTeamOK) IsRedirect() bool
IsRedirect returns true when this permit mod team o k response has a 3xx status code
func (*PermitModTeamOK) IsServerError ¶
func (o *PermitModTeamOK) IsServerError() bool
IsServerError returns true when this permit mod team o k response has a 5xx status code
func (*PermitModTeamOK) IsSuccess ¶
func (o *PermitModTeamOK) IsSuccess() bool
IsSuccess returns true when this permit mod team o k response has a 2xx status code
func (*PermitModTeamOK) String ¶
func (o *PermitModTeamOK) String() string
type PermitModTeamParams ¶
type PermitModTeamParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModTeam. The mod team data to update */ ModTeam *models.ModTeamParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitModTeamParams contains all the parameters to send to the API endpoint
for the permit mod team operation. Typically these are written to a http.Request.
func NewPermitModTeamParams ¶
func NewPermitModTeamParams() *PermitModTeamParams
NewPermitModTeamParams creates a new PermitModTeamParams 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 NewPermitModTeamParamsWithContext ¶
func NewPermitModTeamParamsWithContext(ctx context.Context) *PermitModTeamParams
NewPermitModTeamParamsWithContext creates a new PermitModTeamParams object with the ability to set a context for a request.
func NewPermitModTeamParamsWithHTTPClient ¶
func NewPermitModTeamParamsWithHTTPClient(client *http.Client) *PermitModTeamParams
NewPermitModTeamParamsWithHTTPClient creates a new PermitModTeamParams object with the ability to set a custom HTTPClient for a request.
func NewPermitModTeamParamsWithTimeout ¶
func NewPermitModTeamParamsWithTimeout(timeout time.Duration) *PermitModTeamParams
NewPermitModTeamParamsWithTimeout creates a new PermitModTeamParams object with the ability to set a timeout on a request.
func (*PermitModTeamParams) SetContext ¶
func (o *PermitModTeamParams) SetContext(ctx context.Context)
SetContext adds the context to the permit mod team params
func (*PermitModTeamParams) SetDefaults ¶
func (o *PermitModTeamParams) SetDefaults()
SetDefaults hydrates default values in the permit mod team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitModTeamParams) SetHTTPClient ¶
func (o *PermitModTeamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit mod team params
func (*PermitModTeamParams) SetModID ¶
func (o *PermitModTeamParams) SetModID(modID string)
SetModID adds the modId to the permit mod team params
func (*PermitModTeamParams) SetModTeam ¶
func (o *PermitModTeamParams) SetModTeam(modTeam *models.ModTeamParams)
SetModTeam adds the modTeam to the permit mod team params
func (*PermitModTeamParams) SetTimeout ¶
func (o *PermitModTeamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit mod team params
func (*PermitModTeamParams) WithContext ¶
func (o *PermitModTeamParams) WithContext(ctx context.Context) *PermitModTeamParams
WithContext adds the context to the permit mod team params
func (*PermitModTeamParams) WithDefaults ¶
func (o *PermitModTeamParams) WithDefaults() *PermitModTeamParams
WithDefaults hydrates default values in the permit mod team params (not the query body).
All values with no default are reset to their zero value.
func (*PermitModTeamParams) WithHTTPClient ¶
func (o *PermitModTeamParams) WithHTTPClient(client *http.Client) *PermitModTeamParams
WithHTTPClient adds the HTTPClient to the permit mod team params
func (*PermitModTeamParams) WithModID ¶
func (o *PermitModTeamParams) WithModID(modID string) *PermitModTeamParams
WithModID adds the modID to the permit mod team params
func (*PermitModTeamParams) WithModTeam ¶
func (o *PermitModTeamParams) WithModTeam(modTeam *models.ModTeamParams) *PermitModTeamParams
WithModTeam adds the modTeam to the permit mod team params
func (*PermitModTeamParams) WithTimeout ¶
func (o *PermitModTeamParams) WithTimeout(timeout time.Duration) *PermitModTeamParams
WithTimeout adds the timeout to the permit mod team params
func (*PermitModTeamParams) WriteToRequest ¶
func (o *PermitModTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitModTeamPreconditionFailed ¶
type PermitModTeamPreconditionFailed struct {
Payload *models.GeneralError
}
PermitModTeamPreconditionFailed describes a response with status code 412, with default header values.
Team is not attached
func NewPermitModTeamPreconditionFailed ¶
func NewPermitModTeamPreconditionFailed() *PermitModTeamPreconditionFailed
NewPermitModTeamPreconditionFailed creates a PermitModTeamPreconditionFailed with default headers values
func (*PermitModTeamPreconditionFailed) Code ¶
func (o *PermitModTeamPreconditionFailed) Code() int
Code gets the status code for the permit mod team precondition failed response
func (*PermitModTeamPreconditionFailed) Error ¶
func (o *PermitModTeamPreconditionFailed) Error() string
func (*PermitModTeamPreconditionFailed) GetPayload ¶
func (o *PermitModTeamPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitModTeamPreconditionFailed) IsClientError ¶
func (o *PermitModTeamPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit mod team precondition failed response has a 4xx status code
func (*PermitModTeamPreconditionFailed) IsCode ¶
func (o *PermitModTeamPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit mod team precondition failed response a status code equal to that given
func (*PermitModTeamPreconditionFailed) IsRedirect ¶
func (o *PermitModTeamPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit mod team precondition failed response has a 3xx status code
func (*PermitModTeamPreconditionFailed) IsServerError ¶
func (o *PermitModTeamPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit mod team precondition failed response has a 5xx status code
func (*PermitModTeamPreconditionFailed) IsSuccess ¶
func (o *PermitModTeamPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit mod team precondition failed response has a 2xx status code
func (*PermitModTeamPreconditionFailed) String ¶
func (o *PermitModTeamPreconditionFailed) String() string
type PermitModTeamReader ¶
type PermitModTeamReader struct {
// contains filtered or unexported fields
}
PermitModTeamReader is a Reader for the PermitModTeam structure.
func (*PermitModTeamReader) ReadResponse ¶
func (o *PermitModTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitModTeamUnprocessableEntity ¶
type PermitModTeamUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitModTeamUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitModTeamUnprocessableEntity ¶
func NewPermitModTeamUnprocessableEntity() *PermitModTeamUnprocessableEntity
NewPermitModTeamUnprocessableEntity creates a PermitModTeamUnprocessableEntity with default headers values
func (*PermitModTeamUnprocessableEntity) Code ¶
func (o *PermitModTeamUnprocessableEntity) Code() int
Code gets the status code for the permit mod team unprocessable entity response
func (*PermitModTeamUnprocessableEntity) Error ¶
func (o *PermitModTeamUnprocessableEntity) Error() string
func (*PermitModTeamUnprocessableEntity) GetPayload ¶
func (o *PermitModTeamUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitModTeamUnprocessableEntity) IsClientError ¶
func (o *PermitModTeamUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit mod team unprocessable entity response has a 4xx status code
func (*PermitModTeamUnprocessableEntity) IsCode ¶
func (o *PermitModTeamUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit mod team unprocessable entity response a status code equal to that given
func (*PermitModTeamUnprocessableEntity) IsRedirect ¶
func (o *PermitModTeamUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit mod team unprocessable entity response has a 3xx status code
func (*PermitModTeamUnprocessableEntity) IsServerError ¶
func (o *PermitModTeamUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit mod team unprocessable entity response has a 5xx status code
func (*PermitModTeamUnprocessableEntity) IsSuccess ¶
func (o *PermitModTeamUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit mod team unprocessable entity response has a 2xx status code
func (*PermitModTeamUnprocessableEntity) String ¶
func (o *PermitModTeamUnprocessableEntity) String() string
type PermitModUserDefault ¶
type PermitModUserDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
PermitModUserDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewPermitModUserDefault ¶
func NewPermitModUserDefault(code int) *PermitModUserDefault
NewPermitModUserDefault creates a PermitModUserDefault with default headers values
func (*PermitModUserDefault) Code ¶
func (o *PermitModUserDefault) Code() int
Code gets the status code for the permit mod user default response
func (*PermitModUserDefault) Error ¶
func (o *PermitModUserDefault) Error() string
func (*PermitModUserDefault) GetPayload ¶
func (o *PermitModUserDefault) GetPayload() *models.GeneralError
func (*PermitModUserDefault) IsClientError ¶
func (o *PermitModUserDefault) IsClientError() bool
IsClientError returns true when this permit mod user default response has a 4xx status code
func (*PermitModUserDefault) IsCode ¶
func (o *PermitModUserDefault) IsCode(code int) bool
IsCode returns true when this permit mod user default response a status code equal to that given
func (*PermitModUserDefault) IsRedirect ¶
func (o *PermitModUserDefault) IsRedirect() bool
IsRedirect returns true when this permit mod user default response has a 3xx status code
func (*PermitModUserDefault) IsServerError ¶
func (o *PermitModUserDefault) IsServerError() bool
IsServerError returns true when this permit mod user default response has a 5xx status code
func (*PermitModUserDefault) IsSuccess ¶
func (o *PermitModUserDefault) IsSuccess() bool
IsSuccess returns true when this permit mod user default response has a 2xx status code
func (*PermitModUserDefault) String ¶
func (o *PermitModUserDefault) String() string
type PermitModUserForbidden ¶
type PermitModUserForbidden struct {
Payload *models.GeneralError
}
PermitModUserForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewPermitModUserForbidden ¶
func NewPermitModUserForbidden() *PermitModUserForbidden
NewPermitModUserForbidden creates a PermitModUserForbidden with default headers values
func (*PermitModUserForbidden) Code ¶
func (o *PermitModUserForbidden) Code() int
Code gets the status code for the permit mod user forbidden response
func (*PermitModUserForbidden) Error ¶
func (o *PermitModUserForbidden) Error() string
func (*PermitModUserForbidden) GetPayload ¶
func (o *PermitModUserForbidden) GetPayload() *models.GeneralError
func (*PermitModUserForbidden) IsClientError ¶
func (o *PermitModUserForbidden) IsClientError() bool
IsClientError returns true when this permit mod user forbidden response has a 4xx status code
func (*PermitModUserForbidden) IsCode ¶
func (o *PermitModUserForbidden) IsCode(code int) bool
IsCode returns true when this permit mod user forbidden response a status code equal to that given
func (*PermitModUserForbidden) IsRedirect ¶
func (o *PermitModUserForbidden) IsRedirect() bool
IsRedirect returns true when this permit mod user forbidden response has a 3xx status code
func (*PermitModUserForbidden) IsServerError ¶
func (o *PermitModUserForbidden) IsServerError() bool
IsServerError returns true when this permit mod user forbidden response has a 5xx status code
func (*PermitModUserForbidden) IsSuccess ¶
func (o *PermitModUserForbidden) IsSuccess() bool
IsSuccess returns true when this permit mod user forbidden response has a 2xx status code
func (*PermitModUserForbidden) String ¶
func (o *PermitModUserForbidden) String() string
type PermitModUserNotFound ¶
type PermitModUserNotFound struct {
Payload *models.GeneralError
}
PermitModUserNotFound describes a response with status code 404, with default header values.
Mod or user not found
func NewPermitModUserNotFound ¶
func NewPermitModUserNotFound() *PermitModUserNotFound
NewPermitModUserNotFound creates a PermitModUserNotFound with default headers values
func (*PermitModUserNotFound) Code ¶
func (o *PermitModUserNotFound) Code() int
Code gets the status code for the permit mod user not found response
func (*PermitModUserNotFound) Error ¶
func (o *PermitModUserNotFound) Error() string
func (*PermitModUserNotFound) GetPayload ¶
func (o *PermitModUserNotFound) GetPayload() *models.GeneralError
func (*PermitModUserNotFound) IsClientError ¶
func (o *PermitModUserNotFound) IsClientError() bool
IsClientError returns true when this permit mod user not found response has a 4xx status code
func (*PermitModUserNotFound) IsCode ¶
func (o *PermitModUserNotFound) IsCode(code int) bool
IsCode returns true when this permit mod user not found response a status code equal to that given
func (*PermitModUserNotFound) IsRedirect ¶
func (o *PermitModUserNotFound) IsRedirect() bool
IsRedirect returns true when this permit mod user not found response has a 3xx status code
func (*PermitModUserNotFound) IsServerError ¶
func (o *PermitModUserNotFound) IsServerError() bool
IsServerError returns true when this permit mod user not found response has a 5xx status code
func (*PermitModUserNotFound) IsSuccess ¶
func (o *PermitModUserNotFound) IsSuccess() bool
IsSuccess returns true when this permit mod user not found response has a 2xx status code
func (*PermitModUserNotFound) String ¶
func (o *PermitModUserNotFound) String() string
type PermitModUserOK ¶
type PermitModUserOK struct {
Payload *models.GeneralError
}
PermitModUserOK describes a response with status code 200, with default header values.
Plain success message
func NewPermitModUserOK ¶
func NewPermitModUserOK() *PermitModUserOK
NewPermitModUserOK creates a PermitModUserOK with default headers values
func (*PermitModUserOK) Code ¶
func (o *PermitModUserOK) Code() int
Code gets the status code for the permit mod user o k response
func (*PermitModUserOK) Error ¶
func (o *PermitModUserOK) Error() string
func (*PermitModUserOK) GetPayload ¶
func (o *PermitModUserOK) GetPayload() *models.GeneralError
func (*PermitModUserOK) IsClientError ¶
func (o *PermitModUserOK) IsClientError() bool
IsClientError returns true when this permit mod user o k response has a 4xx status code
func (*PermitModUserOK) IsCode ¶
func (o *PermitModUserOK) IsCode(code int) bool
IsCode returns true when this permit mod user o k response a status code equal to that given
func (*PermitModUserOK) IsRedirect ¶
func (o *PermitModUserOK) IsRedirect() bool
IsRedirect returns true when this permit mod user o k response has a 3xx status code
func (*PermitModUserOK) IsServerError ¶
func (o *PermitModUserOK) IsServerError() bool
IsServerError returns true when this permit mod user o k response has a 5xx status code
func (*PermitModUserOK) IsSuccess ¶
func (o *PermitModUserOK) IsSuccess() bool
IsSuccess returns true when this permit mod user o k response has a 2xx status code
func (*PermitModUserOK) String ¶
func (o *PermitModUserOK) String() string
type PermitModUserParams ¶
type PermitModUserParams struct { /* ModID. A mod UUID or slug */ ModID string /* ModUser. The mod user data to update */ ModUser *models.ModUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermitModUserParams contains all the parameters to send to the API endpoint
for the permit mod user operation. Typically these are written to a http.Request.
func NewPermitModUserParams ¶
func NewPermitModUserParams() *PermitModUserParams
NewPermitModUserParams creates a new PermitModUserParams 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 NewPermitModUserParamsWithContext ¶
func NewPermitModUserParamsWithContext(ctx context.Context) *PermitModUserParams
NewPermitModUserParamsWithContext creates a new PermitModUserParams object with the ability to set a context for a request.
func NewPermitModUserParamsWithHTTPClient ¶
func NewPermitModUserParamsWithHTTPClient(client *http.Client) *PermitModUserParams
NewPermitModUserParamsWithHTTPClient creates a new PermitModUserParams object with the ability to set a custom HTTPClient for a request.
func NewPermitModUserParamsWithTimeout ¶
func NewPermitModUserParamsWithTimeout(timeout time.Duration) *PermitModUserParams
NewPermitModUserParamsWithTimeout creates a new PermitModUserParams object with the ability to set a timeout on a request.
func (*PermitModUserParams) SetContext ¶
func (o *PermitModUserParams) SetContext(ctx context.Context)
SetContext adds the context to the permit mod user params
func (*PermitModUserParams) SetDefaults ¶
func (o *PermitModUserParams) SetDefaults()
SetDefaults hydrates default values in the permit mod user params (not the query body).
All values with no default are reset to their zero value.
func (*PermitModUserParams) SetHTTPClient ¶
func (o *PermitModUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permit mod user params
func (*PermitModUserParams) SetModID ¶
func (o *PermitModUserParams) SetModID(modID string)
SetModID adds the modId to the permit mod user params
func (*PermitModUserParams) SetModUser ¶
func (o *PermitModUserParams) SetModUser(modUser *models.ModUserParams)
SetModUser adds the modUser to the permit mod user params
func (*PermitModUserParams) SetTimeout ¶
func (o *PermitModUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permit mod user params
func (*PermitModUserParams) WithContext ¶
func (o *PermitModUserParams) WithContext(ctx context.Context) *PermitModUserParams
WithContext adds the context to the permit mod user params
func (*PermitModUserParams) WithDefaults ¶
func (o *PermitModUserParams) WithDefaults() *PermitModUserParams
WithDefaults hydrates default values in the permit mod user params (not the query body).
All values with no default are reset to their zero value.
func (*PermitModUserParams) WithHTTPClient ¶
func (o *PermitModUserParams) WithHTTPClient(client *http.Client) *PermitModUserParams
WithHTTPClient adds the HTTPClient to the permit mod user params
func (*PermitModUserParams) WithModID ¶
func (o *PermitModUserParams) WithModID(modID string) *PermitModUserParams
WithModID adds the modID to the permit mod user params
func (*PermitModUserParams) WithModUser ¶
func (o *PermitModUserParams) WithModUser(modUser *models.ModUserParams) *PermitModUserParams
WithModUser adds the modUser to the permit mod user params
func (*PermitModUserParams) WithTimeout ¶
func (o *PermitModUserParams) WithTimeout(timeout time.Duration) *PermitModUserParams
WithTimeout adds the timeout to the permit mod user params
func (*PermitModUserParams) WriteToRequest ¶
func (o *PermitModUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermitModUserPreconditionFailed ¶
type PermitModUserPreconditionFailed struct {
Payload *models.GeneralError
}
PermitModUserPreconditionFailed describes a response with status code 412, with default header values.
User is not attached
func NewPermitModUserPreconditionFailed ¶
func NewPermitModUserPreconditionFailed() *PermitModUserPreconditionFailed
NewPermitModUserPreconditionFailed creates a PermitModUserPreconditionFailed with default headers values
func (*PermitModUserPreconditionFailed) Code ¶
func (o *PermitModUserPreconditionFailed) Code() int
Code gets the status code for the permit mod user precondition failed response
func (*PermitModUserPreconditionFailed) Error ¶
func (o *PermitModUserPreconditionFailed) Error() string
func (*PermitModUserPreconditionFailed) GetPayload ¶
func (o *PermitModUserPreconditionFailed) GetPayload() *models.GeneralError
func (*PermitModUserPreconditionFailed) IsClientError ¶
func (o *PermitModUserPreconditionFailed) IsClientError() bool
IsClientError returns true when this permit mod user precondition failed response has a 4xx status code
func (*PermitModUserPreconditionFailed) IsCode ¶
func (o *PermitModUserPreconditionFailed) IsCode(code int) bool
IsCode returns true when this permit mod user precondition failed response a status code equal to that given
func (*PermitModUserPreconditionFailed) IsRedirect ¶
func (o *PermitModUserPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this permit mod user precondition failed response has a 3xx status code
func (*PermitModUserPreconditionFailed) IsServerError ¶
func (o *PermitModUserPreconditionFailed) IsServerError() bool
IsServerError returns true when this permit mod user precondition failed response has a 5xx status code
func (*PermitModUserPreconditionFailed) IsSuccess ¶
func (o *PermitModUserPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this permit mod user precondition failed response has a 2xx status code
func (*PermitModUserPreconditionFailed) String ¶
func (o *PermitModUserPreconditionFailed) String() string
type PermitModUserReader ¶
type PermitModUserReader struct {
// contains filtered or unexported fields
}
PermitModUserReader is a Reader for the PermitModUser structure.
func (*PermitModUserReader) ReadResponse ¶
func (o *PermitModUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermitModUserUnprocessableEntity ¶
type PermitModUserUnprocessableEntity struct {
Payload *models.ValidationError
}
PermitModUserUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewPermitModUserUnprocessableEntity ¶
func NewPermitModUserUnprocessableEntity() *PermitModUserUnprocessableEntity
NewPermitModUserUnprocessableEntity creates a PermitModUserUnprocessableEntity with default headers values
func (*PermitModUserUnprocessableEntity) Code ¶
func (o *PermitModUserUnprocessableEntity) Code() int
Code gets the status code for the permit mod user unprocessable entity response
func (*PermitModUserUnprocessableEntity) Error ¶
func (o *PermitModUserUnprocessableEntity) Error() string
func (*PermitModUserUnprocessableEntity) GetPayload ¶
func (o *PermitModUserUnprocessableEntity) GetPayload() *models.ValidationError
func (*PermitModUserUnprocessableEntity) IsClientError ¶
func (o *PermitModUserUnprocessableEntity) IsClientError() bool
IsClientError returns true when this permit mod user unprocessable entity response has a 4xx status code
func (*PermitModUserUnprocessableEntity) IsCode ¶
func (o *PermitModUserUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this permit mod user unprocessable entity response a status code equal to that given
func (*PermitModUserUnprocessableEntity) IsRedirect ¶
func (o *PermitModUserUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this permit mod user unprocessable entity response has a 3xx status code
func (*PermitModUserUnprocessableEntity) IsServerError ¶
func (o *PermitModUserUnprocessableEntity) IsServerError() bool
IsServerError returns true when this permit mod user unprocessable entity response has a 5xx status code
func (*PermitModUserUnprocessableEntity) IsSuccess ¶
func (o *PermitModUserUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this permit mod user unprocessable entity response has a 2xx status code
func (*PermitModUserUnprocessableEntity) String ¶
func (o *PermitModUserUnprocessableEntity) String() string
type ShowModDefault ¶
type ShowModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ShowModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewShowModDefault ¶
func NewShowModDefault(code int) *ShowModDefault
NewShowModDefault creates a ShowModDefault with default headers values
func (*ShowModDefault) Code ¶
func (o *ShowModDefault) Code() int
Code gets the status code for the show mod default response
func (*ShowModDefault) Error ¶
func (o *ShowModDefault) Error() string
func (*ShowModDefault) GetPayload ¶
func (o *ShowModDefault) GetPayload() *models.GeneralError
func (*ShowModDefault) IsClientError ¶
func (o *ShowModDefault) IsClientError() bool
IsClientError returns true when this show mod default response has a 4xx status code
func (*ShowModDefault) IsCode ¶
func (o *ShowModDefault) IsCode(code int) bool
IsCode returns true when this show mod default response a status code equal to that given
func (*ShowModDefault) IsRedirect ¶
func (o *ShowModDefault) IsRedirect() bool
IsRedirect returns true when this show mod default response has a 3xx status code
func (*ShowModDefault) IsServerError ¶
func (o *ShowModDefault) IsServerError() bool
IsServerError returns true when this show mod default response has a 5xx status code
func (*ShowModDefault) IsSuccess ¶
func (o *ShowModDefault) IsSuccess() bool
IsSuccess returns true when this show mod default response has a 2xx status code
func (*ShowModDefault) String ¶
func (o *ShowModDefault) String() string
type ShowModForbidden ¶
type ShowModForbidden struct {
Payload *models.GeneralError
}
ShowModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewShowModForbidden ¶
func NewShowModForbidden() *ShowModForbidden
NewShowModForbidden creates a ShowModForbidden with default headers values
func (*ShowModForbidden) Code ¶
func (o *ShowModForbidden) Code() int
Code gets the status code for the show mod forbidden response
func (*ShowModForbidden) Error ¶
func (o *ShowModForbidden) Error() string
func (*ShowModForbidden) GetPayload ¶
func (o *ShowModForbidden) GetPayload() *models.GeneralError
func (*ShowModForbidden) IsClientError ¶
func (o *ShowModForbidden) IsClientError() bool
IsClientError returns true when this show mod forbidden response has a 4xx status code
func (*ShowModForbidden) IsCode ¶
func (o *ShowModForbidden) IsCode(code int) bool
IsCode returns true when this show mod forbidden response a status code equal to that given
func (*ShowModForbidden) IsRedirect ¶
func (o *ShowModForbidden) IsRedirect() bool
IsRedirect returns true when this show mod forbidden response has a 3xx status code
func (*ShowModForbidden) IsServerError ¶
func (o *ShowModForbidden) IsServerError() bool
IsServerError returns true when this show mod forbidden response has a 5xx status code
func (*ShowModForbidden) IsSuccess ¶
func (o *ShowModForbidden) IsSuccess() bool
IsSuccess returns true when this show mod forbidden response has a 2xx status code
func (*ShowModForbidden) String ¶
func (o *ShowModForbidden) String() string
type ShowModNotFound ¶
type ShowModNotFound struct {
Payload *models.GeneralError
}
ShowModNotFound describes a response with status code 404, with default header values.
Mod not found
func NewShowModNotFound ¶
func NewShowModNotFound() *ShowModNotFound
NewShowModNotFound creates a ShowModNotFound with default headers values
func (*ShowModNotFound) Code ¶
func (o *ShowModNotFound) Code() int
Code gets the status code for the show mod not found response
func (*ShowModNotFound) Error ¶
func (o *ShowModNotFound) Error() string
func (*ShowModNotFound) GetPayload ¶
func (o *ShowModNotFound) GetPayload() *models.GeneralError
func (*ShowModNotFound) IsClientError ¶
func (o *ShowModNotFound) IsClientError() bool
IsClientError returns true when this show mod not found response has a 4xx status code
func (*ShowModNotFound) IsCode ¶
func (o *ShowModNotFound) IsCode(code int) bool
IsCode returns true when this show mod not found response a status code equal to that given
func (*ShowModNotFound) IsRedirect ¶
func (o *ShowModNotFound) IsRedirect() bool
IsRedirect returns true when this show mod not found response has a 3xx status code
func (*ShowModNotFound) IsServerError ¶
func (o *ShowModNotFound) IsServerError() bool
IsServerError returns true when this show mod not found response has a 5xx status code
func (*ShowModNotFound) IsSuccess ¶
func (o *ShowModNotFound) IsSuccess() bool
IsSuccess returns true when this show mod not found response has a 2xx status code
func (*ShowModNotFound) String ¶
func (o *ShowModNotFound) String() string
type ShowModOK ¶
ShowModOK describes a response with status code 200, with default header values.
The fetched mod details
func NewShowModOK ¶
func NewShowModOK() *ShowModOK
NewShowModOK creates a ShowModOK with default headers values
func (*ShowModOK) GetPayload ¶
func (*ShowModOK) IsClientError ¶
IsClientError returns true when this show mod o k response has a 4xx status code
func (*ShowModOK) IsCode ¶
IsCode returns true when this show mod o k response a status code equal to that given
func (*ShowModOK) IsRedirect ¶
IsRedirect returns true when this show mod o k response has a 3xx status code
func (*ShowModOK) IsServerError ¶
IsServerError returns true when this show mod o k response has a 5xx status code
type ShowModParams ¶
type ShowModParams struct { /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowModParams contains all the parameters to send to the API endpoint
for the show mod operation. Typically these are written to a http.Request.
func NewShowModParams ¶
func NewShowModParams() *ShowModParams
NewShowModParams creates a new ShowModParams 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 NewShowModParamsWithContext ¶
func NewShowModParamsWithContext(ctx context.Context) *ShowModParams
NewShowModParamsWithContext creates a new ShowModParams object with the ability to set a context for a request.
func NewShowModParamsWithHTTPClient ¶
func NewShowModParamsWithHTTPClient(client *http.Client) *ShowModParams
NewShowModParamsWithHTTPClient creates a new ShowModParams object with the ability to set a custom HTTPClient for a request.
func NewShowModParamsWithTimeout ¶
func NewShowModParamsWithTimeout(timeout time.Duration) *ShowModParams
NewShowModParamsWithTimeout creates a new ShowModParams object with the ability to set a timeout on a request.
func (*ShowModParams) SetContext ¶
func (o *ShowModParams) SetContext(ctx context.Context)
SetContext adds the context to the show mod params
func (*ShowModParams) SetDefaults ¶
func (o *ShowModParams) SetDefaults()
SetDefaults hydrates default values in the show mod params (not the query body).
All values with no default are reset to their zero value.
func (*ShowModParams) SetHTTPClient ¶
func (o *ShowModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show mod params
func (*ShowModParams) SetModID ¶
func (o *ShowModParams) SetModID(modID string)
SetModID adds the modId to the show mod params
func (*ShowModParams) SetTimeout ¶
func (o *ShowModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show mod params
func (*ShowModParams) WithContext ¶
func (o *ShowModParams) WithContext(ctx context.Context) *ShowModParams
WithContext adds the context to the show mod params
func (*ShowModParams) WithDefaults ¶
func (o *ShowModParams) WithDefaults() *ShowModParams
WithDefaults hydrates default values in the show mod params (not the query body).
All values with no default are reset to their zero value.
func (*ShowModParams) WithHTTPClient ¶
func (o *ShowModParams) WithHTTPClient(client *http.Client) *ShowModParams
WithHTTPClient adds the HTTPClient to the show mod params
func (*ShowModParams) WithModID ¶
func (o *ShowModParams) WithModID(modID string) *ShowModParams
WithModID adds the modID to the show mod params
func (*ShowModParams) WithTimeout ¶
func (o *ShowModParams) WithTimeout(timeout time.Duration) *ShowModParams
WithTimeout adds the timeout to the show mod params
func (*ShowModParams) WriteToRequest ¶
func (o *ShowModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowModReader ¶
type ShowModReader struct {
// contains filtered or unexported fields
}
ShowModReader is a Reader for the ShowMod structure.
func (*ShowModReader) ReadResponse ¶
func (o *ShowModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShowVersionDefault ¶
type ShowVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
ShowVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewShowVersionDefault ¶
func NewShowVersionDefault(code int) *ShowVersionDefault
NewShowVersionDefault creates a ShowVersionDefault with default headers values
func (*ShowVersionDefault) Code ¶
func (o *ShowVersionDefault) Code() int
Code gets the status code for the show version default response
func (*ShowVersionDefault) Error ¶
func (o *ShowVersionDefault) Error() string
func (*ShowVersionDefault) GetPayload ¶
func (o *ShowVersionDefault) GetPayload() *models.GeneralError
func (*ShowVersionDefault) IsClientError ¶
func (o *ShowVersionDefault) IsClientError() bool
IsClientError returns true when this show version default response has a 4xx status code
func (*ShowVersionDefault) IsCode ¶
func (o *ShowVersionDefault) IsCode(code int) bool
IsCode returns true when this show version default response a status code equal to that given
func (*ShowVersionDefault) IsRedirect ¶
func (o *ShowVersionDefault) IsRedirect() bool
IsRedirect returns true when this show version default response has a 3xx status code
func (*ShowVersionDefault) IsServerError ¶
func (o *ShowVersionDefault) IsServerError() bool
IsServerError returns true when this show version default response has a 5xx status code
func (*ShowVersionDefault) IsSuccess ¶
func (o *ShowVersionDefault) IsSuccess() bool
IsSuccess returns true when this show version default response has a 2xx status code
func (*ShowVersionDefault) String ¶
func (o *ShowVersionDefault) String() string
type ShowVersionForbidden ¶
type ShowVersionForbidden struct {
Payload *models.GeneralError
}
ShowVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewShowVersionForbidden ¶
func NewShowVersionForbidden() *ShowVersionForbidden
NewShowVersionForbidden creates a ShowVersionForbidden with default headers values
func (*ShowVersionForbidden) Code ¶
func (o *ShowVersionForbidden) Code() int
Code gets the status code for the show version forbidden response
func (*ShowVersionForbidden) Error ¶
func (o *ShowVersionForbidden) Error() string
func (*ShowVersionForbidden) GetPayload ¶
func (o *ShowVersionForbidden) GetPayload() *models.GeneralError
func (*ShowVersionForbidden) IsClientError ¶
func (o *ShowVersionForbidden) IsClientError() bool
IsClientError returns true when this show version forbidden response has a 4xx status code
func (*ShowVersionForbidden) IsCode ¶
func (o *ShowVersionForbidden) IsCode(code int) bool
IsCode returns true when this show version forbidden response a status code equal to that given
func (*ShowVersionForbidden) IsRedirect ¶
func (o *ShowVersionForbidden) IsRedirect() bool
IsRedirect returns true when this show version forbidden response has a 3xx status code
func (*ShowVersionForbidden) IsServerError ¶
func (o *ShowVersionForbidden) IsServerError() bool
IsServerError returns true when this show version forbidden response has a 5xx status code
func (*ShowVersionForbidden) IsSuccess ¶
func (o *ShowVersionForbidden) IsSuccess() bool
IsSuccess returns true when this show version forbidden response has a 2xx status code
func (*ShowVersionForbidden) String ¶
func (o *ShowVersionForbidden) String() string
type ShowVersionNotFound ¶
type ShowVersionNotFound struct {
Payload *models.GeneralError
}
ShowVersionNotFound describes a response with status code 404, with default header values.
Version or mod not found
func NewShowVersionNotFound ¶
func NewShowVersionNotFound() *ShowVersionNotFound
NewShowVersionNotFound creates a ShowVersionNotFound with default headers values
func (*ShowVersionNotFound) Code ¶
func (o *ShowVersionNotFound) Code() int
Code gets the status code for the show version not found response
func (*ShowVersionNotFound) Error ¶
func (o *ShowVersionNotFound) Error() string
func (*ShowVersionNotFound) GetPayload ¶
func (o *ShowVersionNotFound) GetPayload() *models.GeneralError
func (*ShowVersionNotFound) IsClientError ¶
func (o *ShowVersionNotFound) IsClientError() bool
IsClientError returns true when this show version not found response has a 4xx status code
func (*ShowVersionNotFound) IsCode ¶
func (o *ShowVersionNotFound) IsCode(code int) bool
IsCode returns true when this show version not found response a status code equal to that given
func (*ShowVersionNotFound) IsRedirect ¶
func (o *ShowVersionNotFound) IsRedirect() bool
IsRedirect returns true when this show version not found response has a 3xx status code
func (*ShowVersionNotFound) IsServerError ¶
func (o *ShowVersionNotFound) IsServerError() bool
IsServerError returns true when this show version not found response has a 5xx status code
func (*ShowVersionNotFound) IsSuccess ¶
func (o *ShowVersionNotFound) IsSuccess() bool
IsSuccess returns true when this show version not found response has a 2xx status code
func (*ShowVersionNotFound) String ¶
func (o *ShowVersionNotFound) String() string
type ShowVersionOK ¶
ShowVersionOK describes a response with status code 200, with default header values.
The fetched version details
func NewShowVersionOK ¶
func NewShowVersionOK() *ShowVersionOK
NewShowVersionOK creates a ShowVersionOK with default headers values
func (*ShowVersionOK) Code ¶
func (o *ShowVersionOK) Code() int
Code gets the status code for the show version o k response
func (*ShowVersionOK) Error ¶
func (o *ShowVersionOK) Error() string
func (*ShowVersionOK) GetPayload ¶
func (o *ShowVersionOK) GetPayload() *models.Version
func (*ShowVersionOK) IsClientError ¶
func (o *ShowVersionOK) IsClientError() bool
IsClientError returns true when this show version o k response has a 4xx status code
func (*ShowVersionOK) IsCode ¶
func (o *ShowVersionOK) IsCode(code int) bool
IsCode returns true when this show version o k response a status code equal to that given
func (*ShowVersionOK) IsRedirect ¶
func (o *ShowVersionOK) IsRedirect() bool
IsRedirect returns true when this show version o k response has a 3xx status code
func (*ShowVersionOK) IsServerError ¶
func (o *ShowVersionOK) IsServerError() bool
IsServerError returns true when this show version o k response has a 5xx status code
func (*ShowVersionOK) IsSuccess ¶
func (o *ShowVersionOK) IsSuccess() bool
IsSuccess returns true when this show version o k response has a 2xx status code
func (*ShowVersionOK) String ¶
func (o *ShowVersionOK) String() string
type ShowVersionParams ¶
type ShowVersionParams struct { /* ModID. A mod UUID or slug */ ModID string /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowVersionParams contains all the parameters to send to the API endpoint
for the show version operation. Typically these are written to a http.Request.
func NewShowVersionParams ¶
func NewShowVersionParams() *ShowVersionParams
NewShowVersionParams creates a new ShowVersionParams 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 NewShowVersionParamsWithContext ¶
func NewShowVersionParamsWithContext(ctx context.Context) *ShowVersionParams
NewShowVersionParamsWithContext creates a new ShowVersionParams object with the ability to set a context for a request.
func NewShowVersionParamsWithHTTPClient ¶
func NewShowVersionParamsWithHTTPClient(client *http.Client) *ShowVersionParams
NewShowVersionParamsWithHTTPClient creates a new ShowVersionParams object with the ability to set a custom HTTPClient for a request.
func NewShowVersionParamsWithTimeout ¶
func NewShowVersionParamsWithTimeout(timeout time.Duration) *ShowVersionParams
NewShowVersionParamsWithTimeout creates a new ShowVersionParams object with the ability to set a timeout on a request.
func (*ShowVersionParams) SetContext ¶
func (o *ShowVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the show version params
func (*ShowVersionParams) SetDefaults ¶
func (o *ShowVersionParams) SetDefaults()
SetDefaults hydrates default values in the show version params (not the query body).
All values with no default are reset to their zero value.
func (*ShowVersionParams) SetHTTPClient ¶
func (o *ShowVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show version params
func (*ShowVersionParams) SetModID ¶
func (o *ShowVersionParams) SetModID(modID string)
SetModID adds the modId to the show version params
func (*ShowVersionParams) SetTimeout ¶
func (o *ShowVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show version params
func (*ShowVersionParams) SetVersionID ¶
func (o *ShowVersionParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the show version params
func (*ShowVersionParams) WithContext ¶
func (o *ShowVersionParams) WithContext(ctx context.Context) *ShowVersionParams
WithContext adds the context to the show version params
func (*ShowVersionParams) WithDefaults ¶
func (o *ShowVersionParams) WithDefaults() *ShowVersionParams
WithDefaults hydrates default values in the show version params (not the query body).
All values with no default are reset to their zero value.
func (*ShowVersionParams) WithHTTPClient ¶
func (o *ShowVersionParams) WithHTTPClient(client *http.Client) *ShowVersionParams
WithHTTPClient adds the HTTPClient to the show version params
func (*ShowVersionParams) WithModID ¶
func (o *ShowVersionParams) WithModID(modID string) *ShowVersionParams
WithModID adds the modID to the show version params
func (*ShowVersionParams) WithTimeout ¶
func (o *ShowVersionParams) WithTimeout(timeout time.Duration) *ShowVersionParams
WithTimeout adds the timeout to the show version params
func (*ShowVersionParams) WithVersionID ¶
func (o *ShowVersionParams) WithVersionID(versionID string) *ShowVersionParams
WithVersionID adds the versionID to the show version params
func (*ShowVersionParams) WriteToRequest ¶
func (o *ShowVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowVersionReader ¶
type ShowVersionReader struct {
// contains filtered or unexported fields
}
ShowVersionReader is a Reader for the ShowVersion structure.
func (*ShowVersionReader) ReadResponse ¶
func (o *ShowVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateModDefault ¶
type UpdateModDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
UpdateModDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewUpdateModDefault ¶
func NewUpdateModDefault(code int) *UpdateModDefault
NewUpdateModDefault creates a UpdateModDefault with default headers values
func (*UpdateModDefault) Code ¶
func (o *UpdateModDefault) Code() int
Code gets the status code for the update mod default response
func (*UpdateModDefault) Error ¶
func (o *UpdateModDefault) Error() string
func (*UpdateModDefault) GetPayload ¶
func (o *UpdateModDefault) GetPayload() *models.GeneralError
func (*UpdateModDefault) IsClientError ¶
func (o *UpdateModDefault) IsClientError() bool
IsClientError returns true when this update mod default response has a 4xx status code
func (*UpdateModDefault) IsCode ¶
func (o *UpdateModDefault) IsCode(code int) bool
IsCode returns true when this update mod default response a status code equal to that given
func (*UpdateModDefault) IsRedirect ¶
func (o *UpdateModDefault) IsRedirect() bool
IsRedirect returns true when this update mod default response has a 3xx status code
func (*UpdateModDefault) IsServerError ¶
func (o *UpdateModDefault) IsServerError() bool
IsServerError returns true when this update mod default response has a 5xx status code
func (*UpdateModDefault) IsSuccess ¶
func (o *UpdateModDefault) IsSuccess() bool
IsSuccess returns true when this update mod default response has a 2xx status code
func (*UpdateModDefault) String ¶
func (o *UpdateModDefault) String() string
type UpdateModForbidden ¶
type UpdateModForbidden struct {
Payload *models.GeneralError
}
UpdateModForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewUpdateModForbidden ¶
func NewUpdateModForbidden() *UpdateModForbidden
NewUpdateModForbidden creates a UpdateModForbidden with default headers values
func (*UpdateModForbidden) Code ¶
func (o *UpdateModForbidden) Code() int
Code gets the status code for the update mod forbidden response
func (*UpdateModForbidden) Error ¶
func (o *UpdateModForbidden) Error() string
func (*UpdateModForbidden) GetPayload ¶
func (o *UpdateModForbidden) GetPayload() *models.GeneralError
func (*UpdateModForbidden) IsClientError ¶
func (o *UpdateModForbidden) IsClientError() bool
IsClientError returns true when this update mod forbidden response has a 4xx status code
func (*UpdateModForbidden) IsCode ¶
func (o *UpdateModForbidden) IsCode(code int) bool
IsCode returns true when this update mod forbidden response a status code equal to that given
func (*UpdateModForbidden) IsRedirect ¶
func (o *UpdateModForbidden) IsRedirect() bool
IsRedirect returns true when this update mod forbidden response has a 3xx status code
func (*UpdateModForbidden) IsServerError ¶
func (o *UpdateModForbidden) IsServerError() bool
IsServerError returns true when this update mod forbidden response has a 5xx status code
func (*UpdateModForbidden) IsSuccess ¶
func (o *UpdateModForbidden) IsSuccess() bool
IsSuccess returns true when this update mod forbidden response has a 2xx status code
func (*UpdateModForbidden) String ¶
func (o *UpdateModForbidden) String() string
type UpdateModNotFound ¶
type UpdateModNotFound struct {
Payload *models.GeneralError
}
UpdateModNotFound describes a response with status code 404, with default header values.
Mod not found
func NewUpdateModNotFound ¶
func NewUpdateModNotFound() *UpdateModNotFound
NewUpdateModNotFound creates a UpdateModNotFound with default headers values
func (*UpdateModNotFound) Code ¶
func (o *UpdateModNotFound) Code() int
Code gets the status code for the update mod not found response
func (*UpdateModNotFound) Error ¶
func (o *UpdateModNotFound) Error() string
func (*UpdateModNotFound) GetPayload ¶
func (o *UpdateModNotFound) GetPayload() *models.GeneralError
func (*UpdateModNotFound) IsClientError ¶
func (o *UpdateModNotFound) IsClientError() bool
IsClientError returns true when this update mod not found response has a 4xx status code
func (*UpdateModNotFound) IsCode ¶
func (o *UpdateModNotFound) IsCode(code int) bool
IsCode returns true when this update mod not found response a status code equal to that given
func (*UpdateModNotFound) IsRedirect ¶
func (o *UpdateModNotFound) IsRedirect() bool
IsRedirect returns true when this update mod not found response has a 3xx status code
func (*UpdateModNotFound) IsServerError ¶
func (o *UpdateModNotFound) IsServerError() bool
IsServerError returns true when this update mod not found response has a 5xx status code
func (*UpdateModNotFound) IsSuccess ¶
func (o *UpdateModNotFound) IsSuccess() bool
IsSuccess returns true when this update mod not found response has a 2xx status code
func (*UpdateModNotFound) String ¶
func (o *UpdateModNotFound) String() string
type UpdateModOK ¶
UpdateModOK describes a response with status code 200, with default header values.
The updated mod details
func NewUpdateModOK ¶
func NewUpdateModOK() *UpdateModOK
NewUpdateModOK creates a UpdateModOK with default headers values
func (*UpdateModOK) Code ¶
func (o *UpdateModOK) Code() int
Code gets the status code for the update mod o k response
func (*UpdateModOK) Error ¶
func (o *UpdateModOK) Error() string
func (*UpdateModOK) GetPayload ¶
func (o *UpdateModOK) GetPayload() *models.Mod
func (*UpdateModOK) IsClientError ¶
func (o *UpdateModOK) IsClientError() bool
IsClientError returns true when this update mod o k response has a 4xx status code
func (*UpdateModOK) IsCode ¶
func (o *UpdateModOK) IsCode(code int) bool
IsCode returns true when this update mod o k response a status code equal to that given
func (*UpdateModOK) IsRedirect ¶
func (o *UpdateModOK) IsRedirect() bool
IsRedirect returns true when this update mod o k response has a 3xx status code
func (*UpdateModOK) IsServerError ¶
func (o *UpdateModOK) IsServerError() bool
IsServerError returns true when this update mod o k response has a 5xx status code
func (*UpdateModOK) IsSuccess ¶
func (o *UpdateModOK) IsSuccess() bool
IsSuccess returns true when this update mod o k response has a 2xx status code
func (*UpdateModOK) String ¶
func (o *UpdateModOK) String() string
type UpdateModParams ¶
type UpdateModParams struct { /* Mod. The mod data to update */ Mod *models.Mod /* ModID. A mod UUID or slug */ ModID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateModParams contains all the parameters to send to the API endpoint
for the update mod operation. Typically these are written to a http.Request.
func NewUpdateModParams ¶
func NewUpdateModParams() *UpdateModParams
NewUpdateModParams creates a new UpdateModParams 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 NewUpdateModParamsWithContext ¶
func NewUpdateModParamsWithContext(ctx context.Context) *UpdateModParams
NewUpdateModParamsWithContext creates a new UpdateModParams object with the ability to set a context for a request.
func NewUpdateModParamsWithHTTPClient ¶
func NewUpdateModParamsWithHTTPClient(client *http.Client) *UpdateModParams
NewUpdateModParamsWithHTTPClient creates a new UpdateModParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateModParamsWithTimeout ¶
func NewUpdateModParamsWithTimeout(timeout time.Duration) *UpdateModParams
NewUpdateModParamsWithTimeout creates a new UpdateModParams object with the ability to set a timeout on a request.
func (*UpdateModParams) SetContext ¶
func (o *UpdateModParams) SetContext(ctx context.Context)
SetContext adds the context to the update mod params
func (*UpdateModParams) SetDefaults ¶
func (o *UpdateModParams) SetDefaults()
SetDefaults hydrates default values in the update mod params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateModParams) SetHTTPClient ¶
func (o *UpdateModParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update mod params
func (*UpdateModParams) SetMod ¶
func (o *UpdateModParams) SetMod(mod *models.Mod)
SetMod adds the mod to the update mod params
func (*UpdateModParams) SetModID ¶
func (o *UpdateModParams) SetModID(modID string)
SetModID adds the modId to the update mod params
func (*UpdateModParams) SetTimeout ¶
func (o *UpdateModParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update mod params
func (*UpdateModParams) WithContext ¶
func (o *UpdateModParams) WithContext(ctx context.Context) *UpdateModParams
WithContext adds the context to the update mod params
func (*UpdateModParams) WithDefaults ¶
func (o *UpdateModParams) WithDefaults() *UpdateModParams
WithDefaults hydrates default values in the update mod params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateModParams) WithHTTPClient ¶
func (o *UpdateModParams) WithHTTPClient(client *http.Client) *UpdateModParams
WithHTTPClient adds the HTTPClient to the update mod params
func (*UpdateModParams) WithMod ¶
func (o *UpdateModParams) WithMod(mod *models.Mod) *UpdateModParams
WithMod adds the mod to the update mod params
func (*UpdateModParams) WithModID ¶
func (o *UpdateModParams) WithModID(modID string) *UpdateModParams
WithModID adds the modID to the update mod params
func (*UpdateModParams) WithTimeout ¶
func (o *UpdateModParams) WithTimeout(timeout time.Duration) *UpdateModParams
WithTimeout adds the timeout to the update mod params
func (*UpdateModParams) WriteToRequest ¶
func (o *UpdateModParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateModReader ¶
type UpdateModReader struct {
// contains filtered or unexported fields
}
UpdateModReader is a Reader for the UpdateMod structure.
func (*UpdateModReader) ReadResponse ¶
func (o *UpdateModReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateModUnprocessableEntity ¶
type UpdateModUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateModUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewUpdateModUnprocessableEntity ¶
func NewUpdateModUnprocessableEntity() *UpdateModUnprocessableEntity
NewUpdateModUnprocessableEntity creates a UpdateModUnprocessableEntity with default headers values
func (*UpdateModUnprocessableEntity) Code ¶
func (o *UpdateModUnprocessableEntity) Code() int
Code gets the status code for the update mod unprocessable entity response
func (*UpdateModUnprocessableEntity) Error ¶
func (o *UpdateModUnprocessableEntity) Error() string
func (*UpdateModUnprocessableEntity) GetPayload ¶
func (o *UpdateModUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdateModUnprocessableEntity) IsClientError ¶
func (o *UpdateModUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update mod unprocessable entity response has a 4xx status code
func (*UpdateModUnprocessableEntity) IsCode ¶
func (o *UpdateModUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update mod unprocessable entity response a status code equal to that given
func (*UpdateModUnprocessableEntity) IsRedirect ¶
func (o *UpdateModUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update mod unprocessable entity response has a 3xx status code
func (*UpdateModUnprocessableEntity) IsServerError ¶
func (o *UpdateModUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update mod unprocessable entity response has a 5xx status code
func (*UpdateModUnprocessableEntity) IsSuccess ¶
func (o *UpdateModUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update mod unprocessable entity response has a 2xx status code
func (*UpdateModUnprocessableEntity) String ¶
func (o *UpdateModUnprocessableEntity) String() string
type UpdateVersionDefault ¶
type UpdateVersionDefault struct { Payload *models.GeneralError // contains filtered or unexported fields }
UpdateVersionDefault describes a response with status code -1, with default header values.
Some error unrelated to the handler
func NewUpdateVersionDefault ¶
func NewUpdateVersionDefault(code int) *UpdateVersionDefault
NewUpdateVersionDefault creates a UpdateVersionDefault with default headers values
func (*UpdateVersionDefault) Code ¶
func (o *UpdateVersionDefault) Code() int
Code gets the status code for the update version default response
func (*UpdateVersionDefault) Error ¶
func (o *UpdateVersionDefault) Error() string
func (*UpdateVersionDefault) GetPayload ¶
func (o *UpdateVersionDefault) GetPayload() *models.GeneralError
func (*UpdateVersionDefault) IsClientError ¶
func (o *UpdateVersionDefault) IsClientError() bool
IsClientError returns true when this update version default response has a 4xx status code
func (*UpdateVersionDefault) IsCode ¶
func (o *UpdateVersionDefault) IsCode(code int) bool
IsCode returns true when this update version default response a status code equal to that given
func (*UpdateVersionDefault) IsRedirect ¶
func (o *UpdateVersionDefault) IsRedirect() bool
IsRedirect returns true when this update version default response has a 3xx status code
func (*UpdateVersionDefault) IsServerError ¶
func (o *UpdateVersionDefault) IsServerError() bool
IsServerError returns true when this update version default response has a 5xx status code
func (*UpdateVersionDefault) IsSuccess ¶
func (o *UpdateVersionDefault) IsSuccess() bool
IsSuccess returns true when this update version default response has a 2xx status code
func (*UpdateVersionDefault) String ¶
func (o *UpdateVersionDefault) String() string
type UpdateVersionForbidden ¶
type UpdateVersionForbidden struct {
Payload *models.GeneralError
}
UpdateVersionForbidden describes a response with status code 403, with default header values.
User is not authorized
func NewUpdateVersionForbidden ¶
func NewUpdateVersionForbidden() *UpdateVersionForbidden
NewUpdateVersionForbidden creates a UpdateVersionForbidden with default headers values
func (*UpdateVersionForbidden) Code ¶
func (o *UpdateVersionForbidden) Code() int
Code gets the status code for the update version forbidden response
func (*UpdateVersionForbidden) Error ¶
func (o *UpdateVersionForbidden) Error() string
func (*UpdateVersionForbidden) GetPayload ¶
func (o *UpdateVersionForbidden) GetPayload() *models.GeneralError
func (*UpdateVersionForbidden) IsClientError ¶
func (o *UpdateVersionForbidden) IsClientError() bool
IsClientError returns true when this update version forbidden response has a 4xx status code
func (*UpdateVersionForbidden) IsCode ¶
func (o *UpdateVersionForbidden) IsCode(code int) bool
IsCode returns true when this update version forbidden response a status code equal to that given
func (*UpdateVersionForbidden) IsRedirect ¶
func (o *UpdateVersionForbidden) IsRedirect() bool
IsRedirect returns true when this update version forbidden response has a 3xx status code
func (*UpdateVersionForbidden) IsServerError ¶
func (o *UpdateVersionForbidden) IsServerError() bool
IsServerError returns true when this update version forbidden response has a 5xx status code
func (*UpdateVersionForbidden) IsSuccess ¶
func (o *UpdateVersionForbidden) IsSuccess() bool
IsSuccess returns true when this update version forbidden response has a 2xx status code
func (*UpdateVersionForbidden) String ¶
func (o *UpdateVersionForbidden) String() string
type UpdateVersionNotFound ¶
type UpdateVersionNotFound struct {
Payload *models.GeneralError
}
UpdateVersionNotFound describes a response with status code 404, with default header values.
Version or mod not found
func NewUpdateVersionNotFound ¶
func NewUpdateVersionNotFound() *UpdateVersionNotFound
NewUpdateVersionNotFound creates a UpdateVersionNotFound with default headers values
func (*UpdateVersionNotFound) Code ¶
func (o *UpdateVersionNotFound) Code() int
Code gets the status code for the update version not found response
func (*UpdateVersionNotFound) Error ¶
func (o *UpdateVersionNotFound) Error() string
func (*UpdateVersionNotFound) GetPayload ¶
func (o *UpdateVersionNotFound) GetPayload() *models.GeneralError
func (*UpdateVersionNotFound) IsClientError ¶
func (o *UpdateVersionNotFound) IsClientError() bool
IsClientError returns true when this update version not found response has a 4xx status code
func (*UpdateVersionNotFound) IsCode ¶
func (o *UpdateVersionNotFound) IsCode(code int) bool
IsCode returns true when this update version not found response a status code equal to that given
func (*UpdateVersionNotFound) IsRedirect ¶
func (o *UpdateVersionNotFound) IsRedirect() bool
IsRedirect returns true when this update version not found response has a 3xx status code
func (*UpdateVersionNotFound) IsServerError ¶
func (o *UpdateVersionNotFound) IsServerError() bool
IsServerError returns true when this update version not found response has a 5xx status code
func (*UpdateVersionNotFound) IsSuccess ¶
func (o *UpdateVersionNotFound) IsSuccess() bool
IsSuccess returns true when this update version not found response has a 2xx status code
func (*UpdateVersionNotFound) String ¶
func (o *UpdateVersionNotFound) String() string
type UpdateVersionOK ¶
UpdateVersionOK describes a response with status code 200, with default header values.
The updated version details
func NewUpdateVersionOK ¶
func NewUpdateVersionOK() *UpdateVersionOK
NewUpdateVersionOK creates a UpdateVersionOK with default headers values
func (*UpdateVersionOK) Code ¶
func (o *UpdateVersionOK) Code() int
Code gets the status code for the update version o k response
func (*UpdateVersionOK) Error ¶
func (o *UpdateVersionOK) Error() string
func (*UpdateVersionOK) GetPayload ¶
func (o *UpdateVersionOK) GetPayload() *models.Version
func (*UpdateVersionOK) IsClientError ¶
func (o *UpdateVersionOK) IsClientError() bool
IsClientError returns true when this update version o k response has a 4xx status code
func (*UpdateVersionOK) IsCode ¶
func (o *UpdateVersionOK) IsCode(code int) bool
IsCode returns true when this update version o k response a status code equal to that given
func (*UpdateVersionOK) IsRedirect ¶
func (o *UpdateVersionOK) IsRedirect() bool
IsRedirect returns true when this update version o k response has a 3xx status code
func (*UpdateVersionOK) IsServerError ¶
func (o *UpdateVersionOK) IsServerError() bool
IsServerError returns true when this update version o k response has a 5xx status code
func (*UpdateVersionOK) IsSuccess ¶
func (o *UpdateVersionOK) IsSuccess() bool
IsSuccess returns true when this update version o k response has a 2xx status code
func (*UpdateVersionOK) String ¶
func (o *UpdateVersionOK) String() string
type UpdateVersionParams ¶
type UpdateVersionParams struct { /* ModID. A mod UUID or slug */ ModID string /* Version. The version data to update */ Version *models.Version /* VersionID. A version UUID or slug */ VersionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVersionParams contains all the parameters to send to the API endpoint
for the update version operation. Typically these are written to a http.Request.
func NewUpdateVersionParams ¶
func NewUpdateVersionParams() *UpdateVersionParams
NewUpdateVersionParams creates a new UpdateVersionParams 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 NewUpdateVersionParamsWithContext ¶
func NewUpdateVersionParamsWithContext(ctx context.Context) *UpdateVersionParams
NewUpdateVersionParamsWithContext creates a new UpdateVersionParams object with the ability to set a context for a request.
func NewUpdateVersionParamsWithHTTPClient ¶
func NewUpdateVersionParamsWithHTTPClient(client *http.Client) *UpdateVersionParams
NewUpdateVersionParamsWithHTTPClient creates a new UpdateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVersionParamsWithTimeout ¶
func NewUpdateVersionParamsWithTimeout(timeout time.Duration) *UpdateVersionParams
NewUpdateVersionParamsWithTimeout creates a new UpdateVersionParams object with the ability to set a timeout on a request.
func (*UpdateVersionParams) SetContext ¶
func (o *UpdateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the update version params
func (*UpdateVersionParams) SetDefaults ¶
func (o *UpdateVersionParams) SetDefaults()
SetDefaults hydrates default values in the update version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVersionParams) SetHTTPClient ¶
func (o *UpdateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update version params
func (*UpdateVersionParams) SetModID ¶
func (o *UpdateVersionParams) SetModID(modID string)
SetModID adds the modId to the update version params
func (*UpdateVersionParams) SetTimeout ¶
func (o *UpdateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update version params
func (*UpdateVersionParams) SetVersion ¶
func (o *UpdateVersionParams) SetVersion(version *models.Version)
SetVersion adds the version to the update version params
func (*UpdateVersionParams) SetVersionID ¶
func (o *UpdateVersionParams) SetVersionID(versionID string)
SetVersionID adds the versionId to the update version params
func (*UpdateVersionParams) WithContext ¶
func (o *UpdateVersionParams) WithContext(ctx context.Context) *UpdateVersionParams
WithContext adds the context to the update version params
func (*UpdateVersionParams) WithDefaults ¶
func (o *UpdateVersionParams) WithDefaults() *UpdateVersionParams
WithDefaults hydrates default values in the update version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVersionParams) WithHTTPClient ¶
func (o *UpdateVersionParams) WithHTTPClient(client *http.Client) *UpdateVersionParams
WithHTTPClient adds the HTTPClient to the update version params
func (*UpdateVersionParams) WithModID ¶
func (o *UpdateVersionParams) WithModID(modID string) *UpdateVersionParams
WithModID adds the modID to the update version params
func (*UpdateVersionParams) WithTimeout ¶
func (o *UpdateVersionParams) WithTimeout(timeout time.Duration) *UpdateVersionParams
WithTimeout adds the timeout to the update version params
func (*UpdateVersionParams) WithVersion ¶
func (o *UpdateVersionParams) WithVersion(version *models.Version) *UpdateVersionParams
WithVersion adds the version to the update version params
func (*UpdateVersionParams) WithVersionID ¶
func (o *UpdateVersionParams) WithVersionID(versionID string) *UpdateVersionParams
WithVersionID adds the versionID to the update version params
func (*UpdateVersionParams) WriteToRequest ¶
func (o *UpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVersionReader ¶
type UpdateVersionReader struct {
// contains filtered or unexported fields
}
UpdateVersionReader is a Reader for the UpdateVersion structure.
func (*UpdateVersionReader) ReadResponse ¶
func (o *UpdateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVersionUnprocessableEntity ¶
type UpdateVersionUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateVersionUnprocessableEntity describes a response with status code 422, with default header values.
Failed to validate request
func NewUpdateVersionUnprocessableEntity ¶
func NewUpdateVersionUnprocessableEntity() *UpdateVersionUnprocessableEntity
NewUpdateVersionUnprocessableEntity creates a UpdateVersionUnprocessableEntity with default headers values
func (*UpdateVersionUnprocessableEntity) Code ¶
func (o *UpdateVersionUnprocessableEntity) Code() int
Code gets the status code for the update version unprocessable entity response
func (*UpdateVersionUnprocessableEntity) Error ¶
func (o *UpdateVersionUnprocessableEntity) Error() string
func (*UpdateVersionUnprocessableEntity) GetPayload ¶
func (o *UpdateVersionUnprocessableEntity) GetPayload() *models.ValidationError
func (*UpdateVersionUnprocessableEntity) IsClientError ¶
func (o *UpdateVersionUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update version unprocessable entity response has a 4xx status code
func (*UpdateVersionUnprocessableEntity) IsCode ¶
func (o *UpdateVersionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update version unprocessable entity response a status code equal to that given
func (*UpdateVersionUnprocessableEntity) IsRedirect ¶
func (o *UpdateVersionUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update version unprocessable entity response has a 3xx status code
func (*UpdateVersionUnprocessableEntity) IsServerError ¶
func (o *UpdateVersionUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update version unprocessable entity response has a 5xx status code
func (*UpdateVersionUnprocessableEntity) IsSuccess ¶
func (o *UpdateVersionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update version unprocessable entity response has a 2xx status code
func (*UpdateVersionUnprocessableEntity) String ¶
func (o *UpdateVersionUnprocessableEntity) String() string
Source Files ¶
- append_version_to_build_parameters.go
- append_version_to_build_responses.go
- attach_mod_to_team_parameters.go
- attach_mod_to_team_responses.go
- attach_mod_to_user_parameters.go
- attach_mod_to_user_responses.go
- create_mod_parameters.go
- create_mod_responses.go
- create_version_parameters.go
- create_version_responses.go
- delete_mod_from_team_parameters.go
- delete_mod_from_team_responses.go
- delete_mod_from_user_parameters.go
- delete_mod_from_user_responses.go
- delete_mod_parameters.go
- delete_mod_responses.go
- delete_version_from_build_parameters.go
- delete_version_from_build_responses.go
- delete_version_parameters.go
- delete_version_responses.go
- list_mod_teams_parameters.go
- list_mod_teams_responses.go
- list_mod_users_parameters.go
- list_mod_users_responses.go
- list_mods_parameters.go
- list_mods_responses.go
- list_version_builds_parameters.go
- list_version_builds_responses.go
- list_versions_parameters.go
- list_versions_responses.go
- mod_client.go
- permit_mod_team_parameters.go
- permit_mod_team_responses.go
- permit_mod_user_parameters.go
- permit_mod_user_responses.go
- show_mod_parameters.go
- show_mod_responses.go
- show_version_parameters.go
- show_version_responses.go
- update_mod_parameters.go
- update_mod_responses.go
- update_version_parameters.go
- update_version_responses.go