Documentation ¶
Index ¶
- type AppendMinecraftToBuildDefault
- func (o *AppendMinecraftToBuildDefault) Code() int
- func (o *AppendMinecraftToBuildDefault) Error() string
- func (o *AppendMinecraftToBuildDefault) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildDefault) IsClientError() bool
- func (o *AppendMinecraftToBuildDefault) IsCode(code int) bool
- func (o *AppendMinecraftToBuildDefault) IsRedirect() bool
- func (o *AppendMinecraftToBuildDefault) IsServerError() bool
- func (o *AppendMinecraftToBuildDefault) IsSuccess() bool
- func (o *AppendMinecraftToBuildDefault) String() string
- type AppendMinecraftToBuildForbidden
- func (o *AppendMinecraftToBuildForbidden) Code() int
- func (o *AppendMinecraftToBuildForbidden) Error() string
- func (o *AppendMinecraftToBuildForbidden) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildForbidden) IsClientError() bool
- func (o *AppendMinecraftToBuildForbidden) IsCode(code int) bool
- func (o *AppendMinecraftToBuildForbidden) IsRedirect() bool
- func (o *AppendMinecraftToBuildForbidden) IsServerError() bool
- func (o *AppendMinecraftToBuildForbidden) IsSuccess() bool
- func (o *AppendMinecraftToBuildForbidden) String() string
- type AppendMinecraftToBuildNotAcceptable
- func (o *AppendMinecraftToBuildNotAcceptable) Code() int
- func (o *AppendMinecraftToBuildNotAcceptable) Error() string
- func (o *AppendMinecraftToBuildNotAcceptable) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildNotAcceptable) IsClientError() bool
- func (o *AppendMinecraftToBuildNotAcceptable) IsCode(code int) bool
- func (o *AppendMinecraftToBuildNotAcceptable) IsRedirect() bool
- func (o *AppendMinecraftToBuildNotAcceptable) IsServerError() bool
- func (o *AppendMinecraftToBuildNotAcceptable) IsSuccess() bool
- func (o *AppendMinecraftToBuildNotAcceptable) String() string
- type AppendMinecraftToBuildNotFound
- func (o *AppendMinecraftToBuildNotFound) Code() int
- func (o *AppendMinecraftToBuildNotFound) Error() string
- func (o *AppendMinecraftToBuildNotFound) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildNotFound) IsClientError() bool
- func (o *AppendMinecraftToBuildNotFound) IsCode(code int) bool
- func (o *AppendMinecraftToBuildNotFound) IsRedirect() bool
- func (o *AppendMinecraftToBuildNotFound) IsServerError() bool
- func (o *AppendMinecraftToBuildNotFound) IsSuccess() bool
- func (o *AppendMinecraftToBuildNotFound) String() string
- type AppendMinecraftToBuildOK
- func (o *AppendMinecraftToBuildOK) Code() int
- func (o *AppendMinecraftToBuildOK) Error() string
- func (o *AppendMinecraftToBuildOK) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildOK) IsClientError() bool
- func (o *AppendMinecraftToBuildOK) IsCode(code int) bool
- func (o *AppendMinecraftToBuildOK) IsRedirect() bool
- func (o *AppendMinecraftToBuildOK) IsServerError() bool
- func (o *AppendMinecraftToBuildOK) IsSuccess() bool
- func (o *AppendMinecraftToBuildOK) String() string
- type AppendMinecraftToBuildParams
- func NewAppendMinecraftToBuildParams() *AppendMinecraftToBuildParams
- func NewAppendMinecraftToBuildParamsWithContext(ctx context.Context) *AppendMinecraftToBuildParams
- func NewAppendMinecraftToBuildParamsWithHTTPClient(client *http.Client) *AppendMinecraftToBuildParams
- func NewAppendMinecraftToBuildParamsWithTimeout(timeout time.Duration) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) SetContext(ctx context.Context)
- func (o *AppendMinecraftToBuildParams) SetDefaults()
- func (o *AppendMinecraftToBuildParams) SetHTTPClient(client *http.Client)
- func (o *AppendMinecraftToBuildParams) SetMinecraftBuild(minecraftBuild *models.MinecraftBuildParams)
- func (o *AppendMinecraftToBuildParams) SetMinecraftID(minecraftID string)
- func (o *AppendMinecraftToBuildParams) SetTimeout(timeout time.Duration)
- func (o *AppendMinecraftToBuildParams) WithContext(ctx context.Context) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WithDefaults() *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WithHTTPClient(client *http.Client) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WithMinecraftBuild(minecraftBuild *models.MinecraftBuildParams) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WithMinecraftID(minecraftID string) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WithTimeout(timeout time.Duration) *AppendMinecraftToBuildParams
- func (o *AppendMinecraftToBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AppendMinecraftToBuildPreconditionFailed
- func (o *AppendMinecraftToBuildPreconditionFailed) Code() int
- func (o *AppendMinecraftToBuildPreconditionFailed) Error() string
- func (o *AppendMinecraftToBuildPreconditionFailed) GetPayload() *models.GeneralError
- func (o *AppendMinecraftToBuildPreconditionFailed) IsClientError() bool
- func (o *AppendMinecraftToBuildPreconditionFailed) IsCode(code int) bool
- func (o *AppendMinecraftToBuildPreconditionFailed) IsRedirect() bool
- func (o *AppendMinecraftToBuildPreconditionFailed) IsServerError() bool
- func (o *AppendMinecraftToBuildPreconditionFailed) IsSuccess() bool
- func (o *AppendMinecraftToBuildPreconditionFailed) String() string
- type AppendMinecraftToBuildReader
- type Client
- func (a *Client) AppendMinecraftToBuild(params *AppendMinecraftToBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AppendMinecraftToBuildOK, error)
- func (a *Client) DeleteMinecraftFromBuild(params *DeleteMinecraftFromBuildParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMinecraftFromBuildOK, error)
- func (a *Client) ListMinecraftBuilds(params *ListMinecraftBuildsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMinecraftBuildsOK, error)
- func (a *Client) ListMinecrafts(params *ListMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMinecraftsOK, error)
- func (a *Client) SearchMinecrafts(params *SearchMinecraftsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchMinecraftsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMinecraft(params *UpdateMinecraftParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateMinecraftOK, error)
- type ClientOption
- type ClientService
- type DeleteMinecraftFromBuildDefault
- func (o *DeleteMinecraftFromBuildDefault) Code() int
- func (o *DeleteMinecraftFromBuildDefault) Error() string
- func (o *DeleteMinecraftFromBuildDefault) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildDefault) IsClientError() bool
- func (o *DeleteMinecraftFromBuildDefault) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildDefault) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildDefault) IsServerError() bool
- func (o *DeleteMinecraftFromBuildDefault) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildDefault) String() string
- type DeleteMinecraftFromBuildForbidden
- func (o *DeleteMinecraftFromBuildForbidden) Code() int
- func (o *DeleteMinecraftFromBuildForbidden) Error() string
- func (o *DeleteMinecraftFromBuildForbidden) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildForbidden) IsClientError() bool
- func (o *DeleteMinecraftFromBuildForbidden) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildForbidden) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildForbidden) IsServerError() bool
- func (o *DeleteMinecraftFromBuildForbidden) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildForbidden) String() string
- type DeleteMinecraftFromBuildNotAcceptable
- func (o *DeleteMinecraftFromBuildNotAcceptable) Code() int
- func (o *DeleteMinecraftFromBuildNotAcceptable) Error() string
- func (o *DeleteMinecraftFromBuildNotAcceptable) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildNotAcceptable) IsClientError() bool
- func (o *DeleteMinecraftFromBuildNotAcceptable) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildNotAcceptable) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildNotAcceptable) IsServerError() bool
- func (o *DeleteMinecraftFromBuildNotAcceptable) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildNotAcceptable) String() string
- type DeleteMinecraftFromBuildNotFound
- func (o *DeleteMinecraftFromBuildNotFound) Code() int
- func (o *DeleteMinecraftFromBuildNotFound) Error() string
- func (o *DeleteMinecraftFromBuildNotFound) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildNotFound) IsClientError() bool
- func (o *DeleteMinecraftFromBuildNotFound) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildNotFound) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildNotFound) IsServerError() bool
- func (o *DeleteMinecraftFromBuildNotFound) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildNotFound) String() string
- type DeleteMinecraftFromBuildOK
- func (o *DeleteMinecraftFromBuildOK) Code() int
- func (o *DeleteMinecraftFromBuildOK) Error() string
- func (o *DeleteMinecraftFromBuildOK) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildOK) IsClientError() bool
- func (o *DeleteMinecraftFromBuildOK) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildOK) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildOK) IsServerError() bool
- func (o *DeleteMinecraftFromBuildOK) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildOK) String() string
- type DeleteMinecraftFromBuildParams
- func NewDeleteMinecraftFromBuildParams() *DeleteMinecraftFromBuildParams
- func NewDeleteMinecraftFromBuildParamsWithContext(ctx context.Context) *DeleteMinecraftFromBuildParams
- func NewDeleteMinecraftFromBuildParamsWithHTTPClient(client *http.Client) *DeleteMinecraftFromBuildParams
- func NewDeleteMinecraftFromBuildParamsWithTimeout(timeout time.Duration) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) SetContext(ctx context.Context)
- func (o *DeleteMinecraftFromBuildParams) SetDefaults()
- func (o *DeleteMinecraftFromBuildParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMinecraftFromBuildParams) SetMinecraftBuild(minecraftBuild *models.MinecraftBuildParams)
- func (o *DeleteMinecraftFromBuildParams) SetMinecraftID(minecraftID string)
- func (o *DeleteMinecraftFromBuildParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMinecraftFromBuildParams) WithContext(ctx context.Context) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WithDefaults() *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WithHTTPClient(client *http.Client) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WithMinecraftBuild(minecraftBuild *models.MinecraftBuildParams) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WithMinecraftID(minecraftID string) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WithTimeout(timeout time.Duration) *DeleteMinecraftFromBuildParams
- func (o *DeleteMinecraftFromBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMinecraftFromBuildPreconditionFailed
- func (o *DeleteMinecraftFromBuildPreconditionFailed) Code() int
- func (o *DeleteMinecraftFromBuildPreconditionFailed) Error() string
- func (o *DeleteMinecraftFromBuildPreconditionFailed) GetPayload() *models.GeneralError
- func (o *DeleteMinecraftFromBuildPreconditionFailed) IsClientError() bool
- func (o *DeleteMinecraftFromBuildPreconditionFailed) IsCode(code int) bool
- func (o *DeleteMinecraftFromBuildPreconditionFailed) IsRedirect() bool
- func (o *DeleteMinecraftFromBuildPreconditionFailed) IsServerError() bool
- func (o *DeleteMinecraftFromBuildPreconditionFailed) IsSuccess() bool
- func (o *DeleteMinecraftFromBuildPreconditionFailed) String() string
- type DeleteMinecraftFromBuildReader
- type ListMinecraftBuildsDefault
- func (o *ListMinecraftBuildsDefault) Code() int
- func (o *ListMinecraftBuildsDefault) Error() string
- func (o *ListMinecraftBuildsDefault) GetPayload() *models.GeneralError
- func (o *ListMinecraftBuildsDefault) IsClientError() bool
- func (o *ListMinecraftBuildsDefault) IsCode(code int) bool
- func (o *ListMinecraftBuildsDefault) IsRedirect() bool
- func (o *ListMinecraftBuildsDefault) IsServerError() bool
- func (o *ListMinecraftBuildsDefault) IsSuccess() bool
- func (o *ListMinecraftBuildsDefault) String() string
- type ListMinecraftBuildsForbidden
- func (o *ListMinecraftBuildsForbidden) Code() int
- func (o *ListMinecraftBuildsForbidden) Error() string
- func (o *ListMinecraftBuildsForbidden) GetPayload() *models.GeneralError
- func (o *ListMinecraftBuildsForbidden) IsClientError() bool
- func (o *ListMinecraftBuildsForbidden) IsCode(code int) bool
- func (o *ListMinecraftBuildsForbidden) IsRedirect() bool
- func (o *ListMinecraftBuildsForbidden) IsServerError() bool
- func (o *ListMinecraftBuildsForbidden) IsSuccess() bool
- func (o *ListMinecraftBuildsForbidden) String() string
- type ListMinecraftBuildsNotFound
- func (o *ListMinecraftBuildsNotFound) Code() int
- func (o *ListMinecraftBuildsNotFound) Error() string
- func (o *ListMinecraftBuildsNotFound) GetPayload() *models.GeneralError
- func (o *ListMinecraftBuildsNotFound) IsClientError() bool
- func (o *ListMinecraftBuildsNotFound) IsCode(code int) bool
- func (o *ListMinecraftBuildsNotFound) IsRedirect() bool
- func (o *ListMinecraftBuildsNotFound) IsServerError() bool
- func (o *ListMinecraftBuildsNotFound) IsSuccess() bool
- func (o *ListMinecraftBuildsNotFound) String() string
- type ListMinecraftBuildsOK
- func (o *ListMinecraftBuildsOK) Code() int
- func (o *ListMinecraftBuildsOK) Error() string
- func (o *ListMinecraftBuildsOK) GetPayload() *models.MinecraftBuilds
- func (o *ListMinecraftBuildsOK) IsClientError() bool
- func (o *ListMinecraftBuildsOK) IsCode(code int) bool
- func (o *ListMinecraftBuildsOK) IsRedirect() bool
- func (o *ListMinecraftBuildsOK) IsServerError() bool
- func (o *ListMinecraftBuildsOK) IsSuccess() bool
- func (o *ListMinecraftBuildsOK) String() string
- type ListMinecraftBuildsParams
- func NewListMinecraftBuildsParams() *ListMinecraftBuildsParams
- func NewListMinecraftBuildsParamsWithContext(ctx context.Context) *ListMinecraftBuildsParams
- func NewListMinecraftBuildsParamsWithHTTPClient(client *http.Client) *ListMinecraftBuildsParams
- func NewListMinecraftBuildsParamsWithTimeout(timeout time.Duration) *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) SetContext(ctx context.Context)
- func (o *ListMinecraftBuildsParams) SetDefaults()
- func (o *ListMinecraftBuildsParams) SetHTTPClient(client *http.Client)
- func (o *ListMinecraftBuildsParams) SetMinecraftID(minecraftID string)
- func (o *ListMinecraftBuildsParams) SetTimeout(timeout time.Duration)
- func (o *ListMinecraftBuildsParams) WithContext(ctx context.Context) *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) WithDefaults() *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) WithHTTPClient(client *http.Client) *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) WithMinecraftID(minecraftID string) *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) WithTimeout(timeout time.Duration) *ListMinecraftBuildsParams
- func (o *ListMinecraftBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMinecraftBuildsReader
- type ListMinecraftsDefault
- func (o *ListMinecraftsDefault) Code() int
- func (o *ListMinecraftsDefault) Error() string
- func (o *ListMinecraftsDefault) GetPayload() *models.GeneralError
- func (o *ListMinecraftsDefault) IsClientError() bool
- func (o *ListMinecraftsDefault) IsCode(code int) bool
- func (o *ListMinecraftsDefault) IsRedirect() bool
- func (o *ListMinecraftsDefault) IsServerError() bool
- func (o *ListMinecraftsDefault) IsSuccess() bool
- func (o *ListMinecraftsDefault) String() string
- type ListMinecraftsForbidden
- func (o *ListMinecraftsForbidden) Code() int
- func (o *ListMinecraftsForbidden) Error() string
- func (o *ListMinecraftsForbidden) GetPayload() *models.GeneralError
- func (o *ListMinecraftsForbidden) IsClientError() bool
- func (o *ListMinecraftsForbidden) IsCode(code int) bool
- func (o *ListMinecraftsForbidden) IsRedirect() bool
- func (o *ListMinecraftsForbidden) IsServerError() bool
- func (o *ListMinecraftsForbidden) IsSuccess() bool
- func (o *ListMinecraftsForbidden) String() string
- type ListMinecraftsOK
- func (o *ListMinecraftsOK) Code() int
- func (o *ListMinecraftsOK) Error() string
- func (o *ListMinecraftsOK) GetPayload() *models.Minecrafts
- func (o *ListMinecraftsOK) IsClientError() bool
- func (o *ListMinecraftsOK) IsCode(code int) bool
- func (o *ListMinecraftsOK) IsRedirect() bool
- func (o *ListMinecraftsOK) IsServerError() bool
- func (o *ListMinecraftsOK) IsSuccess() bool
- func (o *ListMinecraftsOK) String() string
- type ListMinecraftsParams
- func NewListMinecraftsParams() *ListMinecraftsParams
- func NewListMinecraftsParamsWithContext(ctx context.Context) *ListMinecraftsParams
- func NewListMinecraftsParamsWithHTTPClient(client *http.Client) *ListMinecraftsParams
- func NewListMinecraftsParamsWithTimeout(timeout time.Duration) *ListMinecraftsParams
- func (o *ListMinecraftsParams) SetContext(ctx context.Context)
- func (o *ListMinecraftsParams) SetDefaults()
- func (o *ListMinecraftsParams) SetHTTPClient(client *http.Client)
- func (o *ListMinecraftsParams) SetTimeout(timeout time.Duration)
- func (o *ListMinecraftsParams) WithContext(ctx context.Context) *ListMinecraftsParams
- func (o *ListMinecraftsParams) WithDefaults() *ListMinecraftsParams
- func (o *ListMinecraftsParams) WithHTTPClient(client *http.Client) *ListMinecraftsParams
- func (o *ListMinecraftsParams) WithTimeout(timeout time.Duration) *ListMinecraftsParams
- func (o *ListMinecraftsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMinecraftsReader
- type SearchMinecraftsDefault
- func (o *SearchMinecraftsDefault) Code() int
- func (o *SearchMinecraftsDefault) Error() string
- func (o *SearchMinecraftsDefault) GetPayload() *models.GeneralError
- func (o *SearchMinecraftsDefault) IsClientError() bool
- func (o *SearchMinecraftsDefault) IsCode(code int) bool
- func (o *SearchMinecraftsDefault) IsRedirect() bool
- func (o *SearchMinecraftsDefault) IsServerError() bool
- func (o *SearchMinecraftsDefault) IsSuccess() bool
- func (o *SearchMinecraftsDefault) String() string
- type SearchMinecraftsForbidden
- func (o *SearchMinecraftsForbidden) Code() int
- func (o *SearchMinecraftsForbidden) Error() string
- func (o *SearchMinecraftsForbidden) GetPayload() *models.GeneralError
- func (o *SearchMinecraftsForbidden) IsClientError() bool
- func (o *SearchMinecraftsForbidden) IsCode(code int) bool
- func (o *SearchMinecraftsForbidden) IsRedirect() bool
- func (o *SearchMinecraftsForbidden) IsServerError() bool
- func (o *SearchMinecraftsForbidden) IsSuccess() bool
- func (o *SearchMinecraftsForbidden) String() string
- type SearchMinecraftsOK
- func (o *SearchMinecraftsOK) Code() int
- func (o *SearchMinecraftsOK) Error() string
- func (o *SearchMinecraftsOK) GetPayload() *models.Minecrafts
- func (o *SearchMinecraftsOK) IsClientError() bool
- func (o *SearchMinecraftsOK) IsCode(code int) bool
- func (o *SearchMinecraftsOK) IsRedirect() bool
- func (o *SearchMinecraftsOK) IsServerError() bool
- func (o *SearchMinecraftsOK) IsSuccess() bool
- func (o *SearchMinecraftsOK) String() string
- type SearchMinecraftsParams
- func NewSearchMinecraftsParams() *SearchMinecraftsParams
- func NewSearchMinecraftsParamsWithContext(ctx context.Context) *SearchMinecraftsParams
- func NewSearchMinecraftsParamsWithHTTPClient(client *http.Client) *SearchMinecraftsParams
- func NewSearchMinecraftsParamsWithTimeout(timeout time.Duration) *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) SetContext(ctx context.Context)
- func (o *SearchMinecraftsParams) SetDefaults()
- func (o *SearchMinecraftsParams) SetHTTPClient(client *http.Client)
- func (o *SearchMinecraftsParams) SetMinecraftID(minecraftID string)
- func (o *SearchMinecraftsParams) SetTimeout(timeout time.Duration)
- func (o *SearchMinecraftsParams) WithContext(ctx context.Context) *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) WithDefaults() *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) WithHTTPClient(client *http.Client) *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) WithMinecraftID(minecraftID string) *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) WithTimeout(timeout time.Duration) *SearchMinecraftsParams
- func (o *SearchMinecraftsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchMinecraftsReader
- type UpdateMinecraftDefault
- func (o *UpdateMinecraftDefault) Code() int
- func (o *UpdateMinecraftDefault) Error() string
- func (o *UpdateMinecraftDefault) GetPayload() *models.GeneralError
- func (o *UpdateMinecraftDefault) IsClientError() bool
- func (o *UpdateMinecraftDefault) IsCode(code int) bool
- func (o *UpdateMinecraftDefault) IsRedirect() bool
- func (o *UpdateMinecraftDefault) IsServerError() bool
- func (o *UpdateMinecraftDefault) IsSuccess() bool
- func (o *UpdateMinecraftDefault) String() string
- type UpdateMinecraftForbidden
- func (o *UpdateMinecraftForbidden) Code() int
- func (o *UpdateMinecraftForbidden) Error() string
- func (o *UpdateMinecraftForbidden) GetPayload() *models.GeneralError
- func (o *UpdateMinecraftForbidden) IsClientError() bool
- func (o *UpdateMinecraftForbidden) IsCode(code int) bool
- func (o *UpdateMinecraftForbidden) IsRedirect() bool
- func (o *UpdateMinecraftForbidden) IsServerError() bool
- func (o *UpdateMinecraftForbidden) IsSuccess() bool
- func (o *UpdateMinecraftForbidden) String() string
- type UpdateMinecraftOK
- func (o *UpdateMinecraftOK) Code() int
- func (o *UpdateMinecraftOK) Error() string
- func (o *UpdateMinecraftOK) GetPayload() *models.GeneralError
- func (o *UpdateMinecraftOK) IsClientError() bool
- func (o *UpdateMinecraftOK) IsCode(code int) bool
- func (o *UpdateMinecraftOK) IsRedirect() bool
- func (o *UpdateMinecraftOK) IsServerError() bool
- func (o *UpdateMinecraftOK) IsSuccess() bool
- func (o *UpdateMinecraftOK) String() string
- type UpdateMinecraftParams
- func NewUpdateMinecraftParams() *UpdateMinecraftParams
- func NewUpdateMinecraftParamsWithContext(ctx context.Context) *UpdateMinecraftParams
- func NewUpdateMinecraftParamsWithHTTPClient(client *http.Client) *UpdateMinecraftParams
- func NewUpdateMinecraftParamsWithTimeout(timeout time.Duration) *UpdateMinecraftParams
- func (o *UpdateMinecraftParams) SetContext(ctx context.Context)
- func (o *UpdateMinecraftParams) SetDefaults()
- func (o *UpdateMinecraftParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMinecraftParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMinecraftParams) WithContext(ctx context.Context) *UpdateMinecraftParams
- func (o *UpdateMinecraftParams) WithDefaults() *UpdateMinecraftParams
- func (o *UpdateMinecraftParams) WithHTTPClient(client *http.Client) *UpdateMinecraftParams
- func (o *UpdateMinecraftParams) WithTimeout(timeout time.Duration) *UpdateMinecraftParams
- func (o *UpdateMinecraftParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMinecraftReader
- type UpdateMinecraftServiceUnavailable
- func (o *UpdateMinecraftServiceUnavailable) Code() int
- func (o *UpdateMinecraftServiceUnavailable) Error() string
- func (o *UpdateMinecraftServiceUnavailable) GetPayload() *models.GeneralError
- func (o *UpdateMinecraftServiceUnavailable) IsClientError() bool
- func (o *UpdateMinecraftServiceUnavailable) IsCode(code int) bool
- func (o *UpdateMinecraftServiceUnavailable) IsRedirect() bool
- func (o *UpdateMinecraftServiceUnavailable) IsServerError() bool
- func (o *UpdateMinecraftServiceUnavailable) IsSuccess() bool
- func (o *UpdateMinecraftServiceUnavailable) String() string
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 ¶
func (o *AppendMinecraftToBuildDefault) Code() int
Code gets the status code for the append minecraft to build default response
func (*AppendMinecraftToBuildDefault) Error ¶
func (o *AppendMinecraftToBuildDefault) Error() string
func (*AppendMinecraftToBuildDefault) GetPayload ¶
func (o *AppendMinecraftToBuildDefault) GetPayload() *models.GeneralError
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 ¶
func (o *AppendMinecraftToBuildDefault) String() 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 ¶
func (o *AppendMinecraftToBuildForbidden) Code() int
Code gets the status code for the append minecraft to build forbidden response
func (*AppendMinecraftToBuildForbidden) Error ¶
func (o *AppendMinecraftToBuildForbidden) Error() string
func (*AppendMinecraftToBuildForbidden) GetPayload ¶
func (o *AppendMinecraftToBuildForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *AppendMinecraftToBuildForbidden) String() 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 ¶
func (o *AppendMinecraftToBuildNotAcceptable) Code() int
Code gets the status code for the append minecraft to build not acceptable response
func (*AppendMinecraftToBuildNotAcceptable) Error ¶
func (o *AppendMinecraftToBuildNotAcceptable) Error() string
func (*AppendMinecraftToBuildNotAcceptable) GetPayload ¶
func (o *AppendMinecraftToBuildNotAcceptable) GetPayload() *models.GeneralError
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 ¶
func (o *AppendMinecraftToBuildNotAcceptable) IsCode(code int) bool
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 ¶
func (o *AppendMinecraftToBuildNotAcceptable) IsSuccess() bool
IsSuccess returns true when this append minecraft to build not acceptable response has a 2xx status code
func (*AppendMinecraftToBuildNotAcceptable) String ¶
func (o *AppendMinecraftToBuildNotAcceptable) String() 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 ¶
func (o *AppendMinecraftToBuildNotFound) Code() int
Code gets the status code for the append minecraft to build not found response
func (*AppendMinecraftToBuildNotFound) Error ¶
func (o *AppendMinecraftToBuildNotFound) Error() string
func (*AppendMinecraftToBuildNotFound) GetPayload ¶
func (o *AppendMinecraftToBuildNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *AppendMinecraftToBuildNotFound) String() 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 ¶
func (o *AppendMinecraftToBuildParams) WithContext(ctx context.Context) *AppendMinecraftToBuildParams
WithContext adds the context to the append minecraft to build params
func (*AppendMinecraftToBuildParams) WithDefaults ¶
func (o *AppendMinecraftToBuildParams) WithDefaults() *AppendMinecraftToBuildParams
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 ¶
func (o *AppendMinecraftToBuildParams) WithHTTPClient(client *http.Client) *AppendMinecraftToBuildParams
WithHTTPClient adds the HTTPClient to the append minecraft to build params
func (*AppendMinecraftToBuildParams) WithMinecraftBuild ¶
func (o *AppendMinecraftToBuildParams) WithMinecraftBuild(minecraftBuild *models.MinecraftBuildParams) *AppendMinecraftToBuildParams
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 ¶
func (o *AppendMinecraftToBuildParams) WithTimeout(timeout time.Duration) *AppendMinecraftToBuildParams
WithTimeout adds the timeout to the append minecraft to build params
func (*AppendMinecraftToBuildParams) WriteToRequest ¶
func (o *AppendMinecraftToBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AppendMinecraftToBuildPreconditionFailed) Code() int
Code gets the status code for the append minecraft to build precondition failed response
func (*AppendMinecraftToBuildPreconditionFailed) Error ¶
func (o *AppendMinecraftToBuildPreconditionFailed) Error() string
func (*AppendMinecraftToBuildPreconditionFailed) GetPayload ¶
func (o *AppendMinecraftToBuildPreconditionFailed) GetPayload() *models.GeneralError
func (*AppendMinecraftToBuildPreconditionFailed) IsClientError ¶
func (o *AppendMinecraftToBuildPreconditionFailed) IsClientError() bool
IsClientError returns true when this append minecraft to build precondition failed response has a 4xx status code
func (*AppendMinecraftToBuildPreconditionFailed) IsCode ¶
func (o *AppendMinecraftToBuildPreconditionFailed) IsCode(code int) bool
IsCode returns true when this append minecraft to build precondition failed response a status code equal to that given
func (*AppendMinecraftToBuildPreconditionFailed) IsRedirect ¶
func (o *AppendMinecraftToBuildPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this append minecraft to build precondition failed response has a 3xx status code
func (*AppendMinecraftToBuildPreconditionFailed) IsServerError ¶
func (o *AppendMinecraftToBuildPreconditionFailed) IsServerError() bool
IsServerError returns true when this append minecraft to build precondition failed response has a 5xx status code
func (*AppendMinecraftToBuildPreconditionFailed) IsSuccess ¶
func (o *AppendMinecraftToBuildPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this append minecraft to build precondition failed response has a 2xx status code
func (*AppendMinecraftToBuildPreconditionFailed) String ¶
func (o *AppendMinecraftToBuildPreconditionFailed) String() 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 ¶
func (o *DeleteMinecraftFromBuildDefault) Code() int
Code gets the status code for the delete minecraft from build default response
func (*DeleteMinecraftFromBuildDefault) Error ¶
func (o *DeleteMinecraftFromBuildDefault) Error() string
func (*DeleteMinecraftFromBuildDefault) GetPayload ¶
func (o *DeleteMinecraftFromBuildDefault) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteMinecraftFromBuildDefault) String() 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 ¶
func (o *DeleteMinecraftFromBuildForbidden) Code() int
Code gets the status code for the delete minecraft from build forbidden response
func (*DeleteMinecraftFromBuildForbidden) Error ¶
func (o *DeleteMinecraftFromBuildForbidden) Error() string
func (*DeleteMinecraftFromBuildForbidden) GetPayload ¶
func (o *DeleteMinecraftFromBuildForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteMinecraftFromBuildForbidden) String() 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 ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) Code() int
Code gets the status code for the delete minecraft from build not acceptable response
func (*DeleteMinecraftFromBuildNotAcceptable) Error ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) Error() string
func (*DeleteMinecraftFromBuildNotAcceptable) GetPayload ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) IsCode(code int) bool
IsCode returns true when this delete minecraft from build not acceptable response a status code equal to that given
func (*DeleteMinecraftFromBuildNotAcceptable) IsRedirect ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) IsRedirect() bool
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 ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) IsSuccess() bool
IsSuccess returns true when this delete minecraft from build not acceptable response has a 2xx status code
func (*DeleteMinecraftFromBuildNotAcceptable) String ¶
func (o *DeleteMinecraftFromBuildNotAcceptable) String() 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 ¶
func (o *DeleteMinecraftFromBuildNotFound) Code() int
Code gets the status code for the delete minecraft from build not found response
func (*DeleteMinecraftFromBuildNotFound) Error ¶
func (o *DeleteMinecraftFromBuildNotFound) Error() string
func (*DeleteMinecraftFromBuildNotFound) GetPayload ¶
func (o *DeleteMinecraftFromBuildNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteMinecraftFromBuildNotFound) String() 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 (o *DeleteMinecraftFromBuildOK) Error() string
func (*DeleteMinecraftFromBuildOK) GetPayload ¶
func (o *DeleteMinecraftFromBuildOK) GetPayload() *models.GeneralError
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 ¶
func (o *DeleteMinecraftFromBuildParams) WithContext(ctx context.Context) *DeleteMinecraftFromBuildParams
WithContext adds the context to the delete minecraft from build params
func (*DeleteMinecraftFromBuildParams) WithDefaults ¶
func (o *DeleteMinecraftFromBuildParams) WithDefaults() *DeleteMinecraftFromBuildParams
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 ¶
func (o *DeleteMinecraftFromBuildParams) WithHTTPClient(client *http.Client) *DeleteMinecraftFromBuildParams
WithHTTPClient adds the HTTPClient to the delete minecraft from build params
func (*DeleteMinecraftFromBuildParams) WithMinecraftBuild ¶
func (o *DeleteMinecraftFromBuildParams) WithMinecraftBuild(minecraftBuild *models.MinecraftBuildParams) *DeleteMinecraftFromBuildParams
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 ¶
func (o *DeleteMinecraftFromBuildParams) WithTimeout(timeout time.Duration) *DeleteMinecraftFromBuildParams
WithTimeout adds the timeout to the delete minecraft from build params
func (*DeleteMinecraftFromBuildParams) WriteToRequest ¶
func (o *DeleteMinecraftFromBuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) Code() int
Code gets the status code for the delete minecraft from build precondition failed response
func (*DeleteMinecraftFromBuildPreconditionFailed) Error ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) Error() string
func (*DeleteMinecraftFromBuildPreconditionFailed) GetPayload ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) GetPayload() *models.GeneralError
func (*DeleteMinecraftFromBuildPreconditionFailed) IsClientError ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete minecraft from build precondition failed response has a 4xx status code
func (*DeleteMinecraftFromBuildPreconditionFailed) IsCode ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete minecraft from build precondition failed response a status code equal to that given
func (*DeleteMinecraftFromBuildPreconditionFailed) IsRedirect ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete minecraft from build precondition failed response has a 3xx status code
func (*DeleteMinecraftFromBuildPreconditionFailed) IsServerError ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete minecraft from build precondition failed response has a 5xx status code
func (*DeleteMinecraftFromBuildPreconditionFailed) IsSuccess ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete minecraft from build precondition failed response has a 2xx status code
func (*DeleteMinecraftFromBuildPreconditionFailed) String ¶
func (o *DeleteMinecraftFromBuildPreconditionFailed) String() 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 (o *ListMinecraftBuildsDefault) Error() string
func (*ListMinecraftBuildsDefault) GetPayload ¶
func (o *ListMinecraftBuildsDefault) GetPayload() *models.GeneralError
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 ¶
func (o *ListMinecraftBuildsForbidden) Code() int
Code gets the status code for the list minecraft builds forbidden response
func (*ListMinecraftBuildsForbidden) Error ¶
func (o *ListMinecraftBuildsForbidden) Error() string
func (*ListMinecraftBuildsForbidden) GetPayload ¶
func (o *ListMinecraftBuildsForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *ListMinecraftBuildsForbidden) String() 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 (o *ListMinecraftBuildsNotFound) Error() string
func (*ListMinecraftBuildsNotFound) GetPayload ¶
func (o *ListMinecraftBuildsNotFound) GetPayload() *models.GeneralError
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 ¶
func (o *ListMinecraftBuildsParams) WithContext(ctx context.Context) *ListMinecraftBuildsParams
WithContext adds the context to the list minecraft builds params
func (*ListMinecraftBuildsParams) WithDefaults ¶
func (o *ListMinecraftBuildsParams) WithDefaults() *ListMinecraftBuildsParams
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 ¶
func (o *ListMinecraftBuildsParams) WithTimeout(timeout time.Duration) *ListMinecraftBuildsParams
WithTimeout adds the timeout to the list minecraft builds params
func (*ListMinecraftBuildsParams) WriteToRequest ¶
func (o *ListMinecraftBuildsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListMinecraftsParams) WithContext(ctx context.Context) *ListMinecraftsParams
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 (o *SearchMinecraftsForbidden) GetPayload() *models.GeneralError
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 ¶
func (o *SearchMinecraftsParams) WithContext(ctx context.Context) *SearchMinecraftsParams
WithContext adds the context to the search minecrafts params
func (*SearchMinecraftsParams) WithDefaults ¶
func (o *SearchMinecraftsParams) WithDefaults() *SearchMinecraftsParams
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 ¶
func (o *SearchMinecraftsParams) WithTimeout(timeout time.Duration) *SearchMinecraftsParams
WithTimeout adds the timeout to the search minecrafts params
func (*SearchMinecraftsParams) WriteToRequest ¶
func (o *SearchMinecraftsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateMinecraftParams) WithContext(ctx context.Context) *UpdateMinecraftParams
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 {
}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 ¶
func (o *UpdateMinecraftServiceUnavailable) Code() int
Code gets the status code for the update minecraft service unavailable response
func (*UpdateMinecraftServiceUnavailable) Error ¶
func (o *UpdateMinecraftServiceUnavailable) Error() string
func (*UpdateMinecraftServiceUnavailable) GetPayload ¶
func (o *UpdateMinecraftServiceUnavailable) GetPayload() *models.GeneralError
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 ¶
func (o *UpdateMinecraftServiceUnavailable) String() string
Source Files ¶
- append_minecraft_to_build_parameters.go
- append_minecraft_to_build_responses.go
- delete_minecraft_from_build_parameters.go
- delete_minecraft_from_build_responses.go
- list_minecraft_builds_parameters.go
- list_minecraft_builds_responses.go
- list_minecrafts_parameters.go
- list_minecrafts_responses.go
- minecraft_client.go
- search_minecrafts_parameters.go
- search_minecrafts_responses.go
- update_minecraft_parameters.go
- update_minecraft_responses.go