neoforge

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendNeoforgeToBuildDefault

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

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

Some error unrelated to the handler

func NewAppendNeoforgeToBuildDefault

func NewAppendNeoforgeToBuildDefault(code int) *AppendNeoforgeToBuildDefault

NewAppendNeoforgeToBuildDefault creates a AppendNeoforgeToBuildDefault with default headers values

func (*AppendNeoforgeToBuildDefault) Code

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

func (*AppendNeoforgeToBuildDefault) Error

func (*AppendNeoforgeToBuildDefault) GetPayload

func (*AppendNeoforgeToBuildDefault) IsClientError

func (o *AppendNeoforgeToBuildDefault) IsClientError() bool

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

func (*AppendNeoforgeToBuildDefault) IsCode

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

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

func (*AppendNeoforgeToBuildDefault) IsRedirect

func (o *AppendNeoforgeToBuildDefault) IsRedirect() bool

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

func (*AppendNeoforgeToBuildDefault) IsServerError

func (o *AppendNeoforgeToBuildDefault) IsServerError() bool

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

func (*AppendNeoforgeToBuildDefault) IsSuccess

func (o *AppendNeoforgeToBuildDefault) IsSuccess() bool

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

func (*AppendNeoforgeToBuildDefault) String

type AppendNeoforgeToBuildForbidden

type AppendNeoforgeToBuildForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewAppendNeoforgeToBuildForbidden

func NewAppendNeoforgeToBuildForbidden() *AppendNeoforgeToBuildForbidden

NewAppendNeoforgeToBuildForbidden creates a AppendNeoforgeToBuildForbidden with default headers values

func (*AppendNeoforgeToBuildForbidden) Code

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

func (*AppendNeoforgeToBuildForbidden) Error

func (*AppendNeoforgeToBuildForbidden) GetPayload

func (*AppendNeoforgeToBuildForbidden) IsClientError

func (o *AppendNeoforgeToBuildForbidden) IsClientError() bool

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

func (*AppendNeoforgeToBuildForbidden) IsCode

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

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

func (*AppendNeoforgeToBuildForbidden) IsRedirect

func (o *AppendNeoforgeToBuildForbidden) IsRedirect() bool

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

func (*AppendNeoforgeToBuildForbidden) IsServerError

func (o *AppendNeoforgeToBuildForbidden) IsServerError() bool

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

func (*AppendNeoforgeToBuildForbidden) IsSuccess

func (o *AppendNeoforgeToBuildForbidden) IsSuccess() bool

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

func (*AppendNeoforgeToBuildForbidden) String

type AppendNeoforgeToBuildNotAcceptable

type AppendNeoforgeToBuildNotAcceptable struct {
	Payload *models.GeneralError
}

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

Failed to update build

func NewAppendNeoforgeToBuildNotAcceptable

func NewAppendNeoforgeToBuildNotAcceptable() *AppendNeoforgeToBuildNotAcceptable

NewAppendNeoforgeToBuildNotAcceptable creates a AppendNeoforgeToBuildNotAcceptable with default headers values

func (*AppendNeoforgeToBuildNotAcceptable) Code

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

func (*AppendNeoforgeToBuildNotAcceptable) Error

func (*AppendNeoforgeToBuildNotAcceptable) GetPayload

func (*AppendNeoforgeToBuildNotAcceptable) IsClientError

func (o *AppendNeoforgeToBuildNotAcceptable) IsClientError() bool

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

func (*AppendNeoforgeToBuildNotAcceptable) IsCode

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

func (*AppendNeoforgeToBuildNotAcceptable) IsRedirect

func (o *AppendNeoforgeToBuildNotAcceptable) IsRedirect() bool

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

func (*AppendNeoforgeToBuildNotAcceptable) IsServerError

func (o *AppendNeoforgeToBuildNotAcceptable) IsServerError() bool

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

func (*AppendNeoforgeToBuildNotAcceptable) IsSuccess

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

func (*AppendNeoforgeToBuildNotAcceptable) String

type AppendNeoforgeToBuildNotFound

type AppendNeoforgeToBuildNotFound struct {
	Payload *models.GeneralError
}

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

Neoforge or build not found

func NewAppendNeoforgeToBuildNotFound

func NewAppendNeoforgeToBuildNotFound() *AppendNeoforgeToBuildNotFound

NewAppendNeoforgeToBuildNotFound creates a AppendNeoforgeToBuildNotFound with default headers values

func (*AppendNeoforgeToBuildNotFound) Code

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

func (*AppendNeoforgeToBuildNotFound) Error

func (*AppendNeoforgeToBuildNotFound) GetPayload

func (*AppendNeoforgeToBuildNotFound) IsClientError

func (o *AppendNeoforgeToBuildNotFound) IsClientError() bool

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

func (*AppendNeoforgeToBuildNotFound) IsCode

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

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

func (*AppendNeoforgeToBuildNotFound) IsRedirect

func (o *AppendNeoforgeToBuildNotFound) IsRedirect() bool

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

func (*AppendNeoforgeToBuildNotFound) IsServerError

func (o *AppendNeoforgeToBuildNotFound) IsServerError() bool

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

func (*AppendNeoforgeToBuildNotFound) IsSuccess

func (o *AppendNeoforgeToBuildNotFound) IsSuccess() bool

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

func (*AppendNeoforgeToBuildNotFound) String

type AppendNeoforgeToBuildOK

type AppendNeoforgeToBuildOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewAppendNeoforgeToBuildOK

func NewAppendNeoforgeToBuildOK() *AppendNeoforgeToBuildOK

NewAppendNeoforgeToBuildOK creates a AppendNeoforgeToBuildOK with default headers values

func (*AppendNeoforgeToBuildOK) Code

func (o *AppendNeoforgeToBuildOK) Code() int

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

func (*AppendNeoforgeToBuildOK) Error

func (o *AppendNeoforgeToBuildOK) Error() string

func (*AppendNeoforgeToBuildOK) GetPayload

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

func (*AppendNeoforgeToBuildOK) IsClientError

func (o *AppendNeoforgeToBuildOK) IsClientError() bool

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

func (*AppendNeoforgeToBuildOK) IsCode

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

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

func (*AppendNeoforgeToBuildOK) IsRedirect

func (o *AppendNeoforgeToBuildOK) IsRedirect() bool

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

func (*AppendNeoforgeToBuildOK) IsServerError

func (o *AppendNeoforgeToBuildOK) IsServerError() bool

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

func (*AppendNeoforgeToBuildOK) IsSuccess

func (o *AppendNeoforgeToBuildOK) IsSuccess() bool

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

func (*AppendNeoforgeToBuildOK) String

func (o *AppendNeoforgeToBuildOK) String() string

type AppendNeoforgeToBuildParams

type AppendNeoforgeToBuildParams struct {

	/* NeoforgeBuild.

	   The build data to append
	*/
	NeoforgeBuild *models.NeoforgeBuildParams

	/* NeoforgeID.

	   A neoforge UUID or slug
	*/
	NeoforgeID string

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

AppendNeoforgeToBuildParams contains all the parameters to send to the API endpoint

for the append neoforge to build operation.

Typically these are written to a http.Request.

func NewAppendNeoforgeToBuildParams

func NewAppendNeoforgeToBuildParams() *AppendNeoforgeToBuildParams

NewAppendNeoforgeToBuildParams creates a new AppendNeoforgeToBuildParams 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 NewAppendNeoforgeToBuildParamsWithContext

func NewAppendNeoforgeToBuildParamsWithContext(ctx context.Context) *AppendNeoforgeToBuildParams

NewAppendNeoforgeToBuildParamsWithContext creates a new AppendNeoforgeToBuildParams object with the ability to set a context for a request.

func NewAppendNeoforgeToBuildParamsWithHTTPClient

func NewAppendNeoforgeToBuildParamsWithHTTPClient(client *http.Client) *AppendNeoforgeToBuildParams

NewAppendNeoforgeToBuildParamsWithHTTPClient creates a new AppendNeoforgeToBuildParams object with the ability to set a custom HTTPClient for a request.

func NewAppendNeoforgeToBuildParamsWithTimeout

func NewAppendNeoforgeToBuildParamsWithTimeout(timeout time.Duration) *AppendNeoforgeToBuildParams

NewAppendNeoforgeToBuildParamsWithTimeout creates a new AppendNeoforgeToBuildParams object with the ability to set a timeout on a request.

func (*AppendNeoforgeToBuildParams) SetContext

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

SetContext adds the context to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) SetDefaults

func (o *AppendNeoforgeToBuildParams) SetDefaults()

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

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

func (*AppendNeoforgeToBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) SetNeoforgeBuild

func (o *AppendNeoforgeToBuildParams) SetNeoforgeBuild(neoforgeBuild *models.NeoforgeBuildParams)

SetNeoforgeBuild adds the neoforgeBuild to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) SetNeoforgeID

func (o *AppendNeoforgeToBuildParams) SetNeoforgeID(neoforgeID string)

SetNeoforgeID adds the neoforgeId to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) SetTimeout

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

SetTimeout adds the timeout to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WithContext

WithContext adds the context to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WithDefaults

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

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

func (*AppendNeoforgeToBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WithNeoforgeBuild

WithNeoforgeBuild adds the neoforgeBuild to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WithNeoforgeID

func (o *AppendNeoforgeToBuildParams) WithNeoforgeID(neoforgeID string) *AppendNeoforgeToBuildParams

WithNeoforgeID adds the neoforgeID to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WithTimeout

WithTimeout adds the timeout to the append neoforge to build params

func (*AppendNeoforgeToBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendNeoforgeToBuildPreconditionFailed

type AppendNeoforgeToBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Build is already assigned

func NewAppendNeoforgeToBuildPreconditionFailed

func NewAppendNeoforgeToBuildPreconditionFailed() *AppendNeoforgeToBuildPreconditionFailed

NewAppendNeoforgeToBuildPreconditionFailed creates a AppendNeoforgeToBuildPreconditionFailed with default headers values

func (*AppendNeoforgeToBuildPreconditionFailed) Code

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

func (*AppendNeoforgeToBuildPreconditionFailed) Error

func (*AppendNeoforgeToBuildPreconditionFailed) GetPayload

func (*AppendNeoforgeToBuildPreconditionFailed) IsClientError

func (o *AppendNeoforgeToBuildPreconditionFailed) IsClientError() bool

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

func (*AppendNeoforgeToBuildPreconditionFailed) IsCode

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

func (*AppendNeoforgeToBuildPreconditionFailed) IsRedirect

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

func (*AppendNeoforgeToBuildPreconditionFailed) IsServerError

func (o *AppendNeoforgeToBuildPreconditionFailed) IsServerError() bool

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

func (*AppendNeoforgeToBuildPreconditionFailed) IsSuccess

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

func (*AppendNeoforgeToBuildPreconditionFailed) String

type AppendNeoforgeToBuildReader

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

AppendNeoforgeToBuildReader is a Reader for the AppendNeoforgeToBuild structure.

func (*AppendNeoforgeToBuildReader) ReadResponse

func (o *AppendNeoforgeToBuildReader) 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 neoforge API

func (*Client) AppendNeoforgeToBuild

func (a *Client) AppendNeoforgeToBuild(params *AppendNeoforgeToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendNeoforgeToBuildOK, error)

AppendNeoforgeToBuild assigns a build to a neoforge version

func (*Client) DeleteNeoforgeFromBuild

func (a *Client) DeleteNeoforgeFromBuild(params *DeleteNeoforgeFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNeoforgeFromBuildOK, error)

DeleteNeoforgeFromBuild unlinks a build from a neoforge version

func (*Client) ListNeoforgeBuilds

func (a *Client) ListNeoforgeBuilds(params *ListNeoforgeBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNeoforgeBuildsOK, error)

ListNeoforgeBuilds fetches the builds assigned to a neoforge version

func (*Client) ListNeoforges

func (a *Client) ListNeoforges(params *ListNeoforgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNeoforgesOK, error)

ListNeoforges fetches the available neoforge versions

func (*Client) SearchNeoforges

func (a *Client) SearchNeoforges(params *SearchNeoforgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNeoforgesOK, error)

SearchNeoforges searches for available neoforge versions

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNeoforge

func (a *Client) UpdateNeoforge(params *UpdateNeoforgeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNeoforgeOK, error)

UpdateNeoforge updates the available neoforge versions

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AppendNeoforgeToBuild(params *AppendNeoforgeToBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppendNeoforgeToBuildOK, error)

	DeleteNeoforgeFromBuild(params *DeleteNeoforgeFromBuildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNeoforgeFromBuildOK, error)

	ListNeoforgeBuilds(params *ListNeoforgeBuildsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNeoforgeBuildsOK, error)

	ListNeoforges(params *ListNeoforgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNeoforgesOK, error)

	SearchNeoforges(params *SearchNeoforgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchNeoforgesOK, error)

	UpdateNeoforge(params *UpdateNeoforgeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNeoforgeOK, 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 neoforge API client.

type DeleteNeoforgeFromBuildDefault

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

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

Some error unrelated to the handler

func NewDeleteNeoforgeFromBuildDefault

func NewDeleteNeoforgeFromBuildDefault(code int) *DeleteNeoforgeFromBuildDefault

NewDeleteNeoforgeFromBuildDefault creates a DeleteNeoforgeFromBuildDefault with default headers values

func (*DeleteNeoforgeFromBuildDefault) Code

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

func (*DeleteNeoforgeFromBuildDefault) Error

func (*DeleteNeoforgeFromBuildDefault) GetPayload

func (*DeleteNeoforgeFromBuildDefault) IsClientError

func (o *DeleteNeoforgeFromBuildDefault) IsClientError() bool

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

func (*DeleteNeoforgeFromBuildDefault) IsCode

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

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

func (*DeleteNeoforgeFromBuildDefault) IsRedirect

func (o *DeleteNeoforgeFromBuildDefault) IsRedirect() bool

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

func (*DeleteNeoforgeFromBuildDefault) IsServerError

func (o *DeleteNeoforgeFromBuildDefault) IsServerError() bool

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

func (*DeleteNeoforgeFromBuildDefault) IsSuccess

func (o *DeleteNeoforgeFromBuildDefault) IsSuccess() bool

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

func (*DeleteNeoforgeFromBuildDefault) String

type DeleteNeoforgeFromBuildForbidden

type DeleteNeoforgeFromBuildForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewDeleteNeoforgeFromBuildForbidden

func NewDeleteNeoforgeFromBuildForbidden() *DeleteNeoforgeFromBuildForbidden

NewDeleteNeoforgeFromBuildForbidden creates a DeleteNeoforgeFromBuildForbidden with default headers values

func (*DeleteNeoforgeFromBuildForbidden) Code

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

func (*DeleteNeoforgeFromBuildForbidden) Error

func (*DeleteNeoforgeFromBuildForbidden) GetPayload

func (*DeleteNeoforgeFromBuildForbidden) IsClientError

func (o *DeleteNeoforgeFromBuildForbidden) IsClientError() bool

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

func (*DeleteNeoforgeFromBuildForbidden) IsCode

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

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

func (*DeleteNeoforgeFromBuildForbidden) IsRedirect

func (o *DeleteNeoforgeFromBuildForbidden) IsRedirect() bool

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

func (*DeleteNeoforgeFromBuildForbidden) IsServerError

func (o *DeleteNeoforgeFromBuildForbidden) IsServerError() bool

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

func (*DeleteNeoforgeFromBuildForbidden) IsSuccess

func (o *DeleteNeoforgeFromBuildForbidden) IsSuccess() bool

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

func (*DeleteNeoforgeFromBuildForbidden) String

type DeleteNeoforgeFromBuildNotAcceptable

type DeleteNeoforgeFromBuildNotAcceptable struct {
	Payload *models.GeneralError
}

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

Failed to update build

func NewDeleteNeoforgeFromBuildNotAcceptable

func NewDeleteNeoforgeFromBuildNotAcceptable() *DeleteNeoforgeFromBuildNotAcceptable

NewDeleteNeoforgeFromBuildNotAcceptable creates a DeleteNeoforgeFromBuildNotAcceptable with default headers values

func (*DeleteNeoforgeFromBuildNotAcceptable) Code

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

func (*DeleteNeoforgeFromBuildNotAcceptable) Error

func (*DeleteNeoforgeFromBuildNotAcceptable) GetPayload

func (*DeleteNeoforgeFromBuildNotAcceptable) IsClientError

func (o *DeleteNeoforgeFromBuildNotAcceptable) IsClientError() bool

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

func (*DeleteNeoforgeFromBuildNotAcceptable) IsCode

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

func (*DeleteNeoforgeFromBuildNotAcceptable) IsRedirect

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

func (*DeleteNeoforgeFromBuildNotAcceptable) IsServerError

func (o *DeleteNeoforgeFromBuildNotAcceptable) IsServerError() bool

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

func (*DeleteNeoforgeFromBuildNotAcceptable) IsSuccess

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

func (*DeleteNeoforgeFromBuildNotAcceptable) String

type DeleteNeoforgeFromBuildNotFound

type DeleteNeoforgeFromBuildNotFound struct {
	Payload *models.GeneralError
}

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

Neoforge or build not found

func NewDeleteNeoforgeFromBuildNotFound

func NewDeleteNeoforgeFromBuildNotFound() *DeleteNeoforgeFromBuildNotFound

NewDeleteNeoforgeFromBuildNotFound creates a DeleteNeoforgeFromBuildNotFound with default headers values

func (*DeleteNeoforgeFromBuildNotFound) Code

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

func (*DeleteNeoforgeFromBuildNotFound) Error

func (*DeleteNeoforgeFromBuildNotFound) GetPayload

func (*DeleteNeoforgeFromBuildNotFound) IsClientError

func (o *DeleteNeoforgeFromBuildNotFound) IsClientError() bool

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

func (*DeleteNeoforgeFromBuildNotFound) IsCode

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

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

func (*DeleteNeoforgeFromBuildNotFound) IsRedirect

func (o *DeleteNeoforgeFromBuildNotFound) IsRedirect() bool

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

func (*DeleteNeoforgeFromBuildNotFound) IsServerError

func (o *DeleteNeoforgeFromBuildNotFound) IsServerError() bool

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

func (*DeleteNeoforgeFromBuildNotFound) IsSuccess

func (o *DeleteNeoforgeFromBuildNotFound) IsSuccess() bool

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

func (*DeleteNeoforgeFromBuildNotFound) String

type DeleteNeoforgeFromBuildOK

type DeleteNeoforgeFromBuildOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewDeleteNeoforgeFromBuildOK

func NewDeleteNeoforgeFromBuildOK() *DeleteNeoforgeFromBuildOK

NewDeleteNeoforgeFromBuildOK creates a DeleteNeoforgeFromBuildOK with default headers values

func (*DeleteNeoforgeFromBuildOK) Code

func (o *DeleteNeoforgeFromBuildOK) Code() int

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

func (*DeleteNeoforgeFromBuildOK) Error

func (o *DeleteNeoforgeFromBuildOK) Error() string

func (*DeleteNeoforgeFromBuildOK) GetPayload

func (*DeleteNeoforgeFromBuildOK) IsClientError

func (o *DeleteNeoforgeFromBuildOK) IsClientError() bool

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

func (*DeleteNeoforgeFromBuildOK) IsCode

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

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

func (*DeleteNeoforgeFromBuildOK) IsRedirect

func (o *DeleteNeoforgeFromBuildOK) IsRedirect() bool

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

func (*DeleteNeoforgeFromBuildOK) IsServerError

func (o *DeleteNeoforgeFromBuildOK) IsServerError() bool

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

func (*DeleteNeoforgeFromBuildOK) IsSuccess

func (o *DeleteNeoforgeFromBuildOK) IsSuccess() bool

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

func (*DeleteNeoforgeFromBuildOK) String

func (o *DeleteNeoforgeFromBuildOK) String() string

type DeleteNeoforgeFromBuildParams

type DeleteNeoforgeFromBuildParams struct {

	/* NeoforgeBuild.

	   The build data to unlink
	*/
	NeoforgeBuild *models.NeoforgeBuildParams

	/* NeoforgeID.

	   A neoforge UUID or slug
	*/
	NeoforgeID string

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

DeleteNeoforgeFromBuildParams contains all the parameters to send to the API endpoint

for the delete neoforge from build operation.

Typically these are written to a http.Request.

func NewDeleteNeoforgeFromBuildParams

func NewDeleteNeoforgeFromBuildParams() *DeleteNeoforgeFromBuildParams

NewDeleteNeoforgeFromBuildParams creates a new DeleteNeoforgeFromBuildParams 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 NewDeleteNeoforgeFromBuildParamsWithContext

func NewDeleteNeoforgeFromBuildParamsWithContext(ctx context.Context) *DeleteNeoforgeFromBuildParams

NewDeleteNeoforgeFromBuildParamsWithContext creates a new DeleteNeoforgeFromBuildParams object with the ability to set a context for a request.

func NewDeleteNeoforgeFromBuildParamsWithHTTPClient

func NewDeleteNeoforgeFromBuildParamsWithHTTPClient(client *http.Client) *DeleteNeoforgeFromBuildParams

NewDeleteNeoforgeFromBuildParamsWithHTTPClient creates a new DeleteNeoforgeFromBuildParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNeoforgeFromBuildParamsWithTimeout

func NewDeleteNeoforgeFromBuildParamsWithTimeout(timeout time.Duration) *DeleteNeoforgeFromBuildParams

NewDeleteNeoforgeFromBuildParamsWithTimeout creates a new DeleteNeoforgeFromBuildParams object with the ability to set a timeout on a request.

func (*DeleteNeoforgeFromBuildParams) SetContext

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

SetContext adds the context to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) SetDefaults

func (o *DeleteNeoforgeFromBuildParams) SetDefaults()

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

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

func (*DeleteNeoforgeFromBuildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) SetNeoforgeBuild

func (o *DeleteNeoforgeFromBuildParams) SetNeoforgeBuild(neoforgeBuild *models.NeoforgeBuildParams)

SetNeoforgeBuild adds the neoforgeBuild to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) SetNeoforgeID

func (o *DeleteNeoforgeFromBuildParams) SetNeoforgeID(neoforgeID string)

SetNeoforgeID adds the neoforgeId to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) SetTimeout

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

SetTimeout adds the timeout to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WithContext

WithContext adds the context to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WithDefaults

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

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

func (*DeleteNeoforgeFromBuildParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WithNeoforgeBuild

WithNeoforgeBuild adds the neoforgeBuild to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WithNeoforgeID

WithNeoforgeID adds the neoforgeID to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WithTimeout

WithTimeout adds the timeout to the delete neoforge from build params

func (*DeleteNeoforgeFromBuildParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNeoforgeFromBuildPreconditionFailed

type DeleteNeoforgeFromBuildPreconditionFailed struct {
	Payload *models.GeneralError
}

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

Build is not assigned

func NewDeleteNeoforgeFromBuildPreconditionFailed

func NewDeleteNeoforgeFromBuildPreconditionFailed() *DeleteNeoforgeFromBuildPreconditionFailed

NewDeleteNeoforgeFromBuildPreconditionFailed creates a DeleteNeoforgeFromBuildPreconditionFailed with default headers values

func (*DeleteNeoforgeFromBuildPreconditionFailed) Code

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) Error

func (*DeleteNeoforgeFromBuildPreconditionFailed) GetPayload

func (*DeleteNeoforgeFromBuildPreconditionFailed) IsClientError

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) IsCode

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) IsRedirect

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) IsServerError

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) IsSuccess

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

func (*DeleteNeoforgeFromBuildPreconditionFailed) String

type DeleteNeoforgeFromBuildReader

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

DeleteNeoforgeFromBuildReader is a Reader for the DeleteNeoforgeFromBuild structure.

func (*DeleteNeoforgeFromBuildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNeoforgeBuildsDefault

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

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

Some error unrelated to the handler

func NewListNeoforgeBuildsDefault

func NewListNeoforgeBuildsDefault(code int) *ListNeoforgeBuildsDefault

NewListNeoforgeBuildsDefault creates a ListNeoforgeBuildsDefault with default headers values

func (*ListNeoforgeBuildsDefault) Code

func (o *ListNeoforgeBuildsDefault) Code() int

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

func (*ListNeoforgeBuildsDefault) Error

func (o *ListNeoforgeBuildsDefault) Error() string

func (*ListNeoforgeBuildsDefault) GetPayload

func (*ListNeoforgeBuildsDefault) IsClientError

func (o *ListNeoforgeBuildsDefault) IsClientError() bool

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

func (*ListNeoforgeBuildsDefault) IsCode

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

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

func (*ListNeoforgeBuildsDefault) IsRedirect

func (o *ListNeoforgeBuildsDefault) IsRedirect() bool

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

func (*ListNeoforgeBuildsDefault) IsServerError

func (o *ListNeoforgeBuildsDefault) IsServerError() bool

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

func (*ListNeoforgeBuildsDefault) IsSuccess

func (o *ListNeoforgeBuildsDefault) IsSuccess() bool

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

func (*ListNeoforgeBuildsDefault) String

func (o *ListNeoforgeBuildsDefault) String() string

type ListNeoforgeBuildsForbidden

type ListNeoforgeBuildsForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListNeoforgeBuildsForbidden

func NewListNeoforgeBuildsForbidden() *ListNeoforgeBuildsForbidden

NewListNeoforgeBuildsForbidden creates a ListNeoforgeBuildsForbidden with default headers values

func (*ListNeoforgeBuildsForbidden) Code

func (o *ListNeoforgeBuildsForbidden) Code() int

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

func (*ListNeoforgeBuildsForbidden) Error

func (*ListNeoforgeBuildsForbidden) GetPayload

func (*ListNeoforgeBuildsForbidden) IsClientError

func (o *ListNeoforgeBuildsForbidden) IsClientError() bool

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

func (*ListNeoforgeBuildsForbidden) IsCode

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

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

func (*ListNeoforgeBuildsForbidden) IsRedirect

func (o *ListNeoforgeBuildsForbidden) IsRedirect() bool

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

func (*ListNeoforgeBuildsForbidden) IsServerError

func (o *ListNeoforgeBuildsForbidden) IsServerError() bool

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

func (*ListNeoforgeBuildsForbidden) IsSuccess

func (o *ListNeoforgeBuildsForbidden) IsSuccess() bool

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

func (*ListNeoforgeBuildsForbidden) String

func (o *ListNeoforgeBuildsForbidden) String() string

type ListNeoforgeBuildsNotFound

type ListNeoforgeBuildsNotFound struct {
	Payload *models.GeneralError
}

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

Neoforge or build not found

func NewListNeoforgeBuildsNotFound

func NewListNeoforgeBuildsNotFound() *ListNeoforgeBuildsNotFound

NewListNeoforgeBuildsNotFound creates a ListNeoforgeBuildsNotFound with default headers values

func (*ListNeoforgeBuildsNotFound) Code

func (o *ListNeoforgeBuildsNotFound) Code() int

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

func (*ListNeoforgeBuildsNotFound) Error

func (*ListNeoforgeBuildsNotFound) GetPayload

func (*ListNeoforgeBuildsNotFound) IsClientError

func (o *ListNeoforgeBuildsNotFound) IsClientError() bool

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

func (*ListNeoforgeBuildsNotFound) IsCode

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

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

func (*ListNeoforgeBuildsNotFound) IsRedirect

func (o *ListNeoforgeBuildsNotFound) IsRedirect() bool

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

func (*ListNeoforgeBuildsNotFound) IsServerError

func (o *ListNeoforgeBuildsNotFound) IsServerError() bool

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

func (*ListNeoforgeBuildsNotFound) IsSuccess

func (o *ListNeoforgeBuildsNotFound) IsSuccess() bool

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

func (*ListNeoforgeBuildsNotFound) String

func (o *ListNeoforgeBuildsNotFound) String() string

type ListNeoforgeBuildsOK

type ListNeoforgeBuildsOK struct {
	Payload *models.NeoforgeBuilds
}

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

A collection of assigned builds

func NewListNeoforgeBuildsOK

func NewListNeoforgeBuildsOK() *ListNeoforgeBuildsOK

NewListNeoforgeBuildsOK creates a ListNeoforgeBuildsOK with default headers values

func (*ListNeoforgeBuildsOK) Code

func (o *ListNeoforgeBuildsOK) Code() int

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

func (*ListNeoforgeBuildsOK) Error

func (o *ListNeoforgeBuildsOK) Error() string

func (*ListNeoforgeBuildsOK) GetPayload

func (o *ListNeoforgeBuildsOK) GetPayload() *models.NeoforgeBuilds

func (*ListNeoforgeBuildsOK) IsClientError

func (o *ListNeoforgeBuildsOK) IsClientError() bool

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

func (*ListNeoforgeBuildsOK) IsCode

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

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

func (*ListNeoforgeBuildsOK) IsRedirect

func (o *ListNeoforgeBuildsOK) IsRedirect() bool

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

func (*ListNeoforgeBuildsOK) IsServerError

func (o *ListNeoforgeBuildsOK) IsServerError() bool

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

func (*ListNeoforgeBuildsOK) IsSuccess

func (o *ListNeoforgeBuildsOK) IsSuccess() bool

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

func (*ListNeoforgeBuildsOK) String

func (o *ListNeoforgeBuildsOK) String() string

type ListNeoforgeBuildsParams

type ListNeoforgeBuildsParams struct {

	/* NeoforgeID.

	   A neoforge UUID or slug
	*/
	NeoforgeID string

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

ListNeoforgeBuildsParams contains all the parameters to send to the API endpoint

for the list neoforge builds operation.

Typically these are written to a http.Request.

func NewListNeoforgeBuildsParams

func NewListNeoforgeBuildsParams() *ListNeoforgeBuildsParams

NewListNeoforgeBuildsParams creates a new ListNeoforgeBuildsParams 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 NewListNeoforgeBuildsParamsWithContext

func NewListNeoforgeBuildsParamsWithContext(ctx context.Context) *ListNeoforgeBuildsParams

NewListNeoforgeBuildsParamsWithContext creates a new ListNeoforgeBuildsParams object with the ability to set a context for a request.

func NewListNeoforgeBuildsParamsWithHTTPClient

func NewListNeoforgeBuildsParamsWithHTTPClient(client *http.Client) *ListNeoforgeBuildsParams

NewListNeoforgeBuildsParamsWithHTTPClient creates a new ListNeoforgeBuildsParams object with the ability to set a custom HTTPClient for a request.

func NewListNeoforgeBuildsParamsWithTimeout

func NewListNeoforgeBuildsParamsWithTimeout(timeout time.Duration) *ListNeoforgeBuildsParams

NewListNeoforgeBuildsParamsWithTimeout creates a new ListNeoforgeBuildsParams object with the ability to set a timeout on a request.

func (*ListNeoforgeBuildsParams) SetContext

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

SetContext adds the context to the list neoforge builds params

func (*ListNeoforgeBuildsParams) SetDefaults

func (o *ListNeoforgeBuildsParams) SetDefaults()

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

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

func (*ListNeoforgeBuildsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list neoforge builds params

func (*ListNeoforgeBuildsParams) SetNeoforgeID

func (o *ListNeoforgeBuildsParams) SetNeoforgeID(neoforgeID string)

SetNeoforgeID adds the neoforgeId to the list neoforge builds params

func (*ListNeoforgeBuildsParams) SetTimeout

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

SetTimeout adds the timeout to the list neoforge builds params

func (*ListNeoforgeBuildsParams) WithContext

WithContext adds the context to the list neoforge builds params

func (*ListNeoforgeBuildsParams) WithDefaults

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

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

func (*ListNeoforgeBuildsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list neoforge builds params

func (*ListNeoforgeBuildsParams) WithNeoforgeID

func (o *ListNeoforgeBuildsParams) WithNeoforgeID(neoforgeID string) *ListNeoforgeBuildsParams

WithNeoforgeID adds the neoforgeID to the list neoforge builds params

func (*ListNeoforgeBuildsParams) WithTimeout

WithTimeout adds the timeout to the list neoforge builds params

func (*ListNeoforgeBuildsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNeoforgeBuildsReader

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

ListNeoforgeBuildsReader is a Reader for the ListNeoforgeBuilds structure.

func (*ListNeoforgeBuildsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNeoforgesDefault

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

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

Some error unrelated to the handler

func NewListNeoforgesDefault

func NewListNeoforgesDefault(code int) *ListNeoforgesDefault

NewListNeoforgesDefault creates a ListNeoforgesDefault with default headers values

func (*ListNeoforgesDefault) Code

func (o *ListNeoforgesDefault) Code() int

Code gets the status code for the list neoforges default response

func (*ListNeoforgesDefault) Error

func (o *ListNeoforgesDefault) Error() string

func (*ListNeoforgesDefault) GetPayload

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

func (*ListNeoforgesDefault) IsClientError

func (o *ListNeoforgesDefault) IsClientError() bool

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

func (*ListNeoforgesDefault) IsCode

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

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

func (*ListNeoforgesDefault) IsRedirect

func (o *ListNeoforgesDefault) IsRedirect() bool

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

func (*ListNeoforgesDefault) IsServerError

func (o *ListNeoforgesDefault) IsServerError() bool

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

func (*ListNeoforgesDefault) IsSuccess

func (o *ListNeoforgesDefault) IsSuccess() bool

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

func (*ListNeoforgesDefault) String

func (o *ListNeoforgesDefault) String() string

type ListNeoforgesForbidden

type ListNeoforgesForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewListNeoforgesForbidden

func NewListNeoforgesForbidden() *ListNeoforgesForbidden

NewListNeoforgesForbidden creates a ListNeoforgesForbidden with default headers values

func (*ListNeoforgesForbidden) Code

func (o *ListNeoforgesForbidden) Code() int

Code gets the status code for the list neoforges forbidden response

func (*ListNeoforgesForbidden) Error

func (o *ListNeoforgesForbidden) Error() string

func (*ListNeoforgesForbidden) GetPayload

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

func (*ListNeoforgesForbidden) IsClientError

func (o *ListNeoforgesForbidden) IsClientError() bool

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

func (*ListNeoforgesForbidden) IsCode

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

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

func (*ListNeoforgesForbidden) IsRedirect

func (o *ListNeoforgesForbidden) IsRedirect() bool

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

func (*ListNeoforgesForbidden) IsServerError

func (o *ListNeoforgesForbidden) IsServerError() bool

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

func (*ListNeoforgesForbidden) IsSuccess

func (o *ListNeoforgesForbidden) IsSuccess() bool

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

func (*ListNeoforgesForbidden) String

func (o *ListNeoforgesForbidden) String() string

type ListNeoforgesOK

type ListNeoforgesOK struct {
	Payload *models.Neoforges
}

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

A collection of Neoforge versions

func NewListNeoforgesOK

func NewListNeoforgesOK() *ListNeoforgesOK

NewListNeoforgesOK creates a ListNeoforgesOK with default headers values

func (*ListNeoforgesOK) Code

func (o *ListNeoforgesOK) Code() int

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

func (*ListNeoforgesOK) Error

func (o *ListNeoforgesOK) Error() string

func (*ListNeoforgesOK) GetPayload

func (o *ListNeoforgesOK) GetPayload() *models.Neoforges

func (*ListNeoforgesOK) IsClientError

func (o *ListNeoforgesOK) IsClientError() bool

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

func (*ListNeoforgesOK) IsCode

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

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

func (*ListNeoforgesOK) IsRedirect

func (o *ListNeoforgesOK) IsRedirect() bool

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

func (*ListNeoforgesOK) IsServerError

func (o *ListNeoforgesOK) IsServerError() bool

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

func (*ListNeoforgesOK) IsSuccess

func (o *ListNeoforgesOK) IsSuccess() bool

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

func (*ListNeoforgesOK) String

func (o *ListNeoforgesOK) String() string

type ListNeoforgesParams

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

ListNeoforgesParams contains all the parameters to send to the API endpoint

for the list neoforges operation.

Typically these are written to a http.Request.

func NewListNeoforgesParams

func NewListNeoforgesParams() *ListNeoforgesParams

NewListNeoforgesParams creates a new ListNeoforgesParams 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 NewListNeoforgesParamsWithContext

func NewListNeoforgesParamsWithContext(ctx context.Context) *ListNeoforgesParams

NewListNeoforgesParamsWithContext creates a new ListNeoforgesParams object with the ability to set a context for a request.

func NewListNeoforgesParamsWithHTTPClient

func NewListNeoforgesParamsWithHTTPClient(client *http.Client) *ListNeoforgesParams

NewListNeoforgesParamsWithHTTPClient creates a new ListNeoforgesParams object with the ability to set a custom HTTPClient for a request.

func NewListNeoforgesParamsWithTimeout

func NewListNeoforgesParamsWithTimeout(timeout time.Duration) *ListNeoforgesParams

NewListNeoforgesParamsWithTimeout creates a new ListNeoforgesParams object with the ability to set a timeout on a request.

func (*ListNeoforgesParams) SetContext

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

SetContext adds the context to the list neoforges params

func (*ListNeoforgesParams) SetDefaults

func (o *ListNeoforgesParams) SetDefaults()

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

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

func (*ListNeoforgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list neoforges params

func (*ListNeoforgesParams) SetTimeout

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

SetTimeout adds the timeout to the list neoforges params

func (*ListNeoforgesParams) WithContext

WithContext adds the context to the list neoforges params

func (*ListNeoforgesParams) WithDefaults

func (o *ListNeoforgesParams) WithDefaults() *ListNeoforgesParams

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

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

func (*ListNeoforgesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list neoforges params

func (*ListNeoforgesParams) WithTimeout

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

WithTimeout adds the timeout to the list neoforges params

func (*ListNeoforgesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListNeoforgesReader

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

ListNeoforgesReader is a Reader for the ListNeoforges structure.

func (*ListNeoforgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchNeoforgesDefault

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

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

Some error unrelated to the handler

func NewSearchNeoforgesDefault

func NewSearchNeoforgesDefault(code int) *SearchNeoforgesDefault

NewSearchNeoforgesDefault creates a SearchNeoforgesDefault with default headers values

func (*SearchNeoforgesDefault) Code

func (o *SearchNeoforgesDefault) Code() int

Code gets the status code for the search neoforges default response

func (*SearchNeoforgesDefault) Error

func (o *SearchNeoforgesDefault) Error() string

func (*SearchNeoforgesDefault) GetPayload

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

func (*SearchNeoforgesDefault) IsClientError

func (o *SearchNeoforgesDefault) IsClientError() bool

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

func (*SearchNeoforgesDefault) IsCode

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

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

func (*SearchNeoforgesDefault) IsRedirect

func (o *SearchNeoforgesDefault) IsRedirect() bool

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

func (*SearchNeoforgesDefault) IsServerError

func (o *SearchNeoforgesDefault) IsServerError() bool

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

func (*SearchNeoforgesDefault) IsSuccess

func (o *SearchNeoforgesDefault) IsSuccess() bool

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

func (*SearchNeoforgesDefault) String

func (o *SearchNeoforgesDefault) String() string

type SearchNeoforgesForbidden

type SearchNeoforgesForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewSearchNeoforgesForbidden

func NewSearchNeoforgesForbidden() *SearchNeoforgesForbidden

NewSearchNeoforgesForbidden creates a SearchNeoforgesForbidden with default headers values

func (*SearchNeoforgesForbidden) Code

func (o *SearchNeoforgesForbidden) Code() int

Code gets the status code for the search neoforges forbidden response

func (*SearchNeoforgesForbidden) Error

func (o *SearchNeoforgesForbidden) Error() string

func (*SearchNeoforgesForbidden) GetPayload

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

func (*SearchNeoforgesForbidden) IsClientError

func (o *SearchNeoforgesForbidden) IsClientError() bool

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

func (*SearchNeoforgesForbidden) IsCode

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

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

func (*SearchNeoforgesForbidden) IsRedirect

func (o *SearchNeoforgesForbidden) IsRedirect() bool

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

func (*SearchNeoforgesForbidden) IsServerError

func (o *SearchNeoforgesForbidden) IsServerError() bool

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

func (*SearchNeoforgesForbidden) IsSuccess

func (o *SearchNeoforgesForbidden) IsSuccess() bool

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

func (*SearchNeoforgesForbidden) String

func (o *SearchNeoforgesForbidden) String() string

type SearchNeoforgesOK

type SearchNeoforgesOK struct {
	Payload *models.Neoforges
}

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

A collection of Neoforge versions

func NewSearchNeoforgesOK

func NewSearchNeoforgesOK() *SearchNeoforgesOK

NewSearchNeoforgesOK creates a SearchNeoforgesOK with default headers values

func (*SearchNeoforgesOK) Code

func (o *SearchNeoforgesOK) Code() int

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

func (*SearchNeoforgesOK) Error

func (o *SearchNeoforgesOK) Error() string

func (*SearchNeoforgesOK) GetPayload

func (o *SearchNeoforgesOK) GetPayload() *models.Neoforges

func (*SearchNeoforgesOK) IsClientError

func (o *SearchNeoforgesOK) IsClientError() bool

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

func (*SearchNeoforgesOK) IsCode

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

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

func (*SearchNeoforgesOK) IsRedirect

func (o *SearchNeoforgesOK) IsRedirect() bool

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

func (*SearchNeoforgesOK) IsServerError

func (o *SearchNeoforgesOK) IsServerError() bool

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

func (*SearchNeoforgesOK) IsSuccess

func (o *SearchNeoforgesOK) IsSuccess() bool

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

func (*SearchNeoforgesOK) String

func (o *SearchNeoforgesOK) String() string

type SearchNeoforgesParams

type SearchNeoforgesParams struct {

	/* NeoforgeID.

	   A search token to search Neoforge versions
	*/
	NeoforgeID string

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

SearchNeoforgesParams contains all the parameters to send to the API endpoint

for the search neoforges operation.

Typically these are written to a http.Request.

func NewSearchNeoforgesParams

func NewSearchNeoforgesParams() *SearchNeoforgesParams

NewSearchNeoforgesParams creates a new SearchNeoforgesParams 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 NewSearchNeoforgesParamsWithContext

func NewSearchNeoforgesParamsWithContext(ctx context.Context) *SearchNeoforgesParams

NewSearchNeoforgesParamsWithContext creates a new SearchNeoforgesParams object with the ability to set a context for a request.

func NewSearchNeoforgesParamsWithHTTPClient

func NewSearchNeoforgesParamsWithHTTPClient(client *http.Client) *SearchNeoforgesParams

NewSearchNeoforgesParamsWithHTTPClient creates a new SearchNeoforgesParams object with the ability to set a custom HTTPClient for a request.

func NewSearchNeoforgesParamsWithTimeout

func NewSearchNeoforgesParamsWithTimeout(timeout time.Duration) *SearchNeoforgesParams

NewSearchNeoforgesParamsWithTimeout creates a new SearchNeoforgesParams object with the ability to set a timeout on a request.

func (*SearchNeoforgesParams) SetContext

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

SetContext adds the context to the search neoforges params

func (*SearchNeoforgesParams) SetDefaults

func (o *SearchNeoforgesParams) SetDefaults()

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

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

func (*SearchNeoforgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search neoforges params

func (*SearchNeoforgesParams) SetNeoforgeID

func (o *SearchNeoforgesParams) SetNeoforgeID(neoforgeID string)

SetNeoforgeID adds the neoforgeId to the search neoforges params

func (*SearchNeoforgesParams) SetTimeout

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

SetTimeout adds the timeout to the search neoforges params

func (*SearchNeoforgesParams) WithContext

WithContext adds the context to the search neoforges params

func (*SearchNeoforgesParams) WithDefaults

func (o *SearchNeoforgesParams) WithDefaults() *SearchNeoforgesParams

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

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

func (*SearchNeoforgesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search neoforges params

func (*SearchNeoforgesParams) WithNeoforgeID

func (o *SearchNeoforgesParams) WithNeoforgeID(neoforgeID string) *SearchNeoforgesParams

WithNeoforgeID adds the neoforgeID to the search neoforges params

func (*SearchNeoforgesParams) WithTimeout

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

WithTimeout adds the timeout to the search neoforges params

func (*SearchNeoforgesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchNeoforgesReader

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

SearchNeoforgesReader is a Reader for the SearchNeoforges structure.

func (*SearchNeoforgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNeoforgeDefault

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

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

Some error unrelated to the handler

func NewUpdateNeoforgeDefault

func NewUpdateNeoforgeDefault(code int) *UpdateNeoforgeDefault

NewUpdateNeoforgeDefault creates a UpdateNeoforgeDefault with default headers values

func (*UpdateNeoforgeDefault) Code

func (o *UpdateNeoforgeDefault) Code() int

Code gets the status code for the update neoforge default response

func (*UpdateNeoforgeDefault) Error

func (o *UpdateNeoforgeDefault) Error() string

func (*UpdateNeoforgeDefault) GetPayload

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

func (*UpdateNeoforgeDefault) IsClientError

func (o *UpdateNeoforgeDefault) IsClientError() bool

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

func (*UpdateNeoforgeDefault) IsCode

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

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

func (*UpdateNeoforgeDefault) IsRedirect

func (o *UpdateNeoforgeDefault) IsRedirect() bool

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

func (*UpdateNeoforgeDefault) IsServerError

func (o *UpdateNeoforgeDefault) IsServerError() bool

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

func (*UpdateNeoforgeDefault) IsSuccess

func (o *UpdateNeoforgeDefault) IsSuccess() bool

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

func (*UpdateNeoforgeDefault) String

func (o *UpdateNeoforgeDefault) String() string

type UpdateNeoforgeForbidden

type UpdateNeoforgeForbidden struct {
	Payload *models.GeneralError
}

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

User is not authorized

func NewUpdateNeoforgeForbidden

func NewUpdateNeoforgeForbidden() *UpdateNeoforgeForbidden

NewUpdateNeoforgeForbidden creates a UpdateNeoforgeForbidden with default headers values

func (*UpdateNeoforgeForbidden) Code

func (o *UpdateNeoforgeForbidden) Code() int

Code gets the status code for the update neoforge forbidden response

func (*UpdateNeoforgeForbidden) Error

func (o *UpdateNeoforgeForbidden) Error() string

func (*UpdateNeoforgeForbidden) GetPayload

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

func (*UpdateNeoforgeForbidden) IsClientError

func (o *UpdateNeoforgeForbidden) IsClientError() bool

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

func (*UpdateNeoforgeForbidden) IsCode

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

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

func (*UpdateNeoforgeForbidden) IsRedirect

func (o *UpdateNeoforgeForbidden) IsRedirect() bool

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

func (*UpdateNeoforgeForbidden) IsServerError

func (o *UpdateNeoforgeForbidden) IsServerError() bool

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

func (*UpdateNeoforgeForbidden) IsSuccess

func (o *UpdateNeoforgeForbidden) IsSuccess() bool

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

func (*UpdateNeoforgeForbidden) String

func (o *UpdateNeoforgeForbidden) String() string

type UpdateNeoforgeOK

type UpdateNeoforgeOK struct {
	Payload *models.GeneralError
}

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

Plain success message

func NewUpdateNeoforgeOK

func NewUpdateNeoforgeOK() *UpdateNeoforgeOK

NewUpdateNeoforgeOK creates a UpdateNeoforgeOK with default headers values

func (*UpdateNeoforgeOK) Code

func (o *UpdateNeoforgeOK) Code() int

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

func (*UpdateNeoforgeOK) Error

func (o *UpdateNeoforgeOK) Error() string

func (*UpdateNeoforgeOK) GetPayload

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

func (*UpdateNeoforgeOK) IsClientError

func (o *UpdateNeoforgeOK) IsClientError() bool

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

func (*UpdateNeoforgeOK) IsCode

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

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

func (*UpdateNeoforgeOK) IsRedirect

func (o *UpdateNeoforgeOK) IsRedirect() bool

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

func (*UpdateNeoforgeOK) IsServerError

func (o *UpdateNeoforgeOK) IsServerError() bool

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

func (*UpdateNeoforgeOK) IsSuccess

func (o *UpdateNeoforgeOK) IsSuccess() bool

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

func (*UpdateNeoforgeOK) String

func (o *UpdateNeoforgeOK) String() string

type UpdateNeoforgeParams

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

UpdateNeoforgeParams contains all the parameters to send to the API endpoint

for the update neoforge operation.

Typically these are written to a http.Request.

func NewUpdateNeoforgeParams

func NewUpdateNeoforgeParams() *UpdateNeoforgeParams

NewUpdateNeoforgeParams creates a new UpdateNeoforgeParams 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 NewUpdateNeoforgeParamsWithContext

func NewUpdateNeoforgeParamsWithContext(ctx context.Context) *UpdateNeoforgeParams

NewUpdateNeoforgeParamsWithContext creates a new UpdateNeoforgeParams object with the ability to set a context for a request.

func NewUpdateNeoforgeParamsWithHTTPClient

func NewUpdateNeoforgeParamsWithHTTPClient(client *http.Client) *UpdateNeoforgeParams

NewUpdateNeoforgeParamsWithHTTPClient creates a new UpdateNeoforgeParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNeoforgeParamsWithTimeout

func NewUpdateNeoforgeParamsWithTimeout(timeout time.Duration) *UpdateNeoforgeParams

NewUpdateNeoforgeParamsWithTimeout creates a new UpdateNeoforgeParams object with the ability to set a timeout on a request.

func (*UpdateNeoforgeParams) SetContext

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

SetContext adds the context to the update neoforge params

func (*UpdateNeoforgeParams) SetDefaults

func (o *UpdateNeoforgeParams) SetDefaults()

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

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

func (*UpdateNeoforgeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update neoforge params

func (*UpdateNeoforgeParams) SetTimeout

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

SetTimeout adds the timeout to the update neoforge params

func (*UpdateNeoforgeParams) WithContext

WithContext adds the context to the update neoforge params

func (*UpdateNeoforgeParams) WithDefaults

func (o *UpdateNeoforgeParams) WithDefaults() *UpdateNeoforgeParams

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

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

func (*UpdateNeoforgeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update neoforge params

func (*UpdateNeoforgeParams) WithTimeout

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

WithTimeout adds the timeout to the update neoforge params

func (*UpdateNeoforgeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNeoforgeReader

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

UpdateNeoforgeReader is a Reader for the UpdateNeoforge structure.

func (*UpdateNeoforgeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNeoforgeServiceUnavailable

type UpdateNeoforgeServiceUnavailable struct {
	Payload *models.GeneralError
}

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

If remote source is not available

func NewUpdateNeoforgeServiceUnavailable

func NewUpdateNeoforgeServiceUnavailable() *UpdateNeoforgeServiceUnavailable

NewUpdateNeoforgeServiceUnavailable creates a UpdateNeoforgeServiceUnavailable with default headers values

func (*UpdateNeoforgeServiceUnavailable) Code

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

func (*UpdateNeoforgeServiceUnavailable) Error

func (*UpdateNeoforgeServiceUnavailable) GetPayload

func (*UpdateNeoforgeServiceUnavailable) IsClientError

func (o *UpdateNeoforgeServiceUnavailable) IsClientError() bool

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

func (*UpdateNeoforgeServiceUnavailable) IsCode

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

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

func (*UpdateNeoforgeServiceUnavailable) IsRedirect

func (o *UpdateNeoforgeServiceUnavailable) IsRedirect() bool

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

func (*UpdateNeoforgeServiceUnavailable) IsServerError

func (o *UpdateNeoforgeServiceUnavailable) IsServerError() bool

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

func (*UpdateNeoforgeServiceUnavailable) IsSuccess

func (o *UpdateNeoforgeServiceUnavailable) IsSuccess() bool

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

func (*UpdateNeoforgeServiceUnavailable) String

Jump to

Keyboard shortcuts

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