minecraft

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 AppendMinecraftToBuildDefault

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

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

Some error unrelated to the handler

func NewAppendMinecraftToBuildDefault

func NewAppendMinecraftToBuildDefault(code int) *AppendMinecraftToBuildDefault

NewAppendMinecraftToBuildDefault creates a AppendMinecraftToBuildDefault with default headers values

func (*AppendMinecraftToBuildDefault) Code

Code gets the status code for the append minecraft to build default response

func (*AppendMinecraftToBuildDefault) Error

func (*AppendMinecraftToBuildDefault) GetPayload

func (*AppendMinecraftToBuildDefault) IsClientError

func (o *AppendMinecraftToBuildDefault) IsClientError() bool

IsClientError returns true when this append minecraft to build default response has a 4xx status code

func (*AppendMinecraftToBuildDefault) IsCode

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

IsCode returns true when this append minecraft to build default response a status code equal to that given

func (*AppendMinecraftToBuildDefault) IsRedirect

func (o *AppendMinecraftToBuildDefault) IsRedirect() bool

IsRedirect returns true when this append minecraft to build default response has a 3xx status code

func (*AppendMinecraftToBuildDefault) IsServerError

func (o *AppendMinecraftToBuildDefault) IsServerError() bool

IsServerError returns true when this append minecraft to build default response has a 5xx status code

func (*AppendMinecraftToBuildDefault) IsSuccess

func (o *AppendMinecraftToBuildDefault) IsSuccess() bool

IsSuccess returns true when this append minecraft to build default response has a 2xx status code

func (*AppendMinecraftToBuildDefault) String

type AppendMinecraftToBuildForbidden

type AppendMinecraftToBuildForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewAppendMinecraftToBuildForbidden

func NewAppendMinecraftToBuildForbidden() *AppendMinecraftToBuildForbidden

NewAppendMinecraftToBuildForbidden creates a AppendMinecraftToBuildForbidden with default headers values

func (*AppendMinecraftToBuildForbidden) Code

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

func (*AppendMinecraftToBuildForbidden) Error

func (*AppendMinecraftToBuildForbidden) GetPayload

func (*AppendMinecraftToBuildForbidden) IsClientError

func (o *AppendMinecraftToBuildForbidden) IsClientError() bool

IsClientError returns true when this append minecraft to build forbidden response has a 4xx status code

func (*AppendMinecraftToBuildForbidden) IsCode

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

IsCode returns true when this append minecraft to build forbidden response a status code equal to that given

func (*AppendMinecraftToBuildForbidden) IsRedirect

func (o *AppendMinecraftToBuildForbidden) IsRedirect() bool

IsRedirect returns true when this append minecraft to build forbidden response has a 3xx status code

func (*AppendMinecraftToBuildForbidden) IsServerError

func (o *AppendMinecraftToBuildForbidden) IsServerError() bool

IsServerError returns true when this append minecraft to build forbidden response has a 5xx status code

func (*AppendMinecraftToBuildForbidden) IsSuccess

func (o *AppendMinecraftToBuildForbidden) IsSuccess() bool

IsSuccess returns true when this append minecraft to build forbidden response has a 2xx status code

func (*AppendMinecraftToBuildForbidden) String

type AppendMinecraftToBuildNotAcceptable

type AppendMinecraftToBuildNotAcceptable struct {
	Payload *models.GeneralError
}

AppendMinecraftToBuildNotAcceptable describes a response with status code 406, with default header values.

Failed to update build

func NewAppendMinecraftToBuildNotAcceptable

func NewAppendMinecraftToBuildNotAcceptable() *AppendMinecraftToBuildNotAcceptable

NewAppendMinecraftToBuildNotAcceptable creates a AppendMinecraftToBuildNotAcceptable with default headers values

func (*AppendMinecraftToBuildNotAcceptable) Code

Code gets the status code for the append minecraft to build not acceptable response

func (*AppendMinecraftToBuildNotAcceptable) Error

func (*AppendMinecraftToBuildNotAcceptable) GetPayload

func (*AppendMinecraftToBuildNotAcceptable) IsClientError

func (o *AppendMinecraftToBuildNotAcceptable) IsClientError() bool

IsClientError returns true when this append minecraft to build not acceptable response has a 4xx status code

func (*AppendMinecraftToBuildNotAcceptable) IsCode

IsCode returns true when this append minecraft to build not acceptable response a status code equal to that given

func (*AppendMinecraftToBuildNotAcceptable) IsRedirect

func (o *AppendMinecraftToBuildNotAcceptable) IsRedirect() bool

IsRedirect returns true when this append minecraft to build not acceptable response has a 3xx status code

func (*AppendMinecraftToBuildNotAcceptable) IsServerError

func (o *AppendMinecraftToBuildNotAcceptable) IsServerError() bool

IsServerError returns true when this append minecraft to build not acceptable response has a 5xx status code

func (*AppendMinecraftToBuildNotAcceptable) IsSuccess

IsSuccess returns true when this append minecraft to build not acceptable response has a 2xx status code

func (*AppendMinecraftToBuildNotAcceptable) String

type AppendMinecraftToBuildNotFound

type AppendMinecraftToBuildNotFound struct {
	Payload *models.GeneralError
}

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

Minecraft or build not found

func NewAppendMinecraftToBuildNotFound

func NewAppendMinecraftToBuildNotFound() *AppendMinecraftToBuildNotFound

NewAppendMinecraftToBuildNotFound creates a AppendMinecraftToBuildNotFound with default headers values

func (*AppendMinecraftToBuildNotFound) Code

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

func (*AppendMinecraftToBuildNotFound) Error

func (*AppendMinecraftToBuildNotFound) GetPayload

func (*AppendMinecraftToBuildNotFound) IsClientError

func (o *AppendMinecraftToBuildNotFound) IsClientError() bool

IsClientError returns true when this append minecraft to build not found response has a 4xx status code

func (*AppendMinecraftToBuildNotFound) IsCode

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

IsCode returns true when this append minecraft to build not found response a status code equal to that given

func (*AppendMinecraftToBuildNotFound) IsRedirect

func (o *AppendMinecraftToBuildNotFound) IsRedirect() bool

IsRedirect returns true when this append minecraft to build not found response has a 3xx status code

func (*AppendMinecraftToBuildNotFound) IsServerError

func (o *AppendMinecraftToBuildNotFound) IsServerError() bool

IsServerError returns true when this append minecraft to build not found response has a 5xx status code

func (*AppendMinecraftToBuildNotFound) IsSuccess

func (o *AppendMinecraftToBuildNotFound) IsSuccess() bool

IsSuccess returns true when this append minecraft to build not found response has a 2xx status code

func (*AppendMinecraftToBuildNotFound) String

type AppendMinecraftToBuildOK

type AppendMinecraftToBuildOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewAppendMinecraftToBuildOK

func NewAppendMinecraftToBuildOK() *AppendMinecraftToBuildOK

NewAppendMinecraftToBuildOK creates a AppendMinecraftToBuildOK with default headers values

func (*AppendMinecraftToBuildOK) Code

func (o *AppendMinecraftToBuildOK) Code() int

Code gets the status code for the append minecraft to build o k response

func (*AppendMinecraftToBuildOK) Error

func (o *AppendMinecraftToBuildOK) Error() string

func (*AppendMinecraftToBuildOK) GetPayload

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

func (*AppendMinecraftToBuildOK) IsClientError

func (o *AppendMinecraftToBuildOK) IsClientError() bool

IsClientError returns true when this append minecraft to build o k response has a 4xx status code

func (*AppendMinecraftToBuildOK) IsCode

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

IsCode returns true when this append minecraft to build o k response a status code equal to that given

func (*AppendMinecraftToBuildOK) IsRedirect

func (o *AppendMinecraftToBuildOK) IsRedirect() bool

IsRedirect returns true when this append minecraft to build o k response has a 3xx status code

func (*AppendMinecraftToBuildOK) IsServerError

func (o *AppendMinecraftToBuildOK) IsServerError() bool

IsServerError returns true when this append minecraft to build o k response has a 5xx status code

func (*AppendMinecraftToBuildOK) IsSuccess

func (o *AppendMinecraftToBuildOK) IsSuccess() bool

IsSuccess returns true when this append minecraft to build o k response has a 2xx status code

func (*AppendMinecraftToBuildOK) String

func (o *AppendMinecraftToBuildOK) String() string

type AppendMinecraftToBuildParams

type AppendMinecraftToBuildParams struct {

	/* MinecraftBuild.

	   The build data to append
	*/
	MinecraftBuild *models.MinecraftBuildParams

	/* MinecraftID.

	   A minecraft UUID or slug
	*/
	MinecraftID string

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

AppendMinecraftToBuildParams contains all the parameters to send to the API endpoint

for the append minecraft to build operation.

Typically these are written to a http.Request.

func NewAppendMinecraftToBuildParams

func NewAppendMinecraftToBuildParams() *AppendMinecraftToBuildParams

NewAppendMinecraftToBuildParams creates a new AppendMinecraftToBuildParams 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 NewAppendMinecraftToBuildParamsWithContext

func NewAppendMinecraftToBuildParamsWithContext(ctx context.Context) *AppendMinecraftToBuildParams

NewAppendMinecraftToBuildParamsWithContext creates a new AppendMinecraftToBuildParams object with the ability to set a context for a request.

func NewAppendMinecraftToBuildParamsWithHTTPClient

func NewAppendMinecraftToBuildParamsWithHTTPClient(client *http.Client) *AppendMinecraftToBuildParams

NewAppendMinecraftToBuildParamsWithHTTPClient creates a new AppendMinecraftToBuildParams object with the ability to set a custom HTTPClient for a request.

func NewAppendMinecraftToBuildParamsWithTimeout

func NewAppendMinecraftToBuildParamsWithTimeout(timeout time.Duration) *AppendMinecraftToBuildParams

NewAppendMinecraftToBuildParamsWithTimeout creates a new AppendMinecraftToBuildParams object with the ability to set a timeout on a request.

func (*AppendMinecraftToBuildParams) SetContext

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

SetContext adds the context to the append minecraft to build params

func (*AppendMinecraftToBuildParams) SetDefaults

func (o *AppendMinecraftToBuildParams) SetDefaults()

SetDefaults hydrates default values in the append minecraft to build params (not the query body).

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

func (*AppendMinecraftToBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the append minecraft to build params

func (*AppendMinecraftToBuildParams) SetMinecraftBuild

func (o *AppendMinecraftToBuildParams) SetMinecraftBuild(minecraftBuild *models.MinecraftBuildParams)

SetMinecraftBuild adds the minecraftBuild to the append minecraft to build params

func (*AppendMinecraftToBuildParams) SetMinecraftID

func (o *AppendMinecraftToBuildParams) SetMinecraftID(minecraftID string)

SetMinecraftID adds the minecraftId to the append minecraft to build params

func (*AppendMinecraftToBuildParams) SetTimeout

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

SetTimeout adds the timeout to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WithContext

WithContext adds the context to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WithDefaults

WithDefaults hydrates default values in the append minecraft to build params (not the query body).

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

func (*AppendMinecraftToBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WithMinecraftBuild

WithMinecraftBuild adds the minecraftBuild to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WithMinecraftID

func (o *AppendMinecraftToBuildParams) WithMinecraftID(minecraftID string) *AppendMinecraftToBuildParams

WithMinecraftID adds the minecraftID to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WithTimeout

WithTimeout adds the timeout to the append minecraft to build params

func (*AppendMinecraftToBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendMinecraftToBuildPreconditionFailed

type AppendMinecraftToBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Build is already assigned

func NewAppendMinecraftToBuildPreconditionFailed

func NewAppendMinecraftToBuildPreconditionFailed() *AppendMinecraftToBuildPreconditionFailed

NewAppendMinecraftToBuildPreconditionFailed creates a AppendMinecraftToBuildPreconditionFailed with default headers values

func (*AppendMinecraftToBuildPreconditionFailed) Code

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

func (*AppendMinecraftToBuildPreconditionFailed) Error

func (*AppendMinecraftToBuildPreconditionFailed) GetPayload

func (*AppendMinecraftToBuildPreconditionFailed) IsClientError

IsClientError returns true when this append minecraft to build precondition failed response has a 4xx status code

func (*AppendMinecraftToBuildPreconditionFailed) IsCode

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

func (*AppendMinecraftToBuildPreconditionFailed) IsRedirect

IsRedirect returns true when this append minecraft to build precondition failed response has a 3xx status code

func (*AppendMinecraftToBuildPreconditionFailed) IsServerError

IsServerError returns true when this append minecraft to build precondition failed response has a 5xx status code

func (*AppendMinecraftToBuildPreconditionFailed) IsSuccess

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

func (*AppendMinecraftToBuildPreconditionFailed) String

type AppendMinecraftToBuildReader

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

AppendMinecraftToBuildReader is a Reader for the AppendMinecraftToBuild structure.

func (*AppendMinecraftToBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for minecraft API

func (*Client) AppendMinecraftToBuild

func (a *Client) AppendMinecraftToBuild(params *AppendMinecraftToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendMinecraftToBuildOK, error)

AppendMinecraftToBuild assigns a build to a minecraft version

func (*Client) DeleteMinecraftFromBuild

func (a *Client) DeleteMinecraftFromBuild(params *DeleteMinecraftFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMinecraftFromBuildOK, error)

DeleteMinecraftFromBuild unlinks a build from a minecraft version

func (*Client) ListMinecraftBuilds

func (a *Client) ListMinecraftBuilds(params *ListMinecraftBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMinecraftBuildsOK, error)

ListMinecraftBuilds fetches the builds assigned to a minecraft version

func (*Client) ListMinecrafts

func (a *Client) ListMinecrafts(params *ListMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMinecraftsOK, error)

ListMinecrafts fetches the available minecraft versions

func (*Client) SearchMinecrafts

func (a *Client) SearchMinecrafts(params *SearchMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchMinecraftsOK, error)

SearchMinecrafts searches for available minecraft versions

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateMinecraft

func (a *Client) UpdateMinecraft(params *UpdateMinecraftParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMinecraftOK, error)

UpdateMinecraft updates the available minecraft versions

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AppendMinecraftToBuild(params *AppendMinecraftToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendMinecraftToBuildOK, error)

	DeleteMinecraftFromBuild(params *DeleteMinecraftFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMinecraftFromBuildOK, error)

	ListMinecraftBuilds(params *ListMinecraftBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMinecraftBuildsOK, error)

	ListMinecrafts(params *ListMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMinecraftsOK, error)

	SearchMinecrafts(params *SearchMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchMinecraftsOK, error)

	UpdateMinecraft(params *UpdateMinecraftParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMinecraftOK, 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 minecraft API client.

type DeleteMinecraftFromBuildDefault

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

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

Some error unrelated to the handler

func NewDeleteMinecraftFromBuildDefault

func NewDeleteMinecraftFromBuildDefault(code int) *DeleteMinecraftFromBuildDefault

NewDeleteMinecraftFromBuildDefault creates a DeleteMinecraftFromBuildDefault with default headers values

func (*DeleteMinecraftFromBuildDefault) Code

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

func (*DeleteMinecraftFromBuildDefault) Error

func (*DeleteMinecraftFromBuildDefault) GetPayload

func (*DeleteMinecraftFromBuildDefault) IsClientError

func (o *DeleteMinecraftFromBuildDefault) IsClientError() bool

IsClientError returns true when this delete minecraft from build default response has a 4xx status code

func (*DeleteMinecraftFromBuildDefault) IsCode

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

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

func (*DeleteMinecraftFromBuildDefault) IsRedirect

func (o *DeleteMinecraftFromBuildDefault) IsRedirect() bool

IsRedirect returns true when this delete minecraft from build default response has a 3xx status code

func (*DeleteMinecraftFromBuildDefault) IsServerError

func (o *DeleteMinecraftFromBuildDefault) IsServerError() bool

IsServerError returns true when this delete minecraft from build default response has a 5xx status code

func (*DeleteMinecraftFromBuildDefault) IsSuccess

func (o *DeleteMinecraftFromBuildDefault) IsSuccess() bool

IsSuccess returns true when this delete minecraft from build default response has a 2xx status code

func (*DeleteMinecraftFromBuildDefault) String

type DeleteMinecraftFromBuildForbidden

type DeleteMinecraftFromBuildForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteMinecraftFromBuildForbidden

func NewDeleteMinecraftFromBuildForbidden() *DeleteMinecraftFromBuildForbidden

NewDeleteMinecraftFromBuildForbidden creates a DeleteMinecraftFromBuildForbidden with default headers values

func (*DeleteMinecraftFromBuildForbidden) Code

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

func (*DeleteMinecraftFromBuildForbidden) Error

func (*DeleteMinecraftFromBuildForbidden) GetPayload

func (*DeleteMinecraftFromBuildForbidden) IsClientError

func (o *DeleteMinecraftFromBuildForbidden) IsClientError() bool

IsClientError returns true when this delete minecraft from build forbidden response has a 4xx status code

func (*DeleteMinecraftFromBuildForbidden) IsCode

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

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

func (*DeleteMinecraftFromBuildForbidden) IsRedirect

func (o *DeleteMinecraftFromBuildForbidden) IsRedirect() bool

IsRedirect returns true when this delete minecraft from build forbidden response has a 3xx status code

func (*DeleteMinecraftFromBuildForbidden) IsServerError

func (o *DeleteMinecraftFromBuildForbidden) IsServerError() bool

IsServerError returns true when this delete minecraft from build forbidden response has a 5xx status code

func (*DeleteMinecraftFromBuildForbidden) IsSuccess

func (o *DeleteMinecraftFromBuildForbidden) IsSuccess() bool

IsSuccess returns true when this delete minecraft from build forbidden response has a 2xx status code

func (*DeleteMinecraftFromBuildForbidden) String

type DeleteMinecraftFromBuildNotAcceptable

type DeleteMinecraftFromBuildNotAcceptable struct {
	Payload *models.GeneralError
}

DeleteMinecraftFromBuildNotAcceptable describes a response with status code 406, with default header values.

Failed to update build

func NewDeleteMinecraftFromBuildNotAcceptable

func NewDeleteMinecraftFromBuildNotAcceptable() *DeleteMinecraftFromBuildNotAcceptable

NewDeleteMinecraftFromBuildNotAcceptable creates a DeleteMinecraftFromBuildNotAcceptable with default headers values

func (*DeleteMinecraftFromBuildNotAcceptable) Code

Code gets the status code for the delete minecraft from build not acceptable response

func (*DeleteMinecraftFromBuildNotAcceptable) Error

func (*DeleteMinecraftFromBuildNotAcceptable) GetPayload

func (*DeleteMinecraftFromBuildNotAcceptable) IsClientError

func (o *DeleteMinecraftFromBuildNotAcceptable) IsClientError() bool

IsClientError returns true when this delete minecraft from build not acceptable response has a 4xx status code

func (*DeleteMinecraftFromBuildNotAcceptable) IsCode

IsCode returns true when this delete minecraft from build not acceptable response a status code equal to that given

func (*DeleteMinecraftFromBuildNotAcceptable) IsRedirect

IsRedirect returns true when this delete minecraft from build not acceptable response has a 3xx status code

func (*DeleteMinecraftFromBuildNotAcceptable) IsServerError

func (o *DeleteMinecraftFromBuildNotAcceptable) IsServerError() bool

IsServerError returns true when this delete minecraft from build not acceptable response has a 5xx status code

func (*DeleteMinecraftFromBuildNotAcceptable) IsSuccess

IsSuccess returns true when this delete minecraft from build not acceptable response has a 2xx status code

func (*DeleteMinecraftFromBuildNotAcceptable) String

type DeleteMinecraftFromBuildNotFound

type DeleteMinecraftFromBuildNotFound struct {
	Payload *models.GeneralError
}

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

Minecraft or build not found

func NewDeleteMinecraftFromBuildNotFound

func NewDeleteMinecraftFromBuildNotFound() *DeleteMinecraftFromBuildNotFound

NewDeleteMinecraftFromBuildNotFound creates a DeleteMinecraftFromBuildNotFound with default headers values

func (*DeleteMinecraftFromBuildNotFound) Code

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

func (*DeleteMinecraftFromBuildNotFound) Error

func (*DeleteMinecraftFromBuildNotFound) GetPayload

func (*DeleteMinecraftFromBuildNotFound) IsClientError

func (o *DeleteMinecraftFromBuildNotFound) IsClientError() bool

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

func (*DeleteMinecraftFromBuildNotFound) IsCode

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

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

func (*DeleteMinecraftFromBuildNotFound) IsRedirect

func (o *DeleteMinecraftFromBuildNotFound) IsRedirect() bool

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

func (*DeleteMinecraftFromBuildNotFound) IsServerError

func (o *DeleteMinecraftFromBuildNotFound) IsServerError() bool

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

func (*DeleteMinecraftFromBuildNotFound) IsSuccess

func (o *DeleteMinecraftFromBuildNotFound) IsSuccess() bool

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

func (*DeleteMinecraftFromBuildNotFound) String

type DeleteMinecraftFromBuildOK

type DeleteMinecraftFromBuildOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteMinecraftFromBuildOK

func NewDeleteMinecraftFromBuildOK() *DeleteMinecraftFromBuildOK

NewDeleteMinecraftFromBuildOK creates a DeleteMinecraftFromBuildOK with default headers values

func (*DeleteMinecraftFromBuildOK) Code

func (o *DeleteMinecraftFromBuildOK) Code() int

Code gets the status code for the delete minecraft from build o k response

func (*DeleteMinecraftFromBuildOK) Error

func (*DeleteMinecraftFromBuildOK) GetPayload

func (*DeleteMinecraftFromBuildOK) IsClientError

func (o *DeleteMinecraftFromBuildOK) IsClientError() bool

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

func (*DeleteMinecraftFromBuildOK) IsCode

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

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

func (*DeleteMinecraftFromBuildOK) IsRedirect

func (o *DeleteMinecraftFromBuildOK) IsRedirect() bool

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

func (*DeleteMinecraftFromBuildOK) IsServerError

func (o *DeleteMinecraftFromBuildOK) IsServerError() bool

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

func (*DeleteMinecraftFromBuildOK) IsSuccess

func (o *DeleteMinecraftFromBuildOK) IsSuccess() bool

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

func (*DeleteMinecraftFromBuildOK) String

func (o *DeleteMinecraftFromBuildOK) String() string

type DeleteMinecraftFromBuildParams

type DeleteMinecraftFromBuildParams struct {

	/* MinecraftBuild.

	   The build data to unlink
	*/
	MinecraftBuild *models.MinecraftBuildParams

	/* MinecraftID.

	   A minecraft UUID or slug
	*/
	MinecraftID string

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

DeleteMinecraftFromBuildParams contains all the parameters to send to the API endpoint

for the delete minecraft from build operation.

Typically these are written to a http.Request.

func NewDeleteMinecraftFromBuildParams

func NewDeleteMinecraftFromBuildParams() *DeleteMinecraftFromBuildParams

NewDeleteMinecraftFromBuildParams creates a new DeleteMinecraftFromBuildParams 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 NewDeleteMinecraftFromBuildParamsWithContext

func NewDeleteMinecraftFromBuildParamsWithContext(ctx context.Context) *DeleteMinecraftFromBuildParams

NewDeleteMinecraftFromBuildParamsWithContext creates a new DeleteMinecraftFromBuildParams object with the ability to set a context for a request.

func NewDeleteMinecraftFromBuildParamsWithHTTPClient

func NewDeleteMinecraftFromBuildParamsWithHTTPClient(client *http.Client) *DeleteMinecraftFromBuildParams

NewDeleteMinecraftFromBuildParamsWithHTTPClient creates a new DeleteMinecraftFromBuildParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMinecraftFromBuildParamsWithTimeout

func NewDeleteMinecraftFromBuildParamsWithTimeout(timeout time.Duration) *DeleteMinecraftFromBuildParams

NewDeleteMinecraftFromBuildParamsWithTimeout creates a new DeleteMinecraftFromBuildParams object with the ability to set a timeout on a request.

func (*DeleteMinecraftFromBuildParams) SetContext

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

SetContext adds the context to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) SetDefaults

func (o *DeleteMinecraftFromBuildParams) SetDefaults()

SetDefaults hydrates default values in the delete minecraft from build params (not the query body).

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

func (*DeleteMinecraftFromBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) SetMinecraftBuild

func (o *DeleteMinecraftFromBuildParams) SetMinecraftBuild(minecraftBuild *models.MinecraftBuildParams)

SetMinecraftBuild adds the minecraftBuild to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) SetMinecraftID

func (o *DeleteMinecraftFromBuildParams) SetMinecraftID(minecraftID string)

SetMinecraftID adds the minecraftId to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) SetTimeout

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

SetTimeout adds the timeout to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WithContext

WithContext adds the context to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WithDefaults

WithDefaults hydrates default values in the delete minecraft from build params (not the query body).

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

func (*DeleteMinecraftFromBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WithMinecraftBuild

WithMinecraftBuild adds the minecraftBuild to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WithMinecraftID

func (o *DeleteMinecraftFromBuildParams) WithMinecraftID(minecraftID string) *DeleteMinecraftFromBuildParams

WithMinecraftID adds the minecraftID to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WithTimeout

WithTimeout adds the timeout to the delete minecraft from build params

func (*DeleteMinecraftFromBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMinecraftFromBuildPreconditionFailed

type DeleteMinecraftFromBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Build is not assigned

func NewDeleteMinecraftFromBuildPreconditionFailed

func NewDeleteMinecraftFromBuildPreconditionFailed() *DeleteMinecraftFromBuildPreconditionFailed

NewDeleteMinecraftFromBuildPreconditionFailed creates a DeleteMinecraftFromBuildPreconditionFailed with default headers values

func (*DeleteMinecraftFromBuildPreconditionFailed) Code

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

func (*DeleteMinecraftFromBuildPreconditionFailed) Error

func (*DeleteMinecraftFromBuildPreconditionFailed) GetPayload

func (*DeleteMinecraftFromBuildPreconditionFailed) IsClientError

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

func (*DeleteMinecraftFromBuildPreconditionFailed) IsCode

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

func (*DeleteMinecraftFromBuildPreconditionFailed) IsRedirect

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

func (*DeleteMinecraftFromBuildPreconditionFailed) IsServerError

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

func (*DeleteMinecraftFromBuildPreconditionFailed) IsSuccess

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

func (*DeleteMinecraftFromBuildPreconditionFailed) String

type DeleteMinecraftFromBuildReader

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

DeleteMinecraftFromBuildReader is a Reader for the DeleteMinecraftFromBuild structure.

func (*DeleteMinecraftFromBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListMinecraftBuildsDefault

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

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

Some error unrelated to the handler

func NewListMinecraftBuildsDefault

func NewListMinecraftBuildsDefault(code int) *ListMinecraftBuildsDefault

NewListMinecraftBuildsDefault creates a ListMinecraftBuildsDefault with default headers values

func (*ListMinecraftBuildsDefault) Code

func (o *ListMinecraftBuildsDefault) Code() int

Code gets the status code for the list minecraft builds default response

func (*ListMinecraftBuildsDefault) Error

func (*ListMinecraftBuildsDefault) GetPayload

func (*ListMinecraftBuildsDefault) IsClientError

func (o *ListMinecraftBuildsDefault) IsClientError() bool

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

func (*ListMinecraftBuildsDefault) IsCode

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

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

func (*ListMinecraftBuildsDefault) IsRedirect

func (o *ListMinecraftBuildsDefault) IsRedirect() bool

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

func (*ListMinecraftBuildsDefault) IsServerError

func (o *ListMinecraftBuildsDefault) IsServerError() bool

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

func (*ListMinecraftBuildsDefault) IsSuccess

func (o *ListMinecraftBuildsDefault) IsSuccess() bool

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

func (*ListMinecraftBuildsDefault) String

func (o *ListMinecraftBuildsDefault) String() string

type ListMinecraftBuildsForbidden

type ListMinecraftBuildsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListMinecraftBuildsForbidden

func NewListMinecraftBuildsForbidden() *ListMinecraftBuildsForbidden

NewListMinecraftBuildsForbidden creates a ListMinecraftBuildsForbidden with default headers values

func (*ListMinecraftBuildsForbidden) Code

Code gets the status code for the list minecraft builds forbidden response

func (*ListMinecraftBuildsForbidden) Error

func (*ListMinecraftBuildsForbidden) GetPayload

func (*ListMinecraftBuildsForbidden) IsClientError

func (o *ListMinecraftBuildsForbidden) IsClientError() bool

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

func (*ListMinecraftBuildsForbidden) IsCode

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

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

func (*ListMinecraftBuildsForbidden) IsRedirect

func (o *ListMinecraftBuildsForbidden) IsRedirect() bool

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

func (*ListMinecraftBuildsForbidden) IsServerError

func (o *ListMinecraftBuildsForbidden) IsServerError() bool

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

func (*ListMinecraftBuildsForbidden) IsSuccess

func (o *ListMinecraftBuildsForbidden) IsSuccess() bool

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

func (*ListMinecraftBuildsForbidden) String

type ListMinecraftBuildsNotFound

type ListMinecraftBuildsNotFound struct {
	Payload *models.GeneralError
}

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

Minecraft or build not found

func NewListMinecraftBuildsNotFound

func NewListMinecraftBuildsNotFound() *ListMinecraftBuildsNotFound

NewListMinecraftBuildsNotFound creates a ListMinecraftBuildsNotFound with default headers values

func (*ListMinecraftBuildsNotFound) Code

func (o *ListMinecraftBuildsNotFound) Code() int

Code gets the status code for the list minecraft builds not found response

func (*ListMinecraftBuildsNotFound) Error

func (*ListMinecraftBuildsNotFound) GetPayload

func (*ListMinecraftBuildsNotFound) IsClientError

func (o *ListMinecraftBuildsNotFound) IsClientError() bool

IsClientError returns true when this list minecraft builds not found response has a 4xx status code

func (*ListMinecraftBuildsNotFound) IsCode

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

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

func (*ListMinecraftBuildsNotFound) IsRedirect

func (o *ListMinecraftBuildsNotFound) IsRedirect() bool

IsRedirect returns true when this list minecraft builds not found response has a 3xx status code

func (*ListMinecraftBuildsNotFound) IsServerError

func (o *ListMinecraftBuildsNotFound) IsServerError() bool

IsServerError returns true when this list minecraft builds not found response has a 5xx status code

func (*ListMinecraftBuildsNotFound) IsSuccess

func (o *ListMinecraftBuildsNotFound) IsSuccess() bool

IsSuccess returns true when this list minecraft builds not found response has a 2xx status code

func (*ListMinecraftBuildsNotFound) String

func (o *ListMinecraftBuildsNotFound) String() string

type ListMinecraftBuildsOK

type ListMinecraftBuildsOK struct {
	Payload *models.MinecraftBuilds
}

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

A collection of assigned builds

func NewListMinecraftBuildsOK

func NewListMinecraftBuildsOK() *ListMinecraftBuildsOK

NewListMinecraftBuildsOK creates a ListMinecraftBuildsOK with default headers values

func (*ListMinecraftBuildsOK) Code

func (o *ListMinecraftBuildsOK) Code() int

Code gets the status code for the list minecraft builds o k response

func (*ListMinecraftBuildsOK) Error

func (o *ListMinecraftBuildsOK) Error() string

func (*ListMinecraftBuildsOK) GetPayload

func (o *ListMinecraftBuildsOK) GetPayload() *models.MinecraftBuilds

func (*ListMinecraftBuildsOK) IsClientError

func (o *ListMinecraftBuildsOK) IsClientError() bool

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

func (*ListMinecraftBuildsOK) IsCode

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

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

func (*ListMinecraftBuildsOK) IsRedirect

func (o *ListMinecraftBuildsOK) IsRedirect() bool

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

func (*ListMinecraftBuildsOK) IsServerError

func (o *ListMinecraftBuildsOK) IsServerError() bool

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

func (*ListMinecraftBuildsOK) IsSuccess

func (o *ListMinecraftBuildsOK) IsSuccess() bool

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

func (*ListMinecraftBuildsOK) String

func (o *ListMinecraftBuildsOK) String() string

type ListMinecraftBuildsParams

type ListMinecraftBuildsParams struct {

	/* MinecraftID.

	   A minecraft UUID or slug
	*/
	MinecraftID string

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

ListMinecraftBuildsParams contains all the parameters to send to the API endpoint

for the list minecraft builds operation.

Typically these are written to a http.Request.

func NewListMinecraftBuildsParams

func NewListMinecraftBuildsParams() *ListMinecraftBuildsParams

NewListMinecraftBuildsParams creates a new ListMinecraftBuildsParams 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 NewListMinecraftBuildsParamsWithContext

func NewListMinecraftBuildsParamsWithContext(ctx context.Context) *ListMinecraftBuildsParams

NewListMinecraftBuildsParamsWithContext creates a new ListMinecraftBuildsParams object with the ability to set a context for a request.

func NewListMinecraftBuildsParamsWithHTTPClient

func NewListMinecraftBuildsParamsWithHTTPClient(client *http.Client) *ListMinecraftBuildsParams

NewListMinecraftBuildsParamsWithHTTPClient creates a new ListMinecraftBuildsParams object with the ability to set a custom HTTPClient for a request.

func NewListMinecraftBuildsParamsWithTimeout

func NewListMinecraftBuildsParamsWithTimeout(timeout time.Duration) *ListMinecraftBuildsParams

NewListMinecraftBuildsParamsWithTimeout creates a new ListMinecraftBuildsParams object with the ability to set a timeout on a request.

func (*ListMinecraftBuildsParams) SetContext

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

SetContext adds the context to the list minecraft builds params

func (*ListMinecraftBuildsParams) SetDefaults

func (o *ListMinecraftBuildsParams) SetDefaults()

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

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

func (*ListMinecraftBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list minecraft builds params

func (*ListMinecraftBuildsParams) SetMinecraftID

func (o *ListMinecraftBuildsParams) SetMinecraftID(minecraftID string)

SetMinecraftID adds the minecraftId to the list minecraft builds params

func (*ListMinecraftBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the list minecraft builds params

func (*ListMinecraftBuildsParams) WithContext

WithContext adds the context to the list minecraft builds params

func (*ListMinecraftBuildsParams) WithDefaults

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

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

func (*ListMinecraftBuildsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list minecraft builds params

func (*ListMinecraftBuildsParams) WithMinecraftID

func (o *ListMinecraftBuildsParams) WithMinecraftID(minecraftID string) *ListMinecraftBuildsParams

WithMinecraftID adds the minecraftID to the list minecraft builds params

func (*ListMinecraftBuildsParams) WithTimeout

WithTimeout adds the timeout to the list minecraft builds params

func (*ListMinecraftBuildsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListMinecraftBuildsReader

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

ListMinecraftBuildsReader is a Reader for the ListMinecraftBuilds structure.

func (*ListMinecraftBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListMinecraftsDefault

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

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

Some error unrelated to the handler

func NewListMinecraftsDefault

func NewListMinecraftsDefault(code int) *ListMinecraftsDefault

NewListMinecraftsDefault creates a ListMinecraftsDefault with default headers values

func (*ListMinecraftsDefault) Code

func (o *ListMinecraftsDefault) Code() int

Code gets the status code for the list minecrafts default response

func (*ListMinecraftsDefault) Error

func (o *ListMinecraftsDefault) Error() string

func (*ListMinecraftsDefault) GetPayload

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

func (*ListMinecraftsDefault) IsClientError

func (o *ListMinecraftsDefault) IsClientError() bool

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

func (*ListMinecraftsDefault) IsCode

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

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

func (*ListMinecraftsDefault) IsRedirect

func (o *ListMinecraftsDefault) IsRedirect() bool

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

func (*ListMinecraftsDefault) IsServerError

func (o *ListMinecraftsDefault) IsServerError() bool

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

func (*ListMinecraftsDefault) IsSuccess

func (o *ListMinecraftsDefault) IsSuccess() bool

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

func (*ListMinecraftsDefault) String

func (o *ListMinecraftsDefault) String() string

type ListMinecraftsForbidden

type ListMinecraftsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListMinecraftsForbidden

func NewListMinecraftsForbidden() *ListMinecraftsForbidden

NewListMinecraftsForbidden creates a ListMinecraftsForbidden with default headers values

func (*ListMinecraftsForbidden) Code

func (o *ListMinecraftsForbidden) Code() int

Code gets the status code for the list minecrafts forbidden response

func (*ListMinecraftsForbidden) Error

func (o *ListMinecraftsForbidden) Error() string

func (*ListMinecraftsForbidden) GetPayload

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

func (*ListMinecraftsForbidden) IsClientError

func (o *ListMinecraftsForbidden) IsClientError() bool

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

func (*ListMinecraftsForbidden) IsCode

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

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

func (*ListMinecraftsForbidden) IsRedirect

func (o *ListMinecraftsForbidden) IsRedirect() bool

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

func (*ListMinecraftsForbidden) IsServerError

func (o *ListMinecraftsForbidden) IsServerError() bool

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

func (*ListMinecraftsForbidden) IsSuccess

func (o *ListMinecraftsForbidden) IsSuccess() bool

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

func (*ListMinecraftsForbidden) String

func (o *ListMinecraftsForbidden) String() string

type ListMinecraftsOK

type ListMinecraftsOK struct {
	Payload *models.Minecrafts
}

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

A collection of Minecraft versions

func NewListMinecraftsOK

func NewListMinecraftsOK() *ListMinecraftsOK

NewListMinecraftsOK creates a ListMinecraftsOK with default headers values

func (*ListMinecraftsOK) Code

func (o *ListMinecraftsOK) Code() int

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

func (*ListMinecraftsOK) Error

func (o *ListMinecraftsOK) Error() string

func (*ListMinecraftsOK) GetPayload

func (o *ListMinecraftsOK) GetPayload() *models.Minecrafts

func (*ListMinecraftsOK) IsClientError

func (o *ListMinecraftsOK) IsClientError() bool

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

func (*ListMinecraftsOK) IsCode

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

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

func (*ListMinecraftsOK) IsRedirect

func (o *ListMinecraftsOK) IsRedirect() bool

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

func (*ListMinecraftsOK) IsServerError

func (o *ListMinecraftsOK) IsServerError() bool

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

func (*ListMinecraftsOK) IsSuccess

func (o *ListMinecraftsOK) IsSuccess() bool

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

func (*ListMinecraftsOK) String

func (o *ListMinecraftsOK) String() string

type ListMinecraftsParams

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

ListMinecraftsParams contains all the parameters to send to the API endpoint

for the list minecrafts operation.

Typically these are written to a http.Request.

func NewListMinecraftsParams

func NewListMinecraftsParams() *ListMinecraftsParams

NewListMinecraftsParams creates a new ListMinecraftsParams 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 NewListMinecraftsParamsWithContext

func NewListMinecraftsParamsWithContext(ctx context.Context) *ListMinecraftsParams

NewListMinecraftsParamsWithContext creates a new ListMinecraftsParams object with the ability to set a context for a request.

func NewListMinecraftsParamsWithHTTPClient

func NewListMinecraftsParamsWithHTTPClient(client *http.Client) *ListMinecraftsParams

NewListMinecraftsParamsWithHTTPClient creates a new ListMinecraftsParams object with the ability to set a custom HTTPClient for a request.

func NewListMinecraftsParamsWithTimeout

func NewListMinecraftsParamsWithTimeout(timeout time.Duration) *ListMinecraftsParams

NewListMinecraftsParamsWithTimeout creates a new ListMinecraftsParams object with the ability to set a timeout on a request.

func (*ListMinecraftsParams) SetContext

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

SetContext adds the context to the list minecrafts params

func (*ListMinecraftsParams) SetDefaults

func (o *ListMinecraftsParams) SetDefaults()

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

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

func (*ListMinecraftsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list minecrafts params

func (*ListMinecraftsParams) SetTimeout

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

SetTimeout adds the timeout to the list minecrafts params

func (*ListMinecraftsParams) WithContext

WithContext adds the context to the list minecrafts params

func (*ListMinecraftsParams) WithDefaults

func (o *ListMinecraftsParams) WithDefaults() *ListMinecraftsParams

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

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

func (*ListMinecraftsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list minecrafts params

func (*ListMinecraftsParams) WithTimeout

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

WithTimeout adds the timeout to the list minecrafts params

func (*ListMinecraftsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListMinecraftsReader

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

ListMinecraftsReader is a Reader for the ListMinecrafts structure.

func (*ListMinecraftsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchMinecraftsDefault

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

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

Some error unrelated to the handler

func NewSearchMinecraftsDefault

func NewSearchMinecraftsDefault(code int) *SearchMinecraftsDefault

NewSearchMinecraftsDefault creates a SearchMinecraftsDefault with default headers values

func (*SearchMinecraftsDefault) Code

func (o *SearchMinecraftsDefault) Code() int

Code gets the status code for the search minecrafts default response

func (*SearchMinecraftsDefault) Error

func (o *SearchMinecraftsDefault) Error() string

func (*SearchMinecraftsDefault) GetPayload

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

func (*SearchMinecraftsDefault) IsClientError

func (o *SearchMinecraftsDefault) IsClientError() bool

IsClientError returns true when this search minecrafts default response has a 4xx status code

func (*SearchMinecraftsDefault) IsCode

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

IsCode returns true when this search minecrafts default response a status code equal to that given

func (*SearchMinecraftsDefault) IsRedirect

func (o *SearchMinecraftsDefault) IsRedirect() bool

IsRedirect returns true when this search minecrafts default response has a 3xx status code

func (*SearchMinecraftsDefault) IsServerError

func (o *SearchMinecraftsDefault) IsServerError() bool

IsServerError returns true when this search minecrafts default response has a 5xx status code

func (*SearchMinecraftsDefault) IsSuccess

func (o *SearchMinecraftsDefault) IsSuccess() bool

IsSuccess returns true when this search minecrafts default response has a 2xx status code

func (*SearchMinecraftsDefault) String

func (o *SearchMinecraftsDefault) String() string

type SearchMinecraftsForbidden

type SearchMinecraftsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewSearchMinecraftsForbidden

func NewSearchMinecraftsForbidden() *SearchMinecraftsForbidden

NewSearchMinecraftsForbidden creates a SearchMinecraftsForbidden with default headers values

func (*SearchMinecraftsForbidden) Code

func (o *SearchMinecraftsForbidden) Code() int

Code gets the status code for the search minecrafts forbidden response

func (*SearchMinecraftsForbidden) Error

func (o *SearchMinecraftsForbidden) Error() string

func (*SearchMinecraftsForbidden) GetPayload

func (*SearchMinecraftsForbidden) IsClientError

func (o *SearchMinecraftsForbidden) IsClientError() bool

IsClientError returns true when this search minecrafts forbidden response has a 4xx status code

func (*SearchMinecraftsForbidden) IsCode

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

IsCode returns true when this search minecrafts forbidden response a status code equal to that given

func (*SearchMinecraftsForbidden) IsRedirect

func (o *SearchMinecraftsForbidden) IsRedirect() bool

IsRedirect returns true when this search minecrafts forbidden response has a 3xx status code

func (*SearchMinecraftsForbidden) IsServerError

func (o *SearchMinecraftsForbidden) IsServerError() bool

IsServerError returns true when this search minecrafts forbidden response has a 5xx status code

func (*SearchMinecraftsForbidden) IsSuccess

func (o *SearchMinecraftsForbidden) IsSuccess() bool

IsSuccess returns true when this search minecrafts forbidden response has a 2xx status code

func (*SearchMinecraftsForbidden) String

func (o *SearchMinecraftsForbidden) String() string

type SearchMinecraftsOK

type SearchMinecraftsOK struct {
	Payload *models.Minecrafts
}

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

A collection of Minecraft versions

func NewSearchMinecraftsOK

func NewSearchMinecraftsOK() *SearchMinecraftsOK

NewSearchMinecraftsOK creates a SearchMinecraftsOK with default headers values

func (*SearchMinecraftsOK) Code

func (o *SearchMinecraftsOK) Code() int

Code gets the status code for the search minecrafts o k response

func (*SearchMinecraftsOK) Error

func (o *SearchMinecraftsOK) Error() string

func (*SearchMinecraftsOK) GetPayload

func (o *SearchMinecraftsOK) GetPayload() *models.Minecrafts

func (*SearchMinecraftsOK) IsClientError

func (o *SearchMinecraftsOK) IsClientError() bool

IsClientError returns true when this search minecrafts o k response has a 4xx status code

func (*SearchMinecraftsOK) IsCode

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

IsCode returns true when this search minecrafts o k response a status code equal to that given

func (*SearchMinecraftsOK) IsRedirect

func (o *SearchMinecraftsOK) IsRedirect() bool

IsRedirect returns true when this search minecrafts o k response has a 3xx status code

func (*SearchMinecraftsOK) IsServerError

func (o *SearchMinecraftsOK) IsServerError() bool

IsServerError returns true when this search minecrafts o k response has a 5xx status code

func (*SearchMinecraftsOK) IsSuccess

func (o *SearchMinecraftsOK) IsSuccess() bool

IsSuccess returns true when this search minecrafts o k response has a 2xx status code

func (*SearchMinecraftsOK) String

func (o *SearchMinecraftsOK) String() string

type SearchMinecraftsParams

type SearchMinecraftsParams struct {

	/* MinecraftID.

	   A search token to search Minecraft versions
	*/
	MinecraftID string

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

SearchMinecraftsParams contains all the parameters to send to the API endpoint

for the search minecrafts operation.

Typically these are written to a http.Request.

func NewSearchMinecraftsParams

func NewSearchMinecraftsParams() *SearchMinecraftsParams

NewSearchMinecraftsParams creates a new SearchMinecraftsParams 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 NewSearchMinecraftsParamsWithContext

func NewSearchMinecraftsParamsWithContext(ctx context.Context) *SearchMinecraftsParams

NewSearchMinecraftsParamsWithContext creates a new SearchMinecraftsParams object with the ability to set a context for a request.

func NewSearchMinecraftsParamsWithHTTPClient

func NewSearchMinecraftsParamsWithHTTPClient(client *http.Client) *SearchMinecraftsParams

NewSearchMinecraftsParamsWithHTTPClient creates a new SearchMinecraftsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchMinecraftsParamsWithTimeout

func NewSearchMinecraftsParamsWithTimeout(timeout time.Duration) *SearchMinecraftsParams

NewSearchMinecraftsParamsWithTimeout creates a new SearchMinecraftsParams object with the ability to set a timeout on a request.

func (*SearchMinecraftsParams) SetContext

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

SetContext adds the context to the search minecrafts params

func (*SearchMinecraftsParams) SetDefaults

func (o *SearchMinecraftsParams) SetDefaults()

SetDefaults hydrates default values in the search minecrafts params (not the query body).

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

func (*SearchMinecraftsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search minecrafts params

func (*SearchMinecraftsParams) SetMinecraftID

func (o *SearchMinecraftsParams) SetMinecraftID(minecraftID string)

SetMinecraftID adds the minecraftId to the search minecrafts params

func (*SearchMinecraftsParams) SetTimeout

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

SetTimeout adds the timeout to the search minecrafts params

func (*SearchMinecraftsParams) WithContext

WithContext adds the context to the search minecrafts params

func (*SearchMinecraftsParams) WithDefaults

WithDefaults hydrates default values in the search minecrafts params (not the query body).

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

func (*SearchMinecraftsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search minecrafts params

func (*SearchMinecraftsParams) WithMinecraftID

func (o *SearchMinecraftsParams) WithMinecraftID(minecraftID string) *SearchMinecraftsParams

WithMinecraftID adds the minecraftID to the search minecrafts params

func (*SearchMinecraftsParams) WithTimeout

WithTimeout adds the timeout to the search minecrafts params

func (*SearchMinecraftsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchMinecraftsReader

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

SearchMinecraftsReader is a Reader for the SearchMinecrafts structure.

func (*SearchMinecraftsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMinecraftDefault

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

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

Some error unrelated to the handler

func NewUpdateMinecraftDefault

func NewUpdateMinecraftDefault(code int) *UpdateMinecraftDefault

NewUpdateMinecraftDefault creates a UpdateMinecraftDefault with default headers values

func (*UpdateMinecraftDefault) Code

func (o *UpdateMinecraftDefault) Code() int

Code gets the status code for the update minecraft default response

func (*UpdateMinecraftDefault) Error

func (o *UpdateMinecraftDefault) Error() string

func (*UpdateMinecraftDefault) GetPayload

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

func (*UpdateMinecraftDefault) IsClientError

func (o *UpdateMinecraftDefault) IsClientError() bool

IsClientError returns true when this update minecraft default response has a 4xx status code

func (*UpdateMinecraftDefault) IsCode

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

IsCode returns true when this update minecraft default response a status code equal to that given

func (*UpdateMinecraftDefault) IsRedirect

func (o *UpdateMinecraftDefault) IsRedirect() bool

IsRedirect returns true when this update minecraft default response has a 3xx status code

func (*UpdateMinecraftDefault) IsServerError

func (o *UpdateMinecraftDefault) IsServerError() bool

IsServerError returns true when this update minecraft default response has a 5xx status code

func (*UpdateMinecraftDefault) IsSuccess

func (o *UpdateMinecraftDefault) IsSuccess() bool

IsSuccess returns true when this update minecraft default response has a 2xx status code

func (*UpdateMinecraftDefault) String

func (o *UpdateMinecraftDefault) String() string

type UpdateMinecraftForbidden

type UpdateMinecraftForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewUpdateMinecraftForbidden

func NewUpdateMinecraftForbidden() *UpdateMinecraftForbidden

NewUpdateMinecraftForbidden creates a UpdateMinecraftForbidden with default headers values

func (*UpdateMinecraftForbidden) Code

func (o *UpdateMinecraftForbidden) Code() int

Code gets the status code for the update minecraft forbidden response

func (*UpdateMinecraftForbidden) Error

func (o *UpdateMinecraftForbidden) Error() string

func (*UpdateMinecraftForbidden) GetPayload

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

func (*UpdateMinecraftForbidden) IsClientError

func (o *UpdateMinecraftForbidden) IsClientError() bool

IsClientError returns true when this update minecraft forbidden response has a 4xx status code

func (*UpdateMinecraftForbidden) IsCode

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

IsCode returns true when this update minecraft forbidden response a status code equal to that given

func (*UpdateMinecraftForbidden) IsRedirect

func (o *UpdateMinecraftForbidden) IsRedirect() bool

IsRedirect returns true when this update minecraft forbidden response has a 3xx status code

func (*UpdateMinecraftForbidden) IsServerError

func (o *UpdateMinecraftForbidden) IsServerError() bool

IsServerError returns true when this update minecraft forbidden response has a 5xx status code

func (*UpdateMinecraftForbidden) IsSuccess

func (o *UpdateMinecraftForbidden) IsSuccess() bool

IsSuccess returns true when this update minecraft forbidden response has a 2xx status code

func (*UpdateMinecraftForbidden) String

func (o *UpdateMinecraftForbidden) String() string

type UpdateMinecraftOK

type UpdateMinecraftOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewUpdateMinecraftOK

func NewUpdateMinecraftOK() *UpdateMinecraftOK

NewUpdateMinecraftOK creates a UpdateMinecraftOK with default headers values

func (*UpdateMinecraftOK) Code

func (o *UpdateMinecraftOK) Code() int

Code gets the status code for the update minecraft o k response

func (*UpdateMinecraftOK) Error

func (o *UpdateMinecraftOK) Error() string

func (*UpdateMinecraftOK) GetPayload

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

func (*UpdateMinecraftOK) IsClientError

func (o *UpdateMinecraftOK) IsClientError() bool

IsClientError returns true when this update minecraft o k response has a 4xx status code

func (*UpdateMinecraftOK) IsCode

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

IsCode returns true when this update minecraft o k response a status code equal to that given

func (*UpdateMinecraftOK) IsRedirect

func (o *UpdateMinecraftOK) IsRedirect() bool

IsRedirect returns true when this update minecraft o k response has a 3xx status code

func (*UpdateMinecraftOK) IsServerError

func (o *UpdateMinecraftOK) IsServerError() bool

IsServerError returns true when this update minecraft o k response has a 5xx status code

func (*UpdateMinecraftOK) IsSuccess

func (o *UpdateMinecraftOK) IsSuccess() bool

IsSuccess returns true when this update minecraft o k response has a 2xx status code

func (*UpdateMinecraftOK) String

func (o *UpdateMinecraftOK) String() string

type UpdateMinecraftParams

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

UpdateMinecraftParams contains all the parameters to send to the API endpoint

for the update minecraft operation.

Typically these are written to a http.Request.

func NewUpdateMinecraftParams

func NewUpdateMinecraftParams() *UpdateMinecraftParams

NewUpdateMinecraftParams creates a new UpdateMinecraftParams 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 NewUpdateMinecraftParamsWithContext

func NewUpdateMinecraftParamsWithContext(ctx context.Context) *UpdateMinecraftParams

NewUpdateMinecraftParamsWithContext creates a new UpdateMinecraftParams object with the ability to set a context for a request.

func NewUpdateMinecraftParamsWithHTTPClient

func NewUpdateMinecraftParamsWithHTTPClient(client *http.Client) *UpdateMinecraftParams

NewUpdateMinecraftParamsWithHTTPClient creates a new UpdateMinecraftParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMinecraftParamsWithTimeout

func NewUpdateMinecraftParamsWithTimeout(timeout time.Duration) *UpdateMinecraftParams

NewUpdateMinecraftParamsWithTimeout creates a new UpdateMinecraftParams object with the ability to set a timeout on a request.

func (*UpdateMinecraftParams) SetContext

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

SetContext adds the context to the update minecraft params

func (*UpdateMinecraftParams) SetDefaults

func (o *UpdateMinecraftParams) SetDefaults()

SetDefaults hydrates default values in the update minecraft params (not the query body).

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

func (*UpdateMinecraftParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update minecraft params

func (*UpdateMinecraftParams) SetTimeout

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

SetTimeout adds the timeout to the update minecraft params

func (*UpdateMinecraftParams) WithContext

WithContext adds the context to the update minecraft params

func (*UpdateMinecraftParams) WithDefaults

func (o *UpdateMinecraftParams) WithDefaults() *UpdateMinecraftParams

WithDefaults hydrates default values in the update minecraft params (not the query body).

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

func (*UpdateMinecraftParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update minecraft params

func (*UpdateMinecraftParams) WithTimeout

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

WithTimeout adds the timeout to the update minecraft params

func (*UpdateMinecraftParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateMinecraftReader

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

UpdateMinecraftReader is a Reader for the UpdateMinecraft structure.

func (*UpdateMinecraftReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMinecraftServiceUnavailable

type UpdateMinecraftServiceUnavailable struct {
	Payload *models.GeneralError
}

UpdateMinecraftServiceUnavailable describes a response with status code 503, with default header values.

If remote source is not available

func NewUpdateMinecraftServiceUnavailable

func NewUpdateMinecraftServiceUnavailable() *UpdateMinecraftServiceUnavailable

NewUpdateMinecraftServiceUnavailable creates a UpdateMinecraftServiceUnavailable with default headers values

func (*UpdateMinecraftServiceUnavailable) Code

Code gets the status code for the update minecraft service unavailable response

func (*UpdateMinecraftServiceUnavailable) Error

func (*UpdateMinecraftServiceUnavailable) GetPayload

func (*UpdateMinecraftServiceUnavailable) IsClientError

func (o *UpdateMinecraftServiceUnavailable) IsClientError() bool

IsClientError returns true when this update minecraft service unavailable response has a 4xx status code

func (*UpdateMinecraftServiceUnavailable) IsCode

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

IsCode returns true when this update minecraft service unavailable response a status code equal to that given

func (*UpdateMinecraftServiceUnavailable) IsRedirect

func (o *UpdateMinecraftServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this update minecraft service unavailable response has a 3xx status code

func (*UpdateMinecraftServiceUnavailable) IsServerError

func (o *UpdateMinecraftServiceUnavailable) IsServerError() bool

IsServerError returns true when this update minecraft service unavailable response has a 5xx status code

func (*UpdateMinecraftServiceUnavailable) IsSuccess

func (o *UpdateMinecraftServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this update minecraft service unavailable response has a 2xx status code

func (*UpdateMinecraftServiceUnavailable) String

Jump to

Keyboard shortcuts

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