mod

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 (*AppendVersionToBuildDefault) GetPayload

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

Code gets the status code for the append version to build forbidden response

func (*AppendVersionToBuildForbidden) Error

func (*AppendVersionToBuildForbidden) GetPayload

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

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

Code gets the status code for the append version to build not found response

func (*AppendVersionToBuildNotFound) Error

func (*AppendVersionToBuildNotFound) GetPayload

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

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

WithContext adds the context to the append version to build params

func (*AppendVersionToBuildParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the append version to build params

func (*AppendVersionToBuildParams) WithModID

WithModID adds the modID to the append version to build params

func (*AppendVersionToBuildParams) WithTimeout

WithTimeout adds the timeout to the append version to build params

func (*AppendVersionToBuildParams) WithVersionBuild

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

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

Code gets the status code for the append version to build precondition failed response

func (*AppendVersionToBuildPreconditionFailed) Error

func (*AppendVersionToBuildPreconditionFailed) GetPayload

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

IsCode returns true when this append version to build precondition failed response a status code equal to that given

func (*AppendVersionToBuildPreconditionFailed) IsRedirect

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

IsSuccess returns true when this append version to build precondition failed response has a 2xx status code

func (*AppendVersionToBuildPreconditionFailed) 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

Code gets the status code for the append version to build unprocessable entity response

func (*AppendVersionToBuildUnprocessableEntity) Error

func (*AppendVersionToBuildUnprocessableEntity) GetPayload

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

IsCode returns true when this append version to build unprocessable entity response a status code equal to that given

func (*AppendVersionToBuildUnprocessableEntity) IsRedirect

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

IsSuccess returns true when this append version to build unprocessable entity response has a 2xx status code

func (*AppendVersionToBuildUnprocessableEntity) 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

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

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

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

func (*AttachModToTeamPreconditionFailed) Error

func (*AttachModToTeamPreconditionFailed) GetPayload

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

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

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

func (*AttachModToTeamUnprocessableEntity) Error

func (*AttachModToTeamUnprocessableEntity) GetPayload

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

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

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

func (*AttachModToTeamUnprocessableEntity) 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

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

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

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

func (*AttachModToUserPreconditionFailed) Error

func (*AttachModToUserPreconditionFailed) GetPayload

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

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

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

func (*AttachModToUserUnprocessableEntity) Error

func (*AttachModToUserUnprocessableEntity) GetPayload

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

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

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

func (*AttachModToUserUnprocessableEntity) 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

type CreateModOK struct {
	Payload *models.Mod
}

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

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

func (*CreateModUnprocessableEntity) Error

func (*CreateModUnprocessableEntity) GetPayload

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

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

type CreateVersionOK struct {
	Payload *models.Version
}

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

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

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

func (*CreateVersionUnprocessableEntity) Error

func (*CreateVersionUnprocessableEntity) GetPayload

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

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 (*DeleteModFromTeamForbidden) GetPayload

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 (*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

WithContext adds the context to the delete mod from team params

func (*DeleteModFromTeamParams) WithDefaults

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

WithModID adds the modID to the delete mod from team params

func (*DeleteModFromTeamParams) WithModTeam

WithModTeam adds the modTeam to the delete mod from team params

func (*DeleteModFromTeamParams) WithTimeout

WithTimeout adds the timeout to the delete mod from team params

func (*DeleteModFromTeamParams) WriteToRequest

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

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

func (*DeleteModFromTeamPreconditionFailed) Error

func (*DeleteModFromTeamPreconditionFailed) GetPayload

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

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

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

func (*DeleteModFromTeamPreconditionFailed) 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 (*DeleteModFromUserForbidden) GetPayload

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 (*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

WithContext adds the context to the delete mod from user params

func (*DeleteModFromUserParams) WithDefaults

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

WithModID adds the modID to the delete mod from user params

func (*DeleteModFromUserParams) WithModUser

WithModUser adds the modUser to the delete mod from user params

func (*DeleteModFromUserParams) WithTimeout

WithTimeout adds the timeout to the delete mod from user params

func (*DeleteModFromUserParams) WriteToRequest

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

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

func (*DeleteModFromUserPreconditionFailed) Error

func (*DeleteModFromUserPreconditionFailed) GetPayload

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

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

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

func (*DeleteModFromUserPreconditionFailed) 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

Code gets the status code for the delete version from build bad request response

func (*DeleteVersionFromBuildBadRequest) Error

func (*DeleteVersionFromBuildBadRequest) GetPayload

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

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

Code gets the status code for the delete version from build default response

func (*DeleteVersionFromBuildDefault) Error

func (*DeleteVersionFromBuildDefault) GetPayload

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

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

Code gets the status code for the delete version from build forbidden response

func (*DeleteVersionFromBuildForbidden) Error

func (*DeleteVersionFromBuildForbidden) GetPayload

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

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

Code gets the status code for the delete version from build not found response

func (*DeleteVersionFromBuildNotFound) Error

func (*DeleteVersionFromBuildNotFound) GetPayload

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

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

WithContext adds the context to the delete version from build params

func (*DeleteVersionFromBuildParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete version from build params

func (*DeleteVersionFromBuildParams) WithModID

WithModID adds the modID to the delete version from build params

func (*DeleteVersionFromBuildParams) WithTimeout

WithTimeout adds the timeout to the delete version from build params

func (*DeleteVersionFromBuildParams) WithVersionBuild

WithVersionBuild adds the versionBuild to the delete version from build params

func (*DeleteVersionFromBuildParams) WithVersionID

WithVersionID adds the versionID to the delete version from build params

func (*DeleteVersionFromBuildParams) WriteToRequest

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

Code gets the status code for the delete version from build precondition failed response

func (*DeleteVersionFromBuildPreconditionFailed) Error

func (*DeleteVersionFromBuildPreconditionFailed) GetPayload

func (*DeleteVersionFromBuildPreconditionFailed) IsClientError

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

func (*DeleteVersionFromBuildPreconditionFailed) IsCode

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

func (*DeleteVersionFromBuildPreconditionFailed) IsRedirect

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

func (*DeleteVersionFromBuildPreconditionFailed) IsServerError

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

func (*DeleteVersionFromBuildPreconditionFailed) IsSuccess

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

func (*DeleteVersionFromBuildPreconditionFailed) 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

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

type ListModTeamsOK struct {
	Payload *models.ModTeams
}

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

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

type ListModUsersOK struct {
	Payload *models.ModUsers
}

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

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

type ListModsOK struct {
	Payload *models.Mods
}

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 (*ListVersionBuildsForbidden) GetPayload

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 (*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

WithContext adds the context to the list version builds params

func (*ListVersionBuildsParams) WithDefaults

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

WithModID adds the modID to the list version builds params

func (*ListVersionBuildsParams) WithTimeout

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

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

type ListVersionsOK struct {
	Payload *models.Versions
}

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

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

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

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

func (*PermitModTeamPreconditionFailed) Error

func (*PermitModTeamPreconditionFailed) GetPayload

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

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

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

func (*PermitModTeamUnprocessableEntity) Error

func (*PermitModTeamUnprocessableEntity) GetPayload

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

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

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

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

func (*PermitModUserPreconditionFailed) Error

func (*PermitModUserPreconditionFailed) GetPayload

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

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

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

func (*PermitModUserUnprocessableEntity) Error

func (*PermitModUserUnprocessableEntity) GetPayload

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

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

type ShowModOK struct {
	Payload *models.Mod
}

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

func (o *ShowModOK) Code() int

Code gets the status code for the show mod o k response

func (*ShowModOK) Error

func (o *ShowModOK) Error() string

func (*ShowModOK) GetPayload

func (o *ShowModOK) GetPayload() *models.Mod

func (*ShowModOK) IsClientError

func (o *ShowModOK) IsClientError() bool

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

func (*ShowModOK) IsCode

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

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

func (*ShowModOK) IsRedirect

func (o *ShowModOK) IsRedirect() bool

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

func (*ShowModOK) IsServerError

func (o *ShowModOK) IsServerError() bool

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

func (*ShowModOK) IsSuccess

func (o *ShowModOK) IsSuccess() bool

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

func (*ShowModOK) String

func (o *ShowModOK) String() string

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

type ShowVersionOK struct {
	Payload *models.Version
}

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

type UpdateModOK struct {
	Payload *models.Mod
}

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

Code gets the status code for the update mod unprocessable entity response

func (*UpdateModUnprocessableEntity) Error

func (*UpdateModUnprocessableEntity) GetPayload

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

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

type UpdateVersionOK struct {
	Payload *models.Version
}

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

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

Code gets the status code for the update version unprocessable entity response

func (*UpdateVersionUnprocessableEntity) Error

func (*UpdateVersionUnprocessableEntity) GetPayload

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL