inventory_operations

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddAuthorBadRequest ¶

type AddAuthorBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddAuthorBadRequest describes a response with status code 400, with default header values.

If the author is invalid

func NewAddAuthorBadRequest ¶

func NewAddAuthorBadRequest() *AddAuthorBadRequest

NewAddAuthorBadRequest creates a AddAuthorBadRequest with default headers values

func (*AddAuthorBadRequest) Error ¶

func (o *AddAuthorBadRequest) Error() string

func (*AddAuthorBadRequest) GetPayload ¶

type AddAuthorCreated ¶

type AddAuthorCreated struct {
	Payload *inventory_models.Author
}
AddAuthorCreated describes a response with status code 201, with default header values.

The added author

func NewAddAuthorCreated ¶

func NewAddAuthorCreated() *AddAuthorCreated

NewAddAuthorCreated creates a AddAuthorCreated with default headers values

func (*AddAuthorCreated) Error ¶

func (o *AddAuthorCreated) Error() string

func (*AddAuthorCreated) GetPayload ¶

func (o *AddAuthorCreated) GetPayload() *inventory_models.Author

type AddAuthorDefault ¶

type AddAuthorDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddAuthorDefault describes a response with status code -1, with default header values.

If there is an error processing the author

func NewAddAuthorDefault ¶

func NewAddAuthorDefault(code int) *AddAuthorDefault

NewAddAuthorDefault creates a AddAuthorDefault with default headers values

func (*AddAuthorDefault) Code ¶

func (o *AddAuthorDefault) Code() int

Code gets the status code for the add author default response

func (*AddAuthorDefault) Error ¶

func (o *AddAuthorDefault) Error() string

func (*AddAuthorDefault) GetPayload ¶

type AddAuthorParams ¶

type AddAuthorParams struct {

	// Author.
	Author *inventory_models.AuthorCore

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

AddAuthorParams contains all the parameters to send to the API endpoint

for the add author operation.

Typically these are written to a http.Request.

func NewAddAuthorParams ¶

func NewAddAuthorParams() *AddAuthorParams

NewAddAuthorParams creates a new AddAuthorParams 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 NewAddAuthorParamsWithContext ¶

func NewAddAuthorParamsWithContext(ctx context.Context) *AddAuthorParams

NewAddAuthorParamsWithContext creates a new AddAuthorParams object with the ability to set a context for a request.

func NewAddAuthorParamsWithHTTPClient ¶

func NewAddAuthorParamsWithHTTPClient(client *http.Client) *AddAuthorParams

NewAddAuthorParamsWithHTTPClient creates a new AddAuthorParams object with the ability to set a custom HTTPClient for a request.

func NewAddAuthorParamsWithTimeout ¶

func NewAddAuthorParamsWithTimeout(timeout time.Duration) *AddAuthorParams

NewAddAuthorParamsWithTimeout creates a new AddAuthorParams object with the ability to set a timeout on a request.

func (*AddAuthorParams) SetAuthor ¶

func (o *AddAuthorParams) SetAuthor(author *inventory_models.AuthorCore)

SetAuthor adds the author to the add author params

func (*AddAuthorParams) SetContext ¶

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

SetContext adds the context to the add author params

func (*AddAuthorParams) SetDefaults ¶

func (o *AddAuthorParams) SetDefaults()

SetDefaults hydrates default values in the add author params (not the query body).

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

func (*AddAuthorParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add author params

func (*AddAuthorParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add author params

func (*AddAuthorParams) WithAuthor ¶

WithAuthor adds the author to the add author params

func (*AddAuthorParams) WithContext ¶

func (o *AddAuthorParams) WithContext(ctx context.Context) *AddAuthorParams

WithContext adds the context to the add author params

func (*AddAuthorParams) WithDefaults ¶

func (o *AddAuthorParams) WithDefaults() *AddAuthorParams

WithDefaults hydrates default values in the add author params (not the query body).

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

func (*AddAuthorParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add author params

func (*AddAuthorParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add author params

func (*AddAuthorParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddAuthorReader ¶

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

AddAuthorReader is a Reader for the AddAuthor structure.

func (*AddAuthorReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddBuildFlagBadRequest ¶

type AddBuildFlagBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddBuildFlagBadRequest describes a response with status code 400, with default header values.

If the build flag is invalid

func NewAddBuildFlagBadRequest ¶

func NewAddBuildFlagBadRequest() *AddBuildFlagBadRequest

NewAddBuildFlagBadRequest creates a AddBuildFlagBadRequest with default headers values

func (*AddBuildFlagBadRequest) Error ¶

func (o *AddBuildFlagBadRequest) Error() string

func (*AddBuildFlagBadRequest) GetPayload ¶

type AddBuildFlagCreated ¶

type AddBuildFlagCreated struct {
	Payload *inventory_models.BuildFlag
}
AddBuildFlagCreated describes a response with status code 201, with default header values.

The added build flag

func NewAddBuildFlagCreated ¶

func NewAddBuildFlagCreated() *AddBuildFlagCreated

NewAddBuildFlagCreated creates a AddBuildFlagCreated with default headers values

func (*AddBuildFlagCreated) Error ¶

func (o *AddBuildFlagCreated) Error() string

func (*AddBuildFlagCreated) GetPayload ¶

type AddBuildFlagDefault ¶

type AddBuildFlagDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddBuildFlagDefault describes a response with status code -1, with default header values.

If there is an error processing the build flag

func NewAddBuildFlagDefault ¶

func NewAddBuildFlagDefault(code int) *AddBuildFlagDefault

NewAddBuildFlagDefault creates a AddBuildFlagDefault with default headers values

func (*AddBuildFlagDefault) Code ¶

func (o *AddBuildFlagDefault) Code() int

Code gets the status code for the add build flag default response

func (*AddBuildFlagDefault) Error ¶

func (o *AddBuildFlagDefault) Error() string

func (*AddBuildFlagDefault) GetPayload ¶

type AddBuildFlagParams ¶

type AddBuildFlagParams struct {

	// BuildFlag.
	BuildFlag *inventory_models.BuildFlagCore

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

AddBuildFlagParams contains all the parameters to send to the API endpoint

for the add build flag operation.

Typically these are written to a http.Request.

func NewAddBuildFlagParams ¶

func NewAddBuildFlagParams() *AddBuildFlagParams

NewAddBuildFlagParams creates a new AddBuildFlagParams 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 NewAddBuildFlagParamsWithContext ¶

func NewAddBuildFlagParamsWithContext(ctx context.Context) *AddBuildFlagParams

NewAddBuildFlagParamsWithContext creates a new AddBuildFlagParams object with the ability to set a context for a request.

func NewAddBuildFlagParamsWithHTTPClient ¶

func NewAddBuildFlagParamsWithHTTPClient(client *http.Client) *AddBuildFlagParams

NewAddBuildFlagParamsWithHTTPClient creates a new AddBuildFlagParams object with the ability to set a custom HTTPClient for a request.

func NewAddBuildFlagParamsWithTimeout ¶

func NewAddBuildFlagParamsWithTimeout(timeout time.Duration) *AddBuildFlagParams

NewAddBuildFlagParamsWithTimeout creates a new AddBuildFlagParams object with the ability to set a timeout on a request.

func (*AddBuildFlagParams) SetBuildFlag ¶

func (o *AddBuildFlagParams) SetBuildFlag(buildFlag *inventory_models.BuildFlagCore)

SetBuildFlag adds the buildFlag to the add build flag params

func (*AddBuildFlagParams) SetContext ¶

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

SetContext adds the context to the add build flag params

func (*AddBuildFlagParams) SetDefaults ¶

func (o *AddBuildFlagParams) SetDefaults()

SetDefaults hydrates default values in the add build flag params (not the query body).

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

func (*AddBuildFlagParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add build flag params

func (*AddBuildFlagParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add build flag params

func (*AddBuildFlagParams) WithBuildFlag ¶

WithBuildFlag adds the buildFlag to the add build flag params

func (*AddBuildFlagParams) WithContext ¶

WithContext adds the context to the add build flag params

func (*AddBuildFlagParams) WithDefaults ¶

func (o *AddBuildFlagParams) WithDefaults() *AddBuildFlagParams

WithDefaults hydrates default values in the add build flag params (not the query body).

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

func (*AddBuildFlagParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add build flag params

func (*AddBuildFlagParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add build flag params

func (*AddBuildFlagParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddBuildFlagReader ¶

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

AddBuildFlagReader is a Reader for the AddBuildFlag structure.

func (*AddBuildFlagReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddBuildFlagRevisionBadRequest ¶

type AddBuildFlagRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddBuildFlagRevisionBadRequest describes a response with status code 400, with default header values.

If the build flag revision is invalid

func NewAddBuildFlagRevisionBadRequest ¶

func NewAddBuildFlagRevisionBadRequest() *AddBuildFlagRevisionBadRequest

NewAddBuildFlagRevisionBadRequest creates a AddBuildFlagRevisionBadRequest with default headers values

func (*AddBuildFlagRevisionBadRequest) Error ¶

func (*AddBuildFlagRevisionBadRequest) GetPayload ¶

type AddBuildFlagRevisionDefault ¶

type AddBuildFlagRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddBuildFlagRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddBuildFlagRevisionDefault ¶

func NewAddBuildFlagRevisionDefault(code int) *AddBuildFlagRevisionDefault

NewAddBuildFlagRevisionDefault creates a AddBuildFlagRevisionDefault with default headers values

func (*AddBuildFlagRevisionDefault) Code ¶

func (o *AddBuildFlagRevisionDefault) Code() int

Code gets the status code for the add build flag revision default response

func (*AddBuildFlagRevisionDefault) Error ¶

func (*AddBuildFlagRevisionDefault) GetPayload ¶

type AddBuildFlagRevisionOK ¶

type AddBuildFlagRevisionOK struct {
	Payload *inventory_models.BuildFlag
}
AddBuildFlagRevisionOK describes a response with status code 200, with default header values.

The updated state of the build flag

func NewAddBuildFlagRevisionOK ¶

func NewAddBuildFlagRevisionOK() *AddBuildFlagRevisionOK

NewAddBuildFlagRevisionOK creates a AddBuildFlagRevisionOK with default headers values

func (*AddBuildFlagRevisionOK) Error ¶

func (o *AddBuildFlagRevisionOK) Error() string

func (*AddBuildFlagRevisionOK) GetPayload ¶

type AddBuildFlagRevisionParams ¶

type AddBuildFlagRevisionParams struct {

	// BuildFlagID.
	//
	// Format: uuid
	BuildFlagID strfmt.UUID

	// BuildFlagRevision.
	BuildFlagRevision *inventory_models.BuildFlagRevisionCore

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

AddBuildFlagRevisionParams contains all the parameters to send to the API endpoint

for the add build flag revision operation.

Typically these are written to a http.Request.

func NewAddBuildFlagRevisionParams ¶

func NewAddBuildFlagRevisionParams() *AddBuildFlagRevisionParams

NewAddBuildFlagRevisionParams creates a new AddBuildFlagRevisionParams 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 NewAddBuildFlagRevisionParamsWithContext ¶

func NewAddBuildFlagRevisionParamsWithContext(ctx context.Context) *AddBuildFlagRevisionParams

NewAddBuildFlagRevisionParamsWithContext creates a new AddBuildFlagRevisionParams object with the ability to set a context for a request.

func NewAddBuildFlagRevisionParamsWithHTTPClient ¶

func NewAddBuildFlagRevisionParamsWithHTTPClient(client *http.Client) *AddBuildFlagRevisionParams

NewAddBuildFlagRevisionParamsWithHTTPClient creates a new AddBuildFlagRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddBuildFlagRevisionParamsWithTimeout ¶

func NewAddBuildFlagRevisionParamsWithTimeout(timeout time.Duration) *AddBuildFlagRevisionParams

NewAddBuildFlagRevisionParamsWithTimeout creates a new AddBuildFlagRevisionParams object with the ability to set a timeout on a request.

func (*AddBuildFlagRevisionParams) SetBuildFlagID ¶

func (o *AddBuildFlagRevisionParams) SetBuildFlagID(buildFlagID strfmt.UUID)

SetBuildFlagID adds the buildFlagId to the add build flag revision params

func (*AddBuildFlagRevisionParams) SetBuildFlagRevision ¶

func (o *AddBuildFlagRevisionParams) SetBuildFlagRevision(buildFlagRevision *inventory_models.BuildFlagRevisionCore)

SetBuildFlagRevision adds the buildFlagRevision to the add build flag revision params

func (*AddBuildFlagRevisionParams) SetContext ¶

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

SetContext adds the context to the add build flag revision params

func (*AddBuildFlagRevisionParams) SetDefaults ¶

func (o *AddBuildFlagRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add build flag revision params (not the query body).

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

func (*AddBuildFlagRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add build flag revision params

func (*AddBuildFlagRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add build flag revision params

func (*AddBuildFlagRevisionParams) WithBuildFlagID ¶

func (o *AddBuildFlagRevisionParams) WithBuildFlagID(buildFlagID strfmt.UUID) *AddBuildFlagRevisionParams

WithBuildFlagID adds the buildFlagID to the add build flag revision params

func (*AddBuildFlagRevisionParams) WithBuildFlagRevision ¶

WithBuildFlagRevision adds the buildFlagRevision to the add build flag revision params

func (*AddBuildFlagRevisionParams) WithContext ¶

WithContext adds the context to the add build flag revision params

func (*AddBuildFlagRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add build flag revision params (not the query body).

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

func (*AddBuildFlagRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add build flag revision params

func (*AddBuildFlagRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add build flag revision params

func (*AddBuildFlagRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddBuildFlagRevisionReader ¶

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

AddBuildFlagRevisionReader is a Reader for the AddBuildFlagRevision structure.

func (*AddBuildFlagRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddBuildScriptBadRequest ¶

type AddBuildScriptBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddBuildScriptBadRequest describes a response with status code 400, with default header values.

If the build script is invalid

func NewAddBuildScriptBadRequest ¶

func NewAddBuildScriptBadRequest() *AddBuildScriptBadRequest

NewAddBuildScriptBadRequest creates a AddBuildScriptBadRequest with default headers values

func (*AddBuildScriptBadRequest) Error ¶

func (o *AddBuildScriptBadRequest) Error() string

func (*AddBuildScriptBadRequest) GetPayload ¶

type AddBuildScriptCreated ¶

type AddBuildScriptCreated struct {
	Payload *inventory_models.BuildScript
}
AddBuildScriptCreated describes a response with status code 201, with default header values.

The added build script

func NewAddBuildScriptCreated ¶

func NewAddBuildScriptCreated() *AddBuildScriptCreated

NewAddBuildScriptCreated creates a AddBuildScriptCreated with default headers values

func (*AddBuildScriptCreated) Error ¶

func (o *AddBuildScriptCreated) Error() string

func (*AddBuildScriptCreated) GetPayload ¶

type AddBuildScriptDefault ¶

type AddBuildScriptDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddBuildScriptDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddBuildScriptDefault ¶

func NewAddBuildScriptDefault(code int) *AddBuildScriptDefault

NewAddBuildScriptDefault creates a AddBuildScriptDefault with default headers values

func (*AddBuildScriptDefault) Code ¶

func (o *AddBuildScriptDefault) Code() int

Code gets the status code for the add build script default response

func (*AddBuildScriptDefault) Error ¶

func (o *AddBuildScriptDefault) Error() string

func (*AddBuildScriptDefault) GetPayload ¶

type AddBuildScriptParams ¶

type AddBuildScriptParams struct {

	// BuildScript.
	BuildScript *inventory_models.BuildScriptCore

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

AddBuildScriptParams contains all the parameters to send to the API endpoint

for the add build script operation.

Typically these are written to a http.Request.

func NewAddBuildScriptParams ¶

func NewAddBuildScriptParams() *AddBuildScriptParams

NewAddBuildScriptParams creates a new AddBuildScriptParams 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 NewAddBuildScriptParamsWithContext ¶

func NewAddBuildScriptParamsWithContext(ctx context.Context) *AddBuildScriptParams

NewAddBuildScriptParamsWithContext creates a new AddBuildScriptParams object with the ability to set a context for a request.

func NewAddBuildScriptParamsWithHTTPClient ¶

func NewAddBuildScriptParamsWithHTTPClient(client *http.Client) *AddBuildScriptParams

NewAddBuildScriptParamsWithHTTPClient creates a new AddBuildScriptParams object with the ability to set a custom HTTPClient for a request.

func NewAddBuildScriptParamsWithTimeout ¶

func NewAddBuildScriptParamsWithTimeout(timeout time.Duration) *AddBuildScriptParams

NewAddBuildScriptParamsWithTimeout creates a new AddBuildScriptParams object with the ability to set a timeout on a request.

func (*AddBuildScriptParams) SetBuildScript ¶

func (o *AddBuildScriptParams) SetBuildScript(buildScript *inventory_models.BuildScriptCore)

SetBuildScript adds the buildScript to the add build script params

func (*AddBuildScriptParams) SetContext ¶

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

SetContext adds the context to the add build script params

func (*AddBuildScriptParams) SetDefaults ¶

func (o *AddBuildScriptParams) SetDefaults()

SetDefaults hydrates default values in the add build script params (not the query body).

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

func (*AddBuildScriptParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add build script params

func (*AddBuildScriptParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add build script params

func (*AddBuildScriptParams) WithBuildScript ¶

WithBuildScript adds the buildScript to the add build script params

func (*AddBuildScriptParams) WithContext ¶

WithContext adds the context to the add build script params

func (*AddBuildScriptParams) WithDefaults ¶

func (o *AddBuildScriptParams) WithDefaults() *AddBuildScriptParams

WithDefaults hydrates default values in the add build script params (not the query body).

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

func (*AddBuildScriptParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add build script params

func (*AddBuildScriptParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add build script params

func (*AddBuildScriptParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddBuildScriptReader ¶

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

AddBuildScriptReader is a Reader for the AddBuildScript structure.

func (*AddBuildScriptReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddCPUArchitectureBadRequest ¶

type AddCPUArchitectureBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddCPUArchitectureBadRequest describes a response with status code 400, with default header values.

If the CPU architecture is invalid

func NewAddCPUArchitectureBadRequest ¶

func NewAddCPUArchitectureBadRequest() *AddCPUArchitectureBadRequest

NewAddCPUArchitectureBadRequest creates a AddCPUArchitectureBadRequest with default headers values

func (*AddCPUArchitectureBadRequest) Error ¶

func (*AddCPUArchitectureBadRequest) GetPayload ¶

type AddCPUArchitectureCPUExtensionBadRequest ¶

type AddCPUArchitectureCPUExtensionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddCPUArchitectureCPUExtensionBadRequest describes a response with status code 400, with default header values.

If the CPU extension ID doesn't exist

func NewAddCPUArchitectureCPUExtensionBadRequest ¶

func NewAddCPUArchitectureCPUExtensionBadRequest() *AddCPUArchitectureCPUExtensionBadRequest

NewAddCPUArchitectureCPUExtensionBadRequest creates a AddCPUArchitectureCPUExtensionBadRequest with default headers values

func (*AddCPUArchitectureCPUExtensionBadRequest) Error ¶

func (*AddCPUArchitectureCPUExtensionBadRequest) GetPayload ¶

type AddCPUArchitectureCPUExtensionDefault ¶

type AddCPUArchitectureCPUExtensionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddCPUArchitectureCPUExtensionDefault describes a response with status code -1, with default header values.

generic error response

func NewAddCPUArchitectureCPUExtensionDefault ¶

func NewAddCPUArchitectureCPUExtensionDefault(code int) *AddCPUArchitectureCPUExtensionDefault

NewAddCPUArchitectureCPUExtensionDefault creates a AddCPUArchitectureCPUExtensionDefault with default headers values

func (*AddCPUArchitectureCPUExtensionDefault) Code ¶

Code gets the status code for the add Cpu architecture Cpu extension default response

func (*AddCPUArchitectureCPUExtensionDefault) Error ¶

func (*AddCPUArchitectureCPUExtensionDefault) GetPayload ¶

type AddCPUArchitectureCPUExtensionOK ¶

type AddCPUArchitectureCPUExtensionOK struct {
	Payload *inventory_models.CPUExtension
}
AddCPUArchitectureCPUExtensionOK describes a response with status code 200, with default header values.

The CPU extension added to the kernel

func NewAddCPUArchitectureCPUExtensionOK ¶

func NewAddCPUArchitectureCPUExtensionOK() *AddCPUArchitectureCPUExtensionOK

NewAddCPUArchitectureCPUExtensionOK creates a AddCPUArchitectureCPUExtensionOK with default headers values

func (*AddCPUArchitectureCPUExtensionOK) Error ¶

func (*AddCPUArchitectureCPUExtensionOK) GetPayload ¶

type AddCPUArchitectureCPUExtensionParams ¶

type AddCPUArchitectureCPUExtensionParams struct {

	// CPUArchitectureID.
	//
	// Format: uuid
	CPUArchitectureID strfmt.UUID

	// CPUExtensionID.
	CPUExtensionID *inventory_models.AddCPUArchitectureCPUExtensionParamsBody

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

AddCPUArchitectureCPUExtensionParams contains all the parameters to send to the API endpoint

for the add Cpu architecture Cpu extension operation.

Typically these are written to a http.Request.

func NewAddCPUArchitectureCPUExtensionParams ¶

func NewAddCPUArchitectureCPUExtensionParams() *AddCPUArchitectureCPUExtensionParams

NewAddCPUArchitectureCPUExtensionParams creates a new AddCPUArchitectureCPUExtensionParams 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 NewAddCPUArchitectureCPUExtensionParamsWithContext ¶

func NewAddCPUArchitectureCPUExtensionParamsWithContext(ctx context.Context) *AddCPUArchitectureCPUExtensionParams

NewAddCPUArchitectureCPUExtensionParamsWithContext creates a new AddCPUArchitectureCPUExtensionParams object with the ability to set a context for a request.

func NewAddCPUArchitectureCPUExtensionParamsWithHTTPClient ¶

func NewAddCPUArchitectureCPUExtensionParamsWithHTTPClient(client *http.Client) *AddCPUArchitectureCPUExtensionParams

NewAddCPUArchitectureCPUExtensionParamsWithHTTPClient creates a new AddCPUArchitectureCPUExtensionParams object with the ability to set a custom HTTPClient for a request.

func NewAddCPUArchitectureCPUExtensionParamsWithTimeout ¶

func NewAddCPUArchitectureCPUExtensionParamsWithTimeout(timeout time.Duration) *AddCPUArchitectureCPUExtensionParams

NewAddCPUArchitectureCPUExtensionParamsWithTimeout creates a new AddCPUArchitectureCPUExtensionParams object with the ability to set a timeout on a request.

func (*AddCPUArchitectureCPUExtensionParams) SetCPUArchitectureID ¶

func (o *AddCPUArchitectureCPUExtensionParams) SetCPUArchitectureID(cPUArchitectureID strfmt.UUID)

SetCPUArchitectureID adds the cpuArchitectureId to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) SetCPUExtensionID ¶

SetCPUExtensionID adds the cpuExtensionId to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) SetContext ¶

SetContext adds the context to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) SetDefaults ¶

func (o *AddCPUArchitectureCPUExtensionParams) SetDefaults()

SetDefaults hydrates default values in the add Cpu architecture Cpu extension params (not the query body).

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

func (*AddCPUArchitectureCPUExtensionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WithCPUArchitectureID ¶

func (o *AddCPUArchitectureCPUExtensionParams) WithCPUArchitectureID(cPUArchitectureID strfmt.UUID) *AddCPUArchitectureCPUExtensionParams

WithCPUArchitectureID adds the cPUArchitectureID to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WithCPUExtensionID ¶

WithCPUExtensionID adds the cPUExtensionID to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WithContext ¶

WithContext adds the context to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WithDefaults ¶

WithDefaults hydrates default values in the add Cpu architecture Cpu extension params (not the query body).

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

func (*AddCPUArchitectureCPUExtensionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WithTimeout ¶

WithTimeout adds the timeout to the add Cpu architecture Cpu extension params

func (*AddCPUArchitectureCPUExtensionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddCPUArchitectureCPUExtensionReader ¶

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

AddCPUArchitectureCPUExtensionReader is a Reader for the AddCPUArchitectureCPUExtension structure.

func (*AddCPUArchitectureCPUExtensionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddCPUArchitectureCreated ¶

type AddCPUArchitectureCreated struct {
	Payload *inventory_models.CPUArchitecture
}
AddCPUArchitectureCreated describes a response with status code 201, with default header values.

The added CPU architecture

func NewAddCPUArchitectureCreated ¶

func NewAddCPUArchitectureCreated() *AddCPUArchitectureCreated

NewAddCPUArchitectureCreated creates a AddCPUArchitectureCreated with default headers values

func (*AddCPUArchitectureCreated) Error ¶

func (o *AddCPUArchitectureCreated) Error() string

func (*AddCPUArchitectureCreated) GetPayload ¶

type AddCPUArchitectureDefault ¶

type AddCPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddCPUArchitectureDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddCPUArchitectureDefault ¶

func NewAddCPUArchitectureDefault(code int) *AddCPUArchitectureDefault

NewAddCPUArchitectureDefault creates a AddCPUArchitectureDefault with default headers values

func (*AddCPUArchitectureDefault) Code ¶

func (o *AddCPUArchitectureDefault) Code() int

Code gets the status code for the add Cpu architecture default response

func (*AddCPUArchitectureDefault) Error ¶

func (o *AddCPUArchitectureDefault) Error() string

func (*AddCPUArchitectureDefault) GetPayload ¶

type AddCPUArchitectureParams ¶

type AddCPUArchitectureParams struct {

	// CPUArchitecture.
	CPUArchitecture *inventory_models.CPUArchitectureCore

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

AddCPUArchitectureParams contains all the parameters to send to the API endpoint

for the add Cpu architecture operation.

Typically these are written to a http.Request.

func NewAddCPUArchitectureParams ¶

func NewAddCPUArchitectureParams() *AddCPUArchitectureParams

NewAddCPUArchitectureParams creates a new AddCPUArchitectureParams 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 NewAddCPUArchitectureParamsWithContext ¶

func NewAddCPUArchitectureParamsWithContext(ctx context.Context) *AddCPUArchitectureParams

NewAddCPUArchitectureParamsWithContext creates a new AddCPUArchitectureParams object with the ability to set a context for a request.

func NewAddCPUArchitectureParamsWithHTTPClient ¶

func NewAddCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddCPUArchitectureParams

NewAddCPUArchitectureParamsWithHTTPClient creates a new AddCPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewAddCPUArchitectureParamsWithTimeout ¶

func NewAddCPUArchitectureParamsWithTimeout(timeout time.Duration) *AddCPUArchitectureParams

NewAddCPUArchitectureParamsWithTimeout creates a new AddCPUArchitectureParams object with the ability to set a timeout on a request.

func (*AddCPUArchitectureParams) SetCPUArchitecture ¶

func (o *AddCPUArchitectureParams) SetCPUArchitecture(cPUArchitecture *inventory_models.CPUArchitectureCore)

SetCPUArchitecture adds the cpuArchitecture to the add Cpu architecture params

func (*AddCPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the add Cpu architecture params

func (*AddCPUArchitectureParams) SetDefaults ¶

func (o *AddCPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the add Cpu architecture params (not the query body).

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

func (*AddCPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add Cpu architecture params

func (*AddCPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add Cpu architecture params

func (*AddCPUArchitectureParams) WithCPUArchitecture ¶

WithCPUArchitecture adds the cPUArchitecture to the add Cpu architecture params

func (*AddCPUArchitectureParams) WithContext ¶

WithContext adds the context to the add Cpu architecture params

func (*AddCPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the add Cpu architecture params (not the query body).

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

func (*AddCPUArchitectureParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add Cpu architecture params

func (*AddCPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the add Cpu architecture params

func (*AddCPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddCPUArchitectureReader ¶

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

AddCPUArchitectureReader is a Reader for the AddCPUArchitecture structure.

func (*AddCPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddCPUArchitectureRevisionBadRequest ¶

type AddCPUArchitectureRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddCPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values.

If the CPU architecture revision is invalid

func NewAddCPUArchitectureRevisionBadRequest ¶

func NewAddCPUArchitectureRevisionBadRequest() *AddCPUArchitectureRevisionBadRequest

NewAddCPUArchitectureRevisionBadRequest creates a AddCPUArchitectureRevisionBadRequest with default headers values

func (*AddCPUArchitectureRevisionBadRequest) Error ¶

func (*AddCPUArchitectureRevisionBadRequest) GetPayload ¶

type AddCPUArchitectureRevisionDefault ¶

type AddCPUArchitectureRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddCPUArchitectureRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddCPUArchitectureRevisionDefault ¶

func NewAddCPUArchitectureRevisionDefault(code int) *AddCPUArchitectureRevisionDefault

NewAddCPUArchitectureRevisionDefault creates a AddCPUArchitectureRevisionDefault with default headers values

func (*AddCPUArchitectureRevisionDefault) Code ¶

Code gets the status code for the add Cpu architecture revision default response

func (*AddCPUArchitectureRevisionDefault) Error ¶

func (*AddCPUArchitectureRevisionDefault) GetPayload ¶

type AddCPUArchitectureRevisionOK ¶

type AddCPUArchitectureRevisionOK struct {
	Payload *inventory_models.CPUArchitecture
}
AddCPUArchitectureRevisionOK describes a response with status code 200, with default header values.

The updated state of the CPU architecture

func NewAddCPUArchitectureRevisionOK ¶

func NewAddCPUArchitectureRevisionOK() *AddCPUArchitectureRevisionOK

NewAddCPUArchitectureRevisionOK creates a AddCPUArchitectureRevisionOK with default headers values

func (*AddCPUArchitectureRevisionOK) Error ¶

func (*AddCPUArchitectureRevisionOK) GetPayload ¶

type AddCPUArchitectureRevisionParams ¶

type AddCPUArchitectureRevisionParams struct {

	// CPUArchitectureID.
	//
	// Format: uuid
	CPUArchitectureID strfmt.UUID

	// CPUArchitectureRevision.
	CPUArchitectureRevision *inventory_models.RevisionedFeatureProvider

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

AddCPUArchitectureRevisionParams contains all the parameters to send to the API endpoint

for the add Cpu architecture revision operation.

Typically these are written to a http.Request.

func NewAddCPUArchitectureRevisionParams ¶

func NewAddCPUArchitectureRevisionParams() *AddCPUArchitectureRevisionParams

NewAddCPUArchitectureRevisionParams creates a new AddCPUArchitectureRevisionParams 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 NewAddCPUArchitectureRevisionParamsWithContext ¶

func NewAddCPUArchitectureRevisionParamsWithContext(ctx context.Context) *AddCPUArchitectureRevisionParams

NewAddCPUArchitectureRevisionParamsWithContext creates a new AddCPUArchitectureRevisionParams object with the ability to set a context for a request.

func NewAddCPUArchitectureRevisionParamsWithHTTPClient ¶

func NewAddCPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *AddCPUArchitectureRevisionParams

NewAddCPUArchitectureRevisionParamsWithHTTPClient creates a new AddCPUArchitectureRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddCPUArchitectureRevisionParamsWithTimeout ¶

func NewAddCPUArchitectureRevisionParamsWithTimeout(timeout time.Duration) *AddCPUArchitectureRevisionParams

NewAddCPUArchitectureRevisionParamsWithTimeout creates a new AddCPUArchitectureRevisionParams object with the ability to set a timeout on a request.

func (*AddCPUArchitectureRevisionParams) SetCPUArchitectureID ¶

func (o *AddCPUArchitectureRevisionParams) SetCPUArchitectureID(cPUArchitectureID strfmt.UUID)

SetCPUArchitectureID adds the cpuArchitectureId to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) SetCPUArchitectureRevision ¶

func (o *AddCPUArchitectureRevisionParams) SetCPUArchitectureRevision(cPUArchitectureRevision *inventory_models.RevisionedFeatureProvider)

SetCPUArchitectureRevision adds the cpuArchitectureRevision to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) SetContext ¶

SetContext adds the context to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) SetDefaults ¶

func (o *AddCPUArchitectureRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add Cpu architecture revision params (not the query body).

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

func (*AddCPUArchitectureRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WithCPUArchitectureID ¶

func (o *AddCPUArchitectureRevisionParams) WithCPUArchitectureID(cPUArchitectureID strfmt.UUID) *AddCPUArchitectureRevisionParams

WithCPUArchitectureID adds the cPUArchitectureID to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WithCPUArchitectureRevision ¶

func (o *AddCPUArchitectureRevisionParams) WithCPUArchitectureRevision(cPUArchitectureRevision *inventory_models.RevisionedFeatureProvider) *AddCPUArchitectureRevisionParams

WithCPUArchitectureRevision adds the cPUArchitectureRevision to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WithContext ¶

WithContext adds the context to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add Cpu architecture revision params (not the query body).

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

func (*AddCPUArchitectureRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add Cpu architecture revision params

func (*AddCPUArchitectureRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddCPUArchitectureRevisionReader ¶

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

AddCPUArchitectureRevisionReader is a Reader for the AddCPUArchitectureRevision structure.

func (*AddCPUArchitectureRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddCPUExtensionBadRequest ¶

type AddCPUExtensionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddCPUExtensionBadRequest describes a response with status code 400, with default header values.

If the CPU extension is invalid

func NewAddCPUExtensionBadRequest ¶

func NewAddCPUExtensionBadRequest() *AddCPUExtensionBadRequest

NewAddCPUExtensionBadRequest creates a AddCPUExtensionBadRequest with default headers values

func (*AddCPUExtensionBadRequest) Error ¶

func (o *AddCPUExtensionBadRequest) Error() string

func (*AddCPUExtensionBadRequest) GetPayload ¶

type AddCPUExtensionCreated ¶

type AddCPUExtensionCreated struct {
	Payload *inventory_models.CPUExtension
}
AddCPUExtensionCreated describes a response with status code 201, with default header values.

The added CPU extension

func NewAddCPUExtensionCreated ¶

func NewAddCPUExtensionCreated() *AddCPUExtensionCreated

NewAddCPUExtensionCreated creates a AddCPUExtensionCreated with default headers values

func (*AddCPUExtensionCreated) Error ¶

func (o *AddCPUExtensionCreated) Error() string

func (*AddCPUExtensionCreated) GetPayload ¶

type AddCPUExtensionDefault ¶

type AddCPUExtensionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddCPUExtensionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddCPUExtensionDefault ¶

func NewAddCPUExtensionDefault(code int) *AddCPUExtensionDefault

NewAddCPUExtensionDefault creates a AddCPUExtensionDefault with default headers values

func (*AddCPUExtensionDefault) Code ¶

func (o *AddCPUExtensionDefault) Code() int

Code gets the status code for the add Cpu extension default response

func (*AddCPUExtensionDefault) Error ¶

func (o *AddCPUExtensionDefault) Error() string

func (*AddCPUExtensionDefault) GetPayload ¶

type AddCPUExtensionParams ¶

type AddCPUExtensionParams struct {

	// CPUExtension.
	CPUExtension *inventory_models.CPUExtensionCore

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

AddCPUExtensionParams contains all the parameters to send to the API endpoint

for the add Cpu extension operation.

Typically these are written to a http.Request.

func NewAddCPUExtensionParams ¶

func NewAddCPUExtensionParams() *AddCPUExtensionParams

NewAddCPUExtensionParams creates a new AddCPUExtensionParams 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 NewAddCPUExtensionParamsWithContext ¶

func NewAddCPUExtensionParamsWithContext(ctx context.Context) *AddCPUExtensionParams

NewAddCPUExtensionParamsWithContext creates a new AddCPUExtensionParams object with the ability to set a context for a request.

func NewAddCPUExtensionParamsWithHTTPClient ¶

func NewAddCPUExtensionParamsWithHTTPClient(client *http.Client) *AddCPUExtensionParams

NewAddCPUExtensionParamsWithHTTPClient creates a new AddCPUExtensionParams object with the ability to set a custom HTTPClient for a request.

func NewAddCPUExtensionParamsWithTimeout ¶

func NewAddCPUExtensionParamsWithTimeout(timeout time.Duration) *AddCPUExtensionParams

NewAddCPUExtensionParamsWithTimeout creates a new AddCPUExtensionParams object with the ability to set a timeout on a request.

func (*AddCPUExtensionParams) SetCPUExtension ¶

func (o *AddCPUExtensionParams) SetCPUExtension(cPUExtension *inventory_models.CPUExtensionCore)

SetCPUExtension adds the cpuExtension to the add Cpu extension params

func (*AddCPUExtensionParams) SetContext ¶

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

SetContext adds the context to the add Cpu extension params

func (*AddCPUExtensionParams) SetDefaults ¶

func (o *AddCPUExtensionParams) SetDefaults()

SetDefaults hydrates default values in the add Cpu extension params (not the query body).

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

func (*AddCPUExtensionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add Cpu extension params

func (*AddCPUExtensionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add Cpu extension params

func (*AddCPUExtensionParams) WithCPUExtension ¶

WithCPUExtension adds the cPUExtension to the add Cpu extension params

func (*AddCPUExtensionParams) WithContext ¶

WithContext adds the context to the add Cpu extension params

func (*AddCPUExtensionParams) WithDefaults ¶

func (o *AddCPUExtensionParams) WithDefaults() *AddCPUExtensionParams

WithDefaults hydrates default values in the add Cpu extension params (not the query body).

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

func (*AddCPUExtensionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add Cpu extension params

func (*AddCPUExtensionParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add Cpu extension params

func (*AddCPUExtensionParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddCPUExtensionReader ¶

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

AddCPUExtensionReader is a Reader for the AddCPUExtension structure.

func (*AddCPUExtensionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddCPUExtensionRevisionBadRequest ¶

type AddCPUExtensionRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddCPUExtensionRevisionBadRequest describes a response with status code 400, with default header values.

If the CPU extension revision is invalid

func NewAddCPUExtensionRevisionBadRequest ¶

func NewAddCPUExtensionRevisionBadRequest() *AddCPUExtensionRevisionBadRequest

NewAddCPUExtensionRevisionBadRequest creates a AddCPUExtensionRevisionBadRequest with default headers values

func (*AddCPUExtensionRevisionBadRequest) Error ¶

func (*AddCPUExtensionRevisionBadRequest) GetPayload ¶

type AddCPUExtensionRevisionDefault ¶

type AddCPUExtensionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddCPUExtensionRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddCPUExtensionRevisionDefault ¶

func NewAddCPUExtensionRevisionDefault(code int) *AddCPUExtensionRevisionDefault

NewAddCPUExtensionRevisionDefault creates a AddCPUExtensionRevisionDefault with default headers values

func (*AddCPUExtensionRevisionDefault) Code ¶

Code gets the status code for the add Cpu extension revision default response

func (*AddCPUExtensionRevisionDefault) Error ¶

func (*AddCPUExtensionRevisionDefault) GetPayload ¶

type AddCPUExtensionRevisionOK ¶

type AddCPUExtensionRevisionOK struct {
	Payload *inventory_models.CPUExtension
}
AddCPUExtensionRevisionOK describes a response with status code 200, with default header values.

The updated state of the CPU extension

func NewAddCPUExtensionRevisionOK ¶

func NewAddCPUExtensionRevisionOK() *AddCPUExtensionRevisionOK

NewAddCPUExtensionRevisionOK creates a AddCPUExtensionRevisionOK with default headers values

func (*AddCPUExtensionRevisionOK) Error ¶

func (o *AddCPUExtensionRevisionOK) Error() string

func (*AddCPUExtensionRevisionOK) GetPayload ¶

type AddCPUExtensionRevisionParams ¶

type AddCPUExtensionRevisionParams struct {

	// CPUExtensionID.
	//
	// Format: uuid
	CPUExtensionID strfmt.UUID

	// CPUExtensionRevision.
	CPUExtensionRevision *inventory_models.RevisionedFeatureProvider

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

AddCPUExtensionRevisionParams contains all the parameters to send to the API endpoint

for the add Cpu extension revision operation.

Typically these are written to a http.Request.

func NewAddCPUExtensionRevisionParams ¶

func NewAddCPUExtensionRevisionParams() *AddCPUExtensionRevisionParams

NewAddCPUExtensionRevisionParams creates a new AddCPUExtensionRevisionParams 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 NewAddCPUExtensionRevisionParamsWithContext ¶

func NewAddCPUExtensionRevisionParamsWithContext(ctx context.Context) *AddCPUExtensionRevisionParams

NewAddCPUExtensionRevisionParamsWithContext creates a new AddCPUExtensionRevisionParams object with the ability to set a context for a request.

func NewAddCPUExtensionRevisionParamsWithHTTPClient ¶

func NewAddCPUExtensionRevisionParamsWithHTTPClient(client *http.Client) *AddCPUExtensionRevisionParams

NewAddCPUExtensionRevisionParamsWithHTTPClient creates a new AddCPUExtensionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddCPUExtensionRevisionParamsWithTimeout ¶

func NewAddCPUExtensionRevisionParamsWithTimeout(timeout time.Duration) *AddCPUExtensionRevisionParams

NewAddCPUExtensionRevisionParamsWithTimeout creates a new AddCPUExtensionRevisionParams object with the ability to set a timeout on a request.

func (*AddCPUExtensionRevisionParams) SetCPUExtensionID ¶

func (o *AddCPUExtensionRevisionParams) SetCPUExtensionID(cPUExtensionID strfmt.UUID)

SetCPUExtensionID adds the cpuExtensionId to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) SetCPUExtensionRevision ¶

func (o *AddCPUExtensionRevisionParams) SetCPUExtensionRevision(cPUExtensionRevision *inventory_models.RevisionedFeatureProvider)

SetCPUExtensionRevision adds the cpuExtensionRevision to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) SetContext ¶

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

SetContext adds the context to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) SetDefaults ¶

func (o *AddCPUExtensionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add Cpu extension revision params (not the query body).

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

func (*AddCPUExtensionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WithCPUExtensionID ¶

func (o *AddCPUExtensionRevisionParams) WithCPUExtensionID(cPUExtensionID strfmt.UUID) *AddCPUExtensionRevisionParams

WithCPUExtensionID adds the cPUExtensionID to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WithCPUExtensionRevision ¶

WithCPUExtensionRevision adds the cPUExtensionRevision to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WithContext ¶

WithContext adds the context to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add Cpu extension revision params (not the query body).

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

func (*AddCPUExtensionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add Cpu extension revision params

func (*AddCPUExtensionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddCPUExtensionRevisionReader ¶

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

AddCPUExtensionRevisionReader is a Reader for the AddCPUExtensionRevision structure.

func (*AddCPUExtensionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddGPUArchitectureBadRequest ¶

type AddGPUArchitectureBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddGPUArchitectureBadRequest describes a response with status code 400, with default header values.

If the GPU architecture is invalid

func NewAddGPUArchitectureBadRequest ¶

func NewAddGPUArchitectureBadRequest() *AddGPUArchitectureBadRequest

NewAddGPUArchitectureBadRequest creates a AddGPUArchitectureBadRequest with default headers values

func (*AddGPUArchitectureBadRequest) Error ¶

func (*AddGPUArchitectureBadRequest) GetPayload ¶

type AddGPUArchitectureCreated ¶

type AddGPUArchitectureCreated struct {
	Payload *inventory_models.GpuArchitecture
}
AddGPUArchitectureCreated describes a response with status code 201, with default header values.

The added GPU architecture

func NewAddGPUArchitectureCreated ¶

func NewAddGPUArchitectureCreated() *AddGPUArchitectureCreated

NewAddGPUArchitectureCreated creates a AddGPUArchitectureCreated with default headers values

func (*AddGPUArchitectureCreated) Error ¶

func (o *AddGPUArchitectureCreated) Error() string

func (*AddGPUArchitectureCreated) GetPayload ¶

type AddGPUArchitectureDefault ¶

type AddGPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddGPUArchitectureDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddGPUArchitectureDefault ¶

func NewAddGPUArchitectureDefault(code int) *AddGPUArchitectureDefault

NewAddGPUArchitectureDefault creates a AddGPUArchitectureDefault with default headers values

func (*AddGPUArchitectureDefault) Code ¶

func (o *AddGPUArchitectureDefault) Code() int

Code gets the status code for the add g p u architecture default response

func (*AddGPUArchitectureDefault) Error ¶

func (o *AddGPUArchitectureDefault) Error() string

func (*AddGPUArchitectureDefault) GetPayload ¶

type AddGPUArchitectureParams ¶

type AddGPUArchitectureParams struct {

	// GpuArchitecture.
	GpuArchitecture *inventory_models.GpuArchitectureCore

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

AddGPUArchitectureParams contains all the parameters to send to the API endpoint

for the add g p u architecture operation.

Typically these are written to a http.Request.

func NewAddGPUArchitectureParams ¶

func NewAddGPUArchitectureParams() *AddGPUArchitectureParams

NewAddGPUArchitectureParams creates a new AddGPUArchitectureParams 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 NewAddGPUArchitectureParamsWithContext ¶

func NewAddGPUArchitectureParamsWithContext(ctx context.Context) *AddGPUArchitectureParams

NewAddGPUArchitectureParamsWithContext creates a new AddGPUArchitectureParams object with the ability to set a context for a request.

func NewAddGPUArchitectureParamsWithHTTPClient ¶

func NewAddGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddGPUArchitectureParams

NewAddGPUArchitectureParamsWithHTTPClient creates a new AddGPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewAddGPUArchitectureParamsWithTimeout ¶

func NewAddGPUArchitectureParamsWithTimeout(timeout time.Duration) *AddGPUArchitectureParams

NewAddGPUArchitectureParamsWithTimeout creates a new AddGPUArchitectureParams object with the ability to set a timeout on a request.

func (*AddGPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the add g p u architecture params

func (*AddGPUArchitectureParams) SetDefaults ¶

func (o *AddGPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the add g p u architecture params (not the query body).

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

func (*AddGPUArchitectureParams) SetGpuArchitecture ¶

func (o *AddGPUArchitectureParams) SetGpuArchitecture(gpuArchitecture *inventory_models.GpuArchitectureCore)

SetGpuArchitecture adds the gpuArchitecture to the add g p u architecture params

func (*AddGPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add g p u architecture params

func (*AddGPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add g p u architecture params

func (*AddGPUArchitectureParams) WithContext ¶

WithContext adds the context to the add g p u architecture params

func (*AddGPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the add g p u architecture params (not the query body).

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

func (*AddGPUArchitectureParams) WithGpuArchitecture ¶

WithGpuArchitecture adds the gpuArchitecture to the add g p u architecture params

func (*AddGPUArchitectureParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add g p u architecture params

func (*AddGPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the add g p u architecture params

func (*AddGPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddGPUArchitectureReader ¶

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

AddGPUArchitectureReader is a Reader for the AddGPUArchitecture structure.

func (*AddGPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddGPUArchitectureRevisionBadRequest ¶

type AddGPUArchitectureRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddGPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values.

If the GPU architecture revision is invalid

func NewAddGPUArchitectureRevisionBadRequest ¶

func NewAddGPUArchitectureRevisionBadRequest() *AddGPUArchitectureRevisionBadRequest

NewAddGPUArchitectureRevisionBadRequest creates a AddGPUArchitectureRevisionBadRequest with default headers values

func (*AddGPUArchitectureRevisionBadRequest) Error ¶

func (*AddGPUArchitectureRevisionBadRequest) GetPayload ¶

type AddGPUArchitectureRevisionDefault ¶

type AddGPUArchitectureRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddGPUArchitectureRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddGPUArchitectureRevisionDefault ¶

func NewAddGPUArchitectureRevisionDefault(code int) *AddGPUArchitectureRevisionDefault

NewAddGPUArchitectureRevisionDefault creates a AddGPUArchitectureRevisionDefault with default headers values

func (*AddGPUArchitectureRevisionDefault) Code ¶

Code gets the status code for the add g p u architecture revision default response

func (*AddGPUArchitectureRevisionDefault) Error ¶

func (*AddGPUArchitectureRevisionDefault) GetPayload ¶

type AddGPUArchitectureRevisionOK ¶

type AddGPUArchitectureRevisionOK struct {
	Payload *inventory_models.GpuArchitecture
}
AddGPUArchitectureRevisionOK describes a response with status code 200, with default header values.

The updated state of the GPU architecture

func NewAddGPUArchitectureRevisionOK ¶

func NewAddGPUArchitectureRevisionOK() *AddGPUArchitectureRevisionOK

NewAddGPUArchitectureRevisionOK creates a AddGPUArchitectureRevisionOK with default headers values

func (*AddGPUArchitectureRevisionOK) Error ¶

func (*AddGPUArchitectureRevisionOK) GetPayload ¶

type AddGPUArchitectureRevisionParams ¶

type AddGPUArchitectureRevisionParams struct {

	// GpuArchitectureID.
	//
	// Format: uuid
	GpuArchitectureID strfmt.UUID

	// GpuArchitectureRevision.
	GpuArchitectureRevision *inventory_models.RevisionedFeatureProvider

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

AddGPUArchitectureRevisionParams contains all the parameters to send to the API endpoint

for the add g p u architecture revision operation.

Typically these are written to a http.Request.

func NewAddGPUArchitectureRevisionParams ¶

func NewAddGPUArchitectureRevisionParams() *AddGPUArchitectureRevisionParams

NewAddGPUArchitectureRevisionParams creates a new AddGPUArchitectureRevisionParams 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 NewAddGPUArchitectureRevisionParamsWithContext ¶

func NewAddGPUArchitectureRevisionParamsWithContext(ctx context.Context) *AddGPUArchitectureRevisionParams

NewAddGPUArchitectureRevisionParamsWithContext creates a new AddGPUArchitectureRevisionParams object with the ability to set a context for a request.

func NewAddGPUArchitectureRevisionParamsWithHTTPClient ¶

func NewAddGPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *AddGPUArchitectureRevisionParams

NewAddGPUArchitectureRevisionParamsWithHTTPClient creates a new AddGPUArchitectureRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddGPUArchitectureRevisionParamsWithTimeout ¶

func NewAddGPUArchitectureRevisionParamsWithTimeout(timeout time.Duration) *AddGPUArchitectureRevisionParams

NewAddGPUArchitectureRevisionParamsWithTimeout creates a new AddGPUArchitectureRevisionParams object with the ability to set a timeout on a request.

func (*AddGPUArchitectureRevisionParams) SetContext ¶

SetContext adds the context to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) SetDefaults ¶

func (o *AddGPUArchitectureRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add g p u architecture revision params (not the query body).

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

func (*AddGPUArchitectureRevisionParams) SetGpuArchitectureID ¶

func (o *AddGPUArchitectureRevisionParams) SetGpuArchitectureID(gpuArchitectureID strfmt.UUID)

SetGpuArchitectureID adds the gpuArchitectureId to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) SetGpuArchitectureRevision ¶

func (o *AddGPUArchitectureRevisionParams) SetGpuArchitectureRevision(gpuArchitectureRevision *inventory_models.RevisionedFeatureProvider)

SetGpuArchitectureRevision adds the gpuArchitectureRevision to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WithContext ¶

WithContext adds the context to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add g p u architecture revision params (not the query body).

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

func (*AddGPUArchitectureRevisionParams) WithGpuArchitectureID ¶

func (o *AddGPUArchitectureRevisionParams) WithGpuArchitectureID(gpuArchitectureID strfmt.UUID) *AddGPUArchitectureRevisionParams

WithGpuArchitectureID adds the gpuArchitectureID to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WithGpuArchitectureRevision ¶

func (o *AddGPUArchitectureRevisionParams) WithGpuArchitectureRevision(gpuArchitectureRevision *inventory_models.RevisionedFeatureProvider) *AddGPUArchitectureRevisionParams

WithGpuArchitectureRevision adds the gpuArchitectureRevision to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add g p u architecture revision params

func (*AddGPUArchitectureRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddGPUArchitectureRevisionReader ¶

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

AddGPUArchitectureRevisionReader is a Reader for the AddGPUArchitectureRevision structure.

func (*AddGPUArchitectureRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddImageBadRequest ¶

type AddImageBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddImageBadRequest describes a response with status code 400, with default header values.

If the image is invalid

func NewAddImageBadRequest ¶

func NewAddImageBadRequest() *AddImageBadRequest

NewAddImageBadRequest creates a AddImageBadRequest with default headers values

func (*AddImageBadRequest) Error ¶

func (o *AddImageBadRequest) Error() string

func (*AddImageBadRequest) GetPayload ¶

type AddImageCreated ¶

type AddImageCreated struct {
	Payload *inventory_models.Image
}
AddImageCreated describes a response with status code 201, with default header values.

The added image

func NewAddImageCreated ¶

func NewAddImageCreated() *AddImageCreated

NewAddImageCreated creates a AddImageCreated with default headers values

func (*AddImageCreated) Error ¶

func (o *AddImageCreated) Error() string

func (*AddImageCreated) GetPayload ¶

func (o *AddImageCreated) GetPayload() *inventory_models.Image

type AddImageDefault ¶

type AddImageDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddImageDefault describes a response with status code -1, with default header values.

If there is an error processing the image

func NewAddImageDefault ¶

func NewAddImageDefault(code int) *AddImageDefault

NewAddImageDefault creates a AddImageDefault with default headers values

func (*AddImageDefault) Code ¶

func (o *AddImageDefault) Code() int

Code gets the status code for the add image default response

func (*AddImageDefault) Error ¶

func (o *AddImageDefault) Error() string

func (*AddImageDefault) GetPayload ¶

type AddImageParams ¶

type AddImageParams struct {

	// Image.
	Image *inventory_models.ImageCore

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

AddImageParams contains all the parameters to send to the API endpoint

for the add image operation.

Typically these are written to a http.Request.

func NewAddImageParams ¶

func NewAddImageParams() *AddImageParams

NewAddImageParams creates a new AddImageParams 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 NewAddImageParamsWithContext ¶

func NewAddImageParamsWithContext(ctx context.Context) *AddImageParams

NewAddImageParamsWithContext creates a new AddImageParams object with the ability to set a context for a request.

func NewAddImageParamsWithHTTPClient ¶

func NewAddImageParamsWithHTTPClient(client *http.Client) *AddImageParams

NewAddImageParamsWithHTTPClient creates a new AddImageParams object with the ability to set a custom HTTPClient for a request.

func NewAddImageParamsWithTimeout ¶

func NewAddImageParamsWithTimeout(timeout time.Duration) *AddImageParams

NewAddImageParamsWithTimeout creates a new AddImageParams object with the ability to set a timeout on a request.

func (*AddImageParams) SetContext ¶

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

SetContext adds the context to the add image params

func (*AddImageParams) SetDefaults ¶

func (o *AddImageParams) SetDefaults()

SetDefaults hydrates default values in the add image params (not the query body).

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

func (*AddImageParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add image params

func (*AddImageParams) SetImage ¶

func (o *AddImageParams) SetImage(image *inventory_models.ImageCore)

SetImage adds the image to the add image params

func (*AddImageParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add image params

func (*AddImageParams) WithContext ¶

func (o *AddImageParams) WithContext(ctx context.Context) *AddImageParams

WithContext adds the context to the add image params

func (*AddImageParams) WithDefaults ¶

func (o *AddImageParams) WithDefaults() *AddImageParams

WithDefaults hydrates default values in the add image params (not the query body).

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

func (*AddImageParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add image params

func (*AddImageParams) WithImage ¶

WithImage adds the image to the add image params

func (*AddImageParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add image params

func (*AddImageParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddImageReader ¶

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

AddImageReader is a Reader for the AddImage structure.

func (*AddImageReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddImageRevisionBadRequest ¶

type AddImageRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddImageRevisionBadRequest describes a response with status code 400, with default header values.

If the image revision is invalid

func NewAddImageRevisionBadRequest ¶

func NewAddImageRevisionBadRequest() *AddImageRevisionBadRequest

NewAddImageRevisionBadRequest creates a AddImageRevisionBadRequest with default headers values

func (*AddImageRevisionBadRequest) Error ¶

func (*AddImageRevisionBadRequest) GetPayload ¶

type AddImageRevisionDefault ¶

type AddImageRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddImageRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddImageRevisionDefault ¶

func NewAddImageRevisionDefault(code int) *AddImageRevisionDefault

NewAddImageRevisionDefault creates a AddImageRevisionDefault with default headers values

func (*AddImageRevisionDefault) Code ¶

func (o *AddImageRevisionDefault) Code() int

Code gets the status code for the add image revision default response

func (*AddImageRevisionDefault) Error ¶

func (o *AddImageRevisionDefault) Error() string

func (*AddImageRevisionDefault) GetPayload ¶

type AddImageRevisionOK ¶

type AddImageRevisionOK struct {
	Payload *inventory_models.Image
}
AddImageRevisionOK describes a response with status code 200, with default header values.

The updated state of the image

func NewAddImageRevisionOK ¶

func NewAddImageRevisionOK() *AddImageRevisionOK

NewAddImageRevisionOK creates a AddImageRevisionOK with default headers values

func (*AddImageRevisionOK) Error ¶

func (o *AddImageRevisionOK) Error() string

func (*AddImageRevisionOK) GetPayload ¶

func (o *AddImageRevisionOK) GetPayload() *inventory_models.Image

type AddImageRevisionParams ¶

type AddImageRevisionParams struct {

	// ImageID.
	//
	// Format: uuid
	ImageID strfmt.UUID

	// ImageRevision.
	ImageRevision *inventory_models.ImageRevisionCore

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

AddImageRevisionParams contains all the parameters to send to the API endpoint

for the add image revision operation.

Typically these are written to a http.Request.

func NewAddImageRevisionParams ¶

func NewAddImageRevisionParams() *AddImageRevisionParams

NewAddImageRevisionParams creates a new AddImageRevisionParams 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 NewAddImageRevisionParamsWithContext ¶

func NewAddImageRevisionParamsWithContext(ctx context.Context) *AddImageRevisionParams

NewAddImageRevisionParamsWithContext creates a new AddImageRevisionParams object with the ability to set a context for a request.

func NewAddImageRevisionParamsWithHTTPClient ¶

func NewAddImageRevisionParamsWithHTTPClient(client *http.Client) *AddImageRevisionParams

NewAddImageRevisionParamsWithHTTPClient creates a new AddImageRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddImageRevisionParamsWithTimeout ¶

func NewAddImageRevisionParamsWithTimeout(timeout time.Duration) *AddImageRevisionParams

NewAddImageRevisionParamsWithTimeout creates a new AddImageRevisionParams object with the ability to set a timeout on a request.

func (*AddImageRevisionParams) SetContext ¶

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

SetContext adds the context to the add image revision params

func (*AddImageRevisionParams) SetDefaults ¶

func (o *AddImageRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add image revision params (not the query body).

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

func (*AddImageRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add image revision params

func (*AddImageRevisionParams) SetImageID ¶

func (o *AddImageRevisionParams) SetImageID(imageID strfmt.UUID)

SetImageID adds the imageId to the add image revision params

func (*AddImageRevisionParams) SetImageRevision ¶

func (o *AddImageRevisionParams) SetImageRevision(imageRevision *inventory_models.ImageRevisionCore)

SetImageRevision adds the imageRevision to the add image revision params

func (*AddImageRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add image revision params

func (*AddImageRevisionParams) WithContext ¶

WithContext adds the context to the add image revision params

func (*AddImageRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add image revision params (not the query body).

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

func (*AddImageRevisionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add image revision params

func (*AddImageRevisionParams) WithImageID ¶

func (o *AddImageRevisionParams) WithImageID(imageID strfmt.UUID) *AddImageRevisionParams

WithImageID adds the imageID to the add image revision params

func (*AddImageRevisionParams) WithImageRevision ¶

WithImageRevision adds the imageRevision to the add image revision params

func (*AddImageRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add image revision params

func (*AddImageRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddImageRevisionReader ¶

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

AddImageRevisionReader is a Reader for the AddImageRevision structure.

func (*AddImageRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientAndVersionsBadRequest ¶

type AddIngredientAndVersionsBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientAndVersionsBadRequest describes a response with status code 400, with default header values.

If the ingredient/version data is invalid

func NewAddIngredientAndVersionsBadRequest ¶

func NewAddIngredientAndVersionsBadRequest() *AddIngredientAndVersionsBadRequest

NewAddIngredientAndVersionsBadRequest creates a AddIngredientAndVersionsBadRequest with default headers values

func (*AddIngredientAndVersionsBadRequest) Error ¶

func (*AddIngredientAndVersionsBadRequest) GetPayload ¶

type AddIngredientAndVersionsCreated ¶

type AddIngredientAndVersionsCreated struct {
	Payload *inventory_models.IngredientAllInOneResponse
}
AddIngredientAndVersionsCreated describes a response with status code 201, with default header values.

The added ingredient versions. If any versions already existed, they will be returned as well.

func NewAddIngredientAndVersionsCreated ¶

func NewAddIngredientAndVersionsCreated() *AddIngredientAndVersionsCreated

NewAddIngredientAndVersionsCreated creates a AddIngredientAndVersionsCreated with default headers values

func (*AddIngredientAndVersionsCreated) Error ¶

func (*AddIngredientAndVersionsCreated) GetPayload ¶

type AddIngredientAndVersionsDefault ¶

type AddIngredientAndVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientAndVersionsDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddIngredientAndVersionsDefault ¶

func NewAddIngredientAndVersionsDefault(code int) *AddIngredientAndVersionsDefault

NewAddIngredientAndVersionsDefault creates a AddIngredientAndVersionsDefault with default headers values

func (*AddIngredientAndVersionsDefault) Code ¶

Code gets the status code for the add ingredient and versions default response

func (*AddIngredientAndVersionsDefault) Error ¶

func (*AddIngredientAndVersionsDefault) GetPayload ¶

type AddIngredientAndVersionsParams ¶

type AddIngredientAndVersionsParams struct {

	/* DisableSmartImport.

	   Disables the smart-import feature for this import
	*/
	DisableSmartImport *bool

	// IngredientAndVersions.
	IngredientAndVersions *inventory_models.IngredientAllInOneCreate

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

AddIngredientAndVersionsParams contains all the parameters to send to the API endpoint

for the add ingredient and versions operation.

Typically these are written to a http.Request.

func NewAddIngredientAndVersionsParams ¶

func NewAddIngredientAndVersionsParams() *AddIngredientAndVersionsParams

NewAddIngredientAndVersionsParams creates a new AddIngredientAndVersionsParams 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 NewAddIngredientAndVersionsParamsWithContext ¶

func NewAddIngredientAndVersionsParamsWithContext(ctx context.Context) *AddIngredientAndVersionsParams

NewAddIngredientAndVersionsParamsWithContext creates a new AddIngredientAndVersionsParams object with the ability to set a context for a request.

func NewAddIngredientAndVersionsParamsWithHTTPClient ¶

func NewAddIngredientAndVersionsParamsWithHTTPClient(client *http.Client) *AddIngredientAndVersionsParams

NewAddIngredientAndVersionsParamsWithHTTPClient creates a new AddIngredientAndVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientAndVersionsParamsWithTimeout ¶

func NewAddIngredientAndVersionsParamsWithTimeout(timeout time.Duration) *AddIngredientAndVersionsParams

NewAddIngredientAndVersionsParamsWithTimeout creates a new AddIngredientAndVersionsParams object with the ability to set a timeout on a request.

func (*AddIngredientAndVersionsParams) SetContext ¶

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

SetContext adds the context to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) SetDefaults ¶

func (o *AddIngredientAndVersionsParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient and versions params (not the query body).

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

func (*AddIngredientAndVersionsParams) SetDisableSmartImport ¶

func (o *AddIngredientAndVersionsParams) SetDisableSmartImport(disableSmartImport *bool)

SetDisableSmartImport adds the disableSmartImport to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) SetIngredientAndVersions ¶

func (o *AddIngredientAndVersionsParams) SetIngredientAndVersions(ingredientAndVersions *inventory_models.IngredientAllInOneCreate)

SetIngredientAndVersions adds the ingredientAndVersions to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WithContext ¶

WithContext adds the context to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient and versions params (not the query body).

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

func (*AddIngredientAndVersionsParams) WithDisableSmartImport ¶

func (o *AddIngredientAndVersionsParams) WithDisableSmartImport(disableSmartImport *bool) *AddIngredientAndVersionsParams

WithDisableSmartImport adds the disableSmartImport to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WithIngredientAndVersions ¶

WithIngredientAndVersions adds the ingredientAndVersions to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient and versions params

func (*AddIngredientAndVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientAndVersionsReader ¶

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

AddIngredientAndVersionsReader is a Reader for the AddIngredientAndVersions structure.

func (*AddIngredientAndVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientBadRequest ¶

type AddIngredientBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientBadRequest describes a response with status code 400, with default header values.

If the ingredient is invalid

func NewAddIngredientBadRequest ¶

func NewAddIngredientBadRequest() *AddIngredientBadRequest

NewAddIngredientBadRequest creates a AddIngredientBadRequest with default headers values

func (*AddIngredientBadRequest) Error ¶

func (o *AddIngredientBadRequest) Error() string

func (*AddIngredientBadRequest) GetPayload ¶

type AddIngredientCreated ¶

type AddIngredientCreated struct {
	Payload *inventory_models.Ingredient
}
AddIngredientCreated describes a response with status code 201, with default header values.

The added ingredient

func NewAddIngredientCreated ¶

func NewAddIngredientCreated() *AddIngredientCreated

NewAddIngredientCreated creates a AddIngredientCreated with default headers values

func (*AddIngredientCreated) Error ¶

func (o *AddIngredientCreated) Error() string

func (*AddIngredientCreated) GetPayload ¶

type AddIngredientDefault ¶

type AddIngredientDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddIngredientDefault ¶

func NewAddIngredientDefault(code int) *AddIngredientDefault

NewAddIngredientDefault creates a AddIngredientDefault with default headers values

func (*AddIngredientDefault) Code ¶

func (o *AddIngredientDefault) Code() int

Code gets the status code for the add ingredient default response

func (*AddIngredientDefault) Error ¶

func (o *AddIngredientDefault) Error() string

func (*AddIngredientDefault) GetPayload ¶

type AddIngredientOptionSetBadRequest ¶

type AddIngredientOptionSetBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientOptionSetBadRequest describes a response with status code 400, with default header values.

If the ingredient option set is invalid

func NewAddIngredientOptionSetBadRequest ¶

func NewAddIngredientOptionSetBadRequest() *AddIngredientOptionSetBadRequest

NewAddIngredientOptionSetBadRequest creates a AddIngredientOptionSetBadRequest with default headers values

func (*AddIngredientOptionSetBadRequest) Error ¶

func (*AddIngredientOptionSetBadRequest) GetPayload ¶

type AddIngredientOptionSetCreated ¶

type AddIngredientOptionSetCreated struct {
	Payload *inventory_models.IngredientOptionSet
}
AddIngredientOptionSetCreated describes a response with status code 201, with default header values.

The added ingredient option set

func NewAddIngredientOptionSetCreated ¶

func NewAddIngredientOptionSetCreated() *AddIngredientOptionSetCreated

NewAddIngredientOptionSetCreated creates a AddIngredientOptionSetCreated with default headers values

func (*AddIngredientOptionSetCreated) Error ¶

func (*AddIngredientOptionSetCreated) GetPayload ¶

type AddIngredientOptionSetDefault ¶

type AddIngredientOptionSetDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientOptionSetDefault describes a response with status code -1, with default header values.

If there is an error processing the ingredient option set

func NewAddIngredientOptionSetDefault ¶

func NewAddIngredientOptionSetDefault(code int) *AddIngredientOptionSetDefault

NewAddIngredientOptionSetDefault creates a AddIngredientOptionSetDefault with default headers values

func (*AddIngredientOptionSetDefault) Code ¶

Code gets the status code for the add ingredient option set default response

func (*AddIngredientOptionSetDefault) Error ¶

func (*AddIngredientOptionSetDefault) GetPayload ¶

type AddIngredientOptionSetParams ¶

type AddIngredientOptionSetParams struct {

	// IngredientOptionSet.
	IngredientOptionSet *inventory_models.IngredientOptionSetCore

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

AddIngredientOptionSetParams contains all the parameters to send to the API endpoint

for the add ingredient option set operation.

Typically these are written to a http.Request.

func NewAddIngredientOptionSetParams ¶

func NewAddIngredientOptionSetParams() *AddIngredientOptionSetParams

NewAddIngredientOptionSetParams creates a new AddIngredientOptionSetParams 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 NewAddIngredientOptionSetParamsWithContext ¶

func NewAddIngredientOptionSetParamsWithContext(ctx context.Context) *AddIngredientOptionSetParams

NewAddIngredientOptionSetParamsWithContext creates a new AddIngredientOptionSetParams object with the ability to set a context for a request.

func NewAddIngredientOptionSetParamsWithHTTPClient ¶

func NewAddIngredientOptionSetParamsWithHTTPClient(client *http.Client) *AddIngredientOptionSetParams

NewAddIngredientOptionSetParamsWithHTTPClient creates a new AddIngredientOptionSetParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientOptionSetParamsWithTimeout ¶

func NewAddIngredientOptionSetParamsWithTimeout(timeout time.Duration) *AddIngredientOptionSetParams

NewAddIngredientOptionSetParamsWithTimeout creates a new AddIngredientOptionSetParams object with the ability to set a timeout on a request.

func (*AddIngredientOptionSetParams) SetContext ¶

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

SetContext adds the context to the add ingredient option set params

func (*AddIngredientOptionSetParams) SetDefaults ¶

func (o *AddIngredientOptionSetParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient option set params (not the query body).

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

func (*AddIngredientOptionSetParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient option set params

func (*AddIngredientOptionSetParams) SetIngredientOptionSet ¶

func (o *AddIngredientOptionSetParams) SetIngredientOptionSet(ingredientOptionSet *inventory_models.IngredientOptionSetCore)

SetIngredientOptionSet adds the ingredientOptionSet to the add ingredient option set params

func (*AddIngredientOptionSetParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient option set params

func (*AddIngredientOptionSetParams) WithContext ¶

WithContext adds the context to the add ingredient option set params

func (*AddIngredientOptionSetParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient option set params (not the query body).

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

func (*AddIngredientOptionSetParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient option set params

func (*AddIngredientOptionSetParams) WithIngredientOptionSet ¶

WithIngredientOptionSet adds the ingredientOptionSet to the add ingredient option set params

func (*AddIngredientOptionSetParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient option set params

func (*AddIngredientOptionSetParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientOptionSetReader ¶

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

AddIngredientOptionSetReader is a Reader for the AddIngredientOptionSet structure.

func (*AddIngredientOptionSetReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientOptionSetRevisionBadRequest ¶

type AddIngredientOptionSetRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientOptionSetRevisionBadRequest describes a response with status code 400, with default header values.

If the ingredient option set revision is invalid

func NewAddIngredientOptionSetRevisionBadRequest ¶

func NewAddIngredientOptionSetRevisionBadRequest() *AddIngredientOptionSetRevisionBadRequest

NewAddIngredientOptionSetRevisionBadRequest creates a AddIngredientOptionSetRevisionBadRequest with default headers values

func (*AddIngredientOptionSetRevisionBadRequest) Error ¶

func (*AddIngredientOptionSetRevisionBadRequest) GetPayload ¶

type AddIngredientOptionSetRevisionDefault ¶

type AddIngredientOptionSetRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientOptionSetRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the ingredient option set revision

func NewAddIngredientOptionSetRevisionDefault ¶

func NewAddIngredientOptionSetRevisionDefault(code int) *AddIngredientOptionSetRevisionDefault

NewAddIngredientOptionSetRevisionDefault creates a AddIngredientOptionSetRevisionDefault with default headers values

func (*AddIngredientOptionSetRevisionDefault) Code ¶

Code gets the status code for the add ingredient option set revision default response

func (*AddIngredientOptionSetRevisionDefault) Error ¶

func (*AddIngredientOptionSetRevisionDefault) GetPayload ¶

type AddIngredientOptionSetRevisionOK ¶

type AddIngredientOptionSetRevisionOK struct {
	Payload *inventory_models.IngredientOptionSet
}
AddIngredientOptionSetRevisionOK describes a response with status code 200, with default header values.

The updated state of the ingredient option set

func NewAddIngredientOptionSetRevisionOK ¶

func NewAddIngredientOptionSetRevisionOK() *AddIngredientOptionSetRevisionOK

NewAddIngredientOptionSetRevisionOK creates a AddIngredientOptionSetRevisionOK with default headers values

func (*AddIngredientOptionSetRevisionOK) Error ¶

func (*AddIngredientOptionSetRevisionOK) GetPayload ¶

type AddIngredientOptionSetRevisionParams ¶

type AddIngredientOptionSetRevisionParams struct {

	// IngredientOptionSetID.
	//
	// Format: uuid
	IngredientOptionSetID strfmt.UUID

	// IngredientOptionSetRevision.
	IngredientOptionSetRevision *inventory_models.IngredientOptionSetRevisionCore

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

AddIngredientOptionSetRevisionParams contains all the parameters to send to the API endpoint

for the add ingredient option set revision operation.

Typically these are written to a http.Request.

func NewAddIngredientOptionSetRevisionParams ¶

func NewAddIngredientOptionSetRevisionParams() *AddIngredientOptionSetRevisionParams

NewAddIngredientOptionSetRevisionParams creates a new AddIngredientOptionSetRevisionParams 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 NewAddIngredientOptionSetRevisionParamsWithContext ¶

func NewAddIngredientOptionSetRevisionParamsWithContext(ctx context.Context) *AddIngredientOptionSetRevisionParams

NewAddIngredientOptionSetRevisionParamsWithContext creates a new AddIngredientOptionSetRevisionParams object with the ability to set a context for a request.

func NewAddIngredientOptionSetRevisionParamsWithHTTPClient ¶

func NewAddIngredientOptionSetRevisionParamsWithHTTPClient(client *http.Client) *AddIngredientOptionSetRevisionParams

NewAddIngredientOptionSetRevisionParamsWithHTTPClient creates a new AddIngredientOptionSetRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientOptionSetRevisionParamsWithTimeout ¶

func NewAddIngredientOptionSetRevisionParamsWithTimeout(timeout time.Duration) *AddIngredientOptionSetRevisionParams

NewAddIngredientOptionSetRevisionParamsWithTimeout creates a new AddIngredientOptionSetRevisionParams object with the ability to set a timeout on a request.

func (*AddIngredientOptionSetRevisionParams) SetContext ¶

SetContext adds the context to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) SetDefaults ¶

func (o *AddIngredientOptionSetRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient option set revision params (not the query body).

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

func (*AddIngredientOptionSetRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) SetIngredientOptionSetID ¶

func (o *AddIngredientOptionSetRevisionParams) SetIngredientOptionSetID(ingredientOptionSetID strfmt.UUID)

SetIngredientOptionSetID adds the ingredientOptionSetId to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) SetIngredientOptionSetRevision ¶

func (o *AddIngredientOptionSetRevisionParams) SetIngredientOptionSetRevision(ingredientOptionSetRevision *inventory_models.IngredientOptionSetRevisionCore)

SetIngredientOptionSetRevision adds the ingredientOptionSetRevision to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WithContext ¶

WithContext adds the context to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient option set revision params (not the query body).

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

func (*AddIngredientOptionSetRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WithIngredientOptionSetID ¶

func (o *AddIngredientOptionSetRevisionParams) WithIngredientOptionSetID(ingredientOptionSetID strfmt.UUID) *AddIngredientOptionSetRevisionParams

WithIngredientOptionSetID adds the ingredientOptionSetID to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WithIngredientOptionSetRevision ¶

WithIngredientOptionSetRevision adds the ingredientOptionSetRevision to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient option set revision params

func (*AddIngredientOptionSetRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientOptionSetRevisionReader ¶

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

AddIngredientOptionSetRevisionReader is a Reader for the AddIngredientOptionSetRevision structure.

func (*AddIngredientOptionSetRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientParams ¶

type AddIngredientParams struct {

	// Ingredient.
	Ingredient *inventory_models.IngredientCreate

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

AddIngredientParams contains all the parameters to send to the API endpoint

for the add ingredient operation.

Typically these are written to a http.Request.

func NewAddIngredientParams ¶

func NewAddIngredientParams() *AddIngredientParams

NewAddIngredientParams creates a new AddIngredientParams 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 NewAddIngredientParamsWithContext ¶

func NewAddIngredientParamsWithContext(ctx context.Context) *AddIngredientParams

NewAddIngredientParamsWithContext creates a new AddIngredientParams object with the ability to set a context for a request.

func NewAddIngredientParamsWithHTTPClient ¶

func NewAddIngredientParamsWithHTTPClient(client *http.Client) *AddIngredientParams

NewAddIngredientParamsWithHTTPClient creates a new AddIngredientParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientParamsWithTimeout ¶

func NewAddIngredientParamsWithTimeout(timeout time.Duration) *AddIngredientParams

NewAddIngredientParamsWithTimeout creates a new AddIngredientParams object with the ability to set a timeout on a request.

func (*AddIngredientParams) SetContext ¶

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

SetContext adds the context to the add ingredient params

func (*AddIngredientParams) SetDefaults ¶

func (o *AddIngredientParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient params (not the query body).

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

func (*AddIngredientParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient params

func (*AddIngredientParams) SetIngredient ¶

func (o *AddIngredientParams) SetIngredient(ingredient *inventory_models.IngredientCreate)

SetIngredient adds the ingredient to the add ingredient params

func (*AddIngredientParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient params

func (*AddIngredientParams) WithContext ¶

WithContext adds the context to the add ingredient params

func (*AddIngredientParams) WithDefaults ¶

func (o *AddIngredientParams) WithDefaults() *AddIngredientParams

WithDefaults hydrates default values in the add ingredient params (not the query body).

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

func (*AddIngredientParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add ingredient params

func (*AddIngredientParams) WithIngredient ¶

WithIngredient adds the ingredient to the add ingredient params

func (*AddIngredientParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add ingredient params

func (*AddIngredientParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddIngredientReader ¶

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

AddIngredientReader is a Reader for the AddIngredient structure.

func (*AddIngredientReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientVersionAuthorBadRequest ¶

type AddIngredientVersionAuthorBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientVersionAuthorBadRequest describes a response with status code 400, with default header values.

If the author ID doesn't exist

func NewAddIngredientVersionAuthorBadRequest ¶

func NewAddIngredientVersionAuthorBadRequest() *AddIngredientVersionAuthorBadRequest

NewAddIngredientVersionAuthorBadRequest creates a AddIngredientVersionAuthorBadRequest with default headers values

func (*AddIngredientVersionAuthorBadRequest) Error ¶

func (*AddIngredientVersionAuthorBadRequest) GetPayload ¶

type AddIngredientVersionAuthorDefault ¶

type AddIngredientVersionAuthorDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientVersionAuthorDefault describes a response with status code -1, with default header values.

generic error response

func NewAddIngredientVersionAuthorDefault ¶

func NewAddIngredientVersionAuthorDefault(code int) *AddIngredientVersionAuthorDefault

NewAddIngredientVersionAuthorDefault creates a AddIngredientVersionAuthorDefault with default headers values

func (*AddIngredientVersionAuthorDefault) Code ¶

Code gets the status code for the add ingredient version author default response

func (*AddIngredientVersionAuthorDefault) Error ¶

func (*AddIngredientVersionAuthorDefault) GetPayload ¶

type AddIngredientVersionAuthorOK ¶

type AddIngredientVersionAuthorOK struct {
	Payload *inventory_models.Author
}
AddIngredientVersionAuthorOK describes a response with status code 200, with default header values.

The author added to the ingredient version

func NewAddIngredientVersionAuthorOK ¶

func NewAddIngredientVersionAuthorOK() *AddIngredientVersionAuthorOK

NewAddIngredientVersionAuthorOK creates a AddIngredientVersionAuthorOK with default headers values

func (*AddIngredientVersionAuthorOK) Error ¶

func (*AddIngredientVersionAuthorOK) GetPayload ¶

type AddIngredientVersionAuthorParams ¶

type AddIngredientVersionAuthorParams struct {

	// AuthorID.
	AuthorID *inventory_models.AddIngredientVersionAuthorParamsBody

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

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

AddIngredientVersionAuthorParams contains all the parameters to send to the API endpoint

for the add ingredient version author operation.

Typically these are written to a http.Request.

func NewAddIngredientVersionAuthorParams ¶

func NewAddIngredientVersionAuthorParams() *AddIngredientVersionAuthorParams

NewAddIngredientVersionAuthorParams creates a new AddIngredientVersionAuthorParams 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 NewAddIngredientVersionAuthorParamsWithContext ¶

func NewAddIngredientVersionAuthorParamsWithContext(ctx context.Context) *AddIngredientVersionAuthorParams

NewAddIngredientVersionAuthorParamsWithContext creates a new AddIngredientVersionAuthorParams object with the ability to set a context for a request.

func NewAddIngredientVersionAuthorParamsWithHTTPClient ¶

func NewAddIngredientVersionAuthorParamsWithHTTPClient(client *http.Client) *AddIngredientVersionAuthorParams

NewAddIngredientVersionAuthorParamsWithHTTPClient creates a new AddIngredientVersionAuthorParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientVersionAuthorParamsWithTimeout ¶

func NewAddIngredientVersionAuthorParamsWithTimeout(timeout time.Duration) *AddIngredientVersionAuthorParams

NewAddIngredientVersionAuthorParamsWithTimeout creates a new AddIngredientVersionAuthorParams object with the ability to set a timeout on a request.

func (*AddIngredientVersionAuthorParams) SetAuthorID ¶

SetAuthorID adds the authorId to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) SetContext ¶

SetContext adds the context to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) SetDefaults ¶

func (o *AddIngredientVersionAuthorParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient version author params (not the query body).

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

func (*AddIngredientVersionAuthorParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) SetIngredientID ¶

func (o *AddIngredientVersionAuthorParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) SetIngredientVersionID ¶

func (o *AddIngredientVersionAuthorParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithAuthorID ¶

WithAuthorID adds the authorID to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithContext ¶

WithContext adds the context to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient version author params (not the query body).

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

func (*AddIngredientVersionAuthorParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithIngredientVersionID ¶

func (o *AddIngredientVersionAuthorParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *AddIngredientVersionAuthorParams

WithIngredientVersionID adds the ingredientVersionID to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient version author params

func (*AddIngredientVersionAuthorParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientVersionAuthorReader ¶

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

AddIngredientVersionAuthorReader is a Reader for the AddIngredientVersionAuthor structure.

func (*AddIngredientVersionAuthorReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientVersionBadRequest ¶

type AddIngredientVersionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientVersionBadRequest describes a response with status code 400, with default header values.

If the ingredient version is invalid

func NewAddIngredientVersionBadRequest ¶

func NewAddIngredientVersionBadRequest() *AddIngredientVersionBadRequest

NewAddIngredientVersionBadRequest creates a AddIngredientVersionBadRequest with default headers values

func (*AddIngredientVersionBadRequest) Error ¶

func (*AddIngredientVersionBadRequest) GetPayload ¶

type AddIngredientVersionCreated ¶

type AddIngredientVersionCreated struct {
	Payload *inventory_models.IngredientVersion
}
AddIngredientVersionCreated describes a response with status code 201, with default header values.

The added ingredient version

func NewAddIngredientVersionCreated ¶

func NewAddIngredientVersionCreated() *AddIngredientVersionCreated

NewAddIngredientVersionCreated creates a AddIngredientVersionCreated with default headers values

func (*AddIngredientVersionCreated) Error ¶

func (*AddIngredientVersionCreated) GetPayload ¶

type AddIngredientVersionDefault ¶

type AddIngredientVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddIngredientVersionDefault ¶

func NewAddIngredientVersionDefault(code int) *AddIngredientVersionDefault

NewAddIngredientVersionDefault creates a AddIngredientVersionDefault with default headers values

func (*AddIngredientVersionDefault) Code ¶

func (o *AddIngredientVersionDefault) Code() int

Code gets the status code for the add ingredient version default response

func (*AddIngredientVersionDefault) Error ¶

func (*AddIngredientVersionDefault) GetPayload ¶

type AddIngredientVersionParams ¶

type AddIngredientVersionParams struct {

	/* DisableSmartImport.

	   Disables the smart-import feature for this import
	*/
	DisableSmartImport *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersion.
	IngredientVersion *inventory_models.IngredientVersionCreate

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

AddIngredientVersionParams contains all the parameters to send to the API endpoint

for the add ingredient version operation.

Typically these are written to a http.Request.

func NewAddIngredientVersionParams ¶

func NewAddIngredientVersionParams() *AddIngredientVersionParams

NewAddIngredientVersionParams creates a new AddIngredientVersionParams 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 NewAddIngredientVersionParamsWithContext ¶

func NewAddIngredientVersionParamsWithContext(ctx context.Context) *AddIngredientVersionParams

NewAddIngredientVersionParamsWithContext creates a new AddIngredientVersionParams object with the ability to set a context for a request.

func NewAddIngredientVersionParamsWithHTTPClient ¶

func NewAddIngredientVersionParamsWithHTTPClient(client *http.Client) *AddIngredientVersionParams

NewAddIngredientVersionParamsWithHTTPClient creates a new AddIngredientVersionParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientVersionParamsWithTimeout ¶

func NewAddIngredientVersionParamsWithTimeout(timeout time.Duration) *AddIngredientVersionParams

NewAddIngredientVersionParamsWithTimeout creates a new AddIngredientVersionParams object with the ability to set a timeout on a request.

func (*AddIngredientVersionParams) SetContext ¶

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

SetContext adds the context to the add ingredient version params

func (*AddIngredientVersionParams) SetDefaults ¶

func (o *AddIngredientVersionParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient version params (not the query body).

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

func (*AddIngredientVersionParams) SetDisableSmartImport ¶

func (o *AddIngredientVersionParams) SetDisableSmartImport(disableSmartImport *bool)

SetDisableSmartImport adds the disableSmartImport to the add ingredient version params

func (*AddIngredientVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient version params

func (*AddIngredientVersionParams) SetIngredientID ¶

func (o *AddIngredientVersionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the add ingredient version params

func (*AddIngredientVersionParams) SetIngredientVersion ¶

func (o *AddIngredientVersionParams) SetIngredientVersion(ingredientVersion *inventory_models.IngredientVersionCreate)

SetIngredientVersion adds the ingredientVersion to the add ingredient version params

func (*AddIngredientVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient version params

func (*AddIngredientVersionParams) WithContext ¶

WithContext adds the context to the add ingredient version params

func (*AddIngredientVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient version params (not the query body).

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

func (*AddIngredientVersionParams) WithDisableSmartImport ¶

func (o *AddIngredientVersionParams) WithDisableSmartImport(disableSmartImport *bool) *AddIngredientVersionParams

WithDisableSmartImport adds the disableSmartImport to the add ingredient version params

func (*AddIngredientVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient version params

func (*AddIngredientVersionParams) WithIngredientID ¶

func (o *AddIngredientVersionParams) WithIngredientID(ingredientID strfmt.UUID) *AddIngredientVersionParams

WithIngredientID adds the ingredientID to the add ingredient version params

func (*AddIngredientVersionParams) WithIngredientVersion ¶

WithIngredientVersion adds the ingredientVersion to the add ingredient version params

func (*AddIngredientVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient version params

func (*AddIngredientVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientVersionReader ¶

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

AddIngredientVersionReader is a Reader for the AddIngredientVersion structure.

func (*AddIngredientVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddIngredientVersionRevisionBadRequest ¶

type AddIngredientVersionRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddIngredientVersionRevisionBadRequest describes a response with status code 400, with default header values.

If the ingredient version revision is invalid

func NewAddIngredientVersionRevisionBadRequest ¶

func NewAddIngredientVersionRevisionBadRequest() *AddIngredientVersionRevisionBadRequest

NewAddIngredientVersionRevisionBadRequest creates a AddIngredientVersionRevisionBadRequest with default headers values

func (*AddIngredientVersionRevisionBadRequest) Error ¶

func (*AddIngredientVersionRevisionBadRequest) GetPayload ¶

type AddIngredientVersionRevisionDefault ¶

type AddIngredientVersionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddIngredientVersionRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddIngredientVersionRevisionDefault ¶

func NewAddIngredientVersionRevisionDefault(code int) *AddIngredientVersionRevisionDefault

NewAddIngredientVersionRevisionDefault creates a AddIngredientVersionRevisionDefault with default headers values

func (*AddIngredientVersionRevisionDefault) Code ¶

Code gets the status code for the add ingredient version revision default response

func (*AddIngredientVersionRevisionDefault) Error ¶

func (*AddIngredientVersionRevisionDefault) GetPayload ¶

type AddIngredientVersionRevisionOK ¶

type AddIngredientVersionRevisionOK struct {
	Payload *inventory_models.IngredientVersion
}
AddIngredientVersionRevisionOK describes a response with status code 200, with default header values.

The updated state of the ingredient version

func NewAddIngredientVersionRevisionOK ¶

func NewAddIngredientVersionRevisionOK() *AddIngredientVersionRevisionOK

NewAddIngredientVersionRevisionOK creates a AddIngredientVersionRevisionOK with default headers values

func (*AddIngredientVersionRevisionOK) Error ¶

func (*AddIngredientVersionRevisionOK) GetPayload ¶

type AddIngredientVersionRevisionParams ¶

type AddIngredientVersionRevisionParams struct {

	/* DisableSmartImport.

	   Disables the smart-import feature for this import
	*/
	DisableSmartImport *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	// IngredientVersionRevision.
	IngredientVersionRevision *inventory_models.IngredientVersionRevisionCreate

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

AddIngredientVersionRevisionParams contains all the parameters to send to the API endpoint

for the add ingredient version revision operation.

Typically these are written to a http.Request.

func NewAddIngredientVersionRevisionParams ¶

func NewAddIngredientVersionRevisionParams() *AddIngredientVersionRevisionParams

NewAddIngredientVersionRevisionParams creates a new AddIngredientVersionRevisionParams 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 NewAddIngredientVersionRevisionParamsWithContext ¶

func NewAddIngredientVersionRevisionParamsWithContext(ctx context.Context) *AddIngredientVersionRevisionParams

NewAddIngredientVersionRevisionParamsWithContext creates a new AddIngredientVersionRevisionParams object with the ability to set a context for a request.

func NewAddIngredientVersionRevisionParamsWithHTTPClient ¶

func NewAddIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *AddIngredientVersionRevisionParams

NewAddIngredientVersionRevisionParamsWithHTTPClient creates a new AddIngredientVersionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddIngredientVersionRevisionParamsWithTimeout ¶

func NewAddIngredientVersionRevisionParamsWithTimeout(timeout time.Duration) *AddIngredientVersionRevisionParams

NewAddIngredientVersionRevisionParamsWithTimeout creates a new AddIngredientVersionRevisionParams object with the ability to set a timeout on a request.

func (*AddIngredientVersionRevisionParams) SetContext ¶

SetContext adds the context to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetDefaults ¶

func (o *AddIngredientVersionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add ingredient version revision params (not the query body).

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

func (*AddIngredientVersionRevisionParams) SetDisableSmartImport ¶

func (o *AddIngredientVersionRevisionParams) SetDisableSmartImport(disableSmartImport *bool)

SetDisableSmartImport adds the disableSmartImport to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetIngredientID ¶

func (o *AddIngredientVersionRevisionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetIngredientVersionID ¶

func (o *AddIngredientVersionRevisionParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetIngredientVersionRevision ¶

func (o *AddIngredientVersionRevisionParams) SetIngredientVersionRevision(ingredientVersionRevision *inventory_models.IngredientVersionRevisionCreate)

SetIngredientVersionRevision adds the ingredientVersionRevision to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithContext ¶

WithContext adds the context to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add ingredient version revision params (not the query body).

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

func (*AddIngredientVersionRevisionParams) WithDisableSmartImport ¶

func (o *AddIngredientVersionRevisionParams) WithDisableSmartImport(disableSmartImport *bool) *AddIngredientVersionRevisionParams

WithDisableSmartImport adds the disableSmartImport to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithIngredientVersionID ¶

func (o *AddIngredientVersionRevisionParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *AddIngredientVersionRevisionParams

WithIngredientVersionID adds the ingredientVersionID to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithIngredientVersionRevision ¶

WithIngredientVersionRevision adds the ingredientVersionRevision to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add ingredient version revision params

func (*AddIngredientVersionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddIngredientVersionRevisionReader ¶

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

AddIngredientVersionRevisionReader is a Reader for the AddIngredientVersionRevision structure.

func (*AddIngredientVersionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddKernelBadRequest ¶

type AddKernelBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddKernelBadRequest describes a response with status code 400, with default header values.

If the kernel is invalid

func NewAddKernelBadRequest ¶

func NewAddKernelBadRequest() *AddKernelBadRequest

NewAddKernelBadRequest creates a AddKernelBadRequest with default headers values

func (*AddKernelBadRequest) Error ¶

func (o *AddKernelBadRequest) Error() string

func (*AddKernelBadRequest) GetPayload ¶

type AddKernelCPUArchitectureBadRequest ¶

type AddKernelCPUArchitectureBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddKernelCPUArchitectureBadRequest describes a response with status code 400, with default header values.

If the CPU architecture ID doesn't exist

func NewAddKernelCPUArchitectureBadRequest ¶

func NewAddKernelCPUArchitectureBadRequest() *AddKernelCPUArchitectureBadRequest

NewAddKernelCPUArchitectureBadRequest creates a AddKernelCPUArchitectureBadRequest with default headers values

func (*AddKernelCPUArchitectureBadRequest) Error ¶

func (*AddKernelCPUArchitectureBadRequest) GetPayload ¶

type AddKernelCPUArchitectureDefault ¶

type AddKernelCPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddKernelCPUArchitectureDefault describes a response with status code -1, with default header values.

generic error response

func NewAddKernelCPUArchitectureDefault ¶

func NewAddKernelCPUArchitectureDefault(code int) *AddKernelCPUArchitectureDefault

NewAddKernelCPUArchitectureDefault creates a AddKernelCPUArchitectureDefault with default headers values

func (*AddKernelCPUArchitectureDefault) Code ¶

Code gets the status code for the add kernel Cpu architecture default response

func (*AddKernelCPUArchitectureDefault) Error ¶

func (*AddKernelCPUArchitectureDefault) GetPayload ¶

type AddKernelCPUArchitectureOK ¶

type AddKernelCPUArchitectureOK struct {
	Payload *inventory_models.CPUArchitecture
}
AddKernelCPUArchitectureOK describes a response with status code 200, with default header values.

The CPU architecture added to the kernel

func NewAddKernelCPUArchitectureOK ¶

func NewAddKernelCPUArchitectureOK() *AddKernelCPUArchitectureOK

NewAddKernelCPUArchitectureOK creates a AddKernelCPUArchitectureOK with default headers values

func (*AddKernelCPUArchitectureOK) Error ¶

func (*AddKernelCPUArchitectureOK) GetPayload ¶

type AddKernelCPUArchitectureParams ¶

type AddKernelCPUArchitectureParams struct {

	// CPUArchitectureID.
	CPUArchitectureID *inventory_models.AddKernelCPUArchitectureParamsBody

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

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

AddKernelCPUArchitectureParams contains all the parameters to send to the API endpoint

for the add kernel Cpu architecture operation.

Typically these are written to a http.Request.

func NewAddKernelCPUArchitectureParams ¶

func NewAddKernelCPUArchitectureParams() *AddKernelCPUArchitectureParams

NewAddKernelCPUArchitectureParams creates a new AddKernelCPUArchitectureParams 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 NewAddKernelCPUArchitectureParamsWithContext ¶

func NewAddKernelCPUArchitectureParamsWithContext(ctx context.Context) *AddKernelCPUArchitectureParams

NewAddKernelCPUArchitectureParamsWithContext creates a new AddKernelCPUArchitectureParams object with the ability to set a context for a request.

func NewAddKernelCPUArchitectureParamsWithHTTPClient ¶

func NewAddKernelCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKernelCPUArchitectureParams

NewAddKernelCPUArchitectureParamsWithHTTPClient creates a new AddKernelCPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewAddKernelCPUArchitectureParamsWithTimeout ¶

func NewAddKernelCPUArchitectureParamsWithTimeout(timeout time.Duration) *AddKernelCPUArchitectureParams

NewAddKernelCPUArchitectureParamsWithTimeout creates a new AddKernelCPUArchitectureParams object with the ability to set a timeout on a request.

func (*AddKernelCPUArchitectureParams) SetCPUArchitectureID ¶

func (o *AddKernelCPUArchitectureParams) SetCPUArchitectureID(cPUArchitectureID *inventory_models.AddKernelCPUArchitectureParamsBody)

SetCPUArchitectureID adds the cpuArchitectureId to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) SetDefaults ¶

func (o *AddKernelCPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the add kernel Cpu architecture params (not the query body).

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

func (*AddKernelCPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) SetKernelID ¶

func (o *AddKernelCPUArchitectureParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WithCPUArchitectureID ¶

WithCPUArchitectureID adds the cPUArchitectureID to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WithContext ¶

WithContext adds the context to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the add kernel Cpu architecture params (not the query body).

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

func (*AddKernelCPUArchitectureParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WithKernelID ¶

WithKernelID adds the kernelID to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the add kernel Cpu architecture params

func (*AddKernelCPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddKernelCPUArchitectureReader ¶

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

AddKernelCPUArchitectureReader is a Reader for the AddKernelCPUArchitecture structure.

func (*AddKernelCPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddKernelCreated ¶

type AddKernelCreated struct {
	Payload *inventory_models.Kernel
}
AddKernelCreated describes a response with status code 201, with default header values.

The added kernel

func NewAddKernelCreated ¶

func NewAddKernelCreated() *AddKernelCreated

NewAddKernelCreated creates a AddKernelCreated with default headers values

func (*AddKernelCreated) Error ¶

func (o *AddKernelCreated) Error() string

func (*AddKernelCreated) GetPayload ¶

func (o *AddKernelCreated) GetPayload() *inventory_models.Kernel

type AddKernelDefault ¶

type AddKernelDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddKernelDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddKernelDefault ¶

func NewAddKernelDefault(code int) *AddKernelDefault

NewAddKernelDefault creates a AddKernelDefault with default headers values

func (*AddKernelDefault) Code ¶

func (o *AddKernelDefault) Code() int

Code gets the status code for the add kernel default response

func (*AddKernelDefault) Error ¶

func (o *AddKernelDefault) Error() string

func (*AddKernelDefault) GetPayload ¶

type AddKernelGPUArchitectureBadRequest ¶

type AddKernelGPUArchitectureBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddKernelGPUArchitectureBadRequest describes a response with status code 400, with default header values.

If the GPU architecture ID doesn't exist

func NewAddKernelGPUArchitectureBadRequest ¶

func NewAddKernelGPUArchitectureBadRequest() *AddKernelGPUArchitectureBadRequest

NewAddKernelGPUArchitectureBadRequest creates a AddKernelGPUArchitectureBadRequest with default headers values

func (*AddKernelGPUArchitectureBadRequest) Error ¶

func (*AddKernelGPUArchitectureBadRequest) GetPayload ¶

type AddKernelGPUArchitectureDefault ¶

type AddKernelGPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddKernelGPUArchitectureDefault describes a response with status code -1, with default header values.

generic error response

func NewAddKernelGPUArchitectureDefault ¶

func NewAddKernelGPUArchitectureDefault(code int) *AddKernelGPUArchitectureDefault

NewAddKernelGPUArchitectureDefault creates a AddKernelGPUArchitectureDefault with default headers values

func (*AddKernelGPUArchitectureDefault) Code ¶

Code gets the status code for the add kernel g p u architecture default response

func (*AddKernelGPUArchitectureDefault) Error ¶

func (*AddKernelGPUArchitectureDefault) GetPayload ¶

type AddKernelGPUArchitectureOK ¶

type AddKernelGPUArchitectureOK struct {
	Payload *inventory_models.GpuArchitecture
}
AddKernelGPUArchitectureOK describes a response with status code 200, with default header values.

The GPU architecture added to the kernel

func NewAddKernelGPUArchitectureOK ¶

func NewAddKernelGPUArchitectureOK() *AddKernelGPUArchitectureOK

NewAddKernelGPUArchitectureOK creates a AddKernelGPUArchitectureOK with default headers values

func (*AddKernelGPUArchitectureOK) Error ¶

func (*AddKernelGPUArchitectureOK) GetPayload ¶

type AddKernelGPUArchitectureParams ¶

type AddKernelGPUArchitectureParams struct {

	// GpuArchitectureID.
	GpuArchitectureID *inventory_models.AddKernelGPUArchitectureParamsBody

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

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

AddKernelGPUArchitectureParams contains all the parameters to send to the API endpoint

for the add kernel g p u architecture operation.

Typically these are written to a http.Request.

func NewAddKernelGPUArchitectureParams ¶

func NewAddKernelGPUArchitectureParams() *AddKernelGPUArchitectureParams

NewAddKernelGPUArchitectureParams creates a new AddKernelGPUArchitectureParams 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 NewAddKernelGPUArchitectureParamsWithContext ¶

func NewAddKernelGPUArchitectureParamsWithContext(ctx context.Context) *AddKernelGPUArchitectureParams

NewAddKernelGPUArchitectureParamsWithContext creates a new AddKernelGPUArchitectureParams object with the ability to set a context for a request.

func NewAddKernelGPUArchitectureParamsWithHTTPClient ¶

func NewAddKernelGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKernelGPUArchitectureParams

NewAddKernelGPUArchitectureParamsWithHTTPClient creates a new AddKernelGPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewAddKernelGPUArchitectureParamsWithTimeout ¶

func NewAddKernelGPUArchitectureParamsWithTimeout(timeout time.Duration) *AddKernelGPUArchitectureParams

NewAddKernelGPUArchitectureParamsWithTimeout creates a new AddKernelGPUArchitectureParams object with the ability to set a timeout on a request.

func (*AddKernelGPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) SetDefaults ¶

func (o *AddKernelGPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the add kernel g p u architecture params (not the query body).

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

func (*AddKernelGPUArchitectureParams) SetGpuArchitectureID ¶

func (o *AddKernelGPUArchitectureParams) SetGpuArchitectureID(gpuArchitectureID *inventory_models.AddKernelGPUArchitectureParamsBody)

SetGpuArchitectureID adds the gpuArchitectureId to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) SetKernelID ¶

func (o *AddKernelGPUArchitectureParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WithContext ¶

WithContext adds the context to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the add kernel g p u architecture params (not the query body).

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

func (*AddKernelGPUArchitectureParams) WithGpuArchitectureID ¶

WithGpuArchitectureID adds the gpuArchitectureID to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WithKernelID ¶

WithKernelID adds the kernelID to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the add kernel g p u architecture params

func (*AddKernelGPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddKernelGPUArchitectureReader ¶

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

AddKernelGPUArchitectureReader is a Reader for the AddKernelGPUArchitecture structure.

func (*AddKernelGPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddKernelParams ¶

type AddKernelParams struct {

	// Kernel.
	Kernel *inventory_models.KernelCore

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

AddKernelParams contains all the parameters to send to the API endpoint

for the add kernel operation.

Typically these are written to a http.Request.

func NewAddKernelParams ¶

func NewAddKernelParams() *AddKernelParams

NewAddKernelParams creates a new AddKernelParams 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 NewAddKernelParamsWithContext ¶

func NewAddKernelParamsWithContext(ctx context.Context) *AddKernelParams

NewAddKernelParamsWithContext creates a new AddKernelParams object with the ability to set a context for a request.

func NewAddKernelParamsWithHTTPClient ¶

func NewAddKernelParamsWithHTTPClient(client *http.Client) *AddKernelParams

NewAddKernelParamsWithHTTPClient creates a new AddKernelParams object with the ability to set a custom HTTPClient for a request.

func NewAddKernelParamsWithTimeout ¶

func NewAddKernelParamsWithTimeout(timeout time.Duration) *AddKernelParams

NewAddKernelParamsWithTimeout creates a new AddKernelParams object with the ability to set a timeout on a request.

func (*AddKernelParams) SetContext ¶

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

SetContext adds the context to the add kernel params

func (*AddKernelParams) SetDefaults ¶

func (o *AddKernelParams) SetDefaults()

SetDefaults hydrates default values in the add kernel params (not the query body).

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

func (*AddKernelParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add kernel params

func (*AddKernelParams) SetKernel ¶

func (o *AddKernelParams) SetKernel(kernel *inventory_models.KernelCore)

SetKernel adds the kernel to the add kernel params

func (*AddKernelParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add kernel params

func (*AddKernelParams) WithContext ¶

func (o *AddKernelParams) WithContext(ctx context.Context) *AddKernelParams

WithContext adds the context to the add kernel params

func (*AddKernelParams) WithDefaults ¶

func (o *AddKernelParams) WithDefaults() *AddKernelParams

WithDefaults hydrates default values in the add kernel params (not the query body).

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

func (*AddKernelParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add kernel params

func (*AddKernelParams) WithKernel ¶

WithKernel adds the kernel to the add kernel params

func (*AddKernelParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add kernel params

func (*AddKernelParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddKernelReader ¶

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

AddKernelReader is a Reader for the AddKernel structure.

func (*AddKernelReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddKernelVersionBadRequest ¶

type AddKernelVersionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddKernelVersionBadRequest describes a response with status code 400, with default header values.

If the kernel version is invalid

func NewAddKernelVersionBadRequest ¶

func NewAddKernelVersionBadRequest() *AddKernelVersionBadRequest

NewAddKernelVersionBadRequest creates a AddKernelVersionBadRequest with default headers values

func (*AddKernelVersionBadRequest) Error ¶

func (*AddKernelVersionBadRequest) GetPayload ¶

type AddKernelVersionCreated ¶

type AddKernelVersionCreated struct {
	Payload *inventory_models.KernelVersion
}
AddKernelVersionCreated describes a response with status code 201, with default header values.

The added kernel version

func NewAddKernelVersionCreated ¶

func NewAddKernelVersionCreated() *AddKernelVersionCreated

NewAddKernelVersionCreated creates a AddKernelVersionCreated with default headers values

func (*AddKernelVersionCreated) Error ¶

func (o *AddKernelVersionCreated) Error() string

func (*AddKernelVersionCreated) GetPayload ¶

type AddKernelVersionDefault ¶

type AddKernelVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddKernelVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddKernelVersionDefault ¶

func NewAddKernelVersionDefault(code int) *AddKernelVersionDefault

NewAddKernelVersionDefault creates a AddKernelVersionDefault with default headers values

func (*AddKernelVersionDefault) Code ¶

func (o *AddKernelVersionDefault) Code() int

Code gets the status code for the add kernel version default response

func (*AddKernelVersionDefault) Error ¶

func (o *AddKernelVersionDefault) Error() string

func (*AddKernelVersionDefault) GetPayload ¶

type AddKernelVersionParams ¶

type AddKernelVersionParams struct {

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	// KernelVersion.
	KernelVersion *inventory_models.KernelVersionCore

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

AddKernelVersionParams contains all the parameters to send to the API endpoint

for the add kernel version operation.

Typically these are written to a http.Request.

func NewAddKernelVersionParams ¶

func NewAddKernelVersionParams() *AddKernelVersionParams

NewAddKernelVersionParams creates a new AddKernelVersionParams 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 NewAddKernelVersionParamsWithContext ¶

func NewAddKernelVersionParamsWithContext(ctx context.Context) *AddKernelVersionParams

NewAddKernelVersionParamsWithContext creates a new AddKernelVersionParams object with the ability to set a context for a request.

func NewAddKernelVersionParamsWithHTTPClient ¶

func NewAddKernelVersionParamsWithHTTPClient(client *http.Client) *AddKernelVersionParams

NewAddKernelVersionParamsWithHTTPClient creates a new AddKernelVersionParams object with the ability to set a custom HTTPClient for a request.

func NewAddKernelVersionParamsWithTimeout ¶

func NewAddKernelVersionParamsWithTimeout(timeout time.Duration) *AddKernelVersionParams

NewAddKernelVersionParamsWithTimeout creates a new AddKernelVersionParams object with the ability to set a timeout on a request.

func (*AddKernelVersionParams) SetContext ¶

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

SetContext adds the context to the add kernel version params

func (*AddKernelVersionParams) SetDefaults ¶

func (o *AddKernelVersionParams) SetDefaults()

SetDefaults hydrates default values in the add kernel version params (not the query body).

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

func (*AddKernelVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add kernel version params

func (*AddKernelVersionParams) SetKernelID ¶

func (o *AddKernelVersionParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the add kernel version params

func (*AddKernelVersionParams) SetKernelVersion ¶

func (o *AddKernelVersionParams) SetKernelVersion(kernelVersion *inventory_models.KernelVersionCore)

SetKernelVersion adds the kernelVersion to the add kernel version params

func (*AddKernelVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add kernel version params

func (*AddKernelVersionParams) WithContext ¶

WithContext adds the context to the add kernel version params

func (*AddKernelVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the add kernel version params (not the query body).

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

func (*AddKernelVersionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add kernel version params

func (*AddKernelVersionParams) WithKernelID ¶

func (o *AddKernelVersionParams) WithKernelID(kernelID strfmt.UUID) *AddKernelVersionParams

WithKernelID adds the kernelID to the add kernel version params

func (*AddKernelVersionParams) WithKernelVersion ¶

WithKernelVersion adds the kernelVersion to the add kernel version params

func (*AddKernelVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the add kernel version params

func (*AddKernelVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddKernelVersionReader ¶

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

AddKernelVersionReader is a Reader for the AddKernelVersion structure.

func (*AddKernelVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddKernelVersionRevisionBadRequest ¶

type AddKernelVersionRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddKernelVersionRevisionBadRequest describes a response with status code 400, with default header values.

If the kernel version revision is invalid

func NewAddKernelVersionRevisionBadRequest ¶

func NewAddKernelVersionRevisionBadRequest() *AddKernelVersionRevisionBadRequest

NewAddKernelVersionRevisionBadRequest creates a AddKernelVersionRevisionBadRequest with default headers values

func (*AddKernelVersionRevisionBadRequest) Error ¶

func (*AddKernelVersionRevisionBadRequest) GetPayload ¶

type AddKernelVersionRevisionDefault ¶

type AddKernelVersionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddKernelVersionRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddKernelVersionRevisionDefault ¶

func NewAddKernelVersionRevisionDefault(code int) *AddKernelVersionRevisionDefault

NewAddKernelVersionRevisionDefault creates a AddKernelVersionRevisionDefault with default headers values

func (*AddKernelVersionRevisionDefault) Code ¶

Code gets the status code for the add kernel version revision default response

func (*AddKernelVersionRevisionDefault) Error ¶

func (*AddKernelVersionRevisionDefault) GetPayload ¶

type AddKernelVersionRevisionOK ¶

type AddKernelVersionRevisionOK struct {
	Payload *inventory_models.KernelVersion
}
AddKernelVersionRevisionOK describes a response with status code 200, with default header values.

The updated state of the kernel version

func NewAddKernelVersionRevisionOK ¶

func NewAddKernelVersionRevisionOK() *AddKernelVersionRevisionOK

NewAddKernelVersionRevisionOK creates a AddKernelVersionRevisionOK with default headers values

func (*AddKernelVersionRevisionOK) Error ¶

func (*AddKernelVersionRevisionOK) GetPayload ¶

type AddKernelVersionRevisionParams ¶

type AddKernelVersionRevisionParams struct {

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	// KernelVersionID.
	//
	// Format: uuid
	KernelVersionID strfmt.UUID

	// KernelVersionRevision.
	KernelVersionRevision *inventory_models.RevisionedFeatureProvider

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

AddKernelVersionRevisionParams contains all the parameters to send to the API endpoint

for the add kernel version revision operation.

Typically these are written to a http.Request.

func NewAddKernelVersionRevisionParams ¶

func NewAddKernelVersionRevisionParams() *AddKernelVersionRevisionParams

NewAddKernelVersionRevisionParams creates a new AddKernelVersionRevisionParams 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 NewAddKernelVersionRevisionParamsWithContext ¶

func NewAddKernelVersionRevisionParamsWithContext(ctx context.Context) *AddKernelVersionRevisionParams

NewAddKernelVersionRevisionParamsWithContext creates a new AddKernelVersionRevisionParams object with the ability to set a context for a request.

func NewAddKernelVersionRevisionParamsWithHTTPClient ¶

func NewAddKernelVersionRevisionParamsWithHTTPClient(client *http.Client) *AddKernelVersionRevisionParams

NewAddKernelVersionRevisionParamsWithHTTPClient creates a new AddKernelVersionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddKernelVersionRevisionParamsWithTimeout ¶

func NewAddKernelVersionRevisionParamsWithTimeout(timeout time.Duration) *AddKernelVersionRevisionParams

NewAddKernelVersionRevisionParamsWithTimeout creates a new AddKernelVersionRevisionParams object with the ability to set a timeout on a request.

func (*AddKernelVersionRevisionParams) SetContext ¶

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

SetContext adds the context to the add kernel version revision params

func (*AddKernelVersionRevisionParams) SetDefaults ¶

func (o *AddKernelVersionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add kernel version revision params (not the query body).

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

func (*AddKernelVersionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add kernel version revision params

func (*AddKernelVersionRevisionParams) SetKernelID ¶

func (o *AddKernelVersionRevisionParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the add kernel version revision params

func (*AddKernelVersionRevisionParams) SetKernelVersionID ¶

func (o *AddKernelVersionRevisionParams) SetKernelVersionID(kernelVersionID strfmt.UUID)

SetKernelVersionID adds the kernelVersionId to the add kernel version revision params

func (*AddKernelVersionRevisionParams) SetKernelVersionRevision ¶

func (o *AddKernelVersionRevisionParams) SetKernelVersionRevision(kernelVersionRevision *inventory_models.RevisionedFeatureProvider)

SetKernelVersionRevision adds the kernelVersionRevision to the add kernel version revision params

func (*AddKernelVersionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithContext ¶

WithContext adds the context to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add kernel version revision params (not the query body).

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

func (*AddKernelVersionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithKernelID ¶

WithKernelID adds the kernelID to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithKernelVersionID ¶

func (o *AddKernelVersionRevisionParams) WithKernelVersionID(kernelVersionID strfmt.UUID) *AddKernelVersionRevisionParams

WithKernelVersionID adds the kernelVersionID to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithKernelVersionRevision ¶

WithKernelVersionRevision adds the kernelVersionRevision to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add kernel version revision params

func (*AddKernelVersionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddKernelVersionRevisionReader ¶

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

AddKernelVersionRevisionReader is a Reader for the AddKernelVersionRevision structure.

func (*AddKernelVersionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddLibcBadRequest ¶

type AddLibcBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddLibcBadRequest describes a response with status code 400, with default header values.

If the libc is invalid

func NewAddLibcBadRequest ¶

func NewAddLibcBadRequest() *AddLibcBadRequest

NewAddLibcBadRequest creates a AddLibcBadRequest with default headers values

func (*AddLibcBadRequest) Error ¶

func (o *AddLibcBadRequest) Error() string

func (*AddLibcBadRequest) GetPayload ¶

type AddLibcCreated ¶

type AddLibcCreated struct {
	Payload *inventory_models.Libc
}
AddLibcCreated describes a response with status code 201, with default header values.

The added libc

func NewAddLibcCreated ¶

func NewAddLibcCreated() *AddLibcCreated

NewAddLibcCreated creates a AddLibcCreated with default headers values

func (*AddLibcCreated) Error ¶

func (o *AddLibcCreated) Error() string

func (*AddLibcCreated) GetPayload ¶

func (o *AddLibcCreated) GetPayload() *inventory_models.Libc

type AddLibcDefault ¶

type AddLibcDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddLibcDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddLibcDefault ¶

func NewAddLibcDefault(code int) *AddLibcDefault

NewAddLibcDefault creates a AddLibcDefault with default headers values

func (*AddLibcDefault) Code ¶

func (o *AddLibcDefault) Code() int

Code gets the status code for the add libc default response

func (*AddLibcDefault) Error ¶

func (o *AddLibcDefault) Error() string

func (*AddLibcDefault) GetPayload ¶

func (o *AddLibcDefault) GetPayload() *inventory_models.RestAPIError

type AddLibcParams ¶

type AddLibcParams struct {

	// Libc.
	Libc *inventory_models.LibcCore

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

AddLibcParams contains all the parameters to send to the API endpoint

for the add libc operation.

Typically these are written to a http.Request.

func NewAddLibcParams ¶

func NewAddLibcParams() *AddLibcParams

NewAddLibcParams creates a new AddLibcParams 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 NewAddLibcParamsWithContext ¶

func NewAddLibcParamsWithContext(ctx context.Context) *AddLibcParams

NewAddLibcParamsWithContext creates a new AddLibcParams object with the ability to set a context for a request.

func NewAddLibcParamsWithHTTPClient ¶

func NewAddLibcParamsWithHTTPClient(client *http.Client) *AddLibcParams

NewAddLibcParamsWithHTTPClient creates a new AddLibcParams object with the ability to set a custom HTTPClient for a request.

func NewAddLibcParamsWithTimeout ¶

func NewAddLibcParamsWithTimeout(timeout time.Duration) *AddLibcParams

NewAddLibcParamsWithTimeout creates a new AddLibcParams object with the ability to set a timeout on a request.

func (*AddLibcParams) SetContext ¶

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

SetContext adds the context to the add libc params

func (*AddLibcParams) SetDefaults ¶

func (o *AddLibcParams) SetDefaults()

SetDefaults hydrates default values in the add libc params (not the query body).

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

func (*AddLibcParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add libc params

func (*AddLibcParams) SetLibc ¶

func (o *AddLibcParams) SetLibc(libc *inventory_models.LibcCore)

SetLibc adds the libc to the add libc params

func (*AddLibcParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add libc params

func (*AddLibcParams) WithContext ¶

func (o *AddLibcParams) WithContext(ctx context.Context) *AddLibcParams

WithContext adds the context to the add libc params

func (*AddLibcParams) WithDefaults ¶

func (o *AddLibcParams) WithDefaults() *AddLibcParams

WithDefaults hydrates default values in the add libc params (not the query body).

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

func (*AddLibcParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add libc params

func (*AddLibcParams) WithLibc ¶

WithLibc adds the libc to the add libc params

func (*AddLibcParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add libc params

func (*AddLibcParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddLibcReader ¶

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

AddLibcReader is a Reader for the AddLibc structure.

func (*AddLibcReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddLibcVersionBadRequest ¶

type AddLibcVersionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddLibcVersionBadRequest describes a response with status code 400, with default header values.

If the libc version is invalid

func NewAddLibcVersionBadRequest ¶

func NewAddLibcVersionBadRequest() *AddLibcVersionBadRequest

NewAddLibcVersionBadRequest creates a AddLibcVersionBadRequest with default headers values

func (*AddLibcVersionBadRequest) Error ¶

func (o *AddLibcVersionBadRequest) Error() string

func (*AddLibcVersionBadRequest) GetPayload ¶

type AddLibcVersionCreated ¶

type AddLibcVersionCreated struct {
	Payload *inventory_models.LibcVersion
}
AddLibcVersionCreated describes a response with status code 201, with default header values.

The added libc version

func NewAddLibcVersionCreated ¶

func NewAddLibcVersionCreated() *AddLibcVersionCreated

NewAddLibcVersionCreated creates a AddLibcVersionCreated with default headers values

func (*AddLibcVersionCreated) Error ¶

func (o *AddLibcVersionCreated) Error() string

func (*AddLibcVersionCreated) GetPayload ¶

type AddLibcVersionDefault ¶

type AddLibcVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddLibcVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddLibcVersionDefault ¶

func NewAddLibcVersionDefault(code int) *AddLibcVersionDefault

NewAddLibcVersionDefault creates a AddLibcVersionDefault with default headers values

func (*AddLibcVersionDefault) Code ¶

func (o *AddLibcVersionDefault) Code() int

Code gets the status code for the add libc version default response

func (*AddLibcVersionDefault) Error ¶

func (o *AddLibcVersionDefault) Error() string

func (*AddLibcVersionDefault) GetPayload ¶

type AddLibcVersionParams ¶

type AddLibcVersionParams struct {

	// LibcID.
	//
	// Format: uuid
	LibcID strfmt.UUID

	// LibcVersion.
	LibcVersion *inventory_models.LibcVersionCore

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

AddLibcVersionParams contains all the parameters to send to the API endpoint

for the add libc version operation.

Typically these are written to a http.Request.

func NewAddLibcVersionParams ¶

func NewAddLibcVersionParams() *AddLibcVersionParams

NewAddLibcVersionParams creates a new AddLibcVersionParams 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 NewAddLibcVersionParamsWithContext ¶

func NewAddLibcVersionParamsWithContext(ctx context.Context) *AddLibcVersionParams

NewAddLibcVersionParamsWithContext creates a new AddLibcVersionParams object with the ability to set a context for a request.

func NewAddLibcVersionParamsWithHTTPClient ¶

func NewAddLibcVersionParamsWithHTTPClient(client *http.Client) *AddLibcVersionParams

NewAddLibcVersionParamsWithHTTPClient creates a new AddLibcVersionParams object with the ability to set a custom HTTPClient for a request.

func NewAddLibcVersionParamsWithTimeout ¶

func NewAddLibcVersionParamsWithTimeout(timeout time.Duration) *AddLibcVersionParams

NewAddLibcVersionParamsWithTimeout creates a new AddLibcVersionParams object with the ability to set a timeout on a request.

func (*AddLibcVersionParams) SetContext ¶

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

SetContext adds the context to the add libc version params

func (*AddLibcVersionParams) SetDefaults ¶

func (o *AddLibcVersionParams) SetDefaults()

SetDefaults hydrates default values in the add libc version params (not the query body).

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

func (*AddLibcVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add libc version params

func (*AddLibcVersionParams) SetLibcID ¶

func (o *AddLibcVersionParams) SetLibcID(libcID strfmt.UUID)

SetLibcID adds the libcId to the add libc version params

func (*AddLibcVersionParams) SetLibcVersion ¶

func (o *AddLibcVersionParams) SetLibcVersion(libcVersion *inventory_models.LibcVersionCore)

SetLibcVersion adds the libcVersion to the add libc version params

func (*AddLibcVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add libc version params

func (*AddLibcVersionParams) WithContext ¶

WithContext adds the context to the add libc version params

func (*AddLibcVersionParams) WithDefaults ¶

func (o *AddLibcVersionParams) WithDefaults() *AddLibcVersionParams

WithDefaults hydrates default values in the add libc version params (not the query body).

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

func (*AddLibcVersionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add libc version params

func (*AddLibcVersionParams) WithLibcID ¶

func (o *AddLibcVersionParams) WithLibcID(libcID strfmt.UUID) *AddLibcVersionParams

WithLibcID adds the libcID to the add libc version params

func (*AddLibcVersionParams) WithLibcVersion ¶

WithLibcVersion adds the libcVersion to the add libc version params

func (*AddLibcVersionParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add libc version params

func (*AddLibcVersionParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddLibcVersionReader ¶

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

AddLibcVersionReader is a Reader for the AddLibcVersion structure.

func (*AddLibcVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddLibcVersionRevisionBadRequest ¶

type AddLibcVersionRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddLibcVersionRevisionBadRequest describes a response with status code 400, with default header values.

If the libc version revision is invalid

func NewAddLibcVersionRevisionBadRequest ¶

func NewAddLibcVersionRevisionBadRequest() *AddLibcVersionRevisionBadRequest

NewAddLibcVersionRevisionBadRequest creates a AddLibcVersionRevisionBadRequest with default headers values

func (*AddLibcVersionRevisionBadRequest) Error ¶

func (*AddLibcVersionRevisionBadRequest) GetPayload ¶

type AddLibcVersionRevisionDefault ¶

type AddLibcVersionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddLibcVersionRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddLibcVersionRevisionDefault ¶

func NewAddLibcVersionRevisionDefault(code int) *AddLibcVersionRevisionDefault

NewAddLibcVersionRevisionDefault creates a AddLibcVersionRevisionDefault with default headers values

func (*AddLibcVersionRevisionDefault) Code ¶

Code gets the status code for the add libc version revision default response

func (*AddLibcVersionRevisionDefault) Error ¶

func (*AddLibcVersionRevisionDefault) GetPayload ¶

type AddLibcVersionRevisionOK ¶

type AddLibcVersionRevisionOK struct {
	Payload *inventory_models.LibcVersion
}
AddLibcVersionRevisionOK describes a response with status code 200, with default header values.

The updated state of the libc version

func NewAddLibcVersionRevisionOK ¶

func NewAddLibcVersionRevisionOK() *AddLibcVersionRevisionOK

NewAddLibcVersionRevisionOK creates a AddLibcVersionRevisionOK with default headers values

func (*AddLibcVersionRevisionOK) Error ¶

func (o *AddLibcVersionRevisionOK) Error() string

func (*AddLibcVersionRevisionOK) GetPayload ¶

type AddLibcVersionRevisionParams ¶

type AddLibcVersionRevisionParams struct {

	// LibcID.
	//
	// Format: uuid
	LibcID strfmt.UUID

	// LibcVersionID.
	//
	// Format: uuid
	LibcVersionID strfmt.UUID

	// LibcVersionRevision.
	LibcVersionRevision *inventory_models.RevisionedFeatureProvider

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

AddLibcVersionRevisionParams contains all the parameters to send to the API endpoint

for the add libc version revision operation.

Typically these are written to a http.Request.

func NewAddLibcVersionRevisionParams ¶

func NewAddLibcVersionRevisionParams() *AddLibcVersionRevisionParams

NewAddLibcVersionRevisionParams creates a new AddLibcVersionRevisionParams 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 NewAddLibcVersionRevisionParamsWithContext ¶

func NewAddLibcVersionRevisionParamsWithContext(ctx context.Context) *AddLibcVersionRevisionParams

NewAddLibcVersionRevisionParamsWithContext creates a new AddLibcVersionRevisionParams object with the ability to set a context for a request.

func NewAddLibcVersionRevisionParamsWithHTTPClient ¶

func NewAddLibcVersionRevisionParamsWithHTTPClient(client *http.Client) *AddLibcVersionRevisionParams

NewAddLibcVersionRevisionParamsWithHTTPClient creates a new AddLibcVersionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddLibcVersionRevisionParamsWithTimeout ¶

func NewAddLibcVersionRevisionParamsWithTimeout(timeout time.Duration) *AddLibcVersionRevisionParams

NewAddLibcVersionRevisionParamsWithTimeout creates a new AddLibcVersionRevisionParams object with the ability to set a timeout on a request.

func (*AddLibcVersionRevisionParams) SetContext ¶

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

SetContext adds the context to the add libc version revision params

func (*AddLibcVersionRevisionParams) SetDefaults ¶

func (o *AddLibcVersionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add libc version revision params (not the query body).

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

func (*AddLibcVersionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add libc version revision params

func (*AddLibcVersionRevisionParams) SetLibcID ¶

func (o *AddLibcVersionRevisionParams) SetLibcID(libcID strfmt.UUID)

SetLibcID adds the libcId to the add libc version revision params

func (*AddLibcVersionRevisionParams) SetLibcVersionID ¶

func (o *AddLibcVersionRevisionParams) SetLibcVersionID(libcVersionID strfmt.UUID)

SetLibcVersionID adds the libcVersionId to the add libc version revision params

func (*AddLibcVersionRevisionParams) SetLibcVersionRevision ¶

func (o *AddLibcVersionRevisionParams) SetLibcVersionRevision(libcVersionRevision *inventory_models.RevisionedFeatureProvider)

SetLibcVersionRevision adds the libcVersionRevision to the add libc version revision params

func (*AddLibcVersionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithContext ¶

WithContext adds the context to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add libc version revision params (not the query body).

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

func (*AddLibcVersionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithLibcID ¶

WithLibcID adds the libcID to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithLibcVersionID ¶

func (o *AddLibcVersionRevisionParams) WithLibcVersionID(libcVersionID strfmt.UUID) *AddLibcVersionRevisionParams

WithLibcVersionID adds the libcVersionID to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithLibcVersionRevision ¶

WithLibcVersionRevision adds the libcVersionRevision to the add libc version revision params

func (*AddLibcVersionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add libc version revision params

func (*AddLibcVersionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddLibcVersionRevisionReader ¶

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

AddLibcVersionRevisionReader is a Reader for the AddLibcVersionRevision structure.

func (*AddLibcVersionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddNamespaceBadRequest ¶

type AddNamespaceBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddNamespaceBadRequest describes a response with status code 400, with default header values.

If the namespace is invalid

func NewAddNamespaceBadRequest ¶

func NewAddNamespaceBadRequest() *AddNamespaceBadRequest

NewAddNamespaceBadRequest creates a AddNamespaceBadRequest with default headers values

func (*AddNamespaceBadRequest) Error ¶

func (o *AddNamespaceBadRequest) Error() string

func (*AddNamespaceBadRequest) GetPayload ¶

type AddNamespaceCreated ¶

type AddNamespaceCreated struct {
	Payload *inventory_models.Namespace
}
AddNamespaceCreated describes a response with status code 201, with default header values.

Returns the created namespace

func NewAddNamespaceCreated ¶

func NewAddNamespaceCreated() *AddNamespaceCreated

NewAddNamespaceCreated creates a AddNamespaceCreated with default headers values

func (*AddNamespaceCreated) Error ¶

func (o *AddNamespaceCreated) Error() string

func (*AddNamespaceCreated) GetPayload ¶

type AddNamespaceDefault ¶

type AddNamespaceDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddNamespaceDefault describes a response with status code -1, with default header values.

If there is an error processing the namespace

func NewAddNamespaceDefault ¶

func NewAddNamespaceDefault(code int) *AddNamespaceDefault

NewAddNamespaceDefault creates a AddNamespaceDefault with default headers values

func (*AddNamespaceDefault) Code ¶

func (o *AddNamespaceDefault) Code() int

Code gets the status code for the add namespace default response

func (*AddNamespaceDefault) Error ¶

func (o *AddNamespaceDefault) Error() string

func (*AddNamespaceDefault) GetPayload ¶

type AddNamespaceParams ¶

type AddNamespaceParams struct {

	// Namespace.
	Namespace *inventory_models.NamespaceCore

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

AddNamespaceParams contains all the parameters to send to the API endpoint

for the add namespace operation.

Typically these are written to a http.Request.

func NewAddNamespaceParams ¶

func NewAddNamespaceParams() *AddNamespaceParams

NewAddNamespaceParams creates a new AddNamespaceParams 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 NewAddNamespaceParamsWithContext ¶

func NewAddNamespaceParamsWithContext(ctx context.Context) *AddNamespaceParams

NewAddNamespaceParamsWithContext creates a new AddNamespaceParams object with the ability to set a context for a request.

func NewAddNamespaceParamsWithHTTPClient ¶

func NewAddNamespaceParamsWithHTTPClient(client *http.Client) *AddNamespaceParams

NewAddNamespaceParamsWithHTTPClient creates a new AddNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewAddNamespaceParamsWithTimeout ¶

func NewAddNamespaceParamsWithTimeout(timeout time.Duration) *AddNamespaceParams

NewAddNamespaceParamsWithTimeout creates a new AddNamespaceParams object with the ability to set a timeout on a request.

func (*AddNamespaceParams) SetContext ¶

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

SetContext adds the context to the add namespace params

func (*AddNamespaceParams) SetDefaults ¶

func (o *AddNamespaceParams) SetDefaults()

SetDefaults hydrates default values in the add namespace params (not the query body).

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

func (*AddNamespaceParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add namespace params

func (*AddNamespaceParams) SetNamespace ¶

func (o *AddNamespaceParams) SetNamespace(namespace *inventory_models.NamespaceCore)

SetNamespace adds the namespace to the add namespace params

func (*AddNamespaceParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add namespace params

func (*AddNamespaceParams) WithContext ¶

WithContext adds the context to the add namespace params

func (*AddNamespaceParams) WithDefaults ¶

func (o *AddNamespaceParams) WithDefaults() *AddNamespaceParams

WithDefaults hydrates default values in the add namespace params (not the query body).

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

func (*AddNamespaceParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add namespace params

func (*AddNamespaceParams) WithNamespace ¶

WithNamespace adds the namespace to the add namespace params

func (*AddNamespaceParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add namespace params

func (*AddNamespaceParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddNamespaceReader ¶

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

AddNamespaceReader is a Reader for the AddNamespace structure.

func (*AddNamespaceReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddOperatingSystemBadRequest ¶

type AddOperatingSystemBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddOperatingSystemBadRequest describes a response with status code 400, with default header values.

If the operating system is invalid

func NewAddOperatingSystemBadRequest ¶

func NewAddOperatingSystemBadRequest() *AddOperatingSystemBadRequest

NewAddOperatingSystemBadRequest creates a AddOperatingSystemBadRequest with default headers values

func (*AddOperatingSystemBadRequest) Error ¶

func (*AddOperatingSystemBadRequest) GetPayload ¶

type AddOperatingSystemCreated ¶

type AddOperatingSystemCreated struct {
	Payload *inventory_models.OperatingSystem
}
AddOperatingSystemCreated describes a response with status code 201, with default header values.

The added operating system

func NewAddOperatingSystemCreated ¶

func NewAddOperatingSystemCreated() *AddOperatingSystemCreated

NewAddOperatingSystemCreated creates a AddOperatingSystemCreated with default headers values

func (*AddOperatingSystemCreated) Error ¶

func (o *AddOperatingSystemCreated) Error() string

func (*AddOperatingSystemCreated) GetPayload ¶

type AddOperatingSystemDefault ¶

type AddOperatingSystemDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddOperatingSystemDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddOperatingSystemDefault ¶

func NewAddOperatingSystemDefault(code int) *AddOperatingSystemDefault

NewAddOperatingSystemDefault creates a AddOperatingSystemDefault with default headers values

func (*AddOperatingSystemDefault) Code ¶

func (o *AddOperatingSystemDefault) Code() int

Code gets the status code for the add operating system default response

func (*AddOperatingSystemDefault) Error ¶

func (o *AddOperatingSystemDefault) Error() string

func (*AddOperatingSystemDefault) GetPayload ¶

type AddOperatingSystemKernelBadRequest ¶

type AddOperatingSystemKernelBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddOperatingSystemKernelBadRequest describes a response with status code 400, with default header values.

If the kernel ID doesn't exist

func NewAddOperatingSystemKernelBadRequest ¶

func NewAddOperatingSystemKernelBadRequest() *AddOperatingSystemKernelBadRequest

NewAddOperatingSystemKernelBadRequest creates a AddOperatingSystemKernelBadRequest with default headers values

func (*AddOperatingSystemKernelBadRequest) Error ¶

func (*AddOperatingSystemKernelBadRequest) GetPayload ¶

type AddOperatingSystemKernelDefault ¶

type AddOperatingSystemKernelDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddOperatingSystemKernelDefault describes a response with status code -1, with default header values.

generic error response

func NewAddOperatingSystemKernelDefault ¶

func NewAddOperatingSystemKernelDefault(code int) *AddOperatingSystemKernelDefault

NewAddOperatingSystemKernelDefault creates a AddOperatingSystemKernelDefault with default headers values

func (*AddOperatingSystemKernelDefault) Code ¶

Code gets the status code for the add operating system kernel default response

func (*AddOperatingSystemKernelDefault) Error ¶

func (*AddOperatingSystemKernelDefault) GetPayload ¶

type AddOperatingSystemKernelOK ¶

type AddOperatingSystemKernelOK struct {
	Payload *inventory_models.Kernel
}
AddOperatingSystemKernelOK describes a response with status code 200, with default header values.

The kernel added to the operating system

func NewAddOperatingSystemKernelOK ¶

func NewAddOperatingSystemKernelOK() *AddOperatingSystemKernelOK

NewAddOperatingSystemKernelOK creates a AddOperatingSystemKernelOK with default headers values

func (*AddOperatingSystemKernelOK) Error ¶

func (*AddOperatingSystemKernelOK) GetPayload ¶

type AddOperatingSystemKernelParams ¶

type AddOperatingSystemKernelParams struct {

	// KernelID.
	KernelID *inventory_models.AddOperatingSystemKernelParamsBody

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

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

AddOperatingSystemKernelParams contains all the parameters to send to the API endpoint

for the add operating system kernel operation.

Typically these are written to a http.Request.

func NewAddOperatingSystemKernelParams ¶

func NewAddOperatingSystemKernelParams() *AddOperatingSystemKernelParams

NewAddOperatingSystemKernelParams creates a new AddOperatingSystemKernelParams 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 NewAddOperatingSystemKernelParamsWithContext ¶

func NewAddOperatingSystemKernelParamsWithContext(ctx context.Context) *AddOperatingSystemKernelParams

NewAddOperatingSystemKernelParamsWithContext creates a new AddOperatingSystemKernelParams object with the ability to set a context for a request.

func NewAddOperatingSystemKernelParamsWithHTTPClient ¶

func NewAddOperatingSystemKernelParamsWithHTTPClient(client *http.Client) *AddOperatingSystemKernelParams

NewAddOperatingSystemKernelParamsWithHTTPClient creates a new AddOperatingSystemKernelParams object with the ability to set a custom HTTPClient for a request.

func NewAddOperatingSystemKernelParamsWithTimeout ¶

func NewAddOperatingSystemKernelParamsWithTimeout(timeout time.Duration) *AddOperatingSystemKernelParams

NewAddOperatingSystemKernelParamsWithTimeout creates a new AddOperatingSystemKernelParams object with the ability to set a timeout on a request.

func (*AddOperatingSystemKernelParams) SetContext ¶

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

SetContext adds the context to the add operating system kernel params

func (*AddOperatingSystemKernelParams) SetDefaults ¶

func (o *AddOperatingSystemKernelParams) SetDefaults()

SetDefaults hydrates default values in the add operating system kernel params (not the query body).

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

func (*AddOperatingSystemKernelParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add operating system kernel params

func (*AddOperatingSystemKernelParams) SetKernelID ¶

SetKernelID adds the kernelId to the add operating system kernel params

func (*AddOperatingSystemKernelParams) SetOperatingSystemID ¶

func (o *AddOperatingSystemKernelParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the add operating system kernel params

func (*AddOperatingSystemKernelParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WithContext ¶

WithContext adds the context to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WithDefaults ¶

WithDefaults hydrates default values in the add operating system kernel params (not the query body).

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

func (*AddOperatingSystemKernelParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WithKernelID ¶

WithKernelID adds the kernelID to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WithOperatingSystemID ¶

func (o *AddOperatingSystemKernelParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *AddOperatingSystemKernelParams

WithOperatingSystemID adds the operatingSystemID to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WithTimeout ¶

WithTimeout adds the timeout to the add operating system kernel params

func (*AddOperatingSystemKernelParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddOperatingSystemKernelReader ¶

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

AddOperatingSystemKernelReader is a Reader for the AddOperatingSystemKernel structure.

func (*AddOperatingSystemKernelReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddOperatingSystemLibcBadRequest ¶

type AddOperatingSystemLibcBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddOperatingSystemLibcBadRequest describes a response with status code 400, with default header values.

If the libc ID doesn't exist

func NewAddOperatingSystemLibcBadRequest ¶

func NewAddOperatingSystemLibcBadRequest() *AddOperatingSystemLibcBadRequest

NewAddOperatingSystemLibcBadRequest creates a AddOperatingSystemLibcBadRequest with default headers values

func (*AddOperatingSystemLibcBadRequest) Error ¶

func (*AddOperatingSystemLibcBadRequest) GetPayload ¶

type AddOperatingSystemLibcDefault ¶

type AddOperatingSystemLibcDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddOperatingSystemLibcDefault describes a response with status code -1, with default header values.

generic error response

func NewAddOperatingSystemLibcDefault ¶

func NewAddOperatingSystemLibcDefault(code int) *AddOperatingSystemLibcDefault

NewAddOperatingSystemLibcDefault creates a AddOperatingSystemLibcDefault with default headers values

func (*AddOperatingSystemLibcDefault) Code ¶

Code gets the status code for the add operating system libc default response

func (*AddOperatingSystemLibcDefault) Error ¶

func (*AddOperatingSystemLibcDefault) GetPayload ¶

type AddOperatingSystemLibcOK ¶

type AddOperatingSystemLibcOK struct {
	Payload *inventory_models.Libc
}
AddOperatingSystemLibcOK describes a response with status code 200, with default header values.

The libc added to the operating system

func NewAddOperatingSystemLibcOK ¶

func NewAddOperatingSystemLibcOK() *AddOperatingSystemLibcOK

NewAddOperatingSystemLibcOK creates a AddOperatingSystemLibcOK with default headers values

func (*AddOperatingSystemLibcOK) Error ¶

func (o *AddOperatingSystemLibcOK) Error() string

func (*AddOperatingSystemLibcOK) GetPayload ¶

type AddOperatingSystemLibcParams ¶

type AddOperatingSystemLibcParams struct {

	// LibcID.
	LibcID *inventory_models.AddOperatingSystemLibcParamsBody

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

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

AddOperatingSystemLibcParams contains all the parameters to send to the API endpoint

for the add operating system libc operation.

Typically these are written to a http.Request.

func NewAddOperatingSystemLibcParams ¶

func NewAddOperatingSystemLibcParams() *AddOperatingSystemLibcParams

NewAddOperatingSystemLibcParams creates a new AddOperatingSystemLibcParams 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 NewAddOperatingSystemLibcParamsWithContext ¶

func NewAddOperatingSystemLibcParamsWithContext(ctx context.Context) *AddOperatingSystemLibcParams

NewAddOperatingSystemLibcParamsWithContext creates a new AddOperatingSystemLibcParams object with the ability to set a context for a request.

func NewAddOperatingSystemLibcParamsWithHTTPClient ¶

func NewAddOperatingSystemLibcParamsWithHTTPClient(client *http.Client) *AddOperatingSystemLibcParams

NewAddOperatingSystemLibcParamsWithHTTPClient creates a new AddOperatingSystemLibcParams object with the ability to set a custom HTTPClient for a request.

func NewAddOperatingSystemLibcParamsWithTimeout ¶

func NewAddOperatingSystemLibcParamsWithTimeout(timeout time.Duration) *AddOperatingSystemLibcParams

NewAddOperatingSystemLibcParamsWithTimeout creates a new AddOperatingSystemLibcParams object with the ability to set a timeout on a request.

func (*AddOperatingSystemLibcParams) SetContext ¶

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

SetContext adds the context to the add operating system libc params

func (*AddOperatingSystemLibcParams) SetDefaults ¶

func (o *AddOperatingSystemLibcParams) SetDefaults()

SetDefaults hydrates default values in the add operating system libc params (not the query body).

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

func (*AddOperatingSystemLibcParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add operating system libc params

func (*AddOperatingSystemLibcParams) SetLibcID ¶

SetLibcID adds the libcId to the add operating system libc params

func (*AddOperatingSystemLibcParams) SetOperatingSystemID ¶

func (o *AddOperatingSystemLibcParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the add operating system libc params

func (*AddOperatingSystemLibcParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add operating system libc params

func (*AddOperatingSystemLibcParams) WithContext ¶

WithContext adds the context to the add operating system libc params

func (*AddOperatingSystemLibcParams) WithDefaults ¶

WithDefaults hydrates default values in the add operating system libc params (not the query body).

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

func (*AddOperatingSystemLibcParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add operating system libc params

func (*AddOperatingSystemLibcParams) WithLibcID ¶

WithLibcID adds the libcID to the add operating system libc params

func (*AddOperatingSystemLibcParams) WithOperatingSystemID ¶

func (o *AddOperatingSystemLibcParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *AddOperatingSystemLibcParams

WithOperatingSystemID adds the operatingSystemID to the add operating system libc params

func (*AddOperatingSystemLibcParams) WithTimeout ¶

WithTimeout adds the timeout to the add operating system libc params

func (*AddOperatingSystemLibcParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddOperatingSystemLibcReader ¶

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

AddOperatingSystemLibcReader is a Reader for the AddOperatingSystemLibc structure.

func (*AddOperatingSystemLibcReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddOperatingSystemParams ¶

type AddOperatingSystemParams struct {

	// OperatingSystem.
	OperatingSystem *inventory_models.OperatingSystemCore

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

AddOperatingSystemParams contains all the parameters to send to the API endpoint

for the add operating system operation.

Typically these are written to a http.Request.

func NewAddOperatingSystemParams ¶

func NewAddOperatingSystemParams() *AddOperatingSystemParams

NewAddOperatingSystemParams creates a new AddOperatingSystemParams 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 NewAddOperatingSystemParamsWithContext ¶

func NewAddOperatingSystemParamsWithContext(ctx context.Context) *AddOperatingSystemParams

NewAddOperatingSystemParamsWithContext creates a new AddOperatingSystemParams object with the ability to set a context for a request.

func NewAddOperatingSystemParamsWithHTTPClient ¶

func NewAddOperatingSystemParamsWithHTTPClient(client *http.Client) *AddOperatingSystemParams

NewAddOperatingSystemParamsWithHTTPClient creates a new AddOperatingSystemParams object with the ability to set a custom HTTPClient for a request.

func NewAddOperatingSystemParamsWithTimeout ¶

func NewAddOperatingSystemParamsWithTimeout(timeout time.Duration) *AddOperatingSystemParams

NewAddOperatingSystemParamsWithTimeout creates a new AddOperatingSystemParams object with the ability to set a timeout on a request.

func (*AddOperatingSystemParams) SetContext ¶

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

SetContext adds the context to the add operating system params

func (*AddOperatingSystemParams) SetDefaults ¶

func (o *AddOperatingSystemParams) SetDefaults()

SetDefaults hydrates default values in the add operating system params (not the query body).

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

func (*AddOperatingSystemParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add operating system params

func (*AddOperatingSystemParams) SetOperatingSystem ¶

func (o *AddOperatingSystemParams) SetOperatingSystem(operatingSystem *inventory_models.OperatingSystemCore)

SetOperatingSystem adds the operatingSystem to the add operating system params

func (*AddOperatingSystemParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add operating system params

func (*AddOperatingSystemParams) WithContext ¶

WithContext adds the context to the add operating system params

func (*AddOperatingSystemParams) WithDefaults ¶

WithDefaults hydrates default values in the add operating system params (not the query body).

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

func (*AddOperatingSystemParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add operating system params

func (*AddOperatingSystemParams) WithOperatingSystem ¶

WithOperatingSystem adds the operatingSystem to the add operating system params

func (*AddOperatingSystemParams) WithTimeout ¶

WithTimeout adds the timeout to the add operating system params

func (*AddOperatingSystemParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddOperatingSystemReader ¶

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

AddOperatingSystemReader is a Reader for the AddOperatingSystem structure.

func (*AddOperatingSystemReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddOperatingSystemVersionBadRequest ¶

type AddOperatingSystemVersionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddOperatingSystemVersionBadRequest describes a response with status code 400, with default header values.

If the operating system version is invalid

func NewAddOperatingSystemVersionBadRequest ¶

func NewAddOperatingSystemVersionBadRequest() *AddOperatingSystemVersionBadRequest

NewAddOperatingSystemVersionBadRequest creates a AddOperatingSystemVersionBadRequest with default headers values

func (*AddOperatingSystemVersionBadRequest) Error ¶

func (*AddOperatingSystemVersionBadRequest) GetPayload ¶

type AddOperatingSystemVersionCreated ¶

type AddOperatingSystemVersionCreated struct {
	Payload *inventory_models.OperatingSystemVersion
}
AddOperatingSystemVersionCreated describes a response with status code 201, with default header values.

The added operating system version

func NewAddOperatingSystemVersionCreated ¶

func NewAddOperatingSystemVersionCreated() *AddOperatingSystemVersionCreated

NewAddOperatingSystemVersionCreated creates a AddOperatingSystemVersionCreated with default headers values

func (*AddOperatingSystemVersionCreated) Error ¶

func (*AddOperatingSystemVersionCreated) GetPayload ¶

type AddOperatingSystemVersionDefault ¶

type AddOperatingSystemVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddOperatingSystemVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddOperatingSystemVersionDefault ¶

func NewAddOperatingSystemVersionDefault(code int) *AddOperatingSystemVersionDefault

NewAddOperatingSystemVersionDefault creates a AddOperatingSystemVersionDefault with default headers values

func (*AddOperatingSystemVersionDefault) Code ¶

Code gets the status code for the add operating system version default response

func (*AddOperatingSystemVersionDefault) Error ¶

func (*AddOperatingSystemVersionDefault) GetPayload ¶

type AddOperatingSystemVersionParams ¶

type AddOperatingSystemVersionParams struct {

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	// OperatingSystemVersion.
	OperatingSystemVersion *inventory_models.OperatingSystemVersionCore

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

AddOperatingSystemVersionParams contains all the parameters to send to the API endpoint

for the add operating system version operation.

Typically these are written to a http.Request.

func NewAddOperatingSystemVersionParams ¶

func NewAddOperatingSystemVersionParams() *AddOperatingSystemVersionParams

NewAddOperatingSystemVersionParams creates a new AddOperatingSystemVersionParams 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 NewAddOperatingSystemVersionParamsWithContext ¶

func NewAddOperatingSystemVersionParamsWithContext(ctx context.Context) *AddOperatingSystemVersionParams

NewAddOperatingSystemVersionParamsWithContext creates a new AddOperatingSystemVersionParams object with the ability to set a context for a request.

func NewAddOperatingSystemVersionParamsWithHTTPClient ¶

func NewAddOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *AddOperatingSystemVersionParams

NewAddOperatingSystemVersionParamsWithHTTPClient creates a new AddOperatingSystemVersionParams object with the ability to set a custom HTTPClient for a request.

func NewAddOperatingSystemVersionParamsWithTimeout ¶

func NewAddOperatingSystemVersionParamsWithTimeout(timeout time.Duration) *AddOperatingSystemVersionParams

NewAddOperatingSystemVersionParamsWithTimeout creates a new AddOperatingSystemVersionParams object with the ability to set a timeout on a request.

func (*AddOperatingSystemVersionParams) SetContext ¶

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

SetContext adds the context to the add operating system version params

func (*AddOperatingSystemVersionParams) SetDefaults ¶

func (o *AddOperatingSystemVersionParams) SetDefaults()

SetDefaults hydrates default values in the add operating system version params (not the query body).

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

func (*AddOperatingSystemVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add operating system version params

func (*AddOperatingSystemVersionParams) SetOperatingSystemID ¶

func (o *AddOperatingSystemVersionParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the add operating system version params

func (*AddOperatingSystemVersionParams) SetOperatingSystemVersion ¶

func (o *AddOperatingSystemVersionParams) SetOperatingSystemVersion(operatingSystemVersion *inventory_models.OperatingSystemVersionCore)

SetOperatingSystemVersion adds the operatingSystemVersion to the add operating system version params

func (*AddOperatingSystemVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add operating system version params

func (*AddOperatingSystemVersionParams) WithContext ¶

WithContext adds the context to the add operating system version params

func (*AddOperatingSystemVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the add operating system version params (not the query body).

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

func (*AddOperatingSystemVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add operating system version params

func (*AddOperatingSystemVersionParams) WithOperatingSystemID ¶

func (o *AddOperatingSystemVersionParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *AddOperatingSystemVersionParams

WithOperatingSystemID adds the operatingSystemID to the add operating system version params

func (*AddOperatingSystemVersionParams) WithOperatingSystemVersion ¶

WithOperatingSystemVersion adds the operatingSystemVersion to the add operating system version params

func (*AddOperatingSystemVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the add operating system version params

func (*AddOperatingSystemVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddOperatingSystemVersionReader ¶

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

AddOperatingSystemVersionReader is a Reader for the AddOperatingSystemVersion structure.

func (*AddOperatingSystemVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddOperatingSystemVersionRevisionBadRequest ¶

type AddOperatingSystemVersionRevisionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddOperatingSystemVersionRevisionBadRequest describes a response with status code 400, with default header values.

If the operating system version revision is invalid

func NewAddOperatingSystemVersionRevisionBadRequest ¶

func NewAddOperatingSystemVersionRevisionBadRequest() *AddOperatingSystemVersionRevisionBadRequest

NewAddOperatingSystemVersionRevisionBadRequest creates a AddOperatingSystemVersionRevisionBadRequest with default headers values

func (*AddOperatingSystemVersionRevisionBadRequest) Error ¶

func (*AddOperatingSystemVersionRevisionBadRequest) GetPayload ¶

type AddOperatingSystemVersionRevisionDefault ¶

type AddOperatingSystemVersionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddOperatingSystemVersionRevisionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddOperatingSystemVersionRevisionDefault ¶

func NewAddOperatingSystemVersionRevisionDefault(code int) *AddOperatingSystemVersionRevisionDefault

NewAddOperatingSystemVersionRevisionDefault creates a AddOperatingSystemVersionRevisionDefault with default headers values

func (*AddOperatingSystemVersionRevisionDefault) Code ¶

Code gets the status code for the add operating system version revision default response

func (*AddOperatingSystemVersionRevisionDefault) Error ¶

func (*AddOperatingSystemVersionRevisionDefault) GetPayload ¶

type AddOperatingSystemVersionRevisionOK ¶

type AddOperatingSystemVersionRevisionOK struct {
	Payload *inventory_models.OperatingSystemVersion
}
AddOperatingSystemVersionRevisionOK describes a response with status code 200, with default header values.

The updated state of the operating system version

func NewAddOperatingSystemVersionRevisionOK ¶

func NewAddOperatingSystemVersionRevisionOK() *AddOperatingSystemVersionRevisionOK

NewAddOperatingSystemVersionRevisionOK creates a AddOperatingSystemVersionRevisionOK with default headers values

func (*AddOperatingSystemVersionRevisionOK) Error ¶

func (*AddOperatingSystemVersionRevisionOK) GetPayload ¶

type AddOperatingSystemVersionRevisionParams ¶

type AddOperatingSystemVersionRevisionParams struct {

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	// OperatingSystemVersionID.
	//
	// Format: uuid
	OperatingSystemVersionID strfmt.UUID

	// OperatingSystemVersionRevision.
	OperatingSystemVersionRevision *inventory_models.RevisionedFeatureProvider

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

AddOperatingSystemVersionRevisionParams contains all the parameters to send to the API endpoint

for the add operating system version revision operation.

Typically these are written to a http.Request.

func NewAddOperatingSystemVersionRevisionParams ¶

func NewAddOperatingSystemVersionRevisionParams() *AddOperatingSystemVersionRevisionParams

NewAddOperatingSystemVersionRevisionParams creates a new AddOperatingSystemVersionRevisionParams 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 NewAddOperatingSystemVersionRevisionParamsWithContext ¶

func NewAddOperatingSystemVersionRevisionParamsWithContext(ctx context.Context) *AddOperatingSystemVersionRevisionParams

NewAddOperatingSystemVersionRevisionParamsWithContext creates a new AddOperatingSystemVersionRevisionParams object with the ability to set a context for a request.

func NewAddOperatingSystemVersionRevisionParamsWithHTTPClient ¶

func NewAddOperatingSystemVersionRevisionParamsWithHTTPClient(client *http.Client) *AddOperatingSystemVersionRevisionParams

NewAddOperatingSystemVersionRevisionParamsWithHTTPClient creates a new AddOperatingSystemVersionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewAddOperatingSystemVersionRevisionParamsWithTimeout ¶

func NewAddOperatingSystemVersionRevisionParamsWithTimeout(timeout time.Duration) *AddOperatingSystemVersionRevisionParams

NewAddOperatingSystemVersionRevisionParamsWithTimeout creates a new AddOperatingSystemVersionRevisionParams object with the ability to set a timeout on a request.

func (*AddOperatingSystemVersionRevisionParams) SetContext ¶

SetContext adds the context to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) SetDefaults ¶

func (o *AddOperatingSystemVersionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the add operating system version revision params (not the query body).

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

func (*AddOperatingSystemVersionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) SetOperatingSystemID ¶

func (o *AddOperatingSystemVersionRevisionParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) SetOperatingSystemVersionID ¶

func (o *AddOperatingSystemVersionRevisionParams) SetOperatingSystemVersionID(operatingSystemVersionID strfmt.UUID)

SetOperatingSystemVersionID adds the operatingSystemVersionId to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) SetOperatingSystemVersionRevision ¶

func (o *AddOperatingSystemVersionRevisionParams) SetOperatingSystemVersionRevision(operatingSystemVersionRevision *inventory_models.RevisionedFeatureProvider)

SetOperatingSystemVersionRevision adds the operatingSystemVersionRevision to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithContext ¶

WithContext adds the context to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the add operating system version revision params (not the query body).

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

func (*AddOperatingSystemVersionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithOperatingSystemID ¶

WithOperatingSystemID adds the operatingSystemID to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithOperatingSystemVersionID ¶

func (o *AddOperatingSystemVersionRevisionParams) WithOperatingSystemVersionID(operatingSystemVersionID strfmt.UUID) *AddOperatingSystemVersionRevisionParams

WithOperatingSystemVersionID adds the operatingSystemVersionID to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithOperatingSystemVersionRevision ¶

func (o *AddOperatingSystemVersionRevisionParams) WithOperatingSystemVersionRevision(operatingSystemVersionRevision *inventory_models.RevisionedFeatureProvider) *AddOperatingSystemVersionRevisionParams

WithOperatingSystemVersionRevision adds the operatingSystemVersionRevision to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the add operating system version revision params

func (*AddOperatingSystemVersionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type AddOperatingSystemVersionRevisionReader ¶

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

AddOperatingSystemVersionRevisionReader is a Reader for the AddOperatingSystemVersionRevision structure.

func (*AddOperatingSystemVersionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddPatchBadRequest ¶

type AddPatchBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddPatchBadRequest describes a response with status code 400, with default header values.

If the patch is invalid

func NewAddPatchBadRequest ¶

func NewAddPatchBadRequest() *AddPatchBadRequest

NewAddPatchBadRequest creates a AddPatchBadRequest with default headers values

func (*AddPatchBadRequest) Error ¶

func (o *AddPatchBadRequest) Error() string

func (*AddPatchBadRequest) GetPayload ¶

type AddPatchCreated ¶

type AddPatchCreated struct {
	Payload *inventory_models.Patch
}
AddPatchCreated describes a response with status code 201, with default header values.

The added patch

func NewAddPatchCreated ¶

func NewAddPatchCreated() *AddPatchCreated

NewAddPatchCreated creates a AddPatchCreated with default headers values

func (*AddPatchCreated) Error ¶

func (o *AddPatchCreated) Error() string

func (*AddPatchCreated) GetPayload ¶

func (o *AddPatchCreated) GetPayload() *inventory_models.Patch

type AddPatchDefault ¶

type AddPatchDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddPatchDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddPatchDefault ¶

func NewAddPatchDefault(code int) *AddPatchDefault

NewAddPatchDefault creates a AddPatchDefault with default headers values

func (*AddPatchDefault) Code ¶

func (o *AddPatchDefault) Code() int

Code gets the status code for the add patch default response

func (*AddPatchDefault) Error ¶

func (o *AddPatchDefault) Error() string

func (*AddPatchDefault) GetPayload ¶

type AddPatchParams ¶

type AddPatchParams struct {

	// Patch.
	Patch *inventory_models.PatchCore

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

AddPatchParams contains all the parameters to send to the API endpoint

for the add patch operation.

Typically these are written to a http.Request.

func NewAddPatchParams ¶

func NewAddPatchParams() *AddPatchParams

NewAddPatchParams creates a new AddPatchParams 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 NewAddPatchParamsWithContext ¶

func NewAddPatchParamsWithContext(ctx context.Context) *AddPatchParams

NewAddPatchParamsWithContext creates a new AddPatchParams object with the ability to set a context for a request.

func NewAddPatchParamsWithHTTPClient ¶

func NewAddPatchParamsWithHTTPClient(client *http.Client) *AddPatchParams

NewAddPatchParamsWithHTTPClient creates a new AddPatchParams object with the ability to set a custom HTTPClient for a request.

func NewAddPatchParamsWithTimeout ¶

func NewAddPatchParamsWithTimeout(timeout time.Duration) *AddPatchParams

NewAddPatchParamsWithTimeout creates a new AddPatchParams object with the ability to set a timeout on a request.

func (*AddPatchParams) SetContext ¶

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

SetContext adds the context to the add patch params

func (*AddPatchParams) SetDefaults ¶

func (o *AddPatchParams) SetDefaults()

SetDefaults hydrates default values in the add patch params (not the query body).

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

func (*AddPatchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add patch params

func (*AddPatchParams) SetPatch ¶

func (o *AddPatchParams) SetPatch(patch *inventory_models.PatchCore)

SetPatch adds the patch to the add patch params

func (*AddPatchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add patch params

func (*AddPatchParams) WithContext ¶

func (o *AddPatchParams) WithContext(ctx context.Context) *AddPatchParams

WithContext adds the context to the add patch params

func (*AddPatchParams) WithDefaults ¶

func (o *AddPatchParams) WithDefaults() *AddPatchParams

WithDefaults hydrates default values in the add patch params (not the query body).

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

func (*AddPatchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add patch params

func (*AddPatchParams) WithPatch ¶

WithPatch adds the patch to the add patch params

func (*AddPatchParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add patch params

func (*AddPatchParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddPatchReader ¶

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

AddPatchReader is a Reader for the AddPatch structure.

func (*AddPatchReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type AddPlatformBadRequest ¶

type AddPlatformBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
AddPlatformBadRequest describes a response with status code 400, with default header values.

If the platform is invalid

func NewAddPlatformBadRequest ¶

func NewAddPlatformBadRequest() *AddPlatformBadRequest

NewAddPlatformBadRequest creates a AddPlatformBadRequest with default headers values

func (*AddPlatformBadRequest) Error ¶

func (o *AddPlatformBadRequest) Error() string

func (*AddPlatformBadRequest) GetPayload ¶

type AddPlatformCreated ¶

type AddPlatformCreated struct {
	Payload *inventory_models.Platform
}
AddPlatformCreated describes a response with status code 201, with default header values.

The added platform

func NewAddPlatformCreated ¶

func NewAddPlatformCreated() *AddPlatformCreated

NewAddPlatformCreated creates a AddPlatformCreated with default headers values

func (*AddPlatformCreated) Error ¶

func (o *AddPlatformCreated) Error() string

func (*AddPlatformCreated) GetPayload ¶

func (o *AddPlatformCreated) GetPayload() *inventory_models.Platform

type AddPlatformDefault ¶

type AddPlatformDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
AddPlatformDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewAddPlatformDefault ¶

func NewAddPlatformDefault(code int) *AddPlatformDefault

NewAddPlatformDefault creates a AddPlatformDefault with default headers values

func (*AddPlatformDefault) Code ¶

func (o *AddPlatformDefault) Code() int

Code gets the status code for the add platform default response

func (*AddPlatformDefault) Error ¶

func (o *AddPlatformDefault) Error() string

func (*AddPlatformDefault) GetPayload ¶

type AddPlatformParams ¶

type AddPlatformParams struct {

	// Platform.
	Platform *inventory_models.PlatformCreate

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

AddPlatformParams contains all the parameters to send to the API endpoint

for the add platform operation.

Typically these are written to a http.Request.

func NewAddPlatformParams ¶

func NewAddPlatformParams() *AddPlatformParams

NewAddPlatformParams creates a new AddPlatformParams 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 NewAddPlatformParamsWithContext ¶

func NewAddPlatformParamsWithContext(ctx context.Context) *AddPlatformParams

NewAddPlatformParamsWithContext creates a new AddPlatformParams object with the ability to set a context for a request.

func NewAddPlatformParamsWithHTTPClient ¶

func NewAddPlatformParamsWithHTTPClient(client *http.Client) *AddPlatformParams

NewAddPlatformParamsWithHTTPClient creates a new AddPlatformParams object with the ability to set a custom HTTPClient for a request.

func NewAddPlatformParamsWithTimeout ¶

func NewAddPlatformParamsWithTimeout(timeout time.Duration) *AddPlatformParams

NewAddPlatformParamsWithTimeout creates a new AddPlatformParams object with the ability to set a timeout on a request.

func (*AddPlatformParams) SetContext ¶

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

SetContext adds the context to the add platform params

func (*AddPlatformParams) SetDefaults ¶

func (o *AddPlatformParams) SetDefaults()

SetDefaults hydrates default values in the add platform params (not the query body).

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

func (*AddPlatformParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the add platform params

func (*AddPlatformParams) SetPlatform ¶

func (o *AddPlatformParams) SetPlatform(platform *inventory_models.PlatformCreate)

SetPlatform adds the platform to the add platform params

func (*AddPlatformParams) SetTimeout ¶

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

SetTimeout adds the timeout to the add platform params

func (*AddPlatformParams) WithContext ¶

func (o *AddPlatformParams) WithContext(ctx context.Context) *AddPlatformParams

WithContext adds the context to the add platform params

func (*AddPlatformParams) WithDefaults ¶

func (o *AddPlatformParams) WithDefaults() *AddPlatformParams

WithDefaults hydrates default values in the add platform params (not the query body).

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

func (*AddPlatformParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the add platform params

func (*AddPlatformParams) WithPlatform ¶

WithPlatform adds the platform to the add platform params

func (*AddPlatformParams) WithTimeout ¶

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

WithTimeout adds the timeout to the add platform params

func (*AddPlatformParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type AddPlatformReader ¶

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

AddPlatformReader is a Reader for the AddPlatform structure.

func (*AddPlatformReader) ReadResponse ¶

func (o *AddPlatformReader) 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 inventory operations API

func (*Client) AddAuthor ¶

func (a *Client) AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAuthorCreated, error)

AddAuthor Add a new author

func (*Client) AddBuildFlag ¶

func (a *Client) AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagCreated, error)

AddBuildFlag Add a new build flag

func (*Client) AddBuildFlagRevision ¶

func (a *Client) AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagRevisionOK, error)

AddBuildFlagRevision Add a new revision of this build flag

func (*Client) AddBuildScript ¶

func (a *Client) AddBuildScript(params *AddBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildScriptCreated, error)

AddBuildScript Add a new build script

func (*Client) AddCPUArchitecture ¶

func (a *Client) AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCreated, error)

AddCPUArchitecture Add a new CPU architecture

func (*Client) AddCPUArchitectureCPUExtension ¶

func (a *Client) AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCPUExtensionOK, error)

AddCPUArchitectureCPUExtension Add a CPU extension that can be used with this architecture

func (*Client) AddCPUArchitectureRevision ¶

func (a *Client) AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureRevisionOK, error)

AddCPUArchitectureRevision Add a new revision of this CPU architecture

func (*Client) AddCPUExtension ¶

func (a *Client) AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionCreated, error)

AddCPUExtension Add a new CPU extension

func (*Client) AddCPUExtensionRevision ¶

func (a *Client) AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionRevisionOK, error)

AddCPUExtensionRevision Add a new revision of this CPU extension

func (*Client) AddGPUArchitecture ¶

func (a *Client) AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureCreated, error)

AddGPUArchitecture Add a new GPU architecture

func (*Client) AddGPUArchitectureRevision ¶

func (a *Client) AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureRevisionOK, error)

AddGPUArchitectureRevision Add a new revision of this GPU architecture

func (*Client) AddImage ¶

func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageCreated, error)

AddImage Add a new image

func (*Client) AddImageRevision ¶

func (a *Client) AddImageRevision(params *AddImageRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageRevisionOK, error)

AddImageRevision Add a new revision of this image

func (*Client) AddIngredient ¶

func (a *Client) AddIngredient(params *AddIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientCreated, error)

AddIngredient Add a new ingredient

func (*Client) AddIngredientAndVersions ¶

func (a *Client) AddIngredientAndVersions(params *AddIngredientAndVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientAndVersionsCreated, error)

AddIngredientAndVersions Add multiple new versions, and add the ingredient if it doesn't exist

func (*Client) AddIngredientOptionSet ¶

func (a *Client) AddIngredientOptionSet(params *AddIngredientOptionSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetCreated, error)

AddIngredientOptionSet Add a new ingredient option set

func (*Client) AddIngredientOptionSetRevision ¶

func (a *Client) AddIngredientOptionSetRevision(params *AddIngredientOptionSetRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetRevisionOK, error)

AddIngredientOptionSetRevision Add a new revision of this ingredient option set

func (*Client) AddIngredientVersion ¶

func (a *Client) AddIngredientVersion(params *AddIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionCreated, error)

AddIngredientVersion Add a new version of this ingredient

func (*Client) AddIngredientVersionAuthor ¶

func (a *Client) AddIngredientVersionAuthor(params *AddIngredientVersionAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionAuthorOK, error)

AddIngredientVersionAuthor Add an author of this ingredient version

func (*Client) AddIngredientVersionRevision ¶

func (a *Client) AddIngredientVersionRevision(params *AddIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionRevisionOK, error)

AddIngredientVersionRevision Add a new revision of this ingredient version

func (*Client) AddKernel ¶

func (a *Client) AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCreated, error)

AddKernel Add a new kernel

func (*Client) AddKernelCPUArchitecture ¶

func (a *Client) AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCPUArchitectureOK, error)

AddKernelCPUArchitecture Add a CPU architecture that can be used with this kernel

func (*Client) AddKernelGPUArchitecture ¶

func (a *Client) AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelGPUArchitectureOK, error)

AddKernelGPUArchitecture Add a GPU architecture that can be used with this kernel

func (*Client) AddKernelVersion ¶

func (a *Client) AddKernelVersion(params *AddKernelVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionCreated, error)

AddKernelVersion Add a new version for this kernel

func (*Client) AddKernelVersionRevision ¶

func (a *Client) AddKernelVersionRevision(params *AddKernelVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionRevisionOK, error)

AddKernelVersionRevision Add a new revision of this kernel version

func (*Client) AddLibc ¶

func (a *Client) AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcCreated, error)

AddLibc Add a new libc

func (*Client) AddLibcVersion ¶

func (a *Client) AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionCreated, error)

AddLibcVersion Add a new version for this libc

func (*Client) AddLibcVersionRevision ¶

func (a *Client) AddLibcVersionRevision(params *AddLibcVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionRevisionOK, error)

AddLibcVersionRevision Add a new revision of this libc version

func (*Client) AddNamespace ¶

func (a *Client) AddNamespace(params *AddNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNamespaceCreated, error)

AddNamespace Add a new namespace

func (*Client) AddOperatingSystem ¶

func (a *Client) AddOperatingSystem(params *AddOperatingSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemCreated, error)

AddOperatingSystem Add a new operating system

func (*Client) AddOperatingSystemKernel ¶

func (a *Client) AddOperatingSystemKernel(params *AddOperatingSystemKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemKernelOK, error)

AddOperatingSystemKernel Add a kernel that can be used with this operating system

func (*Client) AddOperatingSystemLibc ¶

func (a *Client) AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemLibcOK, error)

AddOperatingSystemLibc Add a libc that can be used with this operating system

func (*Client) AddOperatingSystemVersion ¶

func (a *Client) AddOperatingSystemVersion(params *AddOperatingSystemVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionCreated, error)

AddOperatingSystemVersion Add a new version for this operating system

func (*Client) AddOperatingSystemVersionRevision ¶

func (a *Client) AddOperatingSystemVersionRevision(params *AddOperatingSystemVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionRevisionOK, error)

AddOperatingSystemVersionRevision Add a new revision of this operating system version

func (*Client) AddPatch ¶

func (a *Client) AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPatchCreated, error)

AddPatch Add a new patch

func (*Client) AddPlatform ¶

func (a *Client) AddPlatform(params *AddPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPlatformCreated, error)

AddPlatform Add a new platform

func (*Client) DeleteImage ¶

func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error)

DeleteImage Delete this image

func (*Client) DeleteIngredientVersion ¶

func (a *Client) DeleteIngredientVersion(params *DeleteIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIngredientVersionNoContent, error)

DeleteIngredientVersion Delete this ingredient version

func (*Client) GetAuthor ¶

func (a *Client) GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetAuthorOK, error)

GetAuthor Retrieve an author

func (*Client) GetAuthors ¶

func (a *Client) GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*GetAuthorsOK, error)

GetAuthors Retrieve a paged set of authors

func (*Client) GetBuildFlag ¶

func (a *Client) GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) (*GetBuildFlagOK, error)

GetBuildFlag Retrieve a build flag

func (*Client) GetBuildFlags ¶

func (a *Client) GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption) (*GetBuildFlagsOK, error)

GetBuildFlags Retrieve a paged set of build flags

func (*Client) GetBuildScript ¶

func (a *Client) GetBuildScript(params *GetBuildScriptParams, opts ...ClientOption) (*GetBuildScriptOK, error)

GetBuildScript Retrieve a single build script

func (*Client) GetBuildScripts ¶

func (a *Client) GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOption) (*GetBuildScriptsOK, error)

GetBuildScripts Retrieve all build scripts

func (*Client) GetCPUArchitecture ¶

func (a *Client) GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...ClientOption) (*GetCPUArchitectureOK, error)

GetCPUArchitecture Retrieve a single CPU architecture

func (*Client) GetCPUArchitectureCPUExtensions ¶

func (a *Client) GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUExtensionsParams, opts ...ClientOption) (*GetCPUArchitectureCPUExtensionsOK, error)

GetCPUArchitectureCPUExtensions Retrieve all CPU extensions that can be used with this architecture

func (*Client) GetCPUArchitectures ¶

func (a *Client) GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ...ClientOption) (*GetCPUArchitecturesOK, error)

GetCPUArchitectures Retrieve all CPU architectures

func (*Client) GetCPUExtension ¶

func (a *Client) GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOption) (*GetCPUExtensionOK, error)

GetCPUExtension Retrieve a single CPU extension

func (*Client) GetCPUExtensions ¶

func (a *Client) GetCPUExtensions(params *GetCPUExtensionsParams, opts ...ClientOption) (*GetCPUExtensionsOK, error)

GetCPUExtensions Retrieve all CPU extensions

func (*Client) GetGPUArchitecture ¶

func (a *Client) GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...ClientOption) (*GetGPUArchitectureOK, error)

GetGPUArchitecture Retrieve a single GPU architecture

func (*Client) GetGPUArchitectures ¶

func (a *Client) GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ...ClientOption) (*GetGPUArchitecturesOK, error)

GetGPUArchitectures Retrieve all GPU architectures

func (*Client) GetImage ¶

func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error)

GetImage Retrieve an image

func (*Client) GetImages ¶

func (a *Client) GetImages(params *GetImagesParams, opts ...ClientOption) (*GetImagesOK, error)

GetImages Retrieve a paged set of images

func (*Client) GetIngredient ¶

func (a *Client) GetIngredient(params *GetIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOK, error)

GetIngredient Retrieve a single ingredient

func (*Client) GetIngredientOptionSet ¶

func (a *Client) GetIngredientOptionSet(params *GetIngredientOptionSetParams, opts ...ClientOption) (*GetIngredientOptionSetOK, error)

GetIngredientOptionSet Retrieve a single ingredient option set

func (*Client) GetIngredientOptionSetIngredientVersions ¶

GetIngredientOptionSetIngredientVersions Retrieve all ingredient versions which use this ingredient option set

func (*Client) GetIngredientOptionSets ¶

func (a *Client) GetIngredientOptionSets(params *GetIngredientOptionSetsParams, opts ...ClientOption) (*GetIngredientOptionSetsOK, error)

GetIngredientOptionSets Iterate over all matching ingredient option sets

func (*Client) GetIngredientVersion ¶

func (a *Client) GetIngredientVersion(params *GetIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionOK, error)

GetIngredientVersion Retrieve a single ingredient version

func (*Client) GetIngredientVersionAuthors ¶

func (a *Client) GetIngredientVersionAuthors(params *GetIngredientVersionAuthorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionAuthorsOK, error)

GetIngredientVersionAuthors Retrieve all authors of this ingredient version

func (*Client) GetIngredientVersionBuildScripts ¶

func (a *Client) GetIngredientVersionBuildScripts(params *GetIngredientVersionBuildScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionBuildScriptsOK, error)

GetIngredientVersionBuildScripts Retrieve all build scripts used by the ingredient version revision

func (*Client) GetIngredientVersionIngredientOptionSets ¶

GetIngredientVersionIngredientOptionSets Retrieve all ingredient option sets used by the ingredient version

func (*Client) GetIngredientVersionPatches ¶

func (a *Client) GetIngredientVersionPatches(params *GetIngredientVersionPatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionPatchesOK, error)

GetIngredientVersionPatches Retrieve all patches used by the ingredient version revision

func (*Client) GetIngredientVersionRevision ¶

func (a *Client) GetIngredientVersionRevision(params *GetIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionOK, error)

GetIngredientVersionRevision Retrieve a single ingredient version revision

func (*Client) GetIngredientVersionRevisions ¶

func (a *Client) GetIngredientVersionRevisions(params *GetIngredientVersionRevisionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionsOK, error)

GetIngredientVersionRevisions Retrieve all ingredient version revisions for an ingredient version

func (*Client) GetIngredientVersions ¶

func (a *Client) GetIngredientVersions(params *GetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionsOK, error)

GetIngredientVersions Retrieve all versions of this ingredient

func (*Client) GetIngredients ¶

func (a *Client) GetIngredients(params *GetIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientsOK, error)

GetIngredients Retrieve all ingredients

func (*Client) GetKernel ¶

func (a *Client) GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetKernelOK, error)

GetKernel Retrieve a single kernel

func (*Client) GetKernelCPUArchitectures ¶

func (a *Client) GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesParams, opts ...ClientOption) (*GetKernelCPUArchitecturesOK, error)

GetKernelCPUArchitectures Retrieve all CPU architectures that can be used with this kernel

func (*Client) GetKernelGPUArchitectures ¶

func (a *Client) GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesParams, opts ...ClientOption) (*GetKernelGPUArchitecturesOK, error)

GetKernelGPUArchitectures Retrieve all GPU architectures that can be used with this kernel

func (*Client) GetKernelVersion ¶

func (a *Client) GetKernelVersion(params *GetKernelVersionParams, opts ...ClientOption) (*GetKernelVersionOK, error)

GetKernelVersion Retrieve a single kernel version

func (*Client) GetKernelVersions ¶

func (a *Client) GetKernelVersions(params *GetKernelVersionsParams, opts ...ClientOption) (*GetKernelVersionsOK, error)

GetKernelVersions Retrieve all versions of this kernel

func (*Client) GetKernels ¶

func (a *Client) GetKernels(params *GetKernelsParams, opts ...ClientOption) (*GetKernelsOK, error)

GetKernels Retrieve all kernels

func (*Client) GetLatestTimestamp ¶

func (a *Client) GetLatestTimestamp(params *GetLatestTimestampParams, opts ...ClientOption) (*GetLatestTimestampOK, error)

GetLatestTimestamp Retrieve the latest timestamp to use for solve requests

func (*Client) GetLibc ¶

func (a *Client) GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcOK, error)

GetLibc Retrieve a single libc

func (*Client) GetLibcVersion ¶

func (a *Client) GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOption) (*GetLibcVersionOK, error)

GetLibcVersion Retrieve a single libc version

func (*Client) GetLibcVersions ¶

func (a *Client) GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOption) (*GetLibcVersionsOK, error)

GetLibcVersions Retrieve all versions of this libc

func (*Client) GetLibcs ¶

func (a *Client) GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLibcsOK, error)

GetLibcs Retrieve all libcs

func (*Client) GetNamespaceIngredient ¶

func (a *Client) GetNamespaceIngredient(params *GetNamespaceIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientOK, error)

GetNamespaceIngredient Retrieve a single ingredient by namespace and name

func (*Client) GetNamespaceIngredientVersion ¶

func (a *Client) GetNamespaceIngredientVersion(params *GetNamespaceIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionOK, error)

GetNamespaceIngredientVersion Retrieve a single ingredient version by namespace, name, and version

func (*Client) GetNamespaceIngredientVersions ¶

func (a *Client) GetNamespaceIngredientVersions(params *GetNamespaceIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionsOK, error)

GetNamespaceIngredientVersions Retrieve ingredient versions by namespace and ingredient name

func (*Client) GetNamespaceIngredients ¶

func (a *Client) GetNamespaceIngredients(params *GetNamespaceIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientsOK, error)

GetNamespaceIngredients Retrieve (or, if query string provided, search across) all ingredients and versions which provide at least one feature in this namespace

func (*Client) GetNamespaces ¶

func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespacesOK, error)

GetNamespaces Retrieve all namespaces

func (*Client) GetOperatingSystem ¶

func (a *Client) GetOperatingSystem(params *GetOperatingSystemParams, opts ...ClientOption) (*GetOperatingSystemOK, error)

GetOperatingSystem Retrieve a single operating system

func (*Client) GetOperatingSystemKernels ¶

func (a *Client) GetOperatingSystemKernels(params *GetOperatingSystemKernelsParams, opts ...ClientOption) (*GetOperatingSystemKernelsOK, error)

GetOperatingSystemKernels Retrieve all kernels that can be used with this operating system

func (*Client) GetOperatingSystemLibcs ¶

func (a *Client) GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, opts ...ClientOption) (*GetOperatingSystemLibcsOK, error)

GetOperatingSystemLibcs Retrieve all libcs that can be used with this operating system

func (*Client) GetOperatingSystemVersion ¶

func (a *Client) GetOperatingSystemVersion(params *GetOperatingSystemVersionParams, opts ...ClientOption) (*GetOperatingSystemVersionOK, error)

GetOperatingSystemVersion Retrieve a single operating system version

func (*Client) GetOperatingSystemVersions ¶

func (a *Client) GetOperatingSystemVersions(params *GetOperatingSystemVersionsParams, opts ...ClientOption) (*GetOperatingSystemVersionsOK, error)

GetOperatingSystemVersions Retrieve all versions of this operating system

func (*Client) GetOperatingSystems ¶

func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, opts ...ClientOption) (*GetOperatingSystemsOK, error)

GetOperatingSystems Retrieve all operating systems

func (*Client) GetPatch ¶

func (a *Client) GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPatchOK, error)

GetPatch Retrieve a single patch

func (*Client) GetPatches ¶

func (a *Client) GetPatches(params *GetPatchesParams, opts ...ClientOption) (*GetPatchesOK, error)

GetPatches Retrieve all patches

func (*Client) GetPlatform ¶

func (a *Client) GetPlatform(params *GetPlatformParams, opts ...ClientOption) (*GetPlatformOK, error)

GetPlatform Retrieve a single platform

func (*Client) GetPlatforms ¶

func (a *Client) GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) (*GetPlatformsOK, error)

GetPlatforms Retrieve all platforms

func (*Client) GetSolutionRecipe ¶

func (a *Client) GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSolutionRecipeOK, error)

GetSolutionRecipe Retrieve a recipe produced as part of a solution

func (*Client) HealthCheck ¶

func (a *Client) HealthCheck(params *HealthCheckParams, opts ...ClientOption) (*HealthCheckOK, error)

HealthCheck health check API

func (*Client) NormalizeNames ¶

func (a *Client) NormalizeNames(params *NormalizeNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NormalizeNamesOK, error)

NormalizeNames Normalize a list of names according to the namespace's name normalization rules.

func (*Client) ReadinessCheck ¶

func (a *Client) ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOption) (*ReadinessCheckOK, error)

ReadinessCheck readiness check API

func (*Client) ResolveRecipes ¶

ResolveRecipes recipes for an order

Solve the order's requirements into concrete ingredient versions and return one or more recipes fulfilling the order

func (*Client) SearchIngredients ¶

func (a *Client) SearchIngredients(params *SearchIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchIngredientsOK, error)

SearchIngredients Search ingredients

func (*Client) SetTransport ¶

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

SetTransport changes the transport on the client

func (*Client) SolveOrder ¶

func (a *Client) SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolveOrderCreated, error)

SolveOrder Solve an order's requirements into a solution consisting of one or more recipes that can be built

func (*Client) UpdateAuthor ¶

func (a *Client) UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthorOK, error)

UpdateAuthor Update an author

func (*Client) UpdateBuildScript ¶

func (a *Client) UpdateBuildScript(params *UpdateBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildScriptOK, error)

UpdateBuildScript Update an existing build script (if it's not in use by any stable ingredient version revisions)

func (*Client) UpdateIngredient ¶

func (a *Client) UpdateIngredient(params *UpdateIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientOK, error)

UpdateIngredient Update this ingredient

func (*Client) UpdateIngredientVersion ¶

func (a *Client) UpdateIngredientVersion(params *UpdateIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientVersionOK, error)

UpdateIngredientVersion Update this ingredient version

func (*Client) UpdatePatch ¶

func (a *Client) UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePatchOK, error)

UpdatePatch Update an existing patch (if it's not in use by any stable ingredient version revisions)

func (*Client) UpdatePlatform ¶

func (a *Client) UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlatformOK, error)

UpdatePlatform Update the platform end of support date

func (*Client) ValidateRecipe ¶

func (a *Client) ValidateRecipe(params *ValidateRecipeParams, opts ...ClientOption) (*ValidateRecipeOK, error)

ValidateRecipe Given a single recipe, this endpoint tells you if the recipe is valid. If not, it returns one more errors explaining the problem(s).

type ClientOption ¶

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService ¶

type ClientService interface {
	AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAuthorCreated, error)

	AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagCreated, error)

	AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagRevisionOK, error)

	AddBuildScript(params *AddBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildScriptCreated, error)

	AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCreated, error)

	AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCPUExtensionOK, error)

	AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureRevisionOK, error)

	AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionCreated, error)

	AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionRevisionOK, error)

	AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureCreated, error)

	AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureRevisionOK, error)

	AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageCreated, error)

	AddImageRevision(params *AddImageRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageRevisionOK, error)

	AddIngredient(params *AddIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientCreated, error)

	AddIngredientAndVersions(params *AddIngredientAndVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientAndVersionsCreated, error)

	AddIngredientOptionSet(params *AddIngredientOptionSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetCreated, error)

	AddIngredientOptionSetRevision(params *AddIngredientOptionSetRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetRevisionOK, error)

	AddIngredientVersion(params *AddIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionCreated, error)

	AddIngredientVersionAuthor(params *AddIngredientVersionAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionAuthorOK, error)

	AddIngredientVersionRevision(params *AddIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionRevisionOK, error)

	AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCreated, error)

	AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCPUArchitectureOK, error)

	AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelGPUArchitectureOK, error)

	AddKernelVersion(params *AddKernelVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionCreated, error)

	AddKernelVersionRevision(params *AddKernelVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionRevisionOK, error)

	AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcCreated, error)

	AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionCreated, error)

	AddLibcVersionRevision(params *AddLibcVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionRevisionOK, error)

	AddNamespace(params *AddNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNamespaceCreated, error)

	AddOperatingSystem(params *AddOperatingSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemCreated, error)

	AddOperatingSystemKernel(params *AddOperatingSystemKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemKernelOK, error)

	AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemLibcOK, error)

	AddOperatingSystemVersion(params *AddOperatingSystemVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionCreated, error)

	AddOperatingSystemVersionRevision(params *AddOperatingSystemVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionRevisionOK, error)

	AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPatchCreated, error)

	AddPlatform(params *AddPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPlatformCreated, error)

	DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error)

	DeleteIngredientVersion(params *DeleteIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIngredientVersionNoContent, error)

	GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetAuthorOK, error)

	GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*GetAuthorsOK, error)

	GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) (*GetBuildFlagOK, error)

	GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption) (*GetBuildFlagsOK, error)

	GetBuildScript(params *GetBuildScriptParams, opts ...ClientOption) (*GetBuildScriptOK, error)

	GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOption) (*GetBuildScriptsOK, error)

	GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...ClientOption) (*GetCPUArchitectureOK, error)

	GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUExtensionsParams, opts ...ClientOption) (*GetCPUArchitectureCPUExtensionsOK, error)

	GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ...ClientOption) (*GetCPUArchitecturesOK, error)

	GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOption) (*GetCPUExtensionOK, error)

	GetCPUExtensions(params *GetCPUExtensionsParams, opts ...ClientOption) (*GetCPUExtensionsOK, error)

	GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...ClientOption) (*GetGPUArchitectureOK, error)

	GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ...ClientOption) (*GetGPUArchitecturesOK, error)

	GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error)

	GetImages(params *GetImagesParams, opts ...ClientOption) (*GetImagesOK, error)

	GetIngredient(params *GetIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOK, error)

	GetIngredientOptionSet(params *GetIngredientOptionSetParams, opts ...ClientOption) (*GetIngredientOptionSetOK, error)

	GetIngredientOptionSetIngredientVersions(params *GetIngredientOptionSetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOptionSetIngredientVersionsOK, error)

	GetIngredientOptionSets(params *GetIngredientOptionSetsParams, opts ...ClientOption) (*GetIngredientOptionSetsOK, error)

	GetIngredientVersion(params *GetIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionOK, error)

	GetIngredientVersionAuthors(params *GetIngredientVersionAuthorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionAuthorsOK, error)

	GetIngredientVersionBuildScripts(params *GetIngredientVersionBuildScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionBuildScriptsOK, error)

	GetIngredientVersionIngredientOptionSets(params *GetIngredientVersionIngredientOptionSetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionIngredientOptionSetsOK, error)

	GetIngredientVersionPatches(params *GetIngredientVersionPatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionPatchesOK, error)

	GetIngredientVersionRevision(params *GetIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionOK, error)

	GetIngredientVersionRevisions(params *GetIngredientVersionRevisionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionsOK, error)

	GetIngredientVersions(params *GetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionsOK, error)

	GetIngredients(params *GetIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientsOK, error)

	GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetKernelOK, error)

	GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesParams, opts ...ClientOption) (*GetKernelCPUArchitecturesOK, error)

	GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesParams, opts ...ClientOption) (*GetKernelGPUArchitecturesOK, error)

	GetKernelVersion(params *GetKernelVersionParams, opts ...ClientOption) (*GetKernelVersionOK, error)

	GetKernelVersions(params *GetKernelVersionsParams, opts ...ClientOption) (*GetKernelVersionsOK, error)

	GetKernels(params *GetKernelsParams, opts ...ClientOption) (*GetKernelsOK, error)

	GetLatestTimestamp(params *GetLatestTimestampParams, opts ...ClientOption) (*GetLatestTimestampOK, error)

	GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcOK, error)

	GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOption) (*GetLibcVersionOK, error)

	GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOption) (*GetLibcVersionsOK, error)

	GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLibcsOK, error)

	GetNamespaceIngredient(params *GetNamespaceIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientOK, error)

	GetNamespaceIngredientVersion(params *GetNamespaceIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionOK, error)

	GetNamespaceIngredientVersions(params *GetNamespaceIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionsOK, error)

	GetNamespaceIngredients(params *GetNamespaceIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientsOK, error)

	GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespacesOK, error)

	GetOperatingSystem(params *GetOperatingSystemParams, opts ...ClientOption) (*GetOperatingSystemOK, error)

	GetOperatingSystemKernels(params *GetOperatingSystemKernelsParams, opts ...ClientOption) (*GetOperatingSystemKernelsOK, error)

	GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, opts ...ClientOption) (*GetOperatingSystemLibcsOK, error)

	GetOperatingSystemVersion(params *GetOperatingSystemVersionParams, opts ...ClientOption) (*GetOperatingSystemVersionOK, error)

	GetOperatingSystemVersions(params *GetOperatingSystemVersionsParams, opts ...ClientOption) (*GetOperatingSystemVersionsOK, error)

	GetOperatingSystems(params *GetOperatingSystemsParams, opts ...ClientOption) (*GetOperatingSystemsOK, error)

	GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPatchOK, error)

	GetPatches(params *GetPatchesParams, opts ...ClientOption) (*GetPatchesOK, error)

	GetPlatform(params *GetPlatformParams, opts ...ClientOption) (*GetPlatformOK, error)

	GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) (*GetPlatformsOK, error)

	GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSolutionRecipeOK, error)

	HealthCheck(params *HealthCheckParams, opts ...ClientOption) (*HealthCheckOK, error)

	NormalizeNames(params *NormalizeNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NormalizeNamesOK, error)

	ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOption) (*ReadinessCheckOK, error)

	ResolveRecipes(params *ResolveRecipesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResolveRecipesOK, *ResolveRecipesAccepted, error)

	SearchIngredients(params *SearchIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchIngredientsOK, error)

	SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolveOrderCreated, error)

	UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthorOK, error)

	UpdateBuildScript(params *UpdateBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildScriptOK, error)

	UpdateIngredient(params *UpdateIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientOK, error)

	UpdateIngredientVersion(params *UpdateIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientVersionOK, error)

	UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePatchOK, error)

	UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlatformOK, error)

	ValidateRecipe(params *ValidateRecipeParams, opts ...ClientOption) (*ValidateRecipeOK, 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 inventory operations API client.

type DeleteImageDefault ¶

type DeleteImageDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
DeleteImageDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewDeleteImageDefault ¶

func NewDeleteImageDefault(code int) *DeleteImageDefault

NewDeleteImageDefault creates a DeleteImageDefault with default headers values

func (*DeleteImageDefault) Code ¶

func (o *DeleteImageDefault) Code() int

Code gets the status code for the delete image default response

func (*DeleteImageDefault) Error ¶

func (o *DeleteImageDefault) Error() string

func (*DeleteImageDefault) GetPayload ¶

type DeleteImageNoContent ¶

type DeleteImageNoContent struct {
}
DeleteImageNoContent describes a response with status code 204, with default header values.

The image has been deleted

func NewDeleteImageNoContent ¶

func NewDeleteImageNoContent() *DeleteImageNoContent

NewDeleteImageNoContent creates a DeleteImageNoContent with default headers values

func (*DeleteImageNoContent) Error ¶

func (o *DeleteImageNoContent) Error() string

type DeleteImageParams ¶

type DeleteImageParams struct {

	// Comment.
	Comment string

	// ImageID.
	//
	// Format: uuid
	ImageID strfmt.UUID

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

DeleteImageParams contains all the parameters to send to the API endpoint

for the delete image operation.

Typically these are written to a http.Request.

func NewDeleteImageParams ¶

func NewDeleteImageParams() *DeleteImageParams

NewDeleteImageParams creates a new DeleteImageParams 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 NewDeleteImageParamsWithContext ¶

func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams

NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the ability to set a context for a request.

func NewDeleteImageParamsWithHTTPClient ¶

func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams

NewDeleteImageParamsWithHTTPClient creates a new DeleteImageParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteImageParamsWithTimeout ¶

func NewDeleteImageParamsWithTimeout(timeout time.Duration) *DeleteImageParams

NewDeleteImageParamsWithTimeout creates a new DeleteImageParams object with the ability to set a timeout on a request.

func (*DeleteImageParams) SetComment ¶

func (o *DeleteImageParams) SetComment(comment string)

SetComment adds the comment to the delete image params

func (*DeleteImageParams) SetContext ¶

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

SetContext adds the context to the delete image params

func (*DeleteImageParams) SetDefaults ¶

func (o *DeleteImageParams) SetDefaults()

SetDefaults hydrates default values in the delete image params (not the query body).

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

func (*DeleteImageParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) SetImageID ¶

func (o *DeleteImageParams) SetImageID(imageID strfmt.UUID)

SetImageID adds the imageId to the delete image params

func (*DeleteImageParams) SetTimeout ¶

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

SetTimeout adds the timeout to the delete image params

func (*DeleteImageParams) WithComment ¶

func (o *DeleteImageParams) WithComment(comment string) *DeleteImageParams

WithComment adds the comment to the delete image params

func (*DeleteImageParams) WithContext ¶

func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams

WithContext adds the context to the delete image params

func (*DeleteImageParams) WithDefaults ¶

func (o *DeleteImageParams) WithDefaults() *DeleteImageParams

WithDefaults hydrates default values in the delete image params (not the query body).

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

func (*DeleteImageParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) WithImageID ¶

func (o *DeleteImageParams) WithImageID(imageID strfmt.UUID) *DeleteImageParams

WithImageID adds the imageID to the delete image params

func (*DeleteImageParams) WithTimeout ¶

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

WithTimeout adds the timeout to the delete image params

func (*DeleteImageParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type DeleteImageReader ¶

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

DeleteImageReader is a Reader for the DeleteImage structure.

func (*DeleteImageReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteIngredientVersionDefault ¶

type DeleteIngredientVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
DeleteIngredientVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewDeleteIngredientVersionDefault ¶

func NewDeleteIngredientVersionDefault(code int) *DeleteIngredientVersionDefault

NewDeleteIngredientVersionDefault creates a DeleteIngredientVersionDefault with default headers values

func (*DeleteIngredientVersionDefault) Code ¶

Code gets the status code for the delete ingredient version default response

func (*DeleteIngredientVersionDefault) Error ¶

func (*DeleteIngredientVersionDefault) GetPayload ¶

type DeleteIngredientVersionNoContent ¶

type DeleteIngredientVersionNoContent struct {
}
DeleteIngredientVersionNoContent describes a response with status code 204, with default header values.

The ingredient version has been deleted

func NewDeleteIngredientVersionNoContent ¶

func NewDeleteIngredientVersionNoContent() *DeleteIngredientVersionNoContent

NewDeleteIngredientVersionNoContent creates a DeleteIngredientVersionNoContent with default headers values

func (*DeleteIngredientVersionNoContent) Error ¶

type DeleteIngredientVersionParams ¶

type DeleteIngredientVersionParams struct {

	// Comment.
	Comment string

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

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

DeleteIngredientVersionParams contains all the parameters to send to the API endpoint

for the delete ingredient version operation.

Typically these are written to a http.Request.

func NewDeleteIngredientVersionParams ¶

func NewDeleteIngredientVersionParams() *DeleteIngredientVersionParams

NewDeleteIngredientVersionParams creates a new DeleteIngredientVersionParams 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 NewDeleteIngredientVersionParamsWithContext ¶

func NewDeleteIngredientVersionParamsWithContext(ctx context.Context) *DeleteIngredientVersionParams

NewDeleteIngredientVersionParamsWithContext creates a new DeleteIngredientVersionParams object with the ability to set a context for a request.

func NewDeleteIngredientVersionParamsWithHTTPClient ¶

func NewDeleteIngredientVersionParamsWithHTTPClient(client *http.Client) *DeleteIngredientVersionParams

NewDeleteIngredientVersionParamsWithHTTPClient creates a new DeleteIngredientVersionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIngredientVersionParamsWithTimeout ¶

func NewDeleteIngredientVersionParamsWithTimeout(timeout time.Duration) *DeleteIngredientVersionParams

NewDeleteIngredientVersionParamsWithTimeout creates a new DeleteIngredientVersionParams object with the ability to set a timeout on a request.

func (*DeleteIngredientVersionParams) SetComment ¶

func (o *DeleteIngredientVersionParams) SetComment(comment string)

SetComment adds the comment to the delete ingredient version params

func (*DeleteIngredientVersionParams) SetContext ¶

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

SetContext adds the context to the delete ingredient version params

func (*DeleteIngredientVersionParams) SetDefaults ¶

func (o *DeleteIngredientVersionParams) SetDefaults()

SetDefaults hydrates default values in the delete ingredient version params (not the query body).

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

func (*DeleteIngredientVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete ingredient version params

func (*DeleteIngredientVersionParams) SetIngredientID ¶

func (o *DeleteIngredientVersionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the delete ingredient version params

func (*DeleteIngredientVersionParams) SetIngredientVersionID ¶

func (o *DeleteIngredientVersionParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the delete ingredient version params

func (*DeleteIngredientVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithComment ¶

WithComment adds the comment to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithContext ¶

WithContext adds the context to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the delete ingredient version params (not the query body).

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

func (*DeleteIngredientVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithIngredientID ¶

func (o *DeleteIngredientVersionParams) WithIngredientID(ingredientID strfmt.UUID) *DeleteIngredientVersionParams

WithIngredientID adds the ingredientID to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithIngredientVersionID ¶

func (o *DeleteIngredientVersionParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *DeleteIngredientVersionParams

WithIngredientVersionID adds the ingredientVersionID to the delete ingredient version params

func (*DeleteIngredientVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the delete ingredient version params

func (*DeleteIngredientVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteIngredientVersionReader ¶

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

DeleteIngredientVersionReader is a Reader for the DeleteIngredientVersion structure.

func (*DeleteIngredientVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetAuthorDefault ¶

type GetAuthorDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetAuthorDefault describes a response with status code -1, with default header values.

generic error response

func NewGetAuthorDefault ¶

func NewGetAuthorDefault(code int) *GetAuthorDefault

NewGetAuthorDefault creates a GetAuthorDefault with default headers values

func (*GetAuthorDefault) Code ¶

func (o *GetAuthorDefault) Code() int

Code gets the status code for the get author default response

func (*GetAuthorDefault) Error ¶

func (o *GetAuthorDefault) Error() string

func (*GetAuthorDefault) GetPayload ¶

type GetAuthorOK ¶

type GetAuthorOK struct {
	Payload *inventory_models.Author
}
GetAuthorOK describes a response with status code 200, with default header values.

Retrieve the author

func NewGetAuthorOK ¶

func NewGetAuthorOK() *GetAuthorOK

NewGetAuthorOK creates a GetAuthorOK with default headers values

func (*GetAuthorOK) Error ¶

func (o *GetAuthorOK) Error() string

func (*GetAuthorOK) GetPayload ¶

func (o *GetAuthorOK) GetPayload() *inventory_models.Author

type GetAuthorParams ¶

type GetAuthorParams struct {

	// AuthorIDOrEmail.
	AuthorIDOrEmail string

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

GetAuthorParams contains all the parameters to send to the API endpoint

for the get author operation.

Typically these are written to a http.Request.

func NewGetAuthorParams ¶

func NewGetAuthorParams() *GetAuthorParams

NewGetAuthorParams creates a new GetAuthorParams 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 NewGetAuthorParamsWithContext ¶

func NewGetAuthorParamsWithContext(ctx context.Context) *GetAuthorParams

NewGetAuthorParamsWithContext creates a new GetAuthorParams object with the ability to set a context for a request.

func NewGetAuthorParamsWithHTTPClient ¶

func NewGetAuthorParamsWithHTTPClient(client *http.Client) *GetAuthorParams

NewGetAuthorParamsWithHTTPClient creates a new GetAuthorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuthorParamsWithTimeout ¶

func NewGetAuthorParamsWithTimeout(timeout time.Duration) *GetAuthorParams

NewGetAuthorParamsWithTimeout creates a new GetAuthorParams object with the ability to set a timeout on a request.

func (*GetAuthorParams) SetAuthorIDOrEmail ¶

func (o *GetAuthorParams) SetAuthorIDOrEmail(authorIDOrEmail string)

SetAuthorIDOrEmail adds the authorIdOrEmail to the get author params

func (*GetAuthorParams) SetContext ¶

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

SetContext adds the context to the get author params

func (*GetAuthorParams) SetDefaults ¶

func (o *GetAuthorParams) SetDefaults()

SetDefaults hydrates default values in the get author params (not the query body).

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

func (*GetAuthorParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get author params

func (*GetAuthorParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get author params

func (*GetAuthorParams) WithAuthorIDOrEmail ¶

func (o *GetAuthorParams) WithAuthorIDOrEmail(authorIDOrEmail string) *GetAuthorParams

WithAuthorIDOrEmail adds the authorIDOrEmail to the get author params

func (*GetAuthorParams) WithContext ¶

func (o *GetAuthorParams) WithContext(ctx context.Context) *GetAuthorParams

WithContext adds the context to the get author params

func (*GetAuthorParams) WithDefaults ¶

func (o *GetAuthorParams) WithDefaults() *GetAuthorParams

WithDefaults hydrates default values in the get author params (not the query body).

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

func (*GetAuthorParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get author params

func (*GetAuthorParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get author params

func (*GetAuthorParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetAuthorReader ¶

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

GetAuthorReader is a Reader for the GetAuthor structure.

func (*GetAuthorReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetAuthorsDefault ¶

type GetAuthorsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetAuthorsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetAuthorsDefault ¶

func NewGetAuthorsDefault(code int) *GetAuthorsDefault

NewGetAuthorsDefault creates a GetAuthorsDefault with default headers values

func (*GetAuthorsDefault) Code ¶

func (o *GetAuthorsDefault) Code() int

Code gets the status code for the get authors default response

func (*GetAuthorsDefault) Error ¶

func (o *GetAuthorsDefault) Error() string

func (*GetAuthorsDefault) GetPayload ¶

type GetAuthorsOK ¶

type GetAuthorsOK struct {
	Payload *inventory_models.AuthorPagedList
}
GetAuthorsOK describes a response with status code 200, with default header values.

A paginated list of authors

func NewGetAuthorsOK ¶

func NewGetAuthorsOK() *GetAuthorsOK

NewGetAuthorsOK creates a GetAuthorsOK with default headers values

func (*GetAuthorsOK) Error ¶

func (o *GetAuthorsOK) Error() string

func (*GetAuthorsOK) GetPayload ¶

type GetAuthorsParams ¶

type GetAuthorsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetAuthorsParams contains all the parameters to send to the API endpoint

for the get authors operation.

Typically these are written to a http.Request.

func NewGetAuthorsParams ¶

func NewGetAuthorsParams() *GetAuthorsParams

NewGetAuthorsParams creates a new GetAuthorsParams 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 NewGetAuthorsParamsWithContext ¶

func NewGetAuthorsParamsWithContext(ctx context.Context) *GetAuthorsParams

NewGetAuthorsParamsWithContext creates a new GetAuthorsParams object with the ability to set a context for a request.

func NewGetAuthorsParamsWithHTTPClient ¶

func NewGetAuthorsParamsWithHTTPClient(client *http.Client) *GetAuthorsParams

NewGetAuthorsParamsWithHTTPClient creates a new GetAuthorsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuthorsParamsWithTimeout ¶

func NewGetAuthorsParamsWithTimeout(timeout time.Duration) *GetAuthorsParams

NewGetAuthorsParamsWithTimeout creates a new GetAuthorsParams object with the ability to set a timeout on a request.

func (*GetAuthorsParams) SetContext ¶

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

SetContext adds the context to the get authors params

func (*GetAuthorsParams) SetDefaults ¶

func (o *GetAuthorsParams) SetDefaults()

SetDefaults hydrates default values in the get authors params (not the query body).

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

func (*GetAuthorsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get authors params

func (*GetAuthorsParams) SetLimit ¶

func (o *GetAuthorsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get authors params

func (*GetAuthorsParams) SetPage ¶

func (o *GetAuthorsParams) SetPage(page *int64)

SetPage adds the page to the get authors params

func (*GetAuthorsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get authors params

func (*GetAuthorsParams) WithContext ¶

func (o *GetAuthorsParams) WithContext(ctx context.Context) *GetAuthorsParams

WithContext adds the context to the get authors params

func (*GetAuthorsParams) WithDefaults ¶

func (o *GetAuthorsParams) WithDefaults() *GetAuthorsParams

WithDefaults hydrates default values in the get authors params (not the query body).

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

func (*GetAuthorsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get authors params

func (*GetAuthorsParams) WithLimit ¶

func (o *GetAuthorsParams) WithLimit(limit *int64) *GetAuthorsParams

WithLimit adds the limit to the get authors params

func (*GetAuthorsParams) WithPage ¶

func (o *GetAuthorsParams) WithPage(page *int64) *GetAuthorsParams

WithPage adds the page to the get authors params

func (*GetAuthorsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get authors params

func (*GetAuthorsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetAuthorsReader ¶

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

GetAuthorsReader is a Reader for the GetAuthors structure.

func (*GetAuthorsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetBuildFlagDefault ¶

type GetBuildFlagDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetBuildFlagDefault describes a response with status code -1, with default header values.

generic error response

func NewGetBuildFlagDefault ¶

func NewGetBuildFlagDefault(code int) *GetBuildFlagDefault

NewGetBuildFlagDefault creates a GetBuildFlagDefault with default headers values

func (*GetBuildFlagDefault) Code ¶

func (o *GetBuildFlagDefault) Code() int

Code gets the status code for the get build flag default response

func (*GetBuildFlagDefault) Error ¶

func (o *GetBuildFlagDefault) Error() string

func (*GetBuildFlagDefault) GetPayload ¶

type GetBuildFlagOK ¶

type GetBuildFlagOK struct {
	Payload *inventory_models.BuildFlag
}
GetBuildFlagOK describes a response with status code 200, with default header values.

Retrieve the build flag

func NewGetBuildFlagOK ¶

func NewGetBuildFlagOK() *GetBuildFlagOK

NewGetBuildFlagOK creates a GetBuildFlagOK with default headers values

func (*GetBuildFlagOK) Error ¶

func (o *GetBuildFlagOK) Error() string

func (*GetBuildFlagOK) GetPayload ¶

func (o *GetBuildFlagOK) GetPayload() *inventory_models.BuildFlag

type GetBuildFlagParams ¶

type GetBuildFlagParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// BuildFlagID.
	//
	// Format: uuid
	BuildFlagID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetBuildFlagParams contains all the parameters to send to the API endpoint

for the get build flag operation.

Typically these are written to a http.Request.

func NewGetBuildFlagParams ¶

func NewGetBuildFlagParams() *GetBuildFlagParams

NewGetBuildFlagParams creates a new GetBuildFlagParams 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 NewGetBuildFlagParamsWithContext ¶

func NewGetBuildFlagParamsWithContext(ctx context.Context) *GetBuildFlagParams

NewGetBuildFlagParamsWithContext creates a new GetBuildFlagParams object with the ability to set a context for a request.

func NewGetBuildFlagParamsWithHTTPClient ¶

func NewGetBuildFlagParamsWithHTTPClient(client *http.Client) *GetBuildFlagParams

NewGetBuildFlagParamsWithHTTPClient creates a new GetBuildFlagParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildFlagParamsWithTimeout ¶

func NewGetBuildFlagParamsWithTimeout(timeout time.Duration) *GetBuildFlagParams

NewGetBuildFlagParamsWithTimeout creates a new GetBuildFlagParams object with the ability to set a timeout on a request.

func (*GetBuildFlagParams) SetAllowUnstable ¶

func (o *GetBuildFlagParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get build flag params

func (*GetBuildFlagParams) SetBuildFlagID ¶

func (o *GetBuildFlagParams) SetBuildFlagID(buildFlagID strfmt.UUID)

SetBuildFlagID adds the buildFlagId to the get build flag params

func (*GetBuildFlagParams) SetContext ¶

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

SetContext adds the context to the get build flag params

func (*GetBuildFlagParams) SetDefaults ¶

func (o *GetBuildFlagParams) SetDefaults()

SetDefaults hydrates default values in the get build flag params (not the query body).

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

func (*GetBuildFlagParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get build flag params

func (*GetBuildFlagParams) SetStateAt ¶

func (o *GetBuildFlagParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get build flag params

func (*GetBuildFlagParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get build flag params

func (*GetBuildFlagParams) WithAllowUnstable ¶

func (o *GetBuildFlagParams) WithAllowUnstable(allowUnstable *bool) *GetBuildFlagParams

WithAllowUnstable adds the allowUnstable to the get build flag params

func (*GetBuildFlagParams) WithBuildFlagID ¶

func (o *GetBuildFlagParams) WithBuildFlagID(buildFlagID strfmt.UUID) *GetBuildFlagParams

WithBuildFlagID adds the buildFlagID to the get build flag params

func (*GetBuildFlagParams) WithContext ¶

WithContext adds the context to the get build flag params

func (*GetBuildFlagParams) WithDefaults ¶

func (o *GetBuildFlagParams) WithDefaults() *GetBuildFlagParams

WithDefaults hydrates default values in the get build flag params (not the query body).

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

func (*GetBuildFlagParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get build flag params

func (*GetBuildFlagParams) WithStateAt ¶

func (o *GetBuildFlagParams) WithStateAt(stateAt *strfmt.DateTime) *GetBuildFlagParams

WithStateAt adds the stateAt to the get build flag params

func (*GetBuildFlagParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get build flag params

func (*GetBuildFlagParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetBuildFlagReader ¶

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

GetBuildFlagReader is a Reader for the GetBuildFlag structure.

func (*GetBuildFlagReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetBuildFlagsDefault ¶

type GetBuildFlagsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetBuildFlagsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetBuildFlagsDefault ¶

func NewGetBuildFlagsDefault(code int) *GetBuildFlagsDefault

NewGetBuildFlagsDefault creates a GetBuildFlagsDefault with default headers values

func (*GetBuildFlagsDefault) Code ¶

func (o *GetBuildFlagsDefault) Code() int

Code gets the status code for the get build flags default response

func (*GetBuildFlagsDefault) Error ¶

func (o *GetBuildFlagsDefault) Error() string

func (*GetBuildFlagsDefault) GetPayload ¶

type GetBuildFlagsOK ¶

type GetBuildFlagsOK struct {
	Payload *inventory_models.BuildFlagPagedList
}
GetBuildFlagsOK describes a response with status code 200, with default header values.

A paginated list of build flags

func NewGetBuildFlagsOK ¶

func NewGetBuildFlagsOK() *GetBuildFlagsOK

NewGetBuildFlagsOK creates a GetBuildFlagsOK with default headers values

func (*GetBuildFlagsOK) Error ¶

func (o *GetBuildFlagsOK) Error() string

func (*GetBuildFlagsOK) GetPayload ¶

type GetBuildFlagsParams ¶

type GetBuildFlagsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetBuildFlagsParams contains all the parameters to send to the API endpoint

for the get build flags operation.

Typically these are written to a http.Request.

func NewGetBuildFlagsParams ¶

func NewGetBuildFlagsParams() *GetBuildFlagsParams

NewGetBuildFlagsParams creates a new GetBuildFlagsParams 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 NewGetBuildFlagsParamsWithContext ¶

func NewGetBuildFlagsParamsWithContext(ctx context.Context) *GetBuildFlagsParams

NewGetBuildFlagsParamsWithContext creates a new GetBuildFlagsParams object with the ability to set a context for a request.

func NewGetBuildFlagsParamsWithHTTPClient ¶

func NewGetBuildFlagsParamsWithHTTPClient(client *http.Client) *GetBuildFlagsParams

NewGetBuildFlagsParamsWithHTTPClient creates a new GetBuildFlagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildFlagsParamsWithTimeout ¶

func NewGetBuildFlagsParamsWithTimeout(timeout time.Duration) *GetBuildFlagsParams

NewGetBuildFlagsParamsWithTimeout creates a new GetBuildFlagsParams object with the ability to set a timeout on a request.

func (*GetBuildFlagsParams) SetAllowUnstable ¶

func (o *GetBuildFlagsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get build flags params

func (*GetBuildFlagsParams) SetContext ¶

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

SetContext adds the context to the get build flags params

func (*GetBuildFlagsParams) SetDefaults ¶

func (o *GetBuildFlagsParams) SetDefaults()

SetDefaults hydrates default values in the get build flags params (not the query body).

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

func (*GetBuildFlagsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get build flags params

func (*GetBuildFlagsParams) SetLimit ¶

func (o *GetBuildFlagsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get build flags params

func (*GetBuildFlagsParams) SetPage ¶

func (o *GetBuildFlagsParams) SetPage(page *int64)

SetPage adds the page to the get build flags params

func (*GetBuildFlagsParams) SetStateAt ¶

func (o *GetBuildFlagsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get build flags params

func (*GetBuildFlagsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get build flags params

func (*GetBuildFlagsParams) WithAllowUnstable ¶

func (o *GetBuildFlagsParams) WithAllowUnstable(allowUnstable *bool) *GetBuildFlagsParams

WithAllowUnstable adds the allowUnstable to the get build flags params

func (*GetBuildFlagsParams) WithContext ¶

WithContext adds the context to the get build flags params

func (*GetBuildFlagsParams) WithDefaults ¶

func (o *GetBuildFlagsParams) WithDefaults() *GetBuildFlagsParams

WithDefaults hydrates default values in the get build flags params (not the query body).

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

func (*GetBuildFlagsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get build flags params

func (*GetBuildFlagsParams) WithLimit ¶

func (o *GetBuildFlagsParams) WithLimit(limit *int64) *GetBuildFlagsParams

WithLimit adds the limit to the get build flags params

func (*GetBuildFlagsParams) WithPage ¶

func (o *GetBuildFlagsParams) WithPage(page *int64) *GetBuildFlagsParams

WithPage adds the page to the get build flags params

func (*GetBuildFlagsParams) WithStateAt ¶

func (o *GetBuildFlagsParams) WithStateAt(stateAt *strfmt.DateTime) *GetBuildFlagsParams

WithStateAt adds the stateAt to the get build flags params

func (*GetBuildFlagsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get build flags params

func (*GetBuildFlagsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetBuildFlagsReader ¶

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

GetBuildFlagsReader is a Reader for the GetBuildFlags structure.

func (*GetBuildFlagsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetBuildScriptDefault ¶

type GetBuildScriptDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetBuildScriptDefault describes a response with status code -1, with default header values.

generic error response

func NewGetBuildScriptDefault ¶

func NewGetBuildScriptDefault(code int) *GetBuildScriptDefault

NewGetBuildScriptDefault creates a GetBuildScriptDefault with default headers values

func (*GetBuildScriptDefault) Code ¶

func (o *GetBuildScriptDefault) Code() int

Code gets the status code for the get build script default response

func (*GetBuildScriptDefault) Error ¶

func (o *GetBuildScriptDefault) Error() string

func (*GetBuildScriptDefault) GetPayload ¶

type GetBuildScriptOK ¶

type GetBuildScriptOK struct {
	Payload *inventory_models.BuildScript
}
GetBuildScriptOK describes a response with status code 200, with default header values.

The retrieved build script

func NewGetBuildScriptOK ¶

func NewGetBuildScriptOK() *GetBuildScriptOK

NewGetBuildScriptOK creates a GetBuildScriptOK with default headers values

func (*GetBuildScriptOK) Error ¶

func (o *GetBuildScriptOK) Error() string

func (*GetBuildScriptOK) GetPayload ¶

type GetBuildScriptParams ¶

type GetBuildScriptParams struct {

	// BuildScriptID.
	//
	// Format: uuid
	BuildScriptID strfmt.UUID

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

GetBuildScriptParams contains all the parameters to send to the API endpoint

for the get build script operation.

Typically these are written to a http.Request.

func NewGetBuildScriptParams ¶

func NewGetBuildScriptParams() *GetBuildScriptParams

NewGetBuildScriptParams creates a new GetBuildScriptParams 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 NewGetBuildScriptParamsWithContext ¶

func NewGetBuildScriptParamsWithContext(ctx context.Context) *GetBuildScriptParams

NewGetBuildScriptParamsWithContext creates a new GetBuildScriptParams object with the ability to set a context for a request.

func NewGetBuildScriptParamsWithHTTPClient ¶

func NewGetBuildScriptParamsWithHTTPClient(client *http.Client) *GetBuildScriptParams

NewGetBuildScriptParamsWithHTTPClient creates a new GetBuildScriptParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildScriptParamsWithTimeout ¶

func NewGetBuildScriptParamsWithTimeout(timeout time.Duration) *GetBuildScriptParams

NewGetBuildScriptParamsWithTimeout creates a new GetBuildScriptParams object with the ability to set a timeout on a request.

func (*GetBuildScriptParams) SetBuildScriptID ¶

func (o *GetBuildScriptParams) SetBuildScriptID(buildScriptID strfmt.UUID)

SetBuildScriptID adds the buildScriptId to the get build script params

func (*GetBuildScriptParams) SetContext ¶

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

SetContext adds the context to the get build script params

func (*GetBuildScriptParams) SetDefaults ¶

func (o *GetBuildScriptParams) SetDefaults()

SetDefaults hydrates default values in the get build script params (not the query body).

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

func (*GetBuildScriptParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get build script params

func (*GetBuildScriptParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get build script params

func (*GetBuildScriptParams) WithBuildScriptID ¶

func (o *GetBuildScriptParams) WithBuildScriptID(buildScriptID strfmt.UUID) *GetBuildScriptParams

WithBuildScriptID adds the buildScriptID to the get build script params

func (*GetBuildScriptParams) WithContext ¶

WithContext adds the context to the get build script params

func (*GetBuildScriptParams) WithDefaults ¶

func (o *GetBuildScriptParams) WithDefaults() *GetBuildScriptParams

WithDefaults hydrates default values in the get build script params (not the query body).

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

func (*GetBuildScriptParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get build script params

func (*GetBuildScriptParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get build script params

func (*GetBuildScriptParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetBuildScriptReader ¶

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

GetBuildScriptReader is a Reader for the GetBuildScript structure.

func (*GetBuildScriptReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetBuildScriptsDefault ¶

type GetBuildScriptsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetBuildScriptsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetBuildScriptsDefault ¶

func NewGetBuildScriptsDefault(code int) *GetBuildScriptsDefault

NewGetBuildScriptsDefault creates a GetBuildScriptsDefault with default headers values

func (*GetBuildScriptsDefault) Code ¶

func (o *GetBuildScriptsDefault) Code() int

Code gets the status code for the get build scripts default response

func (*GetBuildScriptsDefault) Error ¶

func (o *GetBuildScriptsDefault) Error() string

func (*GetBuildScriptsDefault) GetPayload ¶

type GetBuildScriptsOK ¶

type GetBuildScriptsOK struct {
	Payload *inventory_models.BuildScriptPagedList
}
GetBuildScriptsOK describes a response with status code 200, with default header values.

A paginated list of build scripts

func NewGetBuildScriptsOK ¶

func NewGetBuildScriptsOK() *GetBuildScriptsOK

NewGetBuildScriptsOK creates a GetBuildScriptsOK with default headers values

func (*GetBuildScriptsOK) Error ¶

func (o *GetBuildScriptsOK) Error() string

func (*GetBuildScriptsOK) GetPayload ¶

type GetBuildScriptsParams ¶

type GetBuildScriptsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetBuildScriptsParams contains all the parameters to send to the API endpoint

for the get build scripts operation.

Typically these are written to a http.Request.

func NewGetBuildScriptsParams ¶

func NewGetBuildScriptsParams() *GetBuildScriptsParams

NewGetBuildScriptsParams creates a new GetBuildScriptsParams 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 NewGetBuildScriptsParamsWithContext ¶

func NewGetBuildScriptsParamsWithContext(ctx context.Context) *GetBuildScriptsParams

NewGetBuildScriptsParamsWithContext creates a new GetBuildScriptsParams object with the ability to set a context for a request.

func NewGetBuildScriptsParamsWithHTTPClient ¶

func NewGetBuildScriptsParamsWithHTTPClient(client *http.Client) *GetBuildScriptsParams

NewGetBuildScriptsParamsWithHTTPClient creates a new GetBuildScriptsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBuildScriptsParamsWithTimeout ¶

func NewGetBuildScriptsParamsWithTimeout(timeout time.Duration) *GetBuildScriptsParams

NewGetBuildScriptsParamsWithTimeout creates a new GetBuildScriptsParams object with the ability to set a timeout on a request.

func (*GetBuildScriptsParams) SetContext ¶

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

SetContext adds the context to the get build scripts params

func (*GetBuildScriptsParams) SetDefaults ¶

func (o *GetBuildScriptsParams) SetDefaults()

SetDefaults hydrates default values in the get build scripts params (not the query body).

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

func (*GetBuildScriptsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get build scripts params

func (*GetBuildScriptsParams) SetLimit ¶

func (o *GetBuildScriptsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get build scripts params

func (*GetBuildScriptsParams) SetPage ¶

func (o *GetBuildScriptsParams) SetPage(page *int64)

SetPage adds the page to the get build scripts params

func (*GetBuildScriptsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get build scripts params

func (*GetBuildScriptsParams) WithContext ¶

WithContext adds the context to the get build scripts params

func (*GetBuildScriptsParams) WithDefaults ¶

func (o *GetBuildScriptsParams) WithDefaults() *GetBuildScriptsParams

WithDefaults hydrates default values in the get build scripts params (not the query body).

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

func (*GetBuildScriptsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get build scripts params

func (*GetBuildScriptsParams) WithLimit ¶

func (o *GetBuildScriptsParams) WithLimit(limit *int64) *GetBuildScriptsParams

WithLimit adds the limit to the get build scripts params

func (*GetBuildScriptsParams) WithPage ¶

WithPage adds the page to the get build scripts params

func (*GetBuildScriptsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get build scripts params

func (*GetBuildScriptsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetBuildScriptsReader ¶

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

GetBuildScriptsReader is a Reader for the GetBuildScripts structure.

func (*GetBuildScriptsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetCPUArchitectureCPUExtensionsDefault ¶

type GetCPUArchitectureCPUExtensionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetCPUArchitectureCPUExtensionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetCPUArchitectureCPUExtensionsDefault ¶

func NewGetCPUArchitectureCPUExtensionsDefault(code int) *GetCPUArchitectureCPUExtensionsDefault

NewGetCPUArchitectureCPUExtensionsDefault creates a GetCPUArchitectureCPUExtensionsDefault with default headers values

func (*GetCPUArchitectureCPUExtensionsDefault) Code ¶

Code gets the status code for the get Cpu architecture Cpu extensions default response

func (*GetCPUArchitectureCPUExtensionsDefault) Error ¶

func (*GetCPUArchitectureCPUExtensionsDefault) GetPayload ¶

type GetCPUArchitectureCPUExtensionsOK ¶

type GetCPUArchitectureCPUExtensionsOK struct {
	Payload *inventory_models.CPUExtensionPagedList
}
GetCPUArchitectureCPUExtensionsOK describes a response with status code 200, with default header values.

A paginated list of CPU extensions

func NewGetCPUArchitectureCPUExtensionsOK ¶

func NewGetCPUArchitectureCPUExtensionsOK() *GetCPUArchitectureCPUExtensionsOK

NewGetCPUArchitectureCPUExtensionsOK creates a GetCPUArchitectureCPUExtensionsOK with default headers values

func (*GetCPUArchitectureCPUExtensionsOK) Error ¶

func (*GetCPUArchitectureCPUExtensionsOK) GetPayload ¶

type GetCPUArchitectureCPUExtensionsParams ¶

type GetCPUArchitectureCPUExtensionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// CPUArchitectureID.
	//
	// Format: uuid
	CPUArchitectureID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetCPUArchitectureCPUExtensionsParams contains all the parameters to send to the API endpoint

for the get Cpu architecture Cpu extensions operation.

Typically these are written to a http.Request.

func NewGetCPUArchitectureCPUExtensionsParams ¶

func NewGetCPUArchitectureCPUExtensionsParams() *GetCPUArchitectureCPUExtensionsParams

NewGetCPUArchitectureCPUExtensionsParams creates a new GetCPUArchitectureCPUExtensionsParams 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 NewGetCPUArchitectureCPUExtensionsParamsWithContext ¶

func NewGetCPUArchitectureCPUExtensionsParamsWithContext(ctx context.Context) *GetCPUArchitectureCPUExtensionsParams

NewGetCPUArchitectureCPUExtensionsParamsWithContext creates a new GetCPUArchitectureCPUExtensionsParams object with the ability to set a context for a request.

func NewGetCPUArchitectureCPUExtensionsParamsWithHTTPClient ¶

func NewGetCPUArchitectureCPUExtensionsParamsWithHTTPClient(client *http.Client) *GetCPUArchitectureCPUExtensionsParams

NewGetCPUArchitectureCPUExtensionsParamsWithHTTPClient creates a new GetCPUArchitectureCPUExtensionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCPUArchitectureCPUExtensionsParamsWithTimeout ¶

func NewGetCPUArchitectureCPUExtensionsParamsWithTimeout(timeout time.Duration) *GetCPUArchitectureCPUExtensionsParams

NewGetCPUArchitectureCPUExtensionsParamsWithTimeout creates a new GetCPUArchitectureCPUExtensionsParams object with the ability to set a timeout on a request.

func (*GetCPUArchitectureCPUExtensionsParams) SetAllowUnstable ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetCPUArchitectureID ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetCPUArchitectureID(cPUArchitectureID strfmt.UUID)

SetCPUArchitectureID adds the cpuArchitectureId to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetContext ¶

SetContext adds the context to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetDefaults ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetDefaults()

SetDefaults hydrates default values in the get Cpu architecture Cpu extensions params (not the query body).

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

func (*GetCPUArchitectureCPUExtensionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetLimit ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetPage ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetPage(page *int64)

SetPage adds the page to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetStateAt ¶

func (o *GetCPUArchitectureCPUExtensionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithCPUArchitectureID ¶

func (o *GetCPUArchitectureCPUExtensionsParams) WithCPUArchitectureID(cPUArchitectureID strfmt.UUID) *GetCPUArchitectureCPUExtensionsParams

WithCPUArchitectureID adds the cPUArchitectureID to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithContext ¶

WithContext adds the context to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get Cpu architecture Cpu extensions params (not the query body).

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

func (*GetCPUArchitectureCPUExtensionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithLimit ¶

WithLimit adds the limit to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithPage ¶

WithPage adds the page to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get Cpu architecture Cpu extensions params

func (*GetCPUArchitectureCPUExtensionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetCPUArchitectureCPUExtensionsReader ¶

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

GetCPUArchitectureCPUExtensionsReader is a Reader for the GetCPUArchitectureCPUExtensions structure.

func (*GetCPUArchitectureCPUExtensionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetCPUArchitectureDefault ¶

type GetCPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetCPUArchitectureDefault describes a response with status code -1, with default header values.

generic error response

func NewGetCPUArchitectureDefault ¶

func NewGetCPUArchitectureDefault(code int) *GetCPUArchitectureDefault

NewGetCPUArchitectureDefault creates a GetCPUArchitectureDefault with default headers values

func (*GetCPUArchitectureDefault) Code ¶

func (o *GetCPUArchitectureDefault) Code() int

Code gets the status code for the get Cpu architecture default response

func (*GetCPUArchitectureDefault) Error ¶

func (o *GetCPUArchitectureDefault) Error() string

func (*GetCPUArchitectureDefault) GetPayload ¶

type GetCPUArchitectureOK ¶

type GetCPUArchitectureOK struct {
	Payload *inventory_models.CPUArchitecture
}
GetCPUArchitectureOK describes a response with status code 200, with default header values.

The retrieved CPU architecture

func NewGetCPUArchitectureOK ¶

func NewGetCPUArchitectureOK() *GetCPUArchitectureOK

NewGetCPUArchitectureOK creates a GetCPUArchitectureOK with default headers values

func (*GetCPUArchitectureOK) Error ¶

func (o *GetCPUArchitectureOK) Error() string

func (*GetCPUArchitectureOK) GetPayload ¶

type GetCPUArchitectureParams ¶

type GetCPUArchitectureParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// CPUArchitectureID.
	//
	// Format: uuid
	CPUArchitectureID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetCPUArchitectureParams contains all the parameters to send to the API endpoint

for the get Cpu architecture operation.

Typically these are written to a http.Request.

func NewGetCPUArchitectureParams ¶

func NewGetCPUArchitectureParams() *GetCPUArchitectureParams

NewGetCPUArchitectureParams creates a new GetCPUArchitectureParams 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 NewGetCPUArchitectureParamsWithContext ¶

func NewGetCPUArchitectureParamsWithContext(ctx context.Context) *GetCPUArchitectureParams

NewGetCPUArchitectureParamsWithContext creates a new GetCPUArchitectureParams object with the ability to set a context for a request.

func NewGetCPUArchitectureParamsWithHTTPClient ¶

func NewGetCPUArchitectureParamsWithHTTPClient(client *http.Client) *GetCPUArchitectureParams

NewGetCPUArchitectureParamsWithHTTPClient creates a new GetCPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewGetCPUArchitectureParamsWithTimeout ¶

func NewGetCPUArchitectureParamsWithTimeout(timeout time.Duration) *GetCPUArchitectureParams

NewGetCPUArchitectureParamsWithTimeout creates a new GetCPUArchitectureParams object with the ability to set a timeout on a request.

func (*GetCPUArchitectureParams) SetAllowUnstable ¶

func (o *GetCPUArchitectureParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get Cpu architecture params

func (*GetCPUArchitectureParams) SetCPUArchitectureID ¶

func (o *GetCPUArchitectureParams) SetCPUArchitectureID(cPUArchitectureID strfmt.UUID)

SetCPUArchitectureID adds the cpuArchitectureId to the get Cpu architecture params

func (*GetCPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the get Cpu architecture params

func (*GetCPUArchitectureParams) SetDefaults ¶

func (o *GetCPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the get Cpu architecture params (not the query body).

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

func (*GetCPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get Cpu architecture params

func (*GetCPUArchitectureParams) SetStateAt ¶

func (o *GetCPUArchitectureParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get Cpu architecture params

func (*GetCPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithAllowUnstable ¶

func (o *GetCPUArchitectureParams) WithAllowUnstable(allowUnstable *bool) *GetCPUArchitectureParams

WithAllowUnstable adds the allowUnstable to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithCPUArchitectureID ¶

func (o *GetCPUArchitectureParams) WithCPUArchitectureID(cPUArchitectureID strfmt.UUID) *GetCPUArchitectureParams

WithCPUArchitectureID adds the cPUArchitectureID to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithContext ¶

WithContext adds the context to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the get Cpu architecture params (not the query body).

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

func (*GetCPUArchitectureParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithStateAt ¶

WithStateAt adds the stateAt to the get Cpu architecture params

func (*GetCPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the get Cpu architecture params

func (*GetCPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetCPUArchitectureReader ¶

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

GetCPUArchitectureReader is a Reader for the GetCPUArchitecture structure.

func (*GetCPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetCPUArchitecturesDefault ¶

type GetCPUArchitecturesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetCPUArchitecturesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetCPUArchitecturesDefault ¶

func NewGetCPUArchitecturesDefault(code int) *GetCPUArchitecturesDefault

NewGetCPUArchitecturesDefault creates a GetCPUArchitecturesDefault with default headers values

func (*GetCPUArchitecturesDefault) Code ¶

func (o *GetCPUArchitecturesDefault) Code() int

Code gets the status code for the get Cpu architectures default response

func (*GetCPUArchitecturesDefault) Error ¶

func (*GetCPUArchitecturesDefault) GetPayload ¶

type GetCPUArchitecturesOK ¶

type GetCPUArchitecturesOK struct {
	Payload *inventory_models.CPUArchitecturePagedList
}
GetCPUArchitecturesOK describes a response with status code 200, with default header values.

A paginated list of CPU architectures

func NewGetCPUArchitecturesOK ¶

func NewGetCPUArchitecturesOK() *GetCPUArchitecturesOK

NewGetCPUArchitecturesOK creates a GetCPUArchitecturesOK with default headers values

func (*GetCPUArchitecturesOK) Error ¶

func (o *GetCPUArchitecturesOK) Error() string

func (*GetCPUArchitecturesOK) GetPayload ¶

type GetCPUArchitecturesParams ¶

type GetCPUArchitecturesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetCPUArchitecturesParams contains all the parameters to send to the API endpoint

for the get Cpu architectures operation.

Typically these are written to a http.Request.

func NewGetCPUArchitecturesParams ¶

func NewGetCPUArchitecturesParams() *GetCPUArchitecturesParams

NewGetCPUArchitecturesParams creates a new GetCPUArchitecturesParams 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 NewGetCPUArchitecturesParamsWithContext ¶

func NewGetCPUArchitecturesParamsWithContext(ctx context.Context) *GetCPUArchitecturesParams

NewGetCPUArchitecturesParamsWithContext creates a new GetCPUArchitecturesParams object with the ability to set a context for a request.

func NewGetCPUArchitecturesParamsWithHTTPClient ¶

func NewGetCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetCPUArchitecturesParams

NewGetCPUArchitecturesParamsWithHTTPClient creates a new GetCPUArchitecturesParams object with the ability to set a custom HTTPClient for a request.

func NewGetCPUArchitecturesParamsWithTimeout ¶

func NewGetCPUArchitecturesParamsWithTimeout(timeout time.Duration) *GetCPUArchitecturesParams

NewGetCPUArchitecturesParamsWithTimeout creates a new GetCPUArchitecturesParams object with the ability to set a timeout on a request.

func (*GetCPUArchitecturesParams) SetAllowUnstable ¶

func (o *GetCPUArchitecturesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetContext ¶

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

SetContext adds the context to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetDefaults ¶

func (o *GetCPUArchitecturesParams) SetDefaults()

SetDefaults hydrates default values in the get Cpu architectures params (not the query body).

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

func (*GetCPUArchitecturesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetLimit ¶

func (o *GetCPUArchitecturesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetPage ¶

func (o *GetCPUArchitecturesParams) SetPage(page *int64)

SetPage adds the page to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetStateAt ¶

func (o *GetCPUArchitecturesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get Cpu architectures params

func (*GetCPUArchitecturesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithAllowUnstable ¶

func (o *GetCPUArchitecturesParams) WithAllowUnstable(allowUnstable *bool) *GetCPUArchitecturesParams

WithAllowUnstable adds the allowUnstable to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithContext ¶

WithContext adds the context to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithDefaults ¶

WithDefaults hydrates default values in the get Cpu architectures params (not the query body).

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

func (*GetCPUArchitecturesParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithLimit ¶

WithLimit adds the limit to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithPage ¶

WithPage adds the page to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithStateAt ¶

WithStateAt adds the stateAt to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WithTimeout ¶

WithTimeout adds the timeout to the get Cpu architectures params

func (*GetCPUArchitecturesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetCPUArchitecturesReader ¶

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

GetCPUArchitecturesReader is a Reader for the GetCPUArchitectures structure.

func (*GetCPUArchitecturesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetCPUExtensionDefault ¶

type GetCPUExtensionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetCPUExtensionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetCPUExtensionDefault ¶

func NewGetCPUExtensionDefault(code int) *GetCPUExtensionDefault

NewGetCPUExtensionDefault creates a GetCPUExtensionDefault with default headers values

func (*GetCPUExtensionDefault) Code ¶

func (o *GetCPUExtensionDefault) Code() int

Code gets the status code for the get Cpu extension default response

func (*GetCPUExtensionDefault) Error ¶

func (o *GetCPUExtensionDefault) Error() string

func (*GetCPUExtensionDefault) GetPayload ¶

type GetCPUExtensionOK ¶

type GetCPUExtensionOK struct {
	Payload *inventory_models.CPUExtension
}
GetCPUExtensionOK describes a response with status code 200, with default header values.

The retrieved CPU extension

func NewGetCPUExtensionOK ¶

func NewGetCPUExtensionOK() *GetCPUExtensionOK

NewGetCPUExtensionOK creates a GetCPUExtensionOK with default headers values

func (*GetCPUExtensionOK) Error ¶

func (o *GetCPUExtensionOK) Error() string

func (*GetCPUExtensionOK) GetPayload ¶

type GetCPUExtensionParams ¶

type GetCPUExtensionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// CPUExtensionID.
	//
	// Format: uuid
	CPUExtensionID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetCPUExtensionParams contains all the parameters to send to the API endpoint

for the get Cpu extension operation.

Typically these are written to a http.Request.

func NewGetCPUExtensionParams ¶

func NewGetCPUExtensionParams() *GetCPUExtensionParams

NewGetCPUExtensionParams creates a new GetCPUExtensionParams 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 NewGetCPUExtensionParamsWithContext ¶

func NewGetCPUExtensionParamsWithContext(ctx context.Context) *GetCPUExtensionParams

NewGetCPUExtensionParamsWithContext creates a new GetCPUExtensionParams object with the ability to set a context for a request.

func NewGetCPUExtensionParamsWithHTTPClient ¶

func NewGetCPUExtensionParamsWithHTTPClient(client *http.Client) *GetCPUExtensionParams

NewGetCPUExtensionParamsWithHTTPClient creates a new GetCPUExtensionParams object with the ability to set a custom HTTPClient for a request.

func NewGetCPUExtensionParamsWithTimeout ¶

func NewGetCPUExtensionParamsWithTimeout(timeout time.Duration) *GetCPUExtensionParams

NewGetCPUExtensionParamsWithTimeout creates a new GetCPUExtensionParams object with the ability to set a timeout on a request.

func (*GetCPUExtensionParams) SetAllowUnstable ¶

func (o *GetCPUExtensionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get Cpu extension params

func (*GetCPUExtensionParams) SetCPUExtensionID ¶

func (o *GetCPUExtensionParams) SetCPUExtensionID(cPUExtensionID strfmt.UUID)

SetCPUExtensionID adds the cpuExtensionId to the get Cpu extension params

func (*GetCPUExtensionParams) SetContext ¶

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

SetContext adds the context to the get Cpu extension params

func (*GetCPUExtensionParams) SetDefaults ¶

func (o *GetCPUExtensionParams) SetDefaults()

SetDefaults hydrates default values in the get Cpu extension params (not the query body).

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

func (*GetCPUExtensionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get Cpu extension params

func (*GetCPUExtensionParams) SetStateAt ¶

func (o *GetCPUExtensionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get Cpu extension params

func (*GetCPUExtensionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get Cpu extension params

func (*GetCPUExtensionParams) WithAllowUnstable ¶

func (o *GetCPUExtensionParams) WithAllowUnstable(allowUnstable *bool) *GetCPUExtensionParams

WithAllowUnstable adds the allowUnstable to the get Cpu extension params

func (*GetCPUExtensionParams) WithCPUExtensionID ¶

func (o *GetCPUExtensionParams) WithCPUExtensionID(cPUExtensionID strfmt.UUID) *GetCPUExtensionParams

WithCPUExtensionID adds the cPUExtensionID to the get Cpu extension params

func (*GetCPUExtensionParams) WithContext ¶

WithContext adds the context to the get Cpu extension params

func (*GetCPUExtensionParams) WithDefaults ¶

func (o *GetCPUExtensionParams) WithDefaults() *GetCPUExtensionParams

WithDefaults hydrates default values in the get Cpu extension params (not the query body).

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

func (*GetCPUExtensionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get Cpu extension params

func (*GetCPUExtensionParams) WithStateAt ¶

func (o *GetCPUExtensionParams) WithStateAt(stateAt *strfmt.DateTime) *GetCPUExtensionParams

WithStateAt adds the stateAt to the get Cpu extension params

func (*GetCPUExtensionParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get Cpu extension params

func (*GetCPUExtensionParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetCPUExtensionReader ¶

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

GetCPUExtensionReader is a Reader for the GetCPUExtension structure.

func (*GetCPUExtensionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetCPUExtensionsDefault ¶

type GetCPUExtensionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetCPUExtensionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetCPUExtensionsDefault ¶

func NewGetCPUExtensionsDefault(code int) *GetCPUExtensionsDefault

NewGetCPUExtensionsDefault creates a GetCPUExtensionsDefault with default headers values

func (*GetCPUExtensionsDefault) Code ¶

func (o *GetCPUExtensionsDefault) Code() int

Code gets the status code for the get Cpu extensions default response

func (*GetCPUExtensionsDefault) Error ¶

func (o *GetCPUExtensionsDefault) Error() string

func (*GetCPUExtensionsDefault) GetPayload ¶

type GetCPUExtensionsOK ¶

type GetCPUExtensionsOK struct {
	Payload *inventory_models.CPUExtensionPagedList
}
GetCPUExtensionsOK describes a response with status code 200, with default header values.

A paginated list of CPU extensions

func NewGetCPUExtensionsOK ¶

func NewGetCPUExtensionsOK() *GetCPUExtensionsOK

NewGetCPUExtensionsOK creates a GetCPUExtensionsOK with default headers values

func (*GetCPUExtensionsOK) Error ¶

func (o *GetCPUExtensionsOK) Error() string

func (*GetCPUExtensionsOK) GetPayload ¶

type GetCPUExtensionsParams ¶

type GetCPUExtensionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetCPUExtensionsParams contains all the parameters to send to the API endpoint

for the get Cpu extensions operation.

Typically these are written to a http.Request.

func NewGetCPUExtensionsParams ¶

func NewGetCPUExtensionsParams() *GetCPUExtensionsParams

NewGetCPUExtensionsParams creates a new GetCPUExtensionsParams 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 NewGetCPUExtensionsParamsWithContext ¶

func NewGetCPUExtensionsParamsWithContext(ctx context.Context) *GetCPUExtensionsParams

NewGetCPUExtensionsParamsWithContext creates a new GetCPUExtensionsParams object with the ability to set a context for a request.

func NewGetCPUExtensionsParamsWithHTTPClient ¶

func NewGetCPUExtensionsParamsWithHTTPClient(client *http.Client) *GetCPUExtensionsParams

NewGetCPUExtensionsParamsWithHTTPClient creates a new GetCPUExtensionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCPUExtensionsParamsWithTimeout ¶

func NewGetCPUExtensionsParamsWithTimeout(timeout time.Duration) *GetCPUExtensionsParams

NewGetCPUExtensionsParamsWithTimeout creates a new GetCPUExtensionsParams object with the ability to set a timeout on a request.

func (*GetCPUExtensionsParams) SetAllowUnstable ¶

func (o *GetCPUExtensionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetContext ¶

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

SetContext adds the context to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetDefaults ¶

func (o *GetCPUExtensionsParams) SetDefaults()

SetDefaults hydrates default values in the get Cpu extensions params (not the query body).

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

func (*GetCPUExtensionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetLimit ¶

func (o *GetCPUExtensionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetPage ¶

func (o *GetCPUExtensionsParams) SetPage(page *int64)

SetPage adds the page to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetStateAt ¶

func (o *GetCPUExtensionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get Cpu extensions params

func (*GetCPUExtensionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithAllowUnstable ¶

func (o *GetCPUExtensionsParams) WithAllowUnstable(allowUnstable *bool) *GetCPUExtensionsParams

WithAllowUnstable adds the allowUnstable to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithContext ¶

WithContext adds the context to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get Cpu extensions params (not the query body).

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

func (*GetCPUExtensionsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithLimit ¶

func (o *GetCPUExtensionsParams) WithLimit(limit *int64) *GetCPUExtensionsParams

WithLimit adds the limit to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithPage ¶

WithPage adds the page to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get Cpu extensions params

func (*GetCPUExtensionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get Cpu extensions params

func (*GetCPUExtensionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetCPUExtensionsReader ¶

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

GetCPUExtensionsReader is a Reader for the GetCPUExtensions structure.

func (*GetCPUExtensionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetGPUArchitectureDefault ¶

type GetGPUArchitectureDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetGPUArchitectureDefault describes a response with status code -1, with default header values.

generic error response

func NewGetGPUArchitectureDefault ¶

func NewGetGPUArchitectureDefault(code int) *GetGPUArchitectureDefault

NewGetGPUArchitectureDefault creates a GetGPUArchitectureDefault with default headers values

func (*GetGPUArchitectureDefault) Code ¶

func (o *GetGPUArchitectureDefault) Code() int

Code gets the status code for the get g p u architecture default response

func (*GetGPUArchitectureDefault) Error ¶

func (o *GetGPUArchitectureDefault) Error() string

func (*GetGPUArchitectureDefault) GetPayload ¶

type GetGPUArchitectureOK ¶

type GetGPUArchitectureOK struct {
	Payload *inventory_models.GpuArchitecture
}
GetGPUArchitectureOK describes a response with status code 200, with default header values.

The retrieved GPU architecture

func NewGetGPUArchitectureOK ¶

func NewGetGPUArchitectureOK() *GetGPUArchitectureOK

NewGetGPUArchitectureOK creates a GetGPUArchitectureOK with default headers values

func (*GetGPUArchitectureOK) Error ¶

func (o *GetGPUArchitectureOK) Error() string

func (*GetGPUArchitectureOK) GetPayload ¶

type GetGPUArchitectureParams ¶

type GetGPUArchitectureParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// GpuArchitectureID.
	//
	// Format: uuid
	GpuArchitectureID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetGPUArchitectureParams contains all the parameters to send to the API endpoint

for the get g p u architecture operation.

Typically these are written to a http.Request.

func NewGetGPUArchitectureParams ¶

func NewGetGPUArchitectureParams() *GetGPUArchitectureParams

NewGetGPUArchitectureParams creates a new GetGPUArchitectureParams 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 NewGetGPUArchitectureParamsWithContext ¶

func NewGetGPUArchitectureParamsWithContext(ctx context.Context) *GetGPUArchitectureParams

NewGetGPUArchitectureParamsWithContext creates a new GetGPUArchitectureParams object with the ability to set a context for a request.

func NewGetGPUArchitectureParamsWithHTTPClient ¶

func NewGetGPUArchitectureParamsWithHTTPClient(client *http.Client) *GetGPUArchitectureParams

NewGetGPUArchitectureParamsWithHTTPClient creates a new GetGPUArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewGetGPUArchitectureParamsWithTimeout ¶

func NewGetGPUArchitectureParamsWithTimeout(timeout time.Duration) *GetGPUArchitectureParams

NewGetGPUArchitectureParamsWithTimeout creates a new GetGPUArchitectureParams object with the ability to set a timeout on a request.

func (*GetGPUArchitectureParams) SetAllowUnstable ¶

func (o *GetGPUArchitectureParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get g p u architecture params

func (*GetGPUArchitectureParams) SetContext ¶

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

SetContext adds the context to the get g p u architecture params

func (*GetGPUArchitectureParams) SetDefaults ¶

func (o *GetGPUArchitectureParams) SetDefaults()

SetDefaults hydrates default values in the get g p u architecture params (not the query body).

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

func (*GetGPUArchitectureParams) SetGpuArchitectureID ¶

func (o *GetGPUArchitectureParams) SetGpuArchitectureID(gpuArchitectureID strfmt.UUID)

SetGpuArchitectureID adds the gpuArchitectureId to the get g p u architecture params

func (*GetGPUArchitectureParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get g p u architecture params

func (*GetGPUArchitectureParams) SetStateAt ¶

func (o *GetGPUArchitectureParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get g p u architecture params

func (*GetGPUArchitectureParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get g p u architecture params

func (*GetGPUArchitectureParams) WithAllowUnstable ¶

func (o *GetGPUArchitectureParams) WithAllowUnstable(allowUnstable *bool) *GetGPUArchitectureParams

WithAllowUnstable adds the allowUnstable to the get g p u architecture params

func (*GetGPUArchitectureParams) WithContext ¶

WithContext adds the context to the get g p u architecture params

func (*GetGPUArchitectureParams) WithDefaults ¶

WithDefaults hydrates default values in the get g p u architecture params (not the query body).

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

func (*GetGPUArchitectureParams) WithGpuArchitectureID ¶

func (o *GetGPUArchitectureParams) WithGpuArchitectureID(gpuArchitectureID strfmt.UUID) *GetGPUArchitectureParams

WithGpuArchitectureID adds the gpuArchitectureID to the get g p u architecture params

func (*GetGPUArchitectureParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get g p u architecture params

func (*GetGPUArchitectureParams) WithStateAt ¶

WithStateAt adds the stateAt to the get g p u architecture params

func (*GetGPUArchitectureParams) WithTimeout ¶

WithTimeout adds the timeout to the get g p u architecture params

func (*GetGPUArchitectureParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetGPUArchitectureReader ¶

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

GetGPUArchitectureReader is a Reader for the GetGPUArchitecture structure.

func (*GetGPUArchitectureReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetGPUArchitecturesDefault ¶

type GetGPUArchitecturesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetGPUArchitecturesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetGPUArchitecturesDefault ¶

func NewGetGPUArchitecturesDefault(code int) *GetGPUArchitecturesDefault

NewGetGPUArchitecturesDefault creates a GetGPUArchitecturesDefault with default headers values

func (*GetGPUArchitecturesDefault) Code ¶

func (o *GetGPUArchitecturesDefault) Code() int

Code gets the status code for the get g p u architectures default response

func (*GetGPUArchitecturesDefault) Error ¶

func (*GetGPUArchitecturesDefault) GetPayload ¶

type GetGPUArchitecturesOK ¶

type GetGPUArchitecturesOK struct {
	Payload *inventory_models.GpuArchitecturePagedList
}
GetGPUArchitecturesOK describes a response with status code 200, with default header values.

A paginated list of GPU architectures

func NewGetGPUArchitecturesOK ¶

func NewGetGPUArchitecturesOK() *GetGPUArchitecturesOK

NewGetGPUArchitecturesOK creates a GetGPUArchitecturesOK with default headers values

func (*GetGPUArchitecturesOK) Error ¶

func (o *GetGPUArchitecturesOK) Error() string

func (*GetGPUArchitecturesOK) GetPayload ¶

type GetGPUArchitecturesParams ¶

type GetGPUArchitecturesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetGPUArchitecturesParams contains all the parameters to send to the API endpoint

for the get g p u architectures operation.

Typically these are written to a http.Request.

func NewGetGPUArchitecturesParams ¶

func NewGetGPUArchitecturesParams() *GetGPUArchitecturesParams

NewGetGPUArchitecturesParams creates a new GetGPUArchitecturesParams 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 NewGetGPUArchitecturesParamsWithContext ¶

func NewGetGPUArchitecturesParamsWithContext(ctx context.Context) *GetGPUArchitecturesParams

NewGetGPUArchitecturesParamsWithContext creates a new GetGPUArchitecturesParams object with the ability to set a context for a request.

func NewGetGPUArchitecturesParamsWithHTTPClient ¶

func NewGetGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetGPUArchitecturesParams

NewGetGPUArchitecturesParamsWithHTTPClient creates a new GetGPUArchitecturesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGPUArchitecturesParamsWithTimeout ¶

func NewGetGPUArchitecturesParamsWithTimeout(timeout time.Duration) *GetGPUArchitecturesParams

NewGetGPUArchitecturesParamsWithTimeout creates a new GetGPUArchitecturesParams object with the ability to set a timeout on a request.

func (*GetGPUArchitecturesParams) SetAllowUnstable ¶

func (o *GetGPUArchitecturesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetContext ¶

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

SetContext adds the context to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetDefaults ¶

func (o *GetGPUArchitecturesParams) SetDefaults()

SetDefaults hydrates default values in the get g p u architectures params (not the query body).

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

func (*GetGPUArchitecturesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetLimit ¶

func (o *GetGPUArchitecturesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetPage ¶

func (o *GetGPUArchitecturesParams) SetPage(page *int64)

SetPage adds the page to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetStateAt ¶

func (o *GetGPUArchitecturesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get g p u architectures params

func (*GetGPUArchitecturesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithAllowUnstable ¶

func (o *GetGPUArchitecturesParams) WithAllowUnstable(allowUnstable *bool) *GetGPUArchitecturesParams

WithAllowUnstable adds the allowUnstable to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithContext ¶

WithContext adds the context to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithDefaults ¶

WithDefaults hydrates default values in the get g p u architectures params (not the query body).

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

func (*GetGPUArchitecturesParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithLimit ¶

WithLimit adds the limit to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithPage ¶

WithPage adds the page to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithStateAt ¶

WithStateAt adds the stateAt to the get g p u architectures params

func (*GetGPUArchitecturesParams) WithTimeout ¶

WithTimeout adds the timeout to the get g p u architectures params

func (*GetGPUArchitecturesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetGPUArchitecturesReader ¶

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

GetGPUArchitecturesReader is a Reader for the GetGPUArchitectures structure.

func (*GetGPUArchitecturesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetImageDefault ¶

type GetImageDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetImageDefault describes a response with status code -1, with default header values.

generic error response

func NewGetImageDefault ¶

func NewGetImageDefault(code int) *GetImageDefault

NewGetImageDefault creates a GetImageDefault with default headers values

func (*GetImageDefault) Code ¶

func (o *GetImageDefault) Code() int

Code gets the status code for the get image default response

func (*GetImageDefault) Error ¶

func (o *GetImageDefault) Error() string

func (*GetImageDefault) GetPayload ¶

type GetImageOK ¶

type GetImageOK struct {
	Payload *inventory_models.Image
}
GetImageOK describes a response with status code 200, with default header values.

Retrieve the image

func NewGetImageOK ¶

func NewGetImageOK() *GetImageOK

NewGetImageOK creates a GetImageOK with default headers values

func (*GetImageOK) Error ¶

func (o *GetImageOK) Error() string

func (*GetImageOK) GetPayload ¶

func (o *GetImageOK) GetPayload() *inventory_models.Image

type GetImageParams ¶

type GetImageParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// ImageID.
	//
	// Format: uuid
	ImageID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetImageParams contains all the parameters to send to the API endpoint

for the get image operation.

Typically these are written to a http.Request.

func NewGetImageParams ¶

func NewGetImageParams() *GetImageParams

NewGetImageParams creates a new GetImageParams 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 NewGetImageParamsWithContext ¶

func NewGetImageParamsWithContext(ctx context.Context) *GetImageParams

NewGetImageParamsWithContext creates a new GetImageParams object with the ability to set a context for a request.

func NewGetImageParamsWithHTTPClient ¶

func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams

NewGetImageParamsWithHTTPClient creates a new GetImageParams object with the ability to set a custom HTTPClient for a request.

func NewGetImageParamsWithTimeout ¶

func NewGetImageParamsWithTimeout(timeout time.Duration) *GetImageParams

NewGetImageParamsWithTimeout creates a new GetImageParams object with the ability to set a timeout on a request.

func (*GetImageParams) SetAllowUnstable ¶

func (o *GetImageParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get image params

func (*GetImageParams) SetContext ¶

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

SetContext adds the context to the get image params

func (*GetImageParams) SetDefaults ¶

func (o *GetImageParams) SetDefaults()

SetDefaults hydrates default values in the get image params (not the query body).

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

func (*GetImageParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get image params

func (*GetImageParams) SetImageID ¶

func (o *GetImageParams) SetImageID(imageID strfmt.UUID)

SetImageID adds the imageId to the get image params

func (*GetImageParams) SetStateAt ¶

func (o *GetImageParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get image params

func (*GetImageParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get image params

func (*GetImageParams) WithAllowUnstable ¶

func (o *GetImageParams) WithAllowUnstable(allowUnstable *bool) *GetImageParams

WithAllowUnstable adds the allowUnstable to the get image params

func (*GetImageParams) WithContext ¶

func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams

WithContext adds the context to the get image params

func (*GetImageParams) WithDefaults ¶

func (o *GetImageParams) WithDefaults() *GetImageParams

WithDefaults hydrates default values in the get image params (not the query body).

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

func (*GetImageParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get image params

func (*GetImageParams) WithImageID ¶

func (o *GetImageParams) WithImageID(imageID strfmt.UUID) *GetImageParams

WithImageID adds the imageID to the get image params

func (*GetImageParams) WithStateAt ¶

func (o *GetImageParams) WithStateAt(stateAt *strfmt.DateTime) *GetImageParams

WithStateAt adds the stateAt to the get image params

func (*GetImageParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get image params

func (*GetImageParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetImageReader ¶

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

GetImageReader is a Reader for the GetImage structure.

func (*GetImageReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetImagesDefault ¶

type GetImagesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetImagesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetImagesDefault ¶

func NewGetImagesDefault(code int) *GetImagesDefault

NewGetImagesDefault creates a GetImagesDefault with default headers values

func (*GetImagesDefault) Code ¶

func (o *GetImagesDefault) Code() int

Code gets the status code for the get images default response

func (*GetImagesDefault) Error ¶

func (o *GetImagesDefault) Error() string

func (*GetImagesDefault) GetPayload ¶

type GetImagesOK ¶

type GetImagesOK struct {
	Payload *inventory_models.ImagePagedList
}
GetImagesOK describes a response with status code 200, with default header values.

A paginated list of images

func NewGetImagesOK ¶

func NewGetImagesOK() *GetImagesOK

NewGetImagesOK creates a GetImagesOK with default headers values

func (*GetImagesOK) Error ¶

func (o *GetImagesOK) Error() string

func (*GetImagesOK) GetPayload ¶

func (o *GetImagesOK) GetPayload() *inventory_models.ImagePagedList

type GetImagesParams ¶

type GetImagesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetImagesParams contains all the parameters to send to the API endpoint

for the get images operation.

Typically these are written to a http.Request.

func NewGetImagesParams ¶

func NewGetImagesParams() *GetImagesParams

NewGetImagesParams creates a new GetImagesParams 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 NewGetImagesParamsWithContext ¶

func NewGetImagesParamsWithContext(ctx context.Context) *GetImagesParams

NewGetImagesParamsWithContext creates a new GetImagesParams object with the ability to set a context for a request.

func NewGetImagesParamsWithHTTPClient ¶

func NewGetImagesParamsWithHTTPClient(client *http.Client) *GetImagesParams

NewGetImagesParamsWithHTTPClient creates a new GetImagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetImagesParamsWithTimeout ¶

func NewGetImagesParamsWithTimeout(timeout time.Duration) *GetImagesParams

NewGetImagesParamsWithTimeout creates a new GetImagesParams object with the ability to set a timeout on a request.

func (*GetImagesParams) SetAllowUnstable ¶

func (o *GetImagesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get images params

func (*GetImagesParams) SetContext ¶

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

SetContext adds the context to the get images params

func (*GetImagesParams) SetDefaults ¶

func (o *GetImagesParams) SetDefaults()

SetDefaults hydrates default values in the get images params (not the query body).

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

func (*GetImagesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) SetLimit ¶

func (o *GetImagesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get images params

func (*GetImagesParams) SetPage ¶

func (o *GetImagesParams) SetPage(page *int64)

SetPage adds the page to the get images params

func (*GetImagesParams) SetStateAt ¶

func (o *GetImagesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get images params

func (*GetImagesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get images params

func (*GetImagesParams) WithAllowUnstable ¶

func (o *GetImagesParams) WithAllowUnstable(allowUnstable *bool) *GetImagesParams

WithAllowUnstable adds the allowUnstable to the get images params

func (*GetImagesParams) WithContext ¶

func (o *GetImagesParams) WithContext(ctx context.Context) *GetImagesParams

WithContext adds the context to the get images params

func (*GetImagesParams) WithDefaults ¶

func (o *GetImagesParams) WithDefaults() *GetImagesParams

WithDefaults hydrates default values in the get images params (not the query body).

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

func (*GetImagesParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) WithLimit ¶

func (o *GetImagesParams) WithLimit(limit *int64) *GetImagesParams

WithLimit adds the limit to the get images params

func (*GetImagesParams) WithPage ¶

func (o *GetImagesParams) WithPage(page *int64) *GetImagesParams

WithPage adds the page to the get images params

func (*GetImagesParams) WithStateAt ¶

func (o *GetImagesParams) WithStateAt(stateAt *strfmt.DateTime) *GetImagesParams

WithStateAt adds the stateAt to the get images params

func (*GetImagesParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get images params

func (*GetImagesParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetImagesReader ¶

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

GetImagesReader is a Reader for the GetImages structure.

func (*GetImagesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientDefault ¶

type GetIngredientDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientDefault ¶

func NewGetIngredientDefault(code int) *GetIngredientDefault

NewGetIngredientDefault creates a GetIngredientDefault with default headers values

func (*GetIngredientDefault) Code ¶

func (o *GetIngredientDefault) Code() int

Code gets the status code for the get ingredient default response

func (*GetIngredientDefault) Error ¶

func (o *GetIngredientDefault) Error() string

func (*GetIngredientDefault) GetPayload ¶

type GetIngredientOK ¶

type GetIngredientOK struct {
	Payload *inventory_models.Ingredient
}
GetIngredientOK describes a response with status code 200, with default header values.

The retrieved ingredient

func NewGetIngredientOK ¶

func NewGetIngredientOK() *GetIngredientOK

NewGetIngredientOK creates a GetIngredientOK with default headers values

func (*GetIngredientOK) Error ¶

func (o *GetIngredientOK) Error() string

func (*GetIngredientOK) GetPayload ¶

func (o *GetIngredientOK) GetPayload() *inventory_models.Ingredient

type GetIngredientOptionSetDefault ¶

type GetIngredientOptionSetDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientOptionSetDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientOptionSetDefault ¶

func NewGetIngredientOptionSetDefault(code int) *GetIngredientOptionSetDefault

NewGetIngredientOptionSetDefault creates a GetIngredientOptionSetDefault with default headers values

func (*GetIngredientOptionSetDefault) Code ¶

Code gets the status code for the get ingredient option set default response

func (*GetIngredientOptionSetDefault) Error ¶

func (*GetIngredientOptionSetDefault) GetPayload ¶

type GetIngredientOptionSetIngredientVersionsDefault ¶

type GetIngredientOptionSetIngredientVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientOptionSetIngredientVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientOptionSetIngredientVersionsDefault ¶

func NewGetIngredientOptionSetIngredientVersionsDefault(code int) *GetIngredientOptionSetIngredientVersionsDefault

NewGetIngredientOptionSetIngredientVersionsDefault creates a GetIngredientOptionSetIngredientVersionsDefault with default headers values

func (*GetIngredientOptionSetIngredientVersionsDefault) Code ¶

Code gets the status code for the get ingredient option set ingredient versions default response

func (*GetIngredientOptionSetIngredientVersionsDefault) Error ¶

func (*GetIngredientOptionSetIngredientVersionsDefault) GetPayload ¶

type GetIngredientOptionSetIngredientVersionsOK ¶

type GetIngredientOptionSetIngredientVersionsOK struct {
	Payload *inventory_models.IngredientVersionAndUsageTypePagedList
}
GetIngredientOptionSetIngredientVersionsOK describes a response with status code 200, with default header values.

A paginated list of ingredient versions

func NewGetIngredientOptionSetIngredientVersionsOK ¶

func NewGetIngredientOptionSetIngredientVersionsOK() *GetIngredientOptionSetIngredientVersionsOK

NewGetIngredientOptionSetIngredientVersionsOK creates a GetIngredientOptionSetIngredientVersionsOK with default headers values

func (*GetIngredientOptionSetIngredientVersionsOK) Error ¶

func (*GetIngredientOptionSetIngredientVersionsOK) GetPayload ¶

type GetIngredientOptionSetIngredientVersionsParams ¶

type GetIngredientOptionSetIngredientVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientOptionSetID.
	//
	// Format: uuid
	IngredientOptionSetID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	/* UsageType.

	   Filter to just ingredient option sets used by the ingredient version as a default or just those used as an override
	*/
	UsageType *string

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

GetIngredientOptionSetIngredientVersionsParams contains all the parameters to send to the API endpoint

for the get ingredient option set ingredient versions operation.

Typically these are written to a http.Request.

func NewGetIngredientOptionSetIngredientVersionsParams ¶

func NewGetIngredientOptionSetIngredientVersionsParams() *GetIngredientOptionSetIngredientVersionsParams

NewGetIngredientOptionSetIngredientVersionsParams creates a new GetIngredientOptionSetIngredientVersionsParams 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 NewGetIngredientOptionSetIngredientVersionsParamsWithContext ¶

func NewGetIngredientOptionSetIngredientVersionsParamsWithContext(ctx context.Context) *GetIngredientOptionSetIngredientVersionsParams

NewGetIngredientOptionSetIngredientVersionsParamsWithContext creates a new GetIngredientOptionSetIngredientVersionsParams object with the ability to set a context for a request.

func NewGetIngredientOptionSetIngredientVersionsParamsWithHTTPClient ¶

func NewGetIngredientOptionSetIngredientVersionsParamsWithHTTPClient(client *http.Client) *GetIngredientOptionSetIngredientVersionsParams

NewGetIngredientOptionSetIngredientVersionsParamsWithHTTPClient creates a new GetIngredientOptionSetIngredientVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientOptionSetIngredientVersionsParamsWithTimeout ¶

func NewGetIngredientOptionSetIngredientVersionsParamsWithTimeout(timeout time.Duration) *GetIngredientOptionSetIngredientVersionsParams

NewGetIngredientOptionSetIngredientVersionsParamsWithTimeout creates a new GetIngredientOptionSetIngredientVersionsParams object with the ability to set a timeout on a request.

func (*GetIngredientOptionSetIngredientVersionsParams) SetAllowUnstable ¶

func (o *GetIngredientOptionSetIngredientVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetContext ¶

SetContext adds the context to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetDefaults ¶

SetDefaults hydrates default values in the get ingredient option set ingredient versions params (not the query body).

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

func (*GetIngredientOptionSetIngredientVersionsParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetIngredientOptionSetID ¶

func (o *GetIngredientOptionSetIngredientVersionsParams) SetIngredientOptionSetID(ingredientOptionSetID strfmt.UUID)

SetIngredientOptionSetID adds the ingredientOptionSetId to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetLimit ¶

SetLimit adds the limit to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetPage ¶

SetPage adds the page to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetStateAt ¶

SetStateAt adds the stateAt to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetTimeout ¶

SetTimeout adds the timeout to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) SetUsageType ¶

func (o *GetIngredientOptionSetIngredientVersionsParams) SetUsageType(usageType *string)

SetUsageType adds the usageType to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithContext ¶

WithContext adds the context to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient option set ingredient versions params (not the query body).

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

func (*GetIngredientOptionSetIngredientVersionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithIngredientOptionSetID ¶

WithIngredientOptionSetID adds the ingredientOptionSetID to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithPage ¶

WithPage adds the page to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WithUsageType ¶

WithUsageType adds the usageType to the get ingredient option set ingredient versions params

func (*GetIngredientOptionSetIngredientVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientOptionSetIngredientVersionsReader ¶

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

GetIngredientOptionSetIngredientVersionsReader is a Reader for the GetIngredientOptionSetIngredientVersions structure.

func (*GetIngredientOptionSetIngredientVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientOptionSetOK ¶

type GetIngredientOptionSetOK struct {
	Payload *inventory_models.IngredientOptionSet
}
GetIngredientOptionSetOK describes a response with status code 200, with default header values.

The retrieved ingredient option set

func NewGetIngredientOptionSetOK ¶

func NewGetIngredientOptionSetOK() *GetIngredientOptionSetOK

NewGetIngredientOptionSetOK creates a GetIngredientOptionSetOK with default headers values

func (*GetIngredientOptionSetOK) Error ¶

func (o *GetIngredientOptionSetOK) Error() string

func (*GetIngredientOptionSetOK) GetPayload ¶

type GetIngredientOptionSetParams ¶

type GetIngredientOptionSetParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientOptionSetID.
	//
	// Format: uuid
	IngredientOptionSetID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientOptionSetParams contains all the parameters to send to the API endpoint

for the get ingredient option set operation.

Typically these are written to a http.Request.

func NewGetIngredientOptionSetParams ¶

func NewGetIngredientOptionSetParams() *GetIngredientOptionSetParams

NewGetIngredientOptionSetParams creates a new GetIngredientOptionSetParams 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 NewGetIngredientOptionSetParamsWithContext ¶

func NewGetIngredientOptionSetParamsWithContext(ctx context.Context) *GetIngredientOptionSetParams

NewGetIngredientOptionSetParamsWithContext creates a new GetIngredientOptionSetParams object with the ability to set a context for a request.

func NewGetIngredientOptionSetParamsWithHTTPClient ¶

func NewGetIngredientOptionSetParamsWithHTTPClient(client *http.Client) *GetIngredientOptionSetParams

NewGetIngredientOptionSetParamsWithHTTPClient creates a new GetIngredientOptionSetParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientOptionSetParamsWithTimeout ¶

func NewGetIngredientOptionSetParamsWithTimeout(timeout time.Duration) *GetIngredientOptionSetParams

NewGetIngredientOptionSetParamsWithTimeout creates a new GetIngredientOptionSetParams object with the ability to set a timeout on a request.

func (*GetIngredientOptionSetParams) SetAllowUnstable ¶

func (o *GetIngredientOptionSetParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient option set params

func (*GetIngredientOptionSetParams) SetContext ¶

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

SetContext adds the context to the get ingredient option set params

func (*GetIngredientOptionSetParams) SetDefaults ¶

func (o *GetIngredientOptionSetParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient option set params (not the query body).

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

func (*GetIngredientOptionSetParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient option set params

func (*GetIngredientOptionSetParams) SetIngredientOptionSetID ¶

func (o *GetIngredientOptionSetParams) SetIngredientOptionSetID(ingredientOptionSetID strfmt.UUID)

SetIngredientOptionSetID adds the ingredientOptionSetId to the get ingredient option set params

func (*GetIngredientOptionSetParams) SetStateAt ¶

func (o *GetIngredientOptionSetParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient option set params

func (*GetIngredientOptionSetParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithAllowUnstable ¶

func (o *GetIngredientOptionSetParams) WithAllowUnstable(allowUnstable *bool) *GetIngredientOptionSetParams

WithAllowUnstable adds the allowUnstable to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithContext ¶

WithContext adds the context to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient option set params (not the query body).

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

func (*GetIngredientOptionSetParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithIngredientOptionSetID ¶

func (o *GetIngredientOptionSetParams) WithIngredientOptionSetID(ingredientOptionSetID strfmt.UUID) *GetIngredientOptionSetParams

WithIngredientOptionSetID adds the ingredientOptionSetID to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient option set params

func (*GetIngredientOptionSetParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient option set params

func (*GetIngredientOptionSetParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientOptionSetReader ¶

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

GetIngredientOptionSetReader is a Reader for the GetIngredientOptionSet structure.

func (*GetIngredientOptionSetReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientOptionSetsDefault ¶

type GetIngredientOptionSetsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientOptionSetsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientOptionSetsDefault ¶

func NewGetIngredientOptionSetsDefault(code int) *GetIngredientOptionSetsDefault

NewGetIngredientOptionSetsDefault creates a GetIngredientOptionSetsDefault with default headers values

func (*GetIngredientOptionSetsDefault) Code ¶

Code gets the status code for the get ingredient option sets default response

func (*GetIngredientOptionSetsDefault) Error ¶

func (*GetIngredientOptionSetsDefault) GetPayload ¶

type GetIngredientOptionSetsOK ¶

type GetIngredientOptionSetsOK struct {
	Payload *inventory_models.IngredientOptionSetPagedList
}
GetIngredientOptionSetsOK describes a response with status code 200, with default header values.

A paginated list of ingredient option sets

func NewGetIngredientOptionSetsOK ¶

func NewGetIngredientOptionSetsOK() *GetIngredientOptionSetsOK

NewGetIngredientOptionSetsOK creates a GetIngredientOptionSetsOK with default headers values

func (*GetIngredientOptionSetsOK) Error ¶

func (o *GetIngredientOptionSetsOK) Error() string

func (*GetIngredientOptionSetsOK) GetPayload ¶

type GetIngredientOptionSetsParams ¶

type GetIngredientOptionSetsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Group.

	   Return only ingredient option sets in the named group (exact match only)
	*/
	Group *string

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientOptionSetsParams contains all the parameters to send to the API endpoint

for the get ingredient option sets operation.

Typically these are written to a http.Request.

func NewGetIngredientOptionSetsParams ¶

func NewGetIngredientOptionSetsParams() *GetIngredientOptionSetsParams

NewGetIngredientOptionSetsParams creates a new GetIngredientOptionSetsParams 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 NewGetIngredientOptionSetsParamsWithContext ¶

func NewGetIngredientOptionSetsParamsWithContext(ctx context.Context) *GetIngredientOptionSetsParams

NewGetIngredientOptionSetsParamsWithContext creates a new GetIngredientOptionSetsParams object with the ability to set a context for a request.

func NewGetIngredientOptionSetsParamsWithHTTPClient ¶

func NewGetIngredientOptionSetsParamsWithHTTPClient(client *http.Client) *GetIngredientOptionSetsParams

NewGetIngredientOptionSetsParamsWithHTTPClient creates a new GetIngredientOptionSetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientOptionSetsParamsWithTimeout ¶

func NewGetIngredientOptionSetsParamsWithTimeout(timeout time.Duration) *GetIngredientOptionSetsParams

NewGetIngredientOptionSetsParamsWithTimeout creates a new GetIngredientOptionSetsParams object with the ability to set a timeout on a request.

func (*GetIngredientOptionSetsParams) SetAllowUnstable ¶

func (o *GetIngredientOptionSetsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetContext ¶

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

SetContext adds the context to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetDefaults ¶

func (o *GetIngredientOptionSetsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient option sets params (not the query body).

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

func (*GetIngredientOptionSetsParams) SetGroup ¶

func (o *GetIngredientOptionSetsParams) SetGroup(group *string)

SetGroup adds the group to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetLimit ¶

func (o *GetIngredientOptionSetsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetPage ¶

func (o *GetIngredientOptionSetsParams) SetPage(page *int64)

SetPage adds the page to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetStateAt ¶

func (o *GetIngredientOptionSetsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithAllowUnstable ¶

func (o *GetIngredientOptionSetsParams) WithAllowUnstable(allowUnstable *bool) *GetIngredientOptionSetsParams

WithAllowUnstable adds the allowUnstable to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithContext ¶

WithContext adds the context to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient option sets params (not the query body).

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

func (*GetIngredientOptionSetsParams) WithGroup ¶

WithGroup adds the group to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithPage ¶

WithPage adds the page to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient option sets params

func (*GetIngredientOptionSetsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientOptionSetsReader ¶

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

GetIngredientOptionSetsReader is a Reader for the GetIngredientOptionSets structure.

func (*GetIngredientOptionSetsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientParams ¶

type GetIngredientParams struct {

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

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

GetIngredientParams contains all the parameters to send to the API endpoint

for the get ingredient operation.

Typically these are written to a http.Request.

func NewGetIngredientParams ¶

func NewGetIngredientParams() *GetIngredientParams

NewGetIngredientParams creates a new GetIngredientParams 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 NewGetIngredientParamsWithContext ¶

func NewGetIngredientParamsWithContext(ctx context.Context) *GetIngredientParams

NewGetIngredientParamsWithContext creates a new GetIngredientParams object with the ability to set a context for a request.

func NewGetIngredientParamsWithHTTPClient ¶

func NewGetIngredientParamsWithHTTPClient(client *http.Client) *GetIngredientParams

NewGetIngredientParamsWithHTTPClient creates a new GetIngredientParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientParamsWithTimeout ¶

func NewGetIngredientParamsWithTimeout(timeout time.Duration) *GetIngredientParams

NewGetIngredientParamsWithTimeout creates a new GetIngredientParams object with the ability to set a timeout on a request.

func (*GetIngredientParams) SetContext ¶

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

SetContext adds the context to the get ingredient params

func (*GetIngredientParams) SetDefaults ¶

func (o *GetIngredientParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient params (not the query body).

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

func (*GetIngredientParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient params

func (*GetIngredientParams) SetIngredientID ¶

func (o *GetIngredientParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient params

func (*GetIngredientParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient params

func (*GetIngredientParams) WithContext ¶

WithContext adds the context to the get ingredient params

func (*GetIngredientParams) WithDefaults ¶

func (o *GetIngredientParams) WithDefaults() *GetIngredientParams

WithDefaults hydrates default values in the get ingredient params (not the query body).

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

func (*GetIngredientParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get ingredient params

func (*GetIngredientParams) WithIngredientID ¶

func (o *GetIngredientParams) WithIngredientID(ingredientID strfmt.UUID) *GetIngredientParams

WithIngredientID adds the ingredientID to the get ingredient params

func (*GetIngredientParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get ingredient params

func (*GetIngredientParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetIngredientReader ¶

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

GetIngredientReader is a Reader for the GetIngredient structure.

func (*GetIngredientReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionAuthorsDefault ¶

type GetIngredientVersionAuthorsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionAuthorsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionAuthorsDefault ¶

func NewGetIngredientVersionAuthorsDefault(code int) *GetIngredientVersionAuthorsDefault

NewGetIngredientVersionAuthorsDefault creates a GetIngredientVersionAuthorsDefault with default headers values

func (*GetIngredientVersionAuthorsDefault) Code ¶

Code gets the status code for the get ingredient version authors default response

func (*GetIngredientVersionAuthorsDefault) Error ¶

func (*GetIngredientVersionAuthorsDefault) GetPayload ¶

type GetIngredientVersionAuthorsOK ¶

type GetIngredientVersionAuthorsOK struct {
	Payload *inventory_models.AuthorPagedList
}
GetIngredientVersionAuthorsOK describes a response with status code 200, with default header values.

A paginated list of authors

func NewGetIngredientVersionAuthorsOK ¶

func NewGetIngredientVersionAuthorsOK() *GetIngredientVersionAuthorsOK

NewGetIngredientVersionAuthorsOK creates a GetIngredientVersionAuthorsOK with default headers values

func (*GetIngredientVersionAuthorsOK) Error ¶

func (*GetIngredientVersionAuthorsOK) GetPayload ¶

type GetIngredientVersionAuthorsParams ¶

type GetIngredientVersionAuthorsParams struct {

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetIngredientVersionAuthorsParams contains all the parameters to send to the API endpoint

for the get ingredient version authors operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionAuthorsParams ¶

func NewGetIngredientVersionAuthorsParams() *GetIngredientVersionAuthorsParams

NewGetIngredientVersionAuthorsParams creates a new GetIngredientVersionAuthorsParams 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 NewGetIngredientVersionAuthorsParamsWithContext ¶

func NewGetIngredientVersionAuthorsParamsWithContext(ctx context.Context) *GetIngredientVersionAuthorsParams

NewGetIngredientVersionAuthorsParamsWithContext creates a new GetIngredientVersionAuthorsParams object with the ability to set a context for a request.

func NewGetIngredientVersionAuthorsParamsWithHTTPClient ¶

func NewGetIngredientVersionAuthorsParamsWithHTTPClient(client *http.Client) *GetIngredientVersionAuthorsParams

NewGetIngredientVersionAuthorsParamsWithHTTPClient creates a new GetIngredientVersionAuthorsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionAuthorsParamsWithTimeout ¶

func NewGetIngredientVersionAuthorsParamsWithTimeout(timeout time.Duration) *GetIngredientVersionAuthorsParams

NewGetIngredientVersionAuthorsParamsWithTimeout creates a new GetIngredientVersionAuthorsParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionAuthorsParams) SetContext ¶

SetContext adds the context to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetDefaults ¶

func (o *GetIngredientVersionAuthorsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version authors params (not the query body).

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

func (*GetIngredientVersionAuthorsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetIngredientID ¶

func (o *GetIngredientVersionAuthorsParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionAuthorsParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetLimit ¶

func (o *GetIngredientVersionAuthorsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetPage ¶

func (o *GetIngredientVersionAuthorsParams) SetPage(page *int64)

SetPage adds the page to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithContext ¶

WithContext adds the context to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version authors params (not the query body).

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

func (*GetIngredientVersionAuthorsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionAuthorsParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionAuthorsParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithPage ¶

WithPage adds the page to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version authors params

func (*GetIngredientVersionAuthorsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionAuthorsReader ¶

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

GetIngredientVersionAuthorsReader is a Reader for the GetIngredientVersionAuthors structure.

func (*GetIngredientVersionAuthorsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionBuildScriptsDefault ¶

type GetIngredientVersionBuildScriptsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionBuildScriptsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionBuildScriptsDefault ¶

func NewGetIngredientVersionBuildScriptsDefault(code int) *GetIngredientVersionBuildScriptsDefault

NewGetIngredientVersionBuildScriptsDefault creates a GetIngredientVersionBuildScriptsDefault with default headers values

func (*GetIngredientVersionBuildScriptsDefault) Code ¶

Code gets the status code for the get ingredient version build scripts default response

func (*GetIngredientVersionBuildScriptsDefault) Error ¶

func (*GetIngredientVersionBuildScriptsDefault) GetPayload ¶

type GetIngredientVersionBuildScriptsOK ¶

type GetIngredientVersionBuildScriptsOK struct {
	Payload *inventory_models.BuildScriptPagedList
}
GetIngredientVersionBuildScriptsOK describes a response with status code 200, with default header values.

A paginated list of build scripts

func NewGetIngredientVersionBuildScriptsOK ¶

func NewGetIngredientVersionBuildScriptsOK() *GetIngredientVersionBuildScriptsOK

NewGetIngredientVersionBuildScriptsOK creates a GetIngredientVersionBuildScriptsOK with default headers values

func (*GetIngredientVersionBuildScriptsOK) Error ¶

func (*GetIngredientVersionBuildScriptsOK) GetPayload ¶

type GetIngredientVersionBuildScriptsParams ¶

type GetIngredientVersionBuildScriptsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientVersionBuildScriptsParams contains all the parameters to send to the API endpoint

for the get ingredient version build scripts operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionBuildScriptsParams ¶

func NewGetIngredientVersionBuildScriptsParams() *GetIngredientVersionBuildScriptsParams

NewGetIngredientVersionBuildScriptsParams creates a new GetIngredientVersionBuildScriptsParams 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 NewGetIngredientVersionBuildScriptsParamsWithContext ¶

func NewGetIngredientVersionBuildScriptsParamsWithContext(ctx context.Context) *GetIngredientVersionBuildScriptsParams

NewGetIngredientVersionBuildScriptsParamsWithContext creates a new GetIngredientVersionBuildScriptsParams object with the ability to set a context for a request.

func NewGetIngredientVersionBuildScriptsParamsWithHTTPClient ¶

func NewGetIngredientVersionBuildScriptsParamsWithHTTPClient(client *http.Client) *GetIngredientVersionBuildScriptsParams

NewGetIngredientVersionBuildScriptsParamsWithHTTPClient creates a new GetIngredientVersionBuildScriptsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionBuildScriptsParamsWithTimeout ¶

func NewGetIngredientVersionBuildScriptsParamsWithTimeout(timeout time.Duration) *GetIngredientVersionBuildScriptsParams

NewGetIngredientVersionBuildScriptsParamsWithTimeout creates a new GetIngredientVersionBuildScriptsParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionBuildScriptsParams) SetAllowUnstable ¶

func (o *GetIngredientVersionBuildScriptsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetContext ¶

SetContext adds the context to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetDefaults ¶

func (o *GetIngredientVersionBuildScriptsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version build scripts params (not the query body).

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

func (*GetIngredientVersionBuildScriptsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetIngredientID ¶

func (o *GetIngredientVersionBuildScriptsParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionBuildScriptsParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetLimit ¶

func (o *GetIngredientVersionBuildScriptsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetPage ¶

SetPage adds the page to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetStateAt ¶

func (o *GetIngredientVersionBuildScriptsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithContext ¶

WithContext adds the context to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version build scripts params (not the query body).

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

func (*GetIngredientVersionBuildScriptsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionBuildScriptsParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionBuildScriptsParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithPage ¶

WithPage adds the page to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version build scripts params

func (*GetIngredientVersionBuildScriptsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionBuildScriptsReader ¶

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

GetIngredientVersionBuildScriptsReader is a Reader for the GetIngredientVersionBuildScripts structure.

func (*GetIngredientVersionBuildScriptsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionDefault ¶

type GetIngredientVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionDefault ¶

func NewGetIngredientVersionDefault(code int) *GetIngredientVersionDefault

NewGetIngredientVersionDefault creates a GetIngredientVersionDefault with default headers values

func (*GetIngredientVersionDefault) Code ¶

func (o *GetIngredientVersionDefault) Code() int

Code gets the status code for the get ingredient version default response

func (*GetIngredientVersionDefault) Error ¶

func (*GetIngredientVersionDefault) GetPayload ¶

type GetIngredientVersionIngredientOptionSetsDefault ¶

type GetIngredientVersionIngredientOptionSetsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionIngredientOptionSetsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionIngredientOptionSetsDefault ¶

func NewGetIngredientVersionIngredientOptionSetsDefault(code int) *GetIngredientVersionIngredientOptionSetsDefault

NewGetIngredientVersionIngredientOptionSetsDefault creates a GetIngredientVersionIngredientOptionSetsDefault with default headers values

func (*GetIngredientVersionIngredientOptionSetsDefault) Code ¶

Code gets the status code for the get ingredient version ingredient option sets default response

func (*GetIngredientVersionIngredientOptionSetsDefault) Error ¶

func (*GetIngredientVersionIngredientOptionSetsDefault) GetPayload ¶

type GetIngredientVersionIngredientOptionSetsOK ¶

type GetIngredientVersionIngredientOptionSetsOK struct {
	Payload *inventory_models.IngredientOptionSetWithUsageTypePagedList
}
GetIngredientVersionIngredientOptionSetsOK describes a response with status code 200, with default header values.

A paginated list of ingredient option sets

func NewGetIngredientVersionIngredientOptionSetsOK ¶

func NewGetIngredientVersionIngredientOptionSetsOK() *GetIngredientVersionIngredientOptionSetsOK

NewGetIngredientVersionIngredientOptionSetsOK creates a GetIngredientVersionIngredientOptionSetsOK with default headers values

func (*GetIngredientVersionIngredientOptionSetsOK) Error ¶

func (*GetIngredientVersionIngredientOptionSetsOK) GetPayload ¶

type GetIngredientVersionIngredientOptionSetsParams ¶

type GetIngredientVersionIngredientOptionSetsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	/* UsageType.

	   Filter to just ingredient option sets used by the ingredient version as a default or just those used as an override
	*/
	UsageType *string

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

GetIngredientVersionIngredientOptionSetsParams contains all the parameters to send to the API endpoint

for the get ingredient version ingredient option sets operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionIngredientOptionSetsParams ¶

func NewGetIngredientVersionIngredientOptionSetsParams() *GetIngredientVersionIngredientOptionSetsParams

NewGetIngredientVersionIngredientOptionSetsParams creates a new GetIngredientVersionIngredientOptionSetsParams 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 NewGetIngredientVersionIngredientOptionSetsParamsWithContext ¶

func NewGetIngredientVersionIngredientOptionSetsParamsWithContext(ctx context.Context) *GetIngredientVersionIngredientOptionSetsParams

NewGetIngredientVersionIngredientOptionSetsParamsWithContext creates a new GetIngredientVersionIngredientOptionSetsParams object with the ability to set a context for a request.

func NewGetIngredientVersionIngredientOptionSetsParamsWithHTTPClient ¶

func NewGetIngredientVersionIngredientOptionSetsParamsWithHTTPClient(client *http.Client) *GetIngredientVersionIngredientOptionSetsParams

NewGetIngredientVersionIngredientOptionSetsParamsWithHTTPClient creates a new GetIngredientVersionIngredientOptionSetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionIngredientOptionSetsParamsWithTimeout ¶

func NewGetIngredientVersionIngredientOptionSetsParamsWithTimeout(timeout time.Duration) *GetIngredientVersionIngredientOptionSetsParams

NewGetIngredientVersionIngredientOptionSetsParamsWithTimeout creates a new GetIngredientVersionIngredientOptionSetsParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionIngredientOptionSetsParams) SetAllowUnstable ¶

func (o *GetIngredientVersionIngredientOptionSetsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetContext ¶

SetContext adds the context to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetDefaults ¶

SetDefaults hydrates default values in the get ingredient version ingredient option sets params (not the query body).

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

func (*GetIngredientVersionIngredientOptionSetsParams) SetHTTPClient ¶

SetHTTPClient adds the HTTPClient to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetIngredientID ¶

func (o *GetIngredientVersionIngredientOptionSetsParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionIngredientOptionSetsParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetLimit ¶

SetLimit adds the limit to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetPage ¶

SetPage adds the page to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetStateAt ¶

SetStateAt adds the stateAt to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetTimeout ¶

SetTimeout adds the timeout to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) SetUsageType ¶

func (o *GetIngredientVersionIngredientOptionSetsParams) SetUsageType(usageType *string)

SetUsageType adds the usageType to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithContext ¶

WithContext adds the context to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version ingredient option sets params (not the query body).

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

func (*GetIngredientVersionIngredientOptionSetsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithIngredientVersionID ¶

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithPage ¶

WithPage adds the page to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WithUsageType ¶

WithUsageType adds the usageType to the get ingredient version ingredient option sets params

func (*GetIngredientVersionIngredientOptionSetsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionIngredientOptionSetsReader ¶

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

GetIngredientVersionIngredientOptionSetsReader is a Reader for the GetIngredientVersionIngredientOptionSets structure.

func (*GetIngredientVersionIngredientOptionSetsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionOK ¶

type GetIngredientVersionOK struct {
	Payload *inventory_models.FullIngredientVersion
}
GetIngredientVersionOK describes a response with status code 200, with default header values.

The retrieved ingredient version

func NewGetIngredientVersionOK ¶

func NewGetIngredientVersionOK() *GetIngredientVersionOK

NewGetIngredientVersionOK creates a GetIngredientVersionOK with default headers values

func (*GetIngredientVersionOK) Error ¶

func (o *GetIngredientVersionOK) Error() string

func (*GetIngredientVersionOK) GetPayload ¶

type GetIngredientVersionParams ¶

type GetIngredientVersionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientVersionParams contains all the parameters to send to the API endpoint

for the get ingredient version operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionParams ¶

func NewGetIngredientVersionParams() *GetIngredientVersionParams

NewGetIngredientVersionParams creates a new GetIngredientVersionParams 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 NewGetIngredientVersionParamsWithContext ¶

func NewGetIngredientVersionParamsWithContext(ctx context.Context) *GetIngredientVersionParams

NewGetIngredientVersionParamsWithContext creates a new GetIngredientVersionParams object with the ability to set a context for a request.

func NewGetIngredientVersionParamsWithHTTPClient ¶

func NewGetIngredientVersionParamsWithHTTPClient(client *http.Client) *GetIngredientVersionParams

NewGetIngredientVersionParamsWithHTTPClient creates a new GetIngredientVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionParamsWithTimeout ¶

func NewGetIngredientVersionParamsWithTimeout(timeout time.Duration) *GetIngredientVersionParams

NewGetIngredientVersionParamsWithTimeout creates a new GetIngredientVersionParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionParams) SetAllowUnstable ¶

func (o *GetIngredientVersionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient version params

func (*GetIngredientVersionParams) SetContext ¶

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

SetContext adds the context to the get ingredient version params

func (*GetIngredientVersionParams) SetDefaults ¶

func (o *GetIngredientVersionParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version params (not the query body).

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

func (*GetIngredientVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version params

func (*GetIngredientVersionParams) SetIngredientID ¶

func (o *GetIngredientVersionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version params

func (*GetIngredientVersionParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version params

func (*GetIngredientVersionParams) SetStateAt ¶

func (o *GetIngredientVersionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient version params

func (*GetIngredientVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version params

func (*GetIngredientVersionParams) WithAllowUnstable ¶

func (o *GetIngredientVersionParams) WithAllowUnstable(allowUnstable *bool) *GetIngredientVersionParams

WithAllowUnstable adds the allowUnstable to the get ingredient version params

func (*GetIngredientVersionParams) WithContext ¶

WithContext adds the context to the get ingredient version params

func (*GetIngredientVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version params (not the query body).

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

func (*GetIngredientVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version params

func (*GetIngredientVersionParams) WithIngredientID ¶

func (o *GetIngredientVersionParams) WithIngredientID(ingredientID strfmt.UUID) *GetIngredientVersionParams

WithIngredientID adds the ingredientID to the get ingredient version params

func (*GetIngredientVersionParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version params

func (*GetIngredientVersionParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient version params

func (*GetIngredientVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version params

func (*GetIngredientVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionPatchesDefault ¶

type GetIngredientVersionPatchesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionPatchesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionPatchesDefault ¶

func NewGetIngredientVersionPatchesDefault(code int) *GetIngredientVersionPatchesDefault

NewGetIngredientVersionPatchesDefault creates a GetIngredientVersionPatchesDefault with default headers values

func (*GetIngredientVersionPatchesDefault) Code ¶

Code gets the status code for the get ingredient version patches default response

func (*GetIngredientVersionPatchesDefault) Error ¶

func (*GetIngredientVersionPatchesDefault) GetPayload ¶

type GetIngredientVersionPatchesOK ¶

type GetIngredientVersionPatchesOK struct {
	Payload *inventory_models.IngredientVersionPatchPagedList
}
GetIngredientVersionPatchesOK describes a response with status code 200, with default header values.

A paginated list of patches for this ingredient version

func NewGetIngredientVersionPatchesOK ¶

func NewGetIngredientVersionPatchesOK() *GetIngredientVersionPatchesOK

NewGetIngredientVersionPatchesOK creates a GetIngredientVersionPatchesOK with default headers values

func (*GetIngredientVersionPatchesOK) Error ¶

func (*GetIngredientVersionPatchesOK) GetPayload ¶

type GetIngredientVersionPatchesParams ¶

type GetIngredientVersionPatchesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientVersionPatchesParams contains all the parameters to send to the API endpoint

for the get ingredient version patches operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionPatchesParams ¶

func NewGetIngredientVersionPatchesParams() *GetIngredientVersionPatchesParams

NewGetIngredientVersionPatchesParams creates a new GetIngredientVersionPatchesParams 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 NewGetIngredientVersionPatchesParamsWithContext ¶

func NewGetIngredientVersionPatchesParamsWithContext(ctx context.Context) *GetIngredientVersionPatchesParams

NewGetIngredientVersionPatchesParamsWithContext creates a new GetIngredientVersionPatchesParams object with the ability to set a context for a request.

func NewGetIngredientVersionPatchesParamsWithHTTPClient ¶

func NewGetIngredientVersionPatchesParamsWithHTTPClient(client *http.Client) *GetIngredientVersionPatchesParams

NewGetIngredientVersionPatchesParamsWithHTTPClient creates a new GetIngredientVersionPatchesParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionPatchesParamsWithTimeout ¶

func NewGetIngredientVersionPatchesParamsWithTimeout(timeout time.Duration) *GetIngredientVersionPatchesParams

NewGetIngredientVersionPatchesParamsWithTimeout creates a new GetIngredientVersionPatchesParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionPatchesParams) SetAllowUnstable ¶

func (o *GetIngredientVersionPatchesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetContext ¶

SetContext adds the context to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetDefaults ¶

func (o *GetIngredientVersionPatchesParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version patches params (not the query body).

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

func (*GetIngredientVersionPatchesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetIngredientID ¶

func (o *GetIngredientVersionPatchesParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionPatchesParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetLimit ¶

func (o *GetIngredientVersionPatchesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetPage ¶

func (o *GetIngredientVersionPatchesParams) SetPage(page *int64)

SetPage adds the page to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetStateAt ¶

func (o *GetIngredientVersionPatchesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithAllowUnstable ¶

func (o *GetIngredientVersionPatchesParams) WithAllowUnstable(allowUnstable *bool) *GetIngredientVersionPatchesParams

WithAllowUnstable adds the allowUnstable to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithContext ¶

WithContext adds the context to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version patches params (not the query body).

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

func (*GetIngredientVersionPatchesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionPatchesParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionPatchesParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithLimit ¶

WithLimit adds the limit to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithPage ¶

WithPage adds the page to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version patches params

func (*GetIngredientVersionPatchesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionPatchesReader ¶

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

GetIngredientVersionPatchesReader is a Reader for the GetIngredientVersionPatches structure.

func (*GetIngredientVersionPatchesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionReader ¶

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

GetIngredientVersionReader is a Reader for the GetIngredientVersion structure.

func (*GetIngredientVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionRevisionDefault ¶

type GetIngredientVersionRevisionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionRevisionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionRevisionDefault ¶

func NewGetIngredientVersionRevisionDefault(code int) *GetIngredientVersionRevisionDefault

NewGetIngredientVersionRevisionDefault creates a GetIngredientVersionRevisionDefault with default headers values

func (*GetIngredientVersionRevisionDefault) Code ¶

Code gets the status code for the get ingredient version revision default response

func (*GetIngredientVersionRevisionDefault) Error ¶

func (*GetIngredientVersionRevisionDefault) GetPayload ¶

type GetIngredientVersionRevisionOK ¶

type GetIngredientVersionRevisionOK struct {
	Payload *inventory_models.IngredientVersionRevision
}
GetIngredientVersionRevisionOK describes a response with status code 200, with default header values.

The retrieved ingredient version revision

func NewGetIngredientVersionRevisionOK ¶

func NewGetIngredientVersionRevisionOK() *GetIngredientVersionRevisionOK

NewGetIngredientVersionRevisionOK creates a GetIngredientVersionRevisionOK with default headers values

func (*GetIngredientVersionRevisionOK) Error ¶

func (*GetIngredientVersionRevisionOK) GetPayload ¶

type GetIngredientVersionRevisionParams ¶

type GetIngredientVersionRevisionParams struct {

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	// Revision.
	Revision int64

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

GetIngredientVersionRevisionParams contains all the parameters to send to the API endpoint

for the get ingredient version revision operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionRevisionParams ¶

func NewGetIngredientVersionRevisionParams() *GetIngredientVersionRevisionParams

NewGetIngredientVersionRevisionParams creates a new GetIngredientVersionRevisionParams 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 NewGetIngredientVersionRevisionParamsWithContext ¶

func NewGetIngredientVersionRevisionParamsWithContext(ctx context.Context) *GetIngredientVersionRevisionParams

NewGetIngredientVersionRevisionParamsWithContext creates a new GetIngredientVersionRevisionParams object with the ability to set a context for a request.

func NewGetIngredientVersionRevisionParamsWithHTTPClient ¶

func NewGetIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *GetIngredientVersionRevisionParams

NewGetIngredientVersionRevisionParamsWithHTTPClient creates a new GetIngredientVersionRevisionParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionRevisionParamsWithTimeout ¶

func NewGetIngredientVersionRevisionParamsWithTimeout(timeout time.Duration) *GetIngredientVersionRevisionParams

NewGetIngredientVersionRevisionParamsWithTimeout creates a new GetIngredientVersionRevisionParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionRevisionParams) SetContext ¶

SetContext adds the context to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) SetDefaults ¶

func (o *GetIngredientVersionRevisionParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version revision params (not the query body).

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

func (*GetIngredientVersionRevisionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) SetIngredientID ¶

func (o *GetIngredientVersionRevisionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionRevisionParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) SetRevision ¶

func (o *GetIngredientVersionRevisionParams) SetRevision(revision int64)

SetRevision adds the revision to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithContext ¶

WithContext adds the context to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version revision params (not the query body).

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

func (*GetIngredientVersionRevisionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionRevisionParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionRevisionParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithRevision ¶

WithRevision adds the revision to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version revision params

func (*GetIngredientVersionRevisionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionRevisionReader ¶

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

GetIngredientVersionRevisionReader is a Reader for the GetIngredientVersionRevision structure.

func (*GetIngredientVersionRevisionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionRevisionsDefault ¶

type GetIngredientVersionRevisionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionRevisionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionRevisionsDefault ¶

func NewGetIngredientVersionRevisionsDefault(code int) *GetIngredientVersionRevisionsDefault

NewGetIngredientVersionRevisionsDefault creates a GetIngredientVersionRevisionsDefault with default headers values

func (*GetIngredientVersionRevisionsDefault) Code ¶

Code gets the status code for the get ingredient version revisions default response

func (*GetIngredientVersionRevisionsDefault) Error ¶

func (*GetIngredientVersionRevisionsDefault) GetPayload ¶

type GetIngredientVersionRevisionsOK ¶

type GetIngredientVersionRevisionsOK struct {
	Payload *inventory_models.IngredientVersionRevisionPagedList
}
GetIngredientVersionRevisionsOK describes a response with status code 200, with default header values.

A paginated list of ingredient version revisions

func NewGetIngredientVersionRevisionsOK ¶

func NewGetIngredientVersionRevisionsOK() *GetIngredientVersionRevisionsOK

NewGetIngredientVersionRevisionsOK creates a GetIngredientVersionRevisionsOK with default headers values

func (*GetIngredientVersionRevisionsOK) Error ¶

func (*GetIngredientVersionRevisionsOK) GetPayload ¶

type GetIngredientVersionRevisionsParams ¶

type GetIngredientVersionRevisionsParams struct {

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetIngredientVersionRevisionsParams contains all the parameters to send to the API endpoint

for the get ingredient version revisions operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionRevisionsParams ¶

func NewGetIngredientVersionRevisionsParams() *GetIngredientVersionRevisionsParams

NewGetIngredientVersionRevisionsParams creates a new GetIngredientVersionRevisionsParams 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 NewGetIngredientVersionRevisionsParamsWithContext ¶

func NewGetIngredientVersionRevisionsParamsWithContext(ctx context.Context) *GetIngredientVersionRevisionsParams

NewGetIngredientVersionRevisionsParamsWithContext creates a new GetIngredientVersionRevisionsParams object with the ability to set a context for a request.

func NewGetIngredientVersionRevisionsParamsWithHTTPClient ¶

func NewGetIngredientVersionRevisionsParamsWithHTTPClient(client *http.Client) *GetIngredientVersionRevisionsParams

NewGetIngredientVersionRevisionsParamsWithHTTPClient creates a new GetIngredientVersionRevisionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionRevisionsParamsWithTimeout ¶

func NewGetIngredientVersionRevisionsParamsWithTimeout(timeout time.Duration) *GetIngredientVersionRevisionsParams

NewGetIngredientVersionRevisionsParamsWithTimeout creates a new GetIngredientVersionRevisionsParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionRevisionsParams) SetContext ¶

SetContext adds the context to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetDefaults ¶

func (o *GetIngredientVersionRevisionsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient version revisions params (not the query body).

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

func (*GetIngredientVersionRevisionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetIngredientID ¶

func (o *GetIngredientVersionRevisionsParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetIngredientVersionID ¶

func (o *GetIngredientVersionRevisionsParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetLimit ¶

func (o *GetIngredientVersionRevisionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetPage ¶

func (o *GetIngredientVersionRevisionsParams) SetPage(page *int64)

SetPage adds the page to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithContext ¶

WithContext adds the context to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient version revisions params (not the query body).

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

func (*GetIngredientVersionRevisionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithIngredientID ¶

WithIngredientID adds the ingredientID to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithIngredientVersionID ¶

func (o *GetIngredientVersionRevisionsParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *GetIngredientVersionRevisionsParams

WithIngredientVersionID adds the ingredientVersionID to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithPage ¶

WithPage adds the page to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient version revisions params

func (*GetIngredientVersionRevisionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionRevisionsReader ¶

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

GetIngredientVersionRevisionsReader is a Reader for the GetIngredientVersionRevisions structure.

func (*GetIngredientVersionRevisionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientVersionsDefault ¶

type GetIngredientVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientVersionsDefault ¶

func NewGetIngredientVersionsDefault(code int) *GetIngredientVersionsDefault

NewGetIngredientVersionsDefault creates a GetIngredientVersionsDefault with default headers values

func (*GetIngredientVersionsDefault) Code ¶

Code gets the status code for the get ingredient versions default response

func (*GetIngredientVersionsDefault) Error ¶

func (*GetIngredientVersionsDefault) GetPayload ¶

type GetIngredientVersionsOK ¶

type GetIngredientVersionsOK struct {
	Payload *inventory_models.IngredientVersionPagedList
}
GetIngredientVersionsOK describes a response with status code 200, with default header values.

A paginated list of ingredient versions

func NewGetIngredientVersionsOK ¶

func NewGetIngredientVersionsOK() *GetIngredientVersionsOK

NewGetIngredientVersionsOK creates a GetIngredientVersionsOK with default headers values

func (*GetIngredientVersionsOK) Error ¶

func (o *GetIngredientVersionsOK) Error() string

func (*GetIngredientVersionsOK) GetPayload ¶

type GetIngredientVersionsParams ¶

type GetIngredientVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetIngredientVersionsParams contains all the parameters to send to the API endpoint

for the get ingredient versions operation.

Typically these are written to a http.Request.

func NewGetIngredientVersionsParams ¶

func NewGetIngredientVersionsParams() *GetIngredientVersionsParams

NewGetIngredientVersionsParams creates a new GetIngredientVersionsParams 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 NewGetIngredientVersionsParamsWithContext ¶

func NewGetIngredientVersionsParamsWithContext(ctx context.Context) *GetIngredientVersionsParams

NewGetIngredientVersionsParamsWithContext creates a new GetIngredientVersionsParams object with the ability to set a context for a request.

func NewGetIngredientVersionsParamsWithHTTPClient ¶

func NewGetIngredientVersionsParamsWithHTTPClient(client *http.Client) *GetIngredientVersionsParams

NewGetIngredientVersionsParamsWithHTTPClient creates a new GetIngredientVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientVersionsParamsWithTimeout ¶

func NewGetIngredientVersionsParamsWithTimeout(timeout time.Duration) *GetIngredientVersionsParams

NewGetIngredientVersionsParamsWithTimeout creates a new GetIngredientVersionsParams object with the ability to set a timeout on a request.

func (*GetIngredientVersionsParams) SetAllowUnstable ¶

func (o *GetIngredientVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get ingredient versions params

func (*GetIngredientVersionsParams) SetContext ¶

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

SetContext adds the context to the get ingredient versions params

func (*GetIngredientVersionsParams) SetDefaults ¶

func (o *GetIngredientVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredient versions params (not the query body).

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

func (*GetIngredientVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredient versions params

func (*GetIngredientVersionsParams) SetIngredientID ¶

func (o *GetIngredientVersionsParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the get ingredient versions params

func (*GetIngredientVersionsParams) SetLimit ¶

func (o *GetIngredientVersionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredient versions params

func (*GetIngredientVersionsParams) SetPage ¶

func (o *GetIngredientVersionsParams) SetPage(page *int64)

SetPage adds the page to the get ingredient versions params

func (*GetIngredientVersionsParams) SetStateAt ¶

func (o *GetIngredientVersionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get ingredient versions params

func (*GetIngredientVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredient versions params

func (*GetIngredientVersionsParams) WithAllowUnstable ¶

func (o *GetIngredientVersionsParams) WithAllowUnstable(allowUnstable *bool) *GetIngredientVersionsParams

WithAllowUnstable adds the allowUnstable to the get ingredient versions params

func (*GetIngredientVersionsParams) WithContext ¶

WithContext adds the context to the get ingredient versions params

func (*GetIngredientVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get ingredient versions params (not the query body).

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

func (*GetIngredientVersionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get ingredient versions params

func (*GetIngredientVersionsParams) WithIngredientID ¶

func (o *GetIngredientVersionsParams) WithIngredientID(ingredientID strfmt.UUID) *GetIngredientVersionsParams

WithIngredientID adds the ingredientID to the get ingredient versions params

func (*GetIngredientVersionsParams) WithLimit ¶

WithLimit adds the limit to the get ingredient versions params

func (*GetIngredientVersionsParams) WithPage ¶

WithPage adds the page to the get ingredient versions params

func (*GetIngredientVersionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get ingredient versions params

func (*GetIngredientVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get ingredient versions params

func (*GetIngredientVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetIngredientVersionsReader ¶

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

GetIngredientVersionsReader is a Reader for the GetIngredientVersions structure.

func (*GetIngredientVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetIngredientsDefault ¶

type GetIngredientsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetIngredientsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetIngredientsDefault ¶

func NewGetIngredientsDefault(code int) *GetIngredientsDefault

NewGetIngredientsDefault creates a GetIngredientsDefault with default headers values

func (*GetIngredientsDefault) Code ¶

func (o *GetIngredientsDefault) Code() int

Code gets the status code for the get ingredients default response

func (*GetIngredientsDefault) Error ¶

func (o *GetIngredientsDefault) Error() string

func (*GetIngredientsDefault) GetPayload ¶

type GetIngredientsOK ¶

type GetIngredientsOK struct {
	Payload *inventory_models.IngredientPagedList
}
GetIngredientsOK describes a response with status code 200, with default header values.

A paginated list of ingredients

func NewGetIngredientsOK ¶

func NewGetIngredientsOK() *GetIngredientsOK

NewGetIngredientsOK creates a GetIngredientsOK with default headers values

func (*GetIngredientsOK) Error ¶

func (o *GetIngredientsOK) Error() string

func (*GetIngredientsOK) GetPayload ¶

type GetIngredientsParams ¶

type GetIngredientsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetIngredientsParams contains all the parameters to send to the API endpoint

for the get ingredients operation.

Typically these are written to a http.Request.

func NewGetIngredientsParams ¶

func NewGetIngredientsParams() *GetIngredientsParams

NewGetIngredientsParams creates a new GetIngredientsParams 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 NewGetIngredientsParamsWithContext ¶

func NewGetIngredientsParamsWithContext(ctx context.Context) *GetIngredientsParams

NewGetIngredientsParamsWithContext creates a new GetIngredientsParams object with the ability to set a context for a request.

func NewGetIngredientsParamsWithHTTPClient ¶

func NewGetIngredientsParamsWithHTTPClient(client *http.Client) *GetIngredientsParams

NewGetIngredientsParamsWithHTTPClient creates a new GetIngredientsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIngredientsParamsWithTimeout ¶

func NewGetIngredientsParamsWithTimeout(timeout time.Duration) *GetIngredientsParams

NewGetIngredientsParamsWithTimeout creates a new GetIngredientsParams object with the ability to set a timeout on a request.

func (*GetIngredientsParams) SetContext ¶

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

SetContext adds the context to the get ingredients params

func (*GetIngredientsParams) SetDefaults ¶

func (o *GetIngredientsParams) SetDefaults()

SetDefaults hydrates default values in the get ingredients params (not the query body).

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

func (*GetIngredientsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get ingredients params

func (*GetIngredientsParams) SetLimit ¶

func (o *GetIngredientsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get ingredients params

func (*GetIngredientsParams) SetPage ¶

func (o *GetIngredientsParams) SetPage(page *int64)

SetPage adds the page to the get ingredients params

func (*GetIngredientsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get ingredients params

func (*GetIngredientsParams) WithContext ¶

WithContext adds the context to the get ingredients params

func (*GetIngredientsParams) WithDefaults ¶

func (o *GetIngredientsParams) WithDefaults() *GetIngredientsParams

WithDefaults hydrates default values in the get ingredients params (not the query body).

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

func (*GetIngredientsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get ingredients params

func (*GetIngredientsParams) WithLimit ¶

func (o *GetIngredientsParams) WithLimit(limit *int64) *GetIngredientsParams

WithLimit adds the limit to the get ingredients params

func (*GetIngredientsParams) WithPage ¶

func (o *GetIngredientsParams) WithPage(page *int64) *GetIngredientsParams

WithPage adds the page to the get ingredients params

func (*GetIngredientsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get ingredients params

func (*GetIngredientsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetIngredientsReader ¶

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

GetIngredientsReader is a Reader for the GetIngredients structure.

func (*GetIngredientsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelCPUArchitecturesDefault ¶

type GetKernelCPUArchitecturesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelCPUArchitecturesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelCPUArchitecturesDefault ¶

func NewGetKernelCPUArchitecturesDefault(code int) *GetKernelCPUArchitecturesDefault

NewGetKernelCPUArchitecturesDefault creates a GetKernelCPUArchitecturesDefault with default headers values

func (*GetKernelCPUArchitecturesDefault) Code ¶

Code gets the status code for the get kernel Cpu architectures default response

func (*GetKernelCPUArchitecturesDefault) Error ¶

func (*GetKernelCPUArchitecturesDefault) GetPayload ¶

type GetKernelCPUArchitecturesOK ¶

type GetKernelCPUArchitecturesOK struct {
	Payload *inventory_models.CPUArchitecturePagedList
}
GetKernelCPUArchitecturesOK describes a response with status code 200, with default header values.

A paginated list of CPU architectures

func NewGetKernelCPUArchitecturesOK ¶

func NewGetKernelCPUArchitecturesOK() *GetKernelCPUArchitecturesOK

NewGetKernelCPUArchitecturesOK creates a GetKernelCPUArchitecturesOK with default headers values

func (*GetKernelCPUArchitecturesOK) Error ¶

func (*GetKernelCPUArchitecturesOK) GetPayload ¶

type GetKernelCPUArchitecturesParams ¶

type GetKernelCPUArchitecturesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetKernelCPUArchitecturesParams contains all the parameters to send to the API endpoint

for the get kernel Cpu architectures operation.

Typically these are written to a http.Request.

func NewGetKernelCPUArchitecturesParams ¶

func NewGetKernelCPUArchitecturesParams() *GetKernelCPUArchitecturesParams

NewGetKernelCPUArchitecturesParams creates a new GetKernelCPUArchitecturesParams 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 NewGetKernelCPUArchitecturesParamsWithContext ¶

func NewGetKernelCPUArchitecturesParamsWithContext(ctx context.Context) *GetKernelCPUArchitecturesParams

NewGetKernelCPUArchitecturesParamsWithContext creates a new GetKernelCPUArchitecturesParams object with the ability to set a context for a request.

func NewGetKernelCPUArchitecturesParamsWithHTTPClient ¶

func NewGetKernelCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetKernelCPUArchitecturesParams

NewGetKernelCPUArchitecturesParamsWithHTTPClient creates a new GetKernelCPUArchitecturesParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelCPUArchitecturesParamsWithTimeout ¶

func NewGetKernelCPUArchitecturesParamsWithTimeout(timeout time.Duration) *GetKernelCPUArchitecturesParams

NewGetKernelCPUArchitecturesParamsWithTimeout creates a new GetKernelCPUArchitecturesParams object with the ability to set a timeout on a request.

func (*GetKernelCPUArchitecturesParams) SetAllowUnstable ¶

func (o *GetKernelCPUArchitecturesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetContext ¶

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

SetContext adds the context to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetDefaults ¶

func (o *GetKernelCPUArchitecturesParams) SetDefaults()

SetDefaults hydrates default values in the get kernel Cpu architectures params (not the query body).

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

func (*GetKernelCPUArchitecturesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetKernelID ¶

func (o *GetKernelCPUArchitecturesParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetLimit ¶

func (o *GetKernelCPUArchitecturesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetPage ¶

func (o *GetKernelCPUArchitecturesParams) SetPage(page *int64)

SetPage adds the page to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetStateAt ¶

func (o *GetKernelCPUArchitecturesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithAllowUnstable ¶

func (o *GetKernelCPUArchitecturesParams) WithAllowUnstable(allowUnstable *bool) *GetKernelCPUArchitecturesParams

WithAllowUnstable adds the allowUnstable to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithContext ¶

WithContext adds the context to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithDefaults ¶

WithDefaults hydrates default values in the get kernel Cpu architectures params (not the query body).

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

func (*GetKernelCPUArchitecturesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithKernelID ¶

WithKernelID adds the kernelID to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithLimit ¶

WithLimit adds the limit to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithPage ¶

WithPage adds the page to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithStateAt ¶

WithStateAt adds the stateAt to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WithTimeout ¶

WithTimeout adds the timeout to the get kernel Cpu architectures params

func (*GetKernelCPUArchitecturesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetKernelCPUArchitecturesReader ¶

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

GetKernelCPUArchitecturesReader is a Reader for the GetKernelCPUArchitectures structure.

func (*GetKernelCPUArchitecturesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelDefault ¶

type GetKernelDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelDefault ¶

func NewGetKernelDefault(code int) *GetKernelDefault

NewGetKernelDefault creates a GetKernelDefault with default headers values

func (*GetKernelDefault) Code ¶

func (o *GetKernelDefault) Code() int

Code gets the status code for the get kernel default response

func (*GetKernelDefault) Error ¶

func (o *GetKernelDefault) Error() string

func (*GetKernelDefault) GetPayload ¶

type GetKernelGPUArchitecturesDefault ¶

type GetKernelGPUArchitecturesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelGPUArchitecturesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelGPUArchitecturesDefault ¶

func NewGetKernelGPUArchitecturesDefault(code int) *GetKernelGPUArchitecturesDefault

NewGetKernelGPUArchitecturesDefault creates a GetKernelGPUArchitecturesDefault with default headers values

func (*GetKernelGPUArchitecturesDefault) Code ¶

Code gets the status code for the get kernel g p u architectures default response

func (*GetKernelGPUArchitecturesDefault) Error ¶

func (*GetKernelGPUArchitecturesDefault) GetPayload ¶

type GetKernelGPUArchitecturesOK ¶

type GetKernelGPUArchitecturesOK struct {
	Payload *inventory_models.GpuArchitecturePagedList
}
GetKernelGPUArchitecturesOK describes a response with status code 200, with default header values.

A paginated list of GPU architectures

func NewGetKernelGPUArchitecturesOK ¶

func NewGetKernelGPUArchitecturesOK() *GetKernelGPUArchitecturesOK

NewGetKernelGPUArchitecturesOK creates a GetKernelGPUArchitecturesOK with default headers values

func (*GetKernelGPUArchitecturesOK) Error ¶

func (*GetKernelGPUArchitecturesOK) GetPayload ¶

type GetKernelGPUArchitecturesParams ¶

type GetKernelGPUArchitecturesParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetKernelGPUArchitecturesParams contains all the parameters to send to the API endpoint

for the get kernel g p u architectures operation.

Typically these are written to a http.Request.

func NewGetKernelGPUArchitecturesParams ¶

func NewGetKernelGPUArchitecturesParams() *GetKernelGPUArchitecturesParams

NewGetKernelGPUArchitecturesParams creates a new GetKernelGPUArchitecturesParams 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 NewGetKernelGPUArchitecturesParamsWithContext ¶

func NewGetKernelGPUArchitecturesParamsWithContext(ctx context.Context) *GetKernelGPUArchitecturesParams

NewGetKernelGPUArchitecturesParamsWithContext creates a new GetKernelGPUArchitecturesParams object with the ability to set a context for a request.

func NewGetKernelGPUArchitecturesParamsWithHTTPClient ¶

func NewGetKernelGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetKernelGPUArchitecturesParams

NewGetKernelGPUArchitecturesParamsWithHTTPClient creates a new GetKernelGPUArchitecturesParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelGPUArchitecturesParamsWithTimeout ¶

func NewGetKernelGPUArchitecturesParamsWithTimeout(timeout time.Duration) *GetKernelGPUArchitecturesParams

NewGetKernelGPUArchitecturesParamsWithTimeout creates a new GetKernelGPUArchitecturesParams object with the ability to set a timeout on a request.

func (*GetKernelGPUArchitecturesParams) SetAllowUnstable ¶

func (o *GetKernelGPUArchitecturesParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetContext ¶

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

SetContext adds the context to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetDefaults ¶

func (o *GetKernelGPUArchitecturesParams) SetDefaults()

SetDefaults hydrates default values in the get kernel g p u architectures params (not the query body).

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

func (*GetKernelGPUArchitecturesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetKernelID ¶

func (o *GetKernelGPUArchitecturesParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetLimit ¶

func (o *GetKernelGPUArchitecturesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetPage ¶

func (o *GetKernelGPUArchitecturesParams) SetPage(page *int64)

SetPage adds the page to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetStateAt ¶

func (o *GetKernelGPUArchitecturesParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithAllowUnstable ¶

func (o *GetKernelGPUArchitecturesParams) WithAllowUnstable(allowUnstable *bool) *GetKernelGPUArchitecturesParams

WithAllowUnstable adds the allowUnstable to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithContext ¶

WithContext adds the context to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithDefaults ¶

WithDefaults hydrates default values in the get kernel g p u architectures params (not the query body).

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

func (*GetKernelGPUArchitecturesParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithKernelID ¶

WithKernelID adds the kernelID to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithLimit ¶

WithLimit adds the limit to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithPage ¶

WithPage adds the page to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithStateAt ¶

WithStateAt adds the stateAt to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WithTimeout ¶

WithTimeout adds the timeout to the get kernel g p u architectures params

func (*GetKernelGPUArchitecturesParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetKernelGPUArchitecturesReader ¶

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

GetKernelGPUArchitecturesReader is a Reader for the GetKernelGPUArchitectures structure.

func (*GetKernelGPUArchitecturesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelOK ¶

type GetKernelOK struct {
	Payload *inventory_models.Kernel
}
GetKernelOK describes a response with status code 200, with default header values.

The retrieved kernel

func NewGetKernelOK ¶

func NewGetKernelOK() *GetKernelOK

NewGetKernelOK creates a GetKernelOK with default headers values

func (*GetKernelOK) Error ¶

func (o *GetKernelOK) Error() string

func (*GetKernelOK) GetPayload ¶

func (o *GetKernelOK) GetPayload() *inventory_models.Kernel

type GetKernelParams ¶

type GetKernelParams struct {

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

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

GetKernelParams contains all the parameters to send to the API endpoint

for the get kernel operation.

Typically these are written to a http.Request.

func NewGetKernelParams ¶

func NewGetKernelParams() *GetKernelParams

NewGetKernelParams creates a new GetKernelParams 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 NewGetKernelParamsWithContext ¶

func NewGetKernelParamsWithContext(ctx context.Context) *GetKernelParams

NewGetKernelParamsWithContext creates a new GetKernelParams object with the ability to set a context for a request.

func NewGetKernelParamsWithHTTPClient ¶

func NewGetKernelParamsWithHTTPClient(client *http.Client) *GetKernelParams

NewGetKernelParamsWithHTTPClient creates a new GetKernelParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelParamsWithTimeout ¶

func NewGetKernelParamsWithTimeout(timeout time.Duration) *GetKernelParams

NewGetKernelParamsWithTimeout creates a new GetKernelParams object with the ability to set a timeout on a request.

func (*GetKernelParams) SetContext ¶

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

SetContext adds the context to the get kernel params

func (*GetKernelParams) SetDefaults ¶

func (o *GetKernelParams) SetDefaults()

SetDefaults hydrates default values in the get kernel params (not the query body).

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

func (*GetKernelParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernel params

func (*GetKernelParams) SetKernelID ¶

func (o *GetKernelParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the get kernel params

func (*GetKernelParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernel params

func (*GetKernelParams) WithContext ¶

func (o *GetKernelParams) WithContext(ctx context.Context) *GetKernelParams

WithContext adds the context to the get kernel params

func (*GetKernelParams) WithDefaults ¶

func (o *GetKernelParams) WithDefaults() *GetKernelParams

WithDefaults hydrates default values in the get kernel params (not the query body).

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

func (*GetKernelParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get kernel params

func (*GetKernelParams) WithKernelID ¶

func (o *GetKernelParams) WithKernelID(kernelID strfmt.UUID) *GetKernelParams

WithKernelID adds the kernelID to the get kernel params

func (*GetKernelParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get kernel params

func (*GetKernelParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetKernelReader ¶

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

GetKernelReader is a Reader for the GetKernel structure.

func (*GetKernelReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelVersionDefault ¶

type GetKernelVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelVersionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelVersionDefault ¶

func NewGetKernelVersionDefault(code int) *GetKernelVersionDefault

NewGetKernelVersionDefault creates a GetKernelVersionDefault with default headers values

func (*GetKernelVersionDefault) Code ¶

func (o *GetKernelVersionDefault) Code() int

Code gets the status code for the get kernel version default response

func (*GetKernelVersionDefault) Error ¶

func (o *GetKernelVersionDefault) Error() string

func (*GetKernelVersionDefault) GetPayload ¶

type GetKernelVersionOK ¶

type GetKernelVersionOK struct {
	Payload *inventory_models.KernelVersion
}
GetKernelVersionOK describes a response with status code 200, with default header values.

The retrieved kernel version

func NewGetKernelVersionOK ¶

func NewGetKernelVersionOK() *GetKernelVersionOK

NewGetKernelVersionOK creates a GetKernelVersionOK with default headers values

func (*GetKernelVersionOK) Error ¶

func (o *GetKernelVersionOK) Error() string

func (*GetKernelVersionOK) GetPayload ¶

type GetKernelVersionParams ¶

type GetKernelVersionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	// KernelVersionID.
	//
	// Format: uuid
	KernelVersionID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetKernelVersionParams contains all the parameters to send to the API endpoint

for the get kernel version operation.

Typically these are written to a http.Request.

func NewGetKernelVersionParams ¶

func NewGetKernelVersionParams() *GetKernelVersionParams

NewGetKernelVersionParams creates a new GetKernelVersionParams 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 NewGetKernelVersionParamsWithContext ¶

func NewGetKernelVersionParamsWithContext(ctx context.Context) *GetKernelVersionParams

NewGetKernelVersionParamsWithContext creates a new GetKernelVersionParams object with the ability to set a context for a request.

func NewGetKernelVersionParamsWithHTTPClient ¶

func NewGetKernelVersionParamsWithHTTPClient(client *http.Client) *GetKernelVersionParams

NewGetKernelVersionParamsWithHTTPClient creates a new GetKernelVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelVersionParamsWithTimeout ¶

func NewGetKernelVersionParamsWithTimeout(timeout time.Duration) *GetKernelVersionParams

NewGetKernelVersionParamsWithTimeout creates a new GetKernelVersionParams object with the ability to set a timeout on a request.

func (*GetKernelVersionParams) SetAllowUnstable ¶

func (o *GetKernelVersionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get kernel version params

func (*GetKernelVersionParams) SetContext ¶

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

SetContext adds the context to the get kernel version params

func (*GetKernelVersionParams) SetDefaults ¶

func (o *GetKernelVersionParams) SetDefaults()

SetDefaults hydrates default values in the get kernel version params (not the query body).

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

func (*GetKernelVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernel version params

func (*GetKernelVersionParams) SetKernelID ¶

func (o *GetKernelVersionParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the get kernel version params

func (*GetKernelVersionParams) SetKernelVersionID ¶

func (o *GetKernelVersionParams) SetKernelVersionID(kernelVersionID strfmt.UUID)

SetKernelVersionID adds the kernelVersionId to the get kernel version params

func (*GetKernelVersionParams) SetStateAt ¶

func (o *GetKernelVersionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get kernel version params

func (*GetKernelVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernel version params

func (*GetKernelVersionParams) WithAllowUnstable ¶

func (o *GetKernelVersionParams) WithAllowUnstable(allowUnstable *bool) *GetKernelVersionParams

WithAllowUnstable adds the allowUnstable to the get kernel version params

func (*GetKernelVersionParams) WithContext ¶

WithContext adds the context to the get kernel version params

func (*GetKernelVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the get kernel version params (not the query body).

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

func (*GetKernelVersionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get kernel version params

func (*GetKernelVersionParams) WithKernelID ¶

func (o *GetKernelVersionParams) WithKernelID(kernelID strfmt.UUID) *GetKernelVersionParams

WithKernelID adds the kernelID to the get kernel version params

func (*GetKernelVersionParams) WithKernelVersionID ¶

func (o *GetKernelVersionParams) WithKernelVersionID(kernelVersionID strfmt.UUID) *GetKernelVersionParams

WithKernelVersionID adds the kernelVersionID to the get kernel version params

func (*GetKernelVersionParams) WithStateAt ¶

WithStateAt adds the stateAt to the get kernel version params

func (*GetKernelVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the get kernel version params

func (*GetKernelVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetKernelVersionReader ¶

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

GetKernelVersionReader is a Reader for the GetKernelVersion structure.

func (*GetKernelVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelVersionsDefault ¶

type GetKernelVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelVersionsDefault ¶

func NewGetKernelVersionsDefault(code int) *GetKernelVersionsDefault

NewGetKernelVersionsDefault creates a GetKernelVersionsDefault with default headers values

func (*GetKernelVersionsDefault) Code ¶

func (o *GetKernelVersionsDefault) Code() int

Code gets the status code for the get kernel versions default response

func (*GetKernelVersionsDefault) Error ¶

func (o *GetKernelVersionsDefault) Error() string

func (*GetKernelVersionsDefault) GetPayload ¶

type GetKernelVersionsOK ¶

type GetKernelVersionsOK struct {
	Payload *inventory_models.KernelVersionPagedList
}
GetKernelVersionsOK describes a response with status code 200, with default header values.

A paginated list of kernel versions

func NewGetKernelVersionsOK ¶

func NewGetKernelVersionsOK() *GetKernelVersionsOK

NewGetKernelVersionsOK creates a GetKernelVersionsOK with default headers values

func (*GetKernelVersionsOK) Error ¶

func (o *GetKernelVersionsOK) Error() string

func (*GetKernelVersionsOK) GetPayload ¶

type GetKernelVersionsParams ¶

type GetKernelVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// KernelID.
	//
	// Format: uuid
	KernelID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetKernelVersionsParams contains all the parameters to send to the API endpoint

for the get kernel versions operation.

Typically these are written to a http.Request.

func NewGetKernelVersionsParams ¶

func NewGetKernelVersionsParams() *GetKernelVersionsParams

NewGetKernelVersionsParams creates a new GetKernelVersionsParams 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 NewGetKernelVersionsParamsWithContext ¶

func NewGetKernelVersionsParamsWithContext(ctx context.Context) *GetKernelVersionsParams

NewGetKernelVersionsParamsWithContext creates a new GetKernelVersionsParams object with the ability to set a context for a request.

func NewGetKernelVersionsParamsWithHTTPClient ¶

func NewGetKernelVersionsParamsWithHTTPClient(client *http.Client) *GetKernelVersionsParams

NewGetKernelVersionsParamsWithHTTPClient creates a new GetKernelVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelVersionsParamsWithTimeout ¶

func NewGetKernelVersionsParamsWithTimeout(timeout time.Duration) *GetKernelVersionsParams

NewGetKernelVersionsParamsWithTimeout creates a new GetKernelVersionsParams object with the ability to set a timeout on a request.

func (*GetKernelVersionsParams) SetAllowUnstable ¶

func (o *GetKernelVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get kernel versions params

func (*GetKernelVersionsParams) SetContext ¶

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

SetContext adds the context to the get kernel versions params

func (*GetKernelVersionsParams) SetDefaults ¶

func (o *GetKernelVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get kernel versions params (not the query body).

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

func (*GetKernelVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernel versions params

func (*GetKernelVersionsParams) SetKernelID ¶

func (o *GetKernelVersionsParams) SetKernelID(kernelID strfmt.UUID)

SetKernelID adds the kernelId to the get kernel versions params

func (*GetKernelVersionsParams) SetLimit ¶

func (o *GetKernelVersionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get kernel versions params

func (*GetKernelVersionsParams) SetPage ¶

func (o *GetKernelVersionsParams) SetPage(page *int64)

SetPage adds the page to the get kernel versions params

func (*GetKernelVersionsParams) SetStateAt ¶

func (o *GetKernelVersionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get kernel versions params

func (*GetKernelVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernel versions params

func (*GetKernelVersionsParams) WithAllowUnstable ¶

func (o *GetKernelVersionsParams) WithAllowUnstable(allowUnstable *bool) *GetKernelVersionsParams

WithAllowUnstable adds the allowUnstable to the get kernel versions params

func (*GetKernelVersionsParams) WithContext ¶

WithContext adds the context to the get kernel versions params

func (*GetKernelVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get kernel versions params (not the query body).

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

func (*GetKernelVersionsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get kernel versions params

func (*GetKernelVersionsParams) WithKernelID ¶

func (o *GetKernelVersionsParams) WithKernelID(kernelID strfmt.UUID) *GetKernelVersionsParams

WithKernelID adds the kernelID to the get kernel versions params

func (*GetKernelVersionsParams) WithLimit ¶

WithLimit adds the limit to the get kernel versions params

func (*GetKernelVersionsParams) WithPage ¶

WithPage adds the page to the get kernel versions params

func (*GetKernelVersionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get kernel versions params

func (*GetKernelVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get kernel versions params

func (*GetKernelVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetKernelVersionsReader ¶

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

GetKernelVersionsReader is a Reader for the GetKernelVersions structure.

func (*GetKernelVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetKernelsDefault ¶

type GetKernelsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetKernelsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetKernelsDefault ¶

func NewGetKernelsDefault(code int) *GetKernelsDefault

NewGetKernelsDefault creates a GetKernelsDefault with default headers values

func (*GetKernelsDefault) Code ¶

func (o *GetKernelsDefault) Code() int

Code gets the status code for the get kernels default response

func (*GetKernelsDefault) Error ¶

func (o *GetKernelsDefault) Error() string

func (*GetKernelsDefault) GetPayload ¶

type GetKernelsOK ¶

type GetKernelsOK struct {
	Payload *inventory_models.KernelPagedList
}
GetKernelsOK describes a response with status code 200, with default header values.

A paginated list of kernels

func NewGetKernelsOK ¶

func NewGetKernelsOK() *GetKernelsOK

NewGetKernelsOK creates a GetKernelsOK with default headers values

func (*GetKernelsOK) Error ¶

func (o *GetKernelsOK) Error() string

func (*GetKernelsOK) GetPayload ¶

type GetKernelsParams ¶

type GetKernelsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetKernelsParams contains all the parameters to send to the API endpoint

for the get kernels operation.

Typically these are written to a http.Request.

func NewGetKernelsParams ¶

func NewGetKernelsParams() *GetKernelsParams

NewGetKernelsParams creates a new GetKernelsParams 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 NewGetKernelsParamsWithContext ¶

func NewGetKernelsParamsWithContext(ctx context.Context) *GetKernelsParams

NewGetKernelsParamsWithContext creates a new GetKernelsParams object with the ability to set a context for a request.

func NewGetKernelsParamsWithHTTPClient ¶

func NewGetKernelsParamsWithHTTPClient(client *http.Client) *GetKernelsParams

NewGetKernelsParamsWithHTTPClient creates a new GetKernelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetKernelsParamsWithTimeout ¶

func NewGetKernelsParamsWithTimeout(timeout time.Duration) *GetKernelsParams

NewGetKernelsParamsWithTimeout creates a new GetKernelsParams object with the ability to set a timeout on a request.

func (*GetKernelsParams) SetContext ¶

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

SetContext adds the context to the get kernels params

func (*GetKernelsParams) SetDefaults ¶

func (o *GetKernelsParams) SetDefaults()

SetDefaults hydrates default values in the get kernels params (not the query body).

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

func (*GetKernelsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get kernels params

func (*GetKernelsParams) SetLimit ¶

func (o *GetKernelsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get kernels params

func (*GetKernelsParams) SetPage ¶

func (o *GetKernelsParams) SetPage(page *int64)

SetPage adds the page to the get kernels params

func (*GetKernelsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get kernels params

func (*GetKernelsParams) WithContext ¶

func (o *GetKernelsParams) WithContext(ctx context.Context) *GetKernelsParams

WithContext adds the context to the get kernels params

func (*GetKernelsParams) WithDefaults ¶

func (o *GetKernelsParams) WithDefaults() *GetKernelsParams

WithDefaults hydrates default values in the get kernels params (not the query body).

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

func (*GetKernelsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get kernels params

func (*GetKernelsParams) WithLimit ¶

func (o *GetKernelsParams) WithLimit(limit *int64) *GetKernelsParams

WithLimit adds the limit to the get kernels params

func (*GetKernelsParams) WithPage ¶

func (o *GetKernelsParams) WithPage(page *int64) *GetKernelsParams

WithPage adds the page to the get kernels params

func (*GetKernelsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get kernels params

func (*GetKernelsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetKernelsReader ¶

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

GetKernelsReader is a Reader for the GetKernels structure.

func (*GetKernelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLatestTimestampDefault ¶

type GetLatestTimestampDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetLatestTimestampDefault describes a response with status code -1, with default header values.

generic error response

func NewGetLatestTimestampDefault ¶

func NewGetLatestTimestampDefault(code int) *GetLatestTimestampDefault

NewGetLatestTimestampDefault creates a GetLatestTimestampDefault with default headers values

func (*GetLatestTimestampDefault) Code ¶

func (o *GetLatestTimestampDefault) Code() int

Code gets the status code for the get latest timestamp default response

func (*GetLatestTimestampDefault) Error ¶

func (o *GetLatestTimestampDefault) Error() string

func (*GetLatestTimestampDefault) GetPayload ¶

type GetLatestTimestampOK ¶

type GetLatestTimestampOK struct {
	Payload *inventory_models.LatestTimestamp
}
GetLatestTimestampOK describes a response with status code 200, with default header values.

The latest timestamp

func NewGetLatestTimestampOK ¶

func NewGetLatestTimestampOK() *GetLatestTimestampOK

NewGetLatestTimestampOK creates a GetLatestTimestampOK with default headers values

func (*GetLatestTimestampOK) Error ¶

func (o *GetLatestTimestampOK) Error() string

func (*GetLatestTimestampOK) GetPayload ¶

type GetLatestTimestampParams ¶

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

GetLatestTimestampParams contains all the parameters to send to the API endpoint

for the get latest timestamp operation.

Typically these are written to a http.Request.

func NewGetLatestTimestampParams ¶

func NewGetLatestTimestampParams() *GetLatestTimestampParams

NewGetLatestTimestampParams creates a new GetLatestTimestampParams 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 NewGetLatestTimestampParamsWithContext ¶

func NewGetLatestTimestampParamsWithContext(ctx context.Context) *GetLatestTimestampParams

NewGetLatestTimestampParamsWithContext creates a new GetLatestTimestampParams object with the ability to set a context for a request.

func NewGetLatestTimestampParamsWithHTTPClient ¶

func NewGetLatestTimestampParamsWithHTTPClient(client *http.Client) *GetLatestTimestampParams

NewGetLatestTimestampParamsWithHTTPClient creates a new GetLatestTimestampParams object with the ability to set a custom HTTPClient for a request.

func NewGetLatestTimestampParamsWithTimeout ¶

func NewGetLatestTimestampParamsWithTimeout(timeout time.Duration) *GetLatestTimestampParams

NewGetLatestTimestampParamsWithTimeout creates a new GetLatestTimestampParams object with the ability to set a timeout on a request.

func (*GetLatestTimestampParams) SetContext ¶

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

SetContext adds the context to the get latest timestamp params

func (*GetLatestTimestampParams) SetDefaults ¶

func (o *GetLatestTimestampParams) SetDefaults()

SetDefaults hydrates default values in the get latest timestamp params (not the query body).

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

func (*GetLatestTimestampParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get latest timestamp params

func (*GetLatestTimestampParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get latest timestamp params

func (*GetLatestTimestampParams) WithContext ¶

WithContext adds the context to the get latest timestamp params

func (*GetLatestTimestampParams) WithDefaults ¶

WithDefaults hydrates default values in the get latest timestamp params (not the query body).

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

func (*GetLatestTimestampParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get latest timestamp params

func (*GetLatestTimestampParams) WithTimeout ¶

WithTimeout adds the timeout to the get latest timestamp params

func (*GetLatestTimestampParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetLatestTimestampReader ¶

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

GetLatestTimestampReader is a Reader for the GetLatestTimestamp structure.

func (*GetLatestTimestampReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLibcDefault ¶

type GetLibcDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetLibcDefault describes a response with status code -1, with default header values.

generic error response

func NewGetLibcDefault ¶

func NewGetLibcDefault(code int) *GetLibcDefault

NewGetLibcDefault creates a GetLibcDefault with default headers values

func (*GetLibcDefault) Code ¶

func (o *GetLibcDefault) Code() int

Code gets the status code for the get libc default response

func (*GetLibcDefault) Error ¶

func (o *GetLibcDefault) Error() string

func (*GetLibcDefault) GetPayload ¶

func (o *GetLibcDefault) GetPayload() *inventory_models.RestAPIError

type GetLibcOK ¶

type GetLibcOK struct {
	Payload *inventory_models.Libc
}
GetLibcOK describes a response with status code 200, with default header values.

The retrieved libc

func NewGetLibcOK ¶

func NewGetLibcOK() *GetLibcOK

NewGetLibcOK creates a GetLibcOK with default headers values

func (*GetLibcOK) Error ¶

func (o *GetLibcOK) Error() string

func (*GetLibcOK) GetPayload ¶

func (o *GetLibcOK) GetPayload() *inventory_models.Libc

type GetLibcParams ¶

type GetLibcParams struct {

	// LibcID.
	//
	// Format: uuid
	LibcID strfmt.UUID

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

GetLibcParams contains all the parameters to send to the API endpoint

for the get libc operation.

Typically these are written to a http.Request.

func NewGetLibcParams ¶

func NewGetLibcParams() *GetLibcParams

NewGetLibcParams creates a new GetLibcParams 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 NewGetLibcParamsWithContext ¶

func NewGetLibcParamsWithContext(ctx context.Context) *GetLibcParams

NewGetLibcParamsWithContext creates a new GetLibcParams object with the ability to set a context for a request.

func NewGetLibcParamsWithHTTPClient ¶

func NewGetLibcParamsWithHTTPClient(client *http.Client) *GetLibcParams

NewGetLibcParamsWithHTTPClient creates a new GetLibcParams object with the ability to set a custom HTTPClient for a request.

func NewGetLibcParamsWithTimeout ¶

func NewGetLibcParamsWithTimeout(timeout time.Duration) *GetLibcParams

NewGetLibcParamsWithTimeout creates a new GetLibcParams object with the ability to set a timeout on a request.

func (*GetLibcParams) SetContext ¶

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

SetContext adds the context to the get libc params

func (*GetLibcParams) SetDefaults ¶

func (o *GetLibcParams) SetDefaults()

SetDefaults hydrates default values in the get libc params (not the query body).

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

func (*GetLibcParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get libc params

func (*GetLibcParams) SetLibcID ¶

func (o *GetLibcParams) SetLibcID(libcID strfmt.UUID)

SetLibcID adds the libcId to the get libc params

func (*GetLibcParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get libc params

func (*GetLibcParams) WithContext ¶

func (o *GetLibcParams) WithContext(ctx context.Context) *GetLibcParams

WithContext adds the context to the get libc params

func (*GetLibcParams) WithDefaults ¶

func (o *GetLibcParams) WithDefaults() *GetLibcParams

WithDefaults hydrates default values in the get libc params (not the query body).

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

func (*GetLibcParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get libc params

func (*GetLibcParams) WithLibcID ¶

func (o *GetLibcParams) WithLibcID(libcID strfmt.UUID) *GetLibcParams

WithLibcID adds the libcID to the get libc params

func (*GetLibcParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get libc params

func (*GetLibcParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLibcReader ¶

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

GetLibcReader is a Reader for the GetLibc structure.

func (*GetLibcReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLibcVersionDefault ¶

type GetLibcVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetLibcVersionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetLibcVersionDefault ¶

func NewGetLibcVersionDefault(code int) *GetLibcVersionDefault

NewGetLibcVersionDefault creates a GetLibcVersionDefault with default headers values

func (*GetLibcVersionDefault) Code ¶

func (o *GetLibcVersionDefault) Code() int

Code gets the status code for the get libc version default response

func (*GetLibcVersionDefault) Error ¶

func (o *GetLibcVersionDefault) Error() string

func (*GetLibcVersionDefault) GetPayload ¶

type GetLibcVersionOK ¶

type GetLibcVersionOK struct {
	Payload *inventory_models.LibcVersion
}
GetLibcVersionOK describes a response with status code 200, with default header values.

The retrieved libc version

func NewGetLibcVersionOK ¶

func NewGetLibcVersionOK() *GetLibcVersionOK

NewGetLibcVersionOK creates a GetLibcVersionOK with default headers values

func (*GetLibcVersionOK) Error ¶

func (o *GetLibcVersionOK) Error() string

func (*GetLibcVersionOK) GetPayload ¶

type GetLibcVersionParams ¶

type GetLibcVersionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// LibcID.
	//
	// Format: uuid
	LibcID strfmt.UUID

	// LibcVersionID.
	//
	// Format: uuid
	LibcVersionID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetLibcVersionParams contains all the parameters to send to the API endpoint

for the get libc version operation.

Typically these are written to a http.Request.

func NewGetLibcVersionParams ¶

func NewGetLibcVersionParams() *GetLibcVersionParams

NewGetLibcVersionParams creates a new GetLibcVersionParams 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 NewGetLibcVersionParamsWithContext ¶

func NewGetLibcVersionParamsWithContext(ctx context.Context) *GetLibcVersionParams

NewGetLibcVersionParamsWithContext creates a new GetLibcVersionParams object with the ability to set a context for a request.

func NewGetLibcVersionParamsWithHTTPClient ¶

func NewGetLibcVersionParamsWithHTTPClient(client *http.Client) *GetLibcVersionParams

NewGetLibcVersionParamsWithHTTPClient creates a new GetLibcVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetLibcVersionParamsWithTimeout ¶

func NewGetLibcVersionParamsWithTimeout(timeout time.Duration) *GetLibcVersionParams

NewGetLibcVersionParamsWithTimeout creates a new GetLibcVersionParams object with the ability to set a timeout on a request.

func (*GetLibcVersionParams) SetAllowUnstable ¶

func (o *GetLibcVersionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get libc version params

func (*GetLibcVersionParams) SetContext ¶

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

SetContext adds the context to the get libc version params

func (*GetLibcVersionParams) SetDefaults ¶

func (o *GetLibcVersionParams) SetDefaults()

SetDefaults hydrates default values in the get libc version params (not the query body).

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

func (*GetLibcVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get libc version params

func (*GetLibcVersionParams) SetLibcID ¶

func (o *GetLibcVersionParams) SetLibcID(libcID strfmt.UUID)

SetLibcID adds the libcId to the get libc version params

func (*GetLibcVersionParams) SetLibcVersionID ¶

func (o *GetLibcVersionParams) SetLibcVersionID(libcVersionID strfmt.UUID)

SetLibcVersionID adds the libcVersionId to the get libc version params

func (*GetLibcVersionParams) SetStateAt ¶

func (o *GetLibcVersionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get libc version params

func (*GetLibcVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get libc version params

func (*GetLibcVersionParams) WithAllowUnstable ¶

func (o *GetLibcVersionParams) WithAllowUnstable(allowUnstable *bool) *GetLibcVersionParams

WithAllowUnstable adds the allowUnstable to the get libc version params

func (*GetLibcVersionParams) WithContext ¶

WithContext adds the context to the get libc version params

func (*GetLibcVersionParams) WithDefaults ¶

func (o *GetLibcVersionParams) WithDefaults() *GetLibcVersionParams

WithDefaults hydrates default values in the get libc version params (not the query body).

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

func (*GetLibcVersionParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get libc version params

func (*GetLibcVersionParams) WithLibcID ¶

func (o *GetLibcVersionParams) WithLibcID(libcID strfmt.UUID) *GetLibcVersionParams

WithLibcID adds the libcID to the get libc version params

func (*GetLibcVersionParams) WithLibcVersionID ¶

func (o *GetLibcVersionParams) WithLibcVersionID(libcVersionID strfmt.UUID) *GetLibcVersionParams

WithLibcVersionID adds the libcVersionID to the get libc version params

func (*GetLibcVersionParams) WithStateAt ¶

func (o *GetLibcVersionParams) WithStateAt(stateAt *strfmt.DateTime) *GetLibcVersionParams

WithStateAt adds the stateAt to the get libc version params

func (*GetLibcVersionParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get libc version params

func (*GetLibcVersionParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLibcVersionReader ¶

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

GetLibcVersionReader is a Reader for the GetLibcVersion structure.

func (*GetLibcVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLibcVersionsDefault ¶

type GetLibcVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetLibcVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetLibcVersionsDefault ¶

func NewGetLibcVersionsDefault(code int) *GetLibcVersionsDefault

NewGetLibcVersionsDefault creates a GetLibcVersionsDefault with default headers values

func (*GetLibcVersionsDefault) Code ¶

func (o *GetLibcVersionsDefault) Code() int

Code gets the status code for the get libc versions default response

func (*GetLibcVersionsDefault) Error ¶

func (o *GetLibcVersionsDefault) Error() string

func (*GetLibcVersionsDefault) GetPayload ¶

type GetLibcVersionsOK ¶

type GetLibcVersionsOK struct {
	Payload *inventory_models.LibcVersionPagedList
}
GetLibcVersionsOK describes a response with status code 200, with default header values.

A paginated list of libc versions

func NewGetLibcVersionsOK ¶

func NewGetLibcVersionsOK() *GetLibcVersionsOK

NewGetLibcVersionsOK creates a GetLibcVersionsOK with default headers values

func (*GetLibcVersionsOK) Error ¶

func (o *GetLibcVersionsOK) Error() string

func (*GetLibcVersionsOK) GetPayload ¶

type GetLibcVersionsParams ¶

type GetLibcVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// LibcID.
	//
	// Format: uuid
	LibcID strfmt.UUID

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetLibcVersionsParams contains all the parameters to send to the API endpoint

for the get libc versions operation.

Typically these are written to a http.Request.

func NewGetLibcVersionsParams ¶

func NewGetLibcVersionsParams() *GetLibcVersionsParams

NewGetLibcVersionsParams creates a new GetLibcVersionsParams 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 NewGetLibcVersionsParamsWithContext ¶

func NewGetLibcVersionsParamsWithContext(ctx context.Context) *GetLibcVersionsParams

NewGetLibcVersionsParamsWithContext creates a new GetLibcVersionsParams object with the ability to set a context for a request.

func NewGetLibcVersionsParamsWithHTTPClient ¶

func NewGetLibcVersionsParamsWithHTTPClient(client *http.Client) *GetLibcVersionsParams

NewGetLibcVersionsParamsWithHTTPClient creates a new GetLibcVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLibcVersionsParamsWithTimeout ¶

func NewGetLibcVersionsParamsWithTimeout(timeout time.Duration) *GetLibcVersionsParams

NewGetLibcVersionsParamsWithTimeout creates a new GetLibcVersionsParams object with the ability to set a timeout on a request.

func (*GetLibcVersionsParams) SetAllowUnstable ¶

func (o *GetLibcVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get libc versions params

func (*GetLibcVersionsParams) SetContext ¶

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

SetContext adds the context to the get libc versions params

func (*GetLibcVersionsParams) SetDefaults ¶

func (o *GetLibcVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get libc versions params (not the query body).

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

func (*GetLibcVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get libc versions params

func (*GetLibcVersionsParams) SetLibcID ¶

func (o *GetLibcVersionsParams) SetLibcID(libcID strfmt.UUID)

SetLibcID adds the libcId to the get libc versions params

func (*GetLibcVersionsParams) SetLimit ¶

func (o *GetLibcVersionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get libc versions params

func (*GetLibcVersionsParams) SetPage ¶

func (o *GetLibcVersionsParams) SetPage(page *int64)

SetPage adds the page to the get libc versions params

func (*GetLibcVersionsParams) SetStateAt ¶

func (o *GetLibcVersionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get libc versions params

func (*GetLibcVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get libc versions params

func (*GetLibcVersionsParams) WithAllowUnstable ¶

func (o *GetLibcVersionsParams) WithAllowUnstable(allowUnstable *bool) *GetLibcVersionsParams

WithAllowUnstable adds the allowUnstable to the get libc versions params

func (*GetLibcVersionsParams) WithContext ¶

WithContext adds the context to the get libc versions params

func (*GetLibcVersionsParams) WithDefaults ¶

func (o *GetLibcVersionsParams) WithDefaults() *GetLibcVersionsParams

WithDefaults hydrates default values in the get libc versions params (not the query body).

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

func (*GetLibcVersionsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get libc versions params

func (*GetLibcVersionsParams) WithLibcID ¶

func (o *GetLibcVersionsParams) WithLibcID(libcID strfmt.UUID) *GetLibcVersionsParams

WithLibcID adds the libcID to the get libc versions params

func (*GetLibcVersionsParams) WithLimit ¶

func (o *GetLibcVersionsParams) WithLimit(limit *int64) *GetLibcVersionsParams

WithLimit adds the limit to the get libc versions params

func (*GetLibcVersionsParams) WithPage ¶

WithPage adds the page to the get libc versions params

func (*GetLibcVersionsParams) WithStateAt ¶

func (o *GetLibcVersionsParams) WithStateAt(stateAt *strfmt.DateTime) *GetLibcVersionsParams

WithStateAt adds the stateAt to the get libc versions params

func (*GetLibcVersionsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get libc versions params

func (*GetLibcVersionsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLibcVersionsReader ¶

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

GetLibcVersionsReader is a Reader for the GetLibcVersions structure.

func (*GetLibcVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetLibcsDefault ¶

type GetLibcsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetLibcsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetLibcsDefault ¶

func NewGetLibcsDefault(code int) *GetLibcsDefault

NewGetLibcsDefault creates a GetLibcsDefault with default headers values

func (*GetLibcsDefault) Code ¶

func (o *GetLibcsDefault) Code() int

Code gets the status code for the get libcs default response

func (*GetLibcsDefault) Error ¶

func (o *GetLibcsDefault) Error() string

func (*GetLibcsDefault) GetPayload ¶

type GetLibcsOK ¶

type GetLibcsOK struct {
	Payload *inventory_models.LibcPagedList
}
GetLibcsOK describes a response with status code 200, with default header values.

A paginated list of libcs

func NewGetLibcsOK ¶

func NewGetLibcsOK() *GetLibcsOK

NewGetLibcsOK creates a GetLibcsOK with default headers values

func (*GetLibcsOK) Error ¶

func (o *GetLibcsOK) Error() string

func (*GetLibcsOK) GetPayload ¶

func (o *GetLibcsOK) GetPayload() *inventory_models.LibcPagedList

type GetLibcsParams ¶

type GetLibcsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetLibcsParams contains all the parameters to send to the API endpoint

for the get libcs operation.

Typically these are written to a http.Request.

func NewGetLibcsParams ¶

func NewGetLibcsParams() *GetLibcsParams

NewGetLibcsParams creates a new GetLibcsParams 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 NewGetLibcsParamsWithContext ¶

func NewGetLibcsParamsWithContext(ctx context.Context) *GetLibcsParams

NewGetLibcsParamsWithContext creates a new GetLibcsParams object with the ability to set a context for a request.

func NewGetLibcsParamsWithHTTPClient ¶

func NewGetLibcsParamsWithHTTPClient(client *http.Client) *GetLibcsParams

NewGetLibcsParamsWithHTTPClient creates a new GetLibcsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLibcsParamsWithTimeout ¶

func NewGetLibcsParamsWithTimeout(timeout time.Duration) *GetLibcsParams

NewGetLibcsParamsWithTimeout creates a new GetLibcsParams object with the ability to set a timeout on a request.

func (*GetLibcsParams) SetContext ¶

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

SetContext adds the context to the get libcs params

func (*GetLibcsParams) SetDefaults ¶

func (o *GetLibcsParams) SetDefaults()

SetDefaults hydrates default values in the get libcs params (not the query body).

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

func (*GetLibcsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get libcs params

func (*GetLibcsParams) SetLimit ¶

func (o *GetLibcsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get libcs params

func (*GetLibcsParams) SetPage ¶

func (o *GetLibcsParams) SetPage(page *int64)

SetPage adds the page to the get libcs params

func (*GetLibcsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get libcs params

func (*GetLibcsParams) WithContext ¶

func (o *GetLibcsParams) WithContext(ctx context.Context) *GetLibcsParams

WithContext adds the context to the get libcs params

func (*GetLibcsParams) WithDefaults ¶

func (o *GetLibcsParams) WithDefaults() *GetLibcsParams

WithDefaults hydrates default values in the get libcs params (not the query body).

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

func (*GetLibcsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get libcs params

func (*GetLibcsParams) WithLimit ¶

func (o *GetLibcsParams) WithLimit(limit *int64) *GetLibcsParams

WithLimit adds the limit to the get libcs params

func (*GetLibcsParams) WithPage ¶

func (o *GetLibcsParams) WithPage(page *int64) *GetLibcsParams

WithPage adds the page to the get libcs params

func (*GetLibcsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get libcs params

func (*GetLibcsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetLibcsReader ¶

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

GetLibcsReader is a Reader for the GetLibcs structure.

func (*GetLibcsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetNamespaceIngredientDefault ¶

type GetNamespaceIngredientDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetNamespaceIngredientDefault describes a response with status code -1, with default header values.

generic error response

func NewGetNamespaceIngredientDefault ¶

func NewGetNamespaceIngredientDefault(code int) *GetNamespaceIngredientDefault

NewGetNamespaceIngredientDefault creates a GetNamespaceIngredientDefault with default headers values

func (*GetNamespaceIngredientDefault) Code ¶

Code gets the status code for the get namespace ingredient default response

func (*GetNamespaceIngredientDefault) Error ¶

func (*GetNamespaceIngredientDefault) GetPayload ¶

type GetNamespaceIngredientNotFound ¶

type GetNamespaceIngredientNotFound struct {
	Payload *inventory_models.RestAPIError
}
GetNamespaceIngredientNotFound describes a response with status code 404, with default header values.

There is no ingredient with the given namespace and name

func NewGetNamespaceIngredientNotFound ¶

func NewGetNamespaceIngredientNotFound() *GetNamespaceIngredientNotFound

NewGetNamespaceIngredientNotFound creates a GetNamespaceIngredientNotFound with default headers values

func (*GetNamespaceIngredientNotFound) Error ¶

func (*GetNamespaceIngredientNotFound) GetPayload ¶

type GetNamespaceIngredientOK ¶

type GetNamespaceIngredientOK struct {
	Payload *inventory_models.Ingredient
}
GetNamespaceIngredientOK describes a response with status code 200, with default header values.

The retrieved ingredient

func NewGetNamespaceIngredientOK ¶

func NewGetNamespaceIngredientOK() *GetNamespaceIngredientOK

NewGetNamespaceIngredientOK creates a GetNamespaceIngredientOK with default headers values

func (*GetNamespaceIngredientOK) Error ¶

func (o *GetNamespaceIngredientOK) Error() string

func (*GetNamespaceIngredientOK) GetPayload ¶

type GetNamespaceIngredientParams ¶

type GetNamespaceIngredientParams struct {

	// Name.
	Name string

	// Namespace.
	Namespace string

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

GetNamespaceIngredientParams contains all the parameters to send to the API endpoint

for the get namespace ingredient operation.

Typically these are written to a http.Request.

func NewGetNamespaceIngredientParams ¶

func NewGetNamespaceIngredientParams() *GetNamespaceIngredientParams

NewGetNamespaceIngredientParams creates a new GetNamespaceIngredientParams 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 NewGetNamespaceIngredientParamsWithContext ¶

func NewGetNamespaceIngredientParamsWithContext(ctx context.Context) *GetNamespaceIngredientParams

NewGetNamespaceIngredientParamsWithContext creates a new GetNamespaceIngredientParams object with the ability to set a context for a request.

func NewGetNamespaceIngredientParamsWithHTTPClient ¶

func NewGetNamespaceIngredientParamsWithHTTPClient(client *http.Client) *GetNamespaceIngredientParams

NewGetNamespaceIngredientParamsWithHTTPClient creates a new GetNamespaceIngredientParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceIngredientParamsWithTimeout ¶

func NewGetNamespaceIngredientParamsWithTimeout(timeout time.Duration) *GetNamespaceIngredientParams

NewGetNamespaceIngredientParamsWithTimeout creates a new GetNamespaceIngredientParams object with the ability to set a timeout on a request.

func (*GetNamespaceIngredientParams) SetContext ¶

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

SetContext adds the context to the get namespace ingredient params

func (*GetNamespaceIngredientParams) SetDefaults ¶

func (o *GetNamespaceIngredientParams) SetDefaults()

SetDefaults hydrates default values in the get namespace ingredient params (not the query body).

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

func (*GetNamespaceIngredientParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get namespace ingredient params

func (*GetNamespaceIngredientParams) SetName ¶

func (o *GetNamespaceIngredientParams) SetName(name string)

SetName adds the name to the get namespace ingredient params

func (*GetNamespaceIngredientParams) SetNamespace ¶

func (o *GetNamespaceIngredientParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace ingredient params

func (*GetNamespaceIngredientParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WithContext ¶

WithContext adds the context to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WithDefaults ¶

WithDefaults hydrates default values in the get namespace ingredient params (not the query body).

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

func (*GetNamespaceIngredientParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WithName ¶

WithName adds the name to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WithNamespace ¶

WithNamespace adds the namespace to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WithTimeout ¶

WithTimeout adds the timeout to the get namespace ingredient params

func (*GetNamespaceIngredientParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetNamespaceIngredientReader ¶

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

GetNamespaceIngredientReader is a Reader for the GetNamespaceIngredient structure.

func (*GetNamespaceIngredientReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetNamespaceIngredientVersionDefault ¶

type GetNamespaceIngredientVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetNamespaceIngredientVersionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetNamespaceIngredientVersionDefault ¶

func NewGetNamespaceIngredientVersionDefault(code int) *GetNamespaceIngredientVersionDefault

NewGetNamespaceIngredientVersionDefault creates a GetNamespaceIngredientVersionDefault with default headers values

func (*GetNamespaceIngredientVersionDefault) Code ¶

Code gets the status code for the get namespace ingredient version default response

func (*GetNamespaceIngredientVersionDefault) Error ¶

func (*GetNamespaceIngredientVersionDefault) GetPayload ¶

type GetNamespaceIngredientVersionNotFound ¶

type GetNamespaceIngredientVersionNotFound struct {
	Payload *inventory_models.RestAPIError
}
GetNamespaceIngredientVersionNotFound describes a response with status code 404, with default header values.

There is no ingredient with the given namespace, name, and version

func NewGetNamespaceIngredientVersionNotFound ¶

func NewGetNamespaceIngredientVersionNotFound() *GetNamespaceIngredientVersionNotFound

NewGetNamespaceIngredientVersionNotFound creates a GetNamespaceIngredientVersionNotFound with default headers values

func (*GetNamespaceIngredientVersionNotFound) Error ¶

func (*GetNamespaceIngredientVersionNotFound) GetPayload ¶

type GetNamespaceIngredientVersionOK ¶

type GetNamespaceIngredientVersionOK struct {
	Payload *inventory_models.FullIngredientVersion
}
GetNamespaceIngredientVersionOK describes a response with status code 200, with default header values.

The retrieved ingredient

func NewGetNamespaceIngredientVersionOK ¶

func NewGetNamespaceIngredientVersionOK() *GetNamespaceIngredientVersionOK

NewGetNamespaceIngredientVersionOK creates a GetNamespaceIngredientVersionOK with default headers values

func (*GetNamespaceIngredientVersionOK) Error ¶

func (*GetNamespaceIngredientVersionOK) GetPayload ¶

type GetNamespaceIngredientVersionParams ¶

type GetNamespaceIngredientVersionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// Name.
	Name string

	// Namespace.
	Namespace string

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	// Version.
	Version string

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

GetNamespaceIngredientVersionParams contains all the parameters to send to the API endpoint

for the get namespace ingredient version operation.

Typically these are written to a http.Request.

func NewGetNamespaceIngredientVersionParams ¶

func NewGetNamespaceIngredientVersionParams() *GetNamespaceIngredientVersionParams

NewGetNamespaceIngredientVersionParams creates a new GetNamespaceIngredientVersionParams 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 NewGetNamespaceIngredientVersionParamsWithContext ¶

func NewGetNamespaceIngredientVersionParamsWithContext(ctx context.Context) *GetNamespaceIngredientVersionParams

NewGetNamespaceIngredientVersionParamsWithContext creates a new GetNamespaceIngredientVersionParams object with the ability to set a context for a request.

func NewGetNamespaceIngredientVersionParamsWithHTTPClient ¶

func NewGetNamespaceIngredientVersionParamsWithHTTPClient(client *http.Client) *GetNamespaceIngredientVersionParams

NewGetNamespaceIngredientVersionParamsWithHTTPClient creates a new GetNamespaceIngredientVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceIngredientVersionParamsWithTimeout ¶

func NewGetNamespaceIngredientVersionParamsWithTimeout(timeout time.Duration) *GetNamespaceIngredientVersionParams

NewGetNamespaceIngredientVersionParamsWithTimeout creates a new GetNamespaceIngredientVersionParams object with the ability to set a timeout on a request.

func (*GetNamespaceIngredientVersionParams) SetAllowUnstable ¶

func (o *GetNamespaceIngredientVersionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetContext ¶

SetContext adds the context to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetDefaults ¶

func (o *GetNamespaceIngredientVersionParams) SetDefaults()

SetDefaults hydrates default values in the get namespace ingredient version params (not the query body).

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

func (*GetNamespaceIngredientVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetName ¶

SetName adds the name to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetNamespace ¶

func (o *GetNamespaceIngredientVersionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetStateAt ¶

func (o *GetNamespaceIngredientVersionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) SetVersion ¶

func (o *GetNamespaceIngredientVersionParams) SetVersion(version string)

SetVersion adds the version to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithContext ¶

WithContext adds the context to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the get namespace ingredient version params (not the query body).

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

func (*GetNamespaceIngredientVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithName ¶

WithName adds the name to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithNamespace ¶

WithNamespace adds the namespace to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithStateAt ¶

WithStateAt adds the stateAt to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WithVersion ¶

WithVersion adds the version to the get namespace ingredient version params

func (*GetNamespaceIngredientVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetNamespaceIngredientVersionReader ¶

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

GetNamespaceIngredientVersionReader is a Reader for the GetNamespaceIngredientVersion structure.

func (*GetNamespaceIngredientVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetNamespaceIngredientVersionsDefault ¶

type GetNamespaceIngredientVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetNamespaceIngredientVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetNamespaceIngredientVersionsDefault ¶

func NewGetNamespaceIngredientVersionsDefault(code int) *GetNamespaceIngredientVersionsDefault

NewGetNamespaceIngredientVersionsDefault creates a GetNamespaceIngredientVersionsDefault with default headers values

func (*GetNamespaceIngredientVersionsDefault) Code ¶

Code gets the status code for the get namespace ingredient versions default response

func (*GetNamespaceIngredientVersionsDefault) Error ¶

func (*GetNamespaceIngredientVersionsDefault) GetPayload ¶

type GetNamespaceIngredientVersionsNotFound ¶

type GetNamespaceIngredientVersionsNotFound struct {
	Payload *inventory_models.RestAPIError
}
GetNamespaceIngredientVersionsNotFound describes a response with status code 404, with default header values.

There is no ingredient with the given namespace and name

func NewGetNamespaceIngredientVersionsNotFound ¶

func NewGetNamespaceIngredientVersionsNotFound() *GetNamespaceIngredientVersionsNotFound

NewGetNamespaceIngredientVersionsNotFound creates a GetNamespaceIngredientVersionsNotFound with default headers values

func (*GetNamespaceIngredientVersionsNotFound) Error ¶

func (*GetNamespaceIngredientVersionsNotFound) GetPayload ¶

type GetNamespaceIngredientVersionsOK ¶

type GetNamespaceIngredientVersionsOK struct {
	Payload *inventory_models.IngredientVersionPagedList
}
GetNamespaceIngredientVersionsOK describes a response with status code 200, with default header values.

A paginated list of ingredient versions

func NewGetNamespaceIngredientVersionsOK ¶

func NewGetNamespaceIngredientVersionsOK() *GetNamespaceIngredientVersionsOK

NewGetNamespaceIngredientVersionsOK creates a GetNamespaceIngredientVersionsOK with default headers values

func (*GetNamespaceIngredientVersionsOK) Error ¶

func (*GetNamespaceIngredientVersionsOK) GetPayload ¶

type GetNamespaceIngredientVersionsParams ¶

type GetNamespaceIngredientVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	// Name.
	Name string

	// Namespace.
	Namespace string

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetNamespaceIngredientVersionsParams contains all the parameters to send to the API endpoint

for the get namespace ingredient versions operation.

Typically these are written to a http.Request.

func NewGetNamespaceIngredientVersionsParams ¶

func NewGetNamespaceIngredientVersionsParams() *GetNamespaceIngredientVersionsParams

NewGetNamespaceIngredientVersionsParams creates a new GetNamespaceIngredientVersionsParams 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 NewGetNamespaceIngredientVersionsParamsWithContext ¶

func NewGetNamespaceIngredientVersionsParamsWithContext(ctx context.Context) *GetNamespaceIngredientVersionsParams

NewGetNamespaceIngredientVersionsParamsWithContext creates a new GetNamespaceIngredientVersionsParams object with the ability to set a context for a request.

func NewGetNamespaceIngredientVersionsParamsWithHTTPClient ¶

func NewGetNamespaceIngredientVersionsParamsWithHTTPClient(client *http.Client) *GetNamespaceIngredientVersionsParams

NewGetNamespaceIngredientVersionsParamsWithHTTPClient creates a new GetNamespaceIngredientVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceIngredientVersionsParamsWithTimeout ¶

func NewGetNamespaceIngredientVersionsParamsWithTimeout(timeout time.Duration) *GetNamespaceIngredientVersionsParams

NewGetNamespaceIngredientVersionsParamsWithTimeout creates a new GetNamespaceIngredientVersionsParams object with the ability to set a timeout on a request.

func (*GetNamespaceIngredientVersionsParams) SetAllowUnstable ¶

func (o *GetNamespaceIngredientVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetContext ¶

SetContext adds the context to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetDefaults ¶

func (o *GetNamespaceIngredientVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get namespace ingredient versions params (not the query body).

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

func (*GetNamespaceIngredientVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetLimit ¶

func (o *GetNamespaceIngredientVersionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetName ¶

SetName adds the name to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetNamespace ¶

func (o *GetNamespaceIngredientVersionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetPage ¶

func (o *GetNamespaceIngredientVersionsParams) SetPage(page *int64)

SetPage adds the page to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetStateAt ¶

func (o *GetNamespaceIngredientVersionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithAllowUnstable ¶

WithAllowUnstable adds the allowUnstable to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithContext ¶

WithContext adds the context to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get namespace ingredient versions params (not the query body).

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

func (*GetNamespaceIngredientVersionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithLimit ¶

WithLimit adds the limit to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithName ¶

WithName adds the name to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithNamespace ¶

WithNamespace adds the namespace to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithPage ¶

WithPage adds the page to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get namespace ingredient versions params

func (*GetNamespaceIngredientVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetNamespaceIngredientVersionsReader ¶

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

GetNamespaceIngredientVersionsReader is a Reader for the GetNamespaceIngredientVersions structure.

func (*GetNamespaceIngredientVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetNamespaceIngredientsDefault ¶

type GetNamespaceIngredientsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetNamespaceIngredientsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetNamespaceIngredientsDefault ¶

func NewGetNamespaceIngredientsDefault(code int) *GetNamespaceIngredientsDefault

NewGetNamespaceIngredientsDefault creates a GetNamespaceIngredientsDefault with default headers values

func (*GetNamespaceIngredientsDefault) Code ¶

Code gets the status code for the get namespace ingredients default response

func (*GetNamespaceIngredientsDefault) Error ¶

func (*GetNamespaceIngredientsDefault) GetPayload ¶

type GetNamespaceIngredientsOK ¶

type GetNamespaceIngredientsOK struct {
	Payload *inventory_models.IngredientAndVersionPagedList
}
GetNamespaceIngredientsOK describes a response with status code 200, with default header values.

A paginated list of ingredients and versions

func NewGetNamespaceIngredientsOK ¶

func NewGetNamespaceIngredientsOK() *GetNamespaceIngredientsOK

NewGetNamespaceIngredientsOK creates a GetNamespaceIngredientsOK with default headers values

func (*GetNamespaceIngredientsOK) Error ¶

func (o *GetNamespaceIngredientsOK) Error() string

func (*GetNamespaceIngredientsOK) GetPayload ¶

type GetNamespaceIngredientsParams ¶

type GetNamespaceIngredientsParams struct {

	/* AllowDeleted.

	   Whether to show or hide a deleted revision of a resource if the newest revision of the resource is deleted
	*/
	AllowDeleted *bool

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* ExcludeFeatures.

	   Exclude provided features from returned ingredients. This is a performance optimization used when features are not needed.
	*/
	ExcludeFeatures *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* MaxVersionsPerIngredient.

	   Return only this many versions per ingredient found
	*/
	MaxVersionsPerIngredient *int64

	// Namespace.
	Namespace string

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* Q.

	   Filter ingredient and versions to just those whose name or provided features match the specified query string
	*/
	Q *string

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetNamespaceIngredientsParams contains all the parameters to send to the API endpoint

for the get namespace ingredients operation.

Typically these are written to a http.Request.

func NewGetNamespaceIngredientsParams ¶

func NewGetNamespaceIngredientsParams() *GetNamespaceIngredientsParams

NewGetNamespaceIngredientsParams creates a new GetNamespaceIngredientsParams 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 NewGetNamespaceIngredientsParamsWithContext ¶

func NewGetNamespaceIngredientsParamsWithContext(ctx context.Context) *GetNamespaceIngredientsParams

NewGetNamespaceIngredientsParamsWithContext creates a new GetNamespaceIngredientsParams object with the ability to set a context for a request.

func NewGetNamespaceIngredientsParamsWithHTTPClient ¶

func NewGetNamespaceIngredientsParamsWithHTTPClient(client *http.Client) *GetNamespaceIngredientsParams

NewGetNamespaceIngredientsParamsWithHTTPClient creates a new GetNamespaceIngredientsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceIngredientsParamsWithTimeout ¶

func NewGetNamespaceIngredientsParamsWithTimeout(timeout time.Duration) *GetNamespaceIngredientsParams

NewGetNamespaceIngredientsParamsWithTimeout creates a new GetNamespaceIngredientsParams object with the ability to set a timeout on a request.

func (*GetNamespaceIngredientsParams) SetAllowDeleted ¶

func (o *GetNamespaceIngredientsParams) SetAllowDeleted(allowDeleted *bool)

SetAllowDeleted adds the allowDeleted to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetAllowUnstable ¶

func (o *GetNamespaceIngredientsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetContext ¶

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

SetContext adds the context to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetDefaults ¶

func (o *GetNamespaceIngredientsParams) SetDefaults()

SetDefaults hydrates default values in the get namespace ingredients params (not the query body).

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

func (*GetNamespaceIngredientsParams) SetExcludeFeatures ¶

func (o *GetNamespaceIngredientsParams) SetExcludeFeatures(excludeFeatures *bool)

SetExcludeFeatures adds the excludeFeatures to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetLimit ¶

func (o *GetNamespaceIngredientsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetMaxVersionsPerIngredient ¶

func (o *GetNamespaceIngredientsParams) SetMaxVersionsPerIngredient(maxVersionsPerIngredient *int64)

SetMaxVersionsPerIngredient adds the maxVersionsPerIngredient to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetNamespace ¶

func (o *GetNamespaceIngredientsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetPage ¶

func (o *GetNamespaceIngredientsParams) SetPage(page *int64)

SetPage adds the page to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetQ ¶

SetQ adds the q to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetStateAt ¶

func (o *GetNamespaceIngredientsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithAllowDeleted ¶

func (o *GetNamespaceIngredientsParams) WithAllowDeleted(allowDeleted *bool) *GetNamespaceIngredientsParams

WithAllowDeleted adds the allowDeleted to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithAllowUnstable ¶

func (o *GetNamespaceIngredientsParams) WithAllowUnstable(allowUnstable *bool) *GetNamespaceIngredientsParams

WithAllowUnstable adds the allowUnstable to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithContext ¶

WithContext adds the context to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithDefaults ¶

WithDefaults hydrates default values in the get namespace ingredients params (not the query body).

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

func (*GetNamespaceIngredientsParams) WithExcludeFeatures ¶

func (o *GetNamespaceIngredientsParams) WithExcludeFeatures(excludeFeatures *bool) *GetNamespaceIngredientsParams

WithExcludeFeatures adds the excludeFeatures to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithLimit ¶

WithLimit adds the limit to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithMaxVersionsPerIngredient ¶

func (o *GetNamespaceIngredientsParams) WithMaxVersionsPerIngredient(maxVersionsPerIngredient *int64) *GetNamespaceIngredientsParams

WithMaxVersionsPerIngredient adds the maxVersionsPerIngredient to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithNamespace ¶

WithNamespace adds the namespace to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithPage ¶

WithPage adds the page to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithQ ¶

WithQ adds the q to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WithTimeout ¶

WithTimeout adds the timeout to the get namespace ingredients params

func (*GetNamespaceIngredientsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetNamespaceIngredientsReader ¶

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

GetNamespaceIngredientsReader is a Reader for the GetNamespaceIngredients structure.

func (*GetNamespaceIngredientsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetNamespacesDefault ¶

type GetNamespacesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetNamespacesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetNamespacesDefault ¶

func NewGetNamespacesDefault(code int) *GetNamespacesDefault

NewGetNamespacesDefault creates a GetNamespacesDefault with default headers values

func (*GetNamespacesDefault) Code ¶

func (o *GetNamespacesDefault) Code() int

Code gets the status code for the get namespaces default response

func (*GetNamespacesDefault) Error ¶

func (o *GetNamespacesDefault) Error() string

func (*GetNamespacesDefault) GetPayload ¶

type GetNamespacesOK ¶

type GetNamespacesOK struct {
	Payload *inventory_models.NamespacePagedList
}
GetNamespacesOK describes a response with status code 200, with default header values.

A paginated list of namespaces

func NewGetNamespacesOK ¶

func NewGetNamespacesOK() *GetNamespacesOK

NewGetNamespacesOK creates a GetNamespacesOK with default headers values

func (*GetNamespacesOK) Error ¶

func (o *GetNamespacesOK) Error() string

func (*GetNamespacesOK) GetPayload ¶

type GetNamespacesParams ¶

type GetNamespacesParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	// Namespace.
	Namespace *string

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetNamespacesParams contains all the parameters to send to the API endpoint

for the get namespaces operation.

Typically these are written to a http.Request.

func NewGetNamespacesParams ¶

func NewGetNamespacesParams() *GetNamespacesParams

NewGetNamespacesParams creates a new GetNamespacesParams 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 NewGetNamespacesParamsWithContext ¶

func NewGetNamespacesParamsWithContext(ctx context.Context) *GetNamespacesParams

NewGetNamespacesParamsWithContext creates a new GetNamespacesParams object with the ability to set a context for a request.

func NewGetNamespacesParamsWithHTTPClient ¶

func NewGetNamespacesParamsWithHTTPClient(client *http.Client) *GetNamespacesParams

NewGetNamespacesParamsWithHTTPClient creates a new GetNamespacesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespacesParamsWithTimeout ¶

func NewGetNamespacesParamsWithTimeout(timeout time.Duration) *GetNamespacesParams

NewGetNamespacesParamsWithTimeout creates a new GetNamespacesParams object with the ability to set a timeout on a request.

func (*GetNamespacesParams) SetContext ¶

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

SetContext adds the context to the get namespaces params

func (*GetNamespacesParams) SetDefaults ¶

func (o *GetNamespacesParams) SetDefaults()

SetDefaults hydrates default values in the get namespaces params (not the query body).

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

func (*GetNamespacesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) SetLimit ¶

func (o *GetNamespacesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get namespaces params

func (*GetNamespacesParams) SetNamespace ¶

func (o *GetNamespacesParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the get namespaces params

func (*GetNamespacesParams) SetPage ¶

func (o *GetNamespacesParams) SetPage(page *int64)

SetPage adds the page to the get namespaces params

func (*GetNamespacesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WithContext ¶

WithContext adds the context to the get namespaces params

func (*GetNamespacesParams) WithDefaults ¶

func (o *GetNamespacesParams) WithDefaults() *GetNamespacesParams

WithDefaults hydrates default values in the get namespaces params (not the query body).

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

func (*GetNamespacesParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) WithLimit ¶

func (o *GetNamespacesParams) WithLimit(limit *int64) *GetNamespacesParams

WithLimit adds the limit to the get namespaces params

func (*GetNamespacesParams) WithNamespace ¶

func (o *GetNamespacesParams) WithNamespace(namespace *string) *GetNamespacesParams

WithNamespace adds the namespace to the get namespaces params

func (*GetNamespacesParams) WithPage ¶

func (o *GetNamespacesParams) WithPage(page *int64) *GetNamespacesParams

WithPage adds the page to the get namespaces params

func (*GetNamespacesParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetNamespacesReader ¶

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

GetNamespacesReader is a Reader for the GetNamespaces structure.

func (*GetNamespacesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemDefault ¶

type GetOperatingSystemDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemDefault ¶

func NewGetOperatingSystemDefault(code int) *GetOperatingSystemDefault

NewGetOperatingSystemDefault creates a GetOperatingSystemDefault with default headers values

func (*GetOperatingSystemDefault) Code ¶

func (o *GetOperatingSystemDefault) Code() int

Code gets the status code for the get operating system default response

func (*GetOperatingSystemDefault) Error ¶

func (o *GetOperatingSystemDefault) Error() string

func (*GetOperatingSystemDefault) GetPayload ¶

type GetOperatingSystemKernelsDefault ¶

type GetOperatingSystemKernelsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemKernelsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemKernelsDefault ¶

func NewGetOperatingSystemKernelsDefault(code int) *GetOperatingSystemKernelsDefault

NewGetOperatingSystemKernelsDefault creates a GetOperatingSystemKernelsDefault with default headers values

func (*GetOperatingSystemKernelsDefault) Code ¶

Code gets the status code for the get operating system kernels default response

func (*GetOperatingSystemKernelsDefault) Error ¶

func (*GetOperatingSystemKernelsDefault) GetPayload ¶

type GetOperatingSystemKernelsOK ¶

type GetOperatingSystemKernelsOK struct {
	Payload *inventory_models.KernelPagedList
}
GetOperatingSystemKernelsOK describes a response with status code 200, with default header values.

A paginated list of kernels

func NewGetOperatingSystemKernelsOK ¶

func NewGetOperatingSystemKernelsOK() *GetOperatingSystemKernelsOK

NewGetOperatingSystemKernelsOK creates a GetOperatingSystemKernelsOK with default headers values

func (*GetOperatingSystemKernelsOK) Error ¶

func (*GetOperatingSystemKernelsOK) GetPayload ¶

type GetOperatingSystemKernelsParams ¶

type GetOperatingSystemKernelsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetOperatingSystemKernelsParams contains all the parameters to send to the API endpoint

for the get operating system kernels operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemKernelsParams ¶

func NewGetOperatingSystemKernelsParams() *GetOperatingSystemKernelsParams

NewGetOperatingSystemKernelsParams creates a new GetOperatingSystemKernelsParams 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 NewGetOperatingSystemKernelsParamsWithContext ¶

func NewGetOperatingSystemKernelsParamsWithContext(ctx context.Context) *GetOperatingSystemKernelsParams

NewGetOperatingSystemKernelsParamsWithContext creates a new GetOperatingSystemKernelsParams object with the ability to set a context for a request.

func NewGetOperatingSystemKernelsParamsWithHTTPClient ¶

func NewGetOperatingSystemKernelsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemKernelsParams

NewGetOperatingSystemKernelsParamsWithHTTPClient creates a new GetOperatingSystemKernelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemKernelsParamsWithTimeout ¶

func NewGetOperatingSystemKernelsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemKernelsParams

NewGetOperatingSystemKernelsParamsWithTimeout creates a new GetOperatingSystemKernelsParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemKernelsParams) SetAllowUnstable ¶

func (o *GetOperatingSystemKernelsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetContext ¶

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

SetContext adds the context to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetDefaults ¶

func (o *GetOperatingSystemKernelsParams) SetDefaults()

SetDefaults hydrates default values in the get operating system kernels params (not the query body).

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

func (*GetOperatingSystemKernelsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetLimit ¶

func (o *GetOperatingSystemKernelsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetOperatingSystemID ¶

func (o *GetOperatingSystemKernelsParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetPage ¶

func (o *GetOperatingSystemKernelsParams) SetPage(page *int64)

SetPage adds the page to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetStateAt ¶

func (o *GetOperatingSystemKernelsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithAllowUnstable ¶

func (o *GetOperatingSystemKernelsParams) WithAllowUnstable(allowUnstable *bool) *GetOperatingSystemKernelsParams

WithAllowUnstable adds the allowUnstable to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithContext ¶

WithContext adds the context to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating system kernels params (not the query body).

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

func (*GetOperatingSystemKernelsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithLimit ¶

WithLimit adds the limit to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithOperatingSystemID ¶

func (o *GetOperatingSystemKernelsParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *GetOperatingSystemKernelsParams

WithOperatingSystemID adds the operatingSystemID to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithPage ¶

WithPage adds the page to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating system kernels params

func (*GetOperatingSystemKernelsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemKernelsReader ¶

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

GetOperatingSystemKernelsReader is a Reader for the GetOperatingSystemKernels structure.

func (*GetOperatingSystemKernelsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemLibcsDefault ¶

type GetOperatingSystemLibcsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemLibcsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemLibcsDefault ¶

func NewGetOperatingSystemLibcsDefault(code int) *GetOperatingSystemLibcsDefault

NewGetOperatingSystemLibcsDefault creates a GetOperatingSystemLibcsDefault with default headers values

func (*GetOperatingSystemLibcsDefault) Code ¶

Code gets the status code for the get operating system libcs default response

func (*GetOperatingSystemLibcsDefault) Error ¶

func (*GetOperatingSystemLibcsDefault) GetPayload ¶

type GetOperatingSystemLibcsOK ¶

type GetOperatingSystemLibcsOK struct {
	Payload *inventory_models.LibcPagedList
}
GetOperatingSystemLibcsOK describes a response with status code 200, with default header values.

A paginated list of libcs

func NewGetOperatingSystemLibcsOK ¶

func NewGetOperatingSystemLibcsOK() *GetOperatingSystemLibcsOK

NewGetOperatingSystemLibcsOK creates a GetOperatingSystemLibcsOK with default headers values

func (*GetOperatingSystemLibcsOK) Error ¶

func (o *GetOperatingSystemLibcsOK) Error() string

func (*GetOperatingSystemLibcsOK) GetPayload ¶

type GetOperatingSystemLibcsParams ¶

type GetOperatingSystemLibcsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetOperatingSystemLibcsParams contains all the parameters to send to the API endpoint

for the get operating system libcs operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemLibcsParams ¶

func NewGetOperatingSystemLibcsParams() *GetOperatingSystemLibcsParams

NewGetOperatingSystemLibcsParams creates a new GetOperatingSystemLibcsParams 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 NewGetOperatingSystemLibcsParamsWithContext ¶

func NewGetOperatingSystemLibcsParamsWithContext(ctx context.Context) *GetOperatingSystemLibcsParams

NewGetOperatingSystemLibcsParamsWithContext creates a new GetOperatingSystemLibcsParams object with the ability to set a context for a request.

func NewGetOperatingSystemLibcsParamsWithHTTPClient ¶

func NewGetOperatingSystemLibcsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemLibcsParams

NewGetOperatingSystemLibcsParamsWithHTTPClient creates a new GetOperatingSystemLibcsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemLibcsParamsWithTimeout ¶

func NewGetOperatingSystemLibcsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemLibcsParams

NewGetOperatingSystemLibcsParamsWithTimeout creates a new GetOperatingSystemLibcsParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemLibcsParams) SetAllowUnstable ¶

func (o *GetOperatingSystemLibcsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetContext ¶

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

SetContext adds the context to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetDefaults ¶

func (o *GetOperatingSystemLibcsParams) SetDefaults()

SetDefaults hydrates default values in the get operating system libcs params (not the query body).

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

func (*GetOperatingSystemLibcsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetLimit ¶

func (o *GetOperatingSystemLibcsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetOperatingSystemID ¶

func (o *GetOperatingSystemLibcsParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetPage ¶

func (o *GetOperatingSystemLibcsParams) SetPage(page *int64)

SetPage adds the page to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetStateAt ¶

func (o *GetOperatingSystemLibcsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithAllowUnstable ¶

func (o *GetOperatingSystemLibcsParams) WithAllowUnstable(allowUnstable *bool) *GetOperatingSystemLibcsParams

WithAllowUnstable adds the allowUnstable to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithContext ¶

WithContext adds the context to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating system libcs params (not the query body).

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

func (*GetOperatingSystemLibcsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithLimit ¶

WithLimit adds the limit to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithOperatingSystemID ¶

func (o *GetOperatingSystemLibcsParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *GetOperatingSystemLibcsParams

WithOperatingSystemID adds the operatingSystemID to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithPage ¶

WithPage adds the page to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating system libcs params

func (*GetOperatingSystemLibcsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemLibcsReader ¶

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

GetOperatingSystemLibcsReader is a Reader for the GetOperatingSystemLibcs structure.

func (*GetOperatingSystemLibcsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemOK ¶

type GetOperatingSystemOK struct {
	Payload *inventory_models.OperatingSystem
}
GetOperatingSystemOK describes a response with status code 200, with default header values.

The retrieved operating system

func NewGetOperatingSystemOK ¶

func NewGetOperatingSystemOK() *GetOperatingSystemOK

NewGetOperatingSystemOK creates a GetOperatingSystemOK with default headers values

func (*GetOperatingSystemOK) Error ¶

func (o *GetOperatingSystemOK) Error() string

func (*GetOperatingSystemOK) GetPayload ¶

type GetOperatingSystemParams ¶

type GetOperatingSystemParams struct {

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

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

GetOperatingSystemParams contains all the parameters to send to the API endpoint

for the get operating system operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemParams ¶

func NewGetOperatingSystemParams() *GetOperatingSystemParams

NewGetOperatingSystemParams creates a new GetOperatingSystemParams 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 NewGetOperatingSystemParamsWithContext ¶

func NewGetOperatingSystemParamsWithContext(ctx context.Context) *GetOperatingSystemParams

NewGetOperatingSystemParamsWithContext creates a new GetOperatingSystemParams object with the ability to set a context for a request.

func NewGetOperatingSystemParamsWithHTTPClient ¶

func NewGetOperatingSystemParamsWithHTTPClient(client *http.Client) *GetOperatingSystemParams

NewGetOperatingSystemParamsWithHTTPClient creates a new GetOperatingSystemParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemParamsWithTimeout ¶

func NewGetOperatingSystemParamsWithTimeout(timeout time.Duration) *GetOperatingSystemParams

NewGetOperatingSystemParamsWithTimeout creates a new GetOperatingSystemParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemParams) SetContext ¶

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

SetContext adds the context to the get operating system params

func (*GetOperatingSystemParams) SetDefaults ¶

func (o *GetOperatingSystemParams) SetDefaults()

SetDefaults hydrates default values in the get operating system params (not the query body).

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

func (*GetOperatingSystemParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating system params

func (*GetOperatingSystemParams) SetOperatingSystemID ¶

func (o *GetOperatingSystemParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the get operating system params

func (*GetOperatingSystemParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating system params

func (*GetOperatingSystemParams) WithContext ¶

WithContext adds the context to the get operating system params

func (*GetOperatingSystemParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating system params (not the query body).

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

func (*GetOperatingSystemParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get operating system params

func (*GetOperatingSystemParams) WithOperatingSystemID ¶

func (o *GetOperatingSystemParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *GetOperatingSystemParams

WithOperatingSystemID adds the operatingSystemID to the get operating system params

func (*GetOperatingSystemParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating system params

func (*GetOperatingSystemParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemReader ¶

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

GetOperatingSystemReader is a Reader for the GetOperatingSystem structure.

func (*GetOperatingSystemReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemVersionDefault ¶

type GetOperatingSystemVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemVersionDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemVersionDefault ¶

func NewGetOperatingSystemVersionDefault(code int) *GetOperatingSystemVersionDefault

NewGetOperatingSystemVersionDefault creates a GetOperatingSystemVersionDefault with default headers values

func (*GetOperatingSystemVersionDefault) Code ¶

Code gets the status code for the get operating system version default response

func (*GetOperatingSystemVersionDefault) Error ¶

func (*GetOperatingSystemVersionDefault) GetPayload ¶

type GetOperatingSystemVersionOK ¶

type GetOperatingSystemVersionOK struct {
	Payload *inventory_models.OperatingSystemVersion
}
GetOperatingSystemVersionOK describes a response with status code 200, with default header values.

The retrieved operating system version

func NewGetOperatingSystemVersionOK ¶

func NewGetOperatingSystemVersionOK() *GetOperatingSystemVersionOK

NewGetOperatingSystemVersionOK creates a GetOperatingSystemVersionOK with default headers values

func (*GetOperatingSystemVersionOK) Error ¶

func (*GetOperatingSystemVersionOK) GetPayload ¶

type GetOperatingSystemVersionParams ¶

type GetOperatingSystemVersionParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	// OperatingSystemVersionID.
	//
	// Format: uuid
	OperatingSystemVersionID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetOperatingSystemVersionParams contains all the parameters to send to the API endpoint

for the get operating system version operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemVersionParams ¶

func NewGetOperatingSystemVersionParams() *GetOperatingSystemVersionParams

NewGetOperatingSystemVersionParams creates a new GetOperatingSystemVersionParams 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 NewGetOperatingSystemVersionParamsWithContext ¶

func NewGetOperatingSystemVersionParamsWithContext(ctx context.Context) *GetOperatingSystemVersionParams

NewGetOperatingSystemVersionParamsWithContext creates a new GetOperatingSystemVersionParams object with the ability to set a context for a request.

func NewGetOperatingSystemVersionParamsWithHTTPClient ¶

func NewGetOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *GetOperatingSystemVersionParams

NewGetOperatingSystemVersionParamsWithHTTPClient creates a new GetOperatingSystemVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemVersionParamsWithTimeout ¶

func NewGetOperatingSystemVersionParamsWithTimeout(timeout time.Duration) *GetOperatingSystemVersionParams

NewGetOperatingSystemVersionParamsWithTimeout creates a new GetOperatingSystemVersionParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemVersionParams) SetAllowUnstable ¶

func (o *GetOperatingSystemVersionParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get operating system version params

func (*GetOperatingSystemVersionParams) SetContext ¶

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

SetContext adds the context to the get operating system version params

func (*GetOperatingSystemVersionParams) SetDefaults ¶

func (o *GetOperatingSystemVersionParams) SetDefaults()

SetDefaults hydrates default values in the get operating system version params (not the query body).

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

func (*GetOperatingSystemVersionParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating system version params

func (*GetOperatingSystemVersionParams) SetOperatingSystemID ¶

func (o *GetOperatingSystemVersionParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the get operating system version params

func (*GetOperatingSystemVersionParams) SetOperatingSystemVersionID ¶

func (o *GetOperatingSystemVersionParams) SetOperatingSystemVersionID(operatingSystemVersionID strfmt.UUID)

SetOperatingSystemVersionID adds the operatingSystemVersionId to the get operating system version params

func (*GetOperatingSystemVersionParams) SetStateAt ¶

func (o *GetOperatingSystemVersionParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get operating system version params

func (*GetOperatingSystemVersionParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating system version params

func (*GetOperatingSystemVersionParams) WithAllowUnstable ¶

func (o *GetOperatingSystemVersionParams) WithAllowUnstable(allowUnstable *bool) *GetOperatingSystemVersionParams

WithAllowUnstable adds the allowUnstable to the get operating system version params

func (*GetOperatingSystemVersionParams) WithContext ¶

WithContext adds the context to the get operating system version params

func (*GetOperatingSystemVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating system version params (not the query body).

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

func (*GetOperatingSystemVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get operating system version params

func (*GetOperatingSystemVersionParams) WithOperatingSystemID ¶

func (o *GetOperatingSystemVersionParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *GetOperatingSystemVersionParams

WithOperatingSystemID adds the operatingSystemID to the get operating system version params

func (*GetOperatingSystemVersionParams) WithOperatingSystemVersionID ¶

func (o *GetOperatingSystemVersionParams) WithOperatingSystemVersionID(operatingSystemVersionID strfmt.UUID) *GetOperatingSystemVersionParams

WithOperatingSystemVersionID adds the operatingSystemVersionID to the get operating system version params

func (*GetOperatingSystemVersionParams) WithStateAt ¶

WithStateAt adds the stateAt to the get operating system version params

func (*GetOperatingSystemVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating system version params

func (*GetOperatingSystemVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemVersionReader ¶

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

GetOperatingSystemVersionReader is a Reader for the GetOperatingSystemVersion structure.

func (*GetOperatingSystemVersionReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemVersionsDefault ¶

type GetOperatingSystemVersionsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemVersionsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemVersionsDefault ¶

func NewGetOperatingSystemVersionsDefault(code int) *GetOperatingSystemVersionsDefault

NewGetOperatingSystemVersionsDefault creates a GetOperatingSystemVersionsDefault with default headers values

func (*GetOperatingSystemVersionsDefault) Code ¶

Code gets the status code for the get operating system versions default response

func (*GetOperatingSystemVersionsDefault) Error ¶

func (*GetOperatingSystemVersionsDefault) GetPayload ¶

type GetOperatingSystemVersionsOK ¶

type GetOperatingSystemVersionsOK struct {
	Payload *inventory_models.OperatingSystemVersionPagedList
}
GetOperatingSystemVersionsOK describes a response with status code 200, with default header values.

A paginated list of operating system versions

func NewGetOperatingSystemVersionsOK ¶

func NewGetOperatingSystemVersionsOK() *GetOperatingSystemVersionsOK

NewGetOperatingSystemVersionsOK creates a GetOperatingSystemVersionsOK with default headers values

func (*GetOperatingSystemVersionsOK) Error ¶

func (*GetOperatingSystemVersionsOK) GetPayload ¶

type GetOperatingSystemVersionsParams ¶

type GetOperatingSystemVersionsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	// OperatingSystemID.
	//
	// Format: uuid
	OperatingSystemID strfmt.UUID

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

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

GetOperatingSystemVersionsParams contains all the parameters to send to the API endpoint

for the get operating system versions operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemVersionsParams ¶

func NewGetOperatingSystemVersionsParams() *GetOperatingSystemVersionsParams

NewGetOperatingSystemVersionsParams creates a new GetOperatingSystemVersionsParams 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 NewGetOperatingSystemVersionsParamsWithContext ¶

func NewGetOperatingSystemVersionsParamsWithContext(ctx context.Context) *GetOperatingSystemVersionsParams

NewGetOperatingSystemVersionsParamsWithContext creates a new GetOperatingSystemVersionsParams object with the ability to set a context for a request.

func NewGetOperatingSystemVersionsParamsWithHTTPClient ¶

func NewGetOperatingSystemVersionsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemVersionsParams

NewGetOperatingSystemVersionsParamsWithHTTPClient creates a new GetOperatingSystemVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemVersionsParamsWithTimeout ¶

func NewGetOperatingSystemVersionsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemVersionsParams

NewGetOperatingSystemVersionsParamsWithTimeout creates a new GetOperatingSystemVersionsParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemVersionsParams) SetAllowUnstable ¶

func (o *GetOperatingSystemVersionsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetContext ¶

SetContext adds the context to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetDefaults ¶

func (o *GetOperatingSystemVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get operating system versions params (not the query body).

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

func (*GetOperatingSystemVersionsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetLimit ¶

func (o *GetOperatingSystemVersionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetOperatingSystemID ¶

func (o *GetOperatingSystemVersionsParams) SetOperatingSystemID(operatingSystemID strfmt.UUID)

SetOperatingSystemID adds the operatingSystemId to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetPage ¶

func (o *GetOperatingSystemVersionsParams) SetPage(page *int64)

SetPage adds the page to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetStateAt ¶

func (o *GetOperatingSystemVersionsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get operating system versions params

func (*GetOperatingSystemVersionsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithAllowUnstable ¶

func (o *GetOperatingSystemVersionsParams) WithAllowUnstable(allowUnstable *bool) *GetOperatingSystemVersionsParams

WithAllowUnstable adds the allowUnstable to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithContext ¶

WithContext adds the context to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating system versions params (not the query body).

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

func (*GetOperatingSystemVersionsParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithLimit ¶

WithLimit adds the limit to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithOperatingSystemID ¶

func (o *GetOperatingSystemVersionsParams) WithOperatingSystemID(operatingSystemID strfmt.UUID) *GetOperatingSystemVersionsParams

WithOperatingSystemID adds the operatingSystemID to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithPage ¶

WithPage adds the page to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithStateAt ¶

WithStateAt adds the stateAt to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating system versions params

func (*GetOperatingSystemVersionsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemVersionsReader ¶

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

GetOperatingSystemVersionsReader is a Reader for the GetOperatingSystemVersions structure.

func (*GetOperatingSystemVersionsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetOperatingSystemsDefault ¶

type GetOperatingSystemsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetOperatingSystemsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetOperatingSystemsDefault ¶

func NewGetOperatingSystemsDefault(code int) *GetOperatingSystemsDefault

NewGetOperatingSystemsDefault creates a GetOperatingSystemsDefault with default headers values

func (*GetOperatingSystemsDefault) Code ¶

func (o *GetOperatingSystemsDefault) Code() int

Code gets the status code for the get operating systems default response

func (*GetOperatingSystemsDefault) Error ¶

func (*GetOperatingSystemsDefault) GetPayload ¶

type GetOperatingSystemsOK ¶

type GetOperatingSystemsOK struct {
	Payload *inventory_models.OperatingSystemPagedList
}
GetOperatingSystemsOK describes a response with status code 200, with default header values.

A paginated list of operating systems

func NewGetOperatingSystemsOK ¶

func NewGetOperatingSystemsOK() *GetOperatingSystemsOK

NewGetOperatingSystemsOK creates a GetOperatingSystemsOK with default headers values

func (*GetOperatingSystemsOK) Error ¶

func (o *GetOperatingSystemsOK) Error() string

func (*GetOperatingSystemsOK) GetPayload ¶

type GetOperatingSystemsParams ¶

type GetOperatingSystemsParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

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

GetOperatingSystemsParams contains all the parameters to send to the API endpoint

for the get operating systems operation.

Typically these are written to a http.Request.

func NewGetOperatingSystemsParams ¶

func NewGetOperatingSystemsParams() *GetOperatingSystemsParams

NewGetOperatingSystemsParams creates a new GetOperatingSystemsParams 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 NewGetOperatingSystemsParamsWithContext ¶

func NewGetOperatingSystemsParamsWithContext(ctx context.Context) *GetOperatingSystemsParams

NewGetOperatingSystemsParamsWithContext creates a new GetOperatingSystemsParams object with the ability to set a context for a request.

func NewGetOperatingSystemsParamsWithHTTPClient ¶

func NewGetOperatingSystemsParamsWithHTTPClient(client *http.Client) *GetOperatingSystemsParams

NewGetOperatingSystemsParamsWithHTTPClient creates a new GetOperatingSystemsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOperatingSystemsParamsWithTimeout ¶

func NewGetOperatingSystemsParamsWithTimeout(timeout time.Duration) *GetOperatingSystemsParams

NewGetOperatingSystemsParamsWithTimeout creates a new GetOperatingSystemsParams object with the ability to set a timeout on a request.

func (*GetOperatingSystemsParams) SetContext ¶

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

SetContext adds the context to the get operating systems params

func (*GetOperatingSystemsParams) SetDefaults ¶

func (o *GetOperatingSystemsParams) SetDefaults()

SetDefaults hydrates default values in the get operating systems params (not the query body).

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

func (*GetOperatingSystemsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get operating systems params

func (*GetOperatingSystemsParams) SetLimit ¶

func (o *GetOperatingSystemsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get operating systems params

func (*GetOperatingSystemsParams) SetPage ¶

func (o *GetOperatingSystemsParams) SetPage(page *int64)

SetPage adds the page to the get operating systems params

func (*GetOperatingSystemsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get operating systems params

func (*GetOperatingSystemsParams) WithContext ¶

WithContext adds the context to the get operating systems params

func (*GetOperatingSystemsParams) WithDefaults ¶

WithDefaults hydrates default values in the get operating systems params (not the query body).

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

func (*GetOperatingSystemsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get operating systems params

func (*GetOperatingSystemsParams) WithLimit ¶

WithLimit adds the limit to the get operating systems params

func (*GetOperatingSystemsParams) WithPage ¶

WithPage adds the page to the get operating systems params

func (*GetOperatingSystemsParams) WithTimeout ¶

WithTimeout adds the timeout to the get operating systems params

func (*GetOperatingSystemsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetOperatingSystemsReader ¶

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

GetOperatingSystemsReader is a Reader for the GetOperatingSystems structure.

func (*GetOperatingSystemsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetPatchDefault ¶

type GetPatchDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetPatchDefault describes a response with status code -1, with default header values.

generic error response

func NewGetPatchDefault ¶

func NewGetPatchDefault(code int) *GetPatchDefault

NewGetPatchDefault creates a GetPatchDefault with default headers values

func (*GetPatchDefault) Code ¶

func (o *GetPatchDefault) Code() int

Code gets the status code for the get patch default response

func (*GetPatchDefault) Error ¶

func (o *GetPatchDefault) Error() string

func (*GetPatchDefault) GetPayload ¶

type GetPatchOK ¶

type GetPatchOK struct {
	Payload *inventory_models.Patch
}
GetPatchOK describes a response with status code 200, with default header values.

The retrieved patch

func NewGetPatchOK ¶

func NewGetPatchOK() *GetPatchOK

NewGetPatchOK creates a GetPatchOK with default headers values

func (*GetPatchOK) Error ¶

func (o *GetPatchOK) Error() string

func (*GetPatchOK) GetPayload ¶

func (o *GetPatchOK) GetPayload() *inventory_models.Patch

type GetPatchParams ¶

type GetPatchParams struct {

	// PatchID.
	//
	// Format: uuid
	PatchID strfmt.UUID

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

GetPatchParams contains all the parameters to send to the API endpoint

for the get patch operation.

Typically these are written to a http.Request.

func NewGetPatchParams ¶

func NewGetPatchParams() *GetPatchParams

NewGetPatchParams creates a new GetPatchParams 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 NewGetPatchParamsWithContext ¶

func NewGetPatchParamsWithContext(ctx context.Context) *GetPatchParams

NewGetPatchParamsWithContext creates a new GetPatchParams object with the ability to set a context for a request.

func NewGetPatchParamsWithHTTPClient ¶

func NewGetPatchParamsWithHTTPClient(client *http.Client) *GetPatchParams

NewGetPatchParamsWithHTTPClient creates a new GetPatchParams object with the ability to set a custom HTTPClient for a request.

func NewGetPatchParamsWithTimeout ¶

func NewGetPatchParamsWithTimeout(timeout time.Duration) *GetPatchParams

NewGetPatchParamsWithTimeout creates a new GetPatchParams object with the ability to set a timeout on a request.

func (*GetPatchParams) SetContext ¶

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

SetContext adds the context to the get patch params

func (*GetPatchParams) SetDefaults ¶

func (o *GetPatchParams) SetDefaults()

SetDefaults hydrates default values in the get patch params (not the query body).

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

func (*GetPatchParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get patch params

func (*GetPatchParams) SetPatchID ¶

func (o *GetPatchParams) SetPatchID(patchID strfmt.UUID)

SetPatchID adds the patchId to the get patch params

func (*GetPatchParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get patch params

func (*GetPatchParams) WithContext ¶

func (o *GetPatchParams) WithContext(ctx context.Context) *GetPatchParams

WithContext adds the context to the get patch params

func (*GetPatchParams) WithDefaults ¶

func (o *GetPatchParams) WithDefaults() *GetPatchParams

WithDefaults hydrates default values in the get patch params (not the query body).

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

func (*GetPatchParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get patch params

func (*GetPatchParams) WithPatchID ¶

func (o *GetPatchParams) WithPatchID(patchID strfmt.UUID) *GetPatchParams

WithPatchID adds the patchID to the get patch params

func (*GetPatchParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get patch params

func (*GetPatchParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetPatchReader ¶

type GetPatchReader struct {
	// contains filtered or unexported fields
}

GetPatchReader is a Reader for the GetPatch structure.

func (*GetPatchReader) ReadResponse ¶

func (o *GetPatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPatchesDefault ¶

type GetPatchesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetPatchesDefault describes a response with status code -1, with default header values.

generic error response

func NewGetPatchesDefault ¶

func NewGetPatchesDefault(code int) *GetPatchesDefault

NewGetPatchesDefault creates a GetPatchesDefault with default headers values

func (*GetPatchesDefault) Code ¶

func (o *GetPatchesDefault) Code() int

Code gets the status code for the get patches default response

func (*GetPatchesDefault) Error ¶

func (o *GetPatchesDefault) Error() string

func (*GetPatchesDefault) GetPayload ¶

type GetPatchesOK ¶

type GetPatchesOK struct {
	Payload *inventory_models.PatchPagedList
}
GetPatchesOK describes a response with status code 200, with default header values.

A paginated list of patches

func NewGetPatchesOK ¶

func NewGetPatchesOK() *GetPatchesOK

NewGetPatchesOK creates a GetPatchesOK with default headers values

func (*GetPatchesOK) Error ¶

func (o *GetPatchesOK) Error() string

func (*GetPatchesOK) GetPayload ¶

func (o *GetPatchesOK) GetPayload() *inventory_models.PatchPagedList

type GetPatchesParams ¶

type GetPatchesParams struct {

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPatchesParams contains all the parameters to send to the API endpoint

for the get patches operation.

Typically these are written to a http.Request.

func NewGetPatchesParams ¶

func NewGetPatchesParams() *GetPatchesParams

NewGetPatchesParams creates a new GetPatchesParams 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 NewGetPatchesParamsWithContext ¶

func NewGetPatchesParamsWithContext(ctx context.Context) *GetPatchesParams

NewGetPatchesParamsWithContext creates a new GetPatchesParams object with the ability to set a context for a request.

func NewGetPatchesParamsWithHTTPClient ¶

func NewGetPatchesParamsWithHTTPClient(client *http.Client) *GetPatchesParams

NewGetPatchesParamsWithHTTPClient creates a new GetPatchesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPatchesParamsWithTimeout ¶

func NewGetPatchesParamsWithTimeout(timeout time.Duration) *GetPatchesParams

NewGetPatchesParamsWithTimeout creates a new GetPatchesParams object with the ability to set a timeout on a request.

func (*GetPatchesParams) SetContext ¶

func (o *GetPatchesParams) SetContext(ctx context.Context)

SetContext adds the context to the get patches params

func (*GetPatchesParams) SetDefaults ¶

func (o *GetPatchesParams) SetDefaults()

SetDefaults hydrates default values in the get patches params (not the query body).

All values with no default are reset to their zero value.

func (*GetPatchesParams) SetHTTPClient ¶

func (o *GetPatchesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get patches params

func (*GetPatchesParams) SetLimit ¶

func (o *GetPatchesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get patches params

func (*GetPatchesParams) SetPage ¶

func (o *GetPatchesParams) SetPage(page *int64)

SetPage adds the page to the get patches params

func (*GetPatchesParams) SetTimeout ¶

func (o *GetPatchesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get patches params

func (*GetPatchesParams) WithContext ¶

func (o *GetPatchesParams) WithContext(ctx context.Context) *GetPatchesParams

WithContext adds the context to the get patches params

func (*GetPatchesParams) WithDefaults ¶

func (o *GetPatchesParams) WithDefaults() *GetPatchesParams

WithDefaults hydrates default values in the get patches params (not the query body).

All values with no default are reset to their zero value.

func (*GetPatchesParams) WithHTTPClient ¶

func (o *GetPatchesParams) WithHTTPClient(client *http.Client) *GetPatchesParams

WithHTTPClient adds the HTTPClient to the get patches params

func (*GetPatchesParams) WithLimit ¶

func (o *GetPatchesParams) WithLimit(limit *int64) *GetPatchesParams

WithLimit adds the limit to the get patches params

func (*GetPatchesParams) WithPage ¶

func (o *GetPatchesParams) WithPage(page *int64) *GetPatchesParams

WithPage adds the page to the get patches params

func (*GetPatchesParams) WithTimeout ¶

func (o *GetPatchesParams) WithTimeout(timeout time.Duration) *GetPatchesParams

WithTimeout adds the timeout to the get patches params

func (*GetPatchesParams) WriteToRequest ¶

func (o *GetPatchesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPatchesReader ¶

type GetPatchesReader struct {
	// contains filtered or unexported fields
}

GetPatchesReader is a Reader for the GetPatches structure.

func (*GetPatchesReader) ReadResponse ¶

func (o *GetPatchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlatformDefault ¶

type GetPlatformDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetPlatformDefault describes a response with status code -1, with default header values.

generic error response

func NewGetPlatformDefault ¶

func NewGetPlatformDefault(code int) *GetPlatformDefault

NewGetPlatformDefault creates a GetPlatformDefault with default headers values

func (*GetPlatformDefault) Code ¶

func (o *GetPlatformDefault) Code() int

Code gets the status code for the get platform default response

func (*GetPlatformDefault) Error ¶

func (o *GetPlatformDefault) Error() string

func (*GetPlatformDefault) GetPayload ¶

type GetPlatformOK ¶

type GetPlatformOK struct {
	Payload *inventory_models.Platform
}
GetPlatformOK describes a response with status code 200, with default header values.

The retrieved platform

func NewGetPlatformOK ¶

func NewGetPlatformOK() *GetPlatformOK

NewGetPlatformOK creates a GetPlatformOK with default headers values

func (*GetPlatformOK) Error ¶

func (o *GetPlatformOK) Error() string

func (*GetPlatformOK) GetPayload ¶

func (o *GetPlatformOK) GetPayload() *inventory_models.Platform

type GetPlatformParams ¶

type GetPlatformParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// PlatformID.
	//
	// Format: uuid
	PlatformID strfmt.UUID

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlatformParams contains all the parameters to send to the API endpoint

for the get platform operation.

Typically these are written to a http.Request.

func NewGetPlatformParams ¶

func NewGetPlatformParams() *GetPlatformParams

NewGetPlatformParams creates a new GetPlatformParams 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 NewGetPlatformParamsWithContext ¶

func NewGetPlatformParamsWithContext(ctx context.Context) *GetPlatformParams

NewGetPlatformParamsWithContext creates a new GetPlatformParams object with the ability to set a context for a request.

func NewGetPlatformParamsWithHTTPClient ¶

func NewGetPlatformParamsWithHTTPClient(client *http.Client) *GetPlatformParams

NewGetPlatformParamsWithHTTPClient creates a new GetPlatformParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlatformParamsWithTimeout ¶

func NewGetPlatformParamsWithTimeout(timeout time.Duration) *GetPlatformParams

NewGetPlatformParamsWithTimeout creates a new GetPlatformParams object with the ability to set a timeout on a request.

func (*GetPlatformParams) SetAllowUnstable ¶

func (o *GetPlatformParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get platform params

func (*GetPlatformParams) SetContext ¶

func (o *GetPlatformParams) SetContext(ctx context.Context)

SetContext adds the context to the get platform params

func (*GetPlatformParams) SetDefaults ¶

func (o *GetPlatformParams) SetDefaults()

SetDefaults hydrates default values in the get platform params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformParams) SetHTTPClient ¶

func (o *GetPlatformParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get platform params

func (*GetPlatformParams) SetPlatformID ¶

func (o *GetPlatformParams) SetPlatformID(platformID strfmt.UUID)

SetPlatformID adds the platformId to the get platform params

func (*GetPlatformParams) SetStateAt ¶

func (o *GetPlatformParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get platform params

func (*GetPlatformParams) SetTimeout ¶

func (o *GetPlatformParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get platform params

func (*GetPlatformParams) WithAllowUnstable ¶

func (o *GetPlatformParams) WithAllowUnstable(allowUnstable *bool) *GetPlatformParams

WithAllowUnstable adds the allowUnstable to the get platform params

func (*GetPlatformParams) WithContext ¶

func (o *GetPlatformParams) WithContext(ctx context.Context) *GetPlatformParams

WithContext adds the context to the get platform params

func (*GetPlatformParams) WithDefaults ¶

func (o *GetPlatformParams) WithDefaults() *GetPlatformParams

WithDefaults hydrates default values in the get platform params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformParams) WithHTTPClient ¶

func (o *GetPlatformParams) WithHTTPClient(client *http.Client) *GetPlatformParams

WithHTTPClient adds the HTTPClient to the get platform params

func (*GetPlatformParams) WithPlatformID ¶

func (o *GetPlatformParams) WithPlatformID(platformID strfmt.UUID) *GetPlatformParams

WithPlatformID adds the platformID to the get platform params

func (*GetPlatformParams) WithStateAt ¶

func (o *GetPlatformParams) WithStateAt(stateAt *strfmt.DateTime) *GetPlatformParams

WithStateAt adds the stateAt to the get platform params

func (*GetPlatformParams) WithTimeout ¶

func (o *GetPlatformParams) WithTimeout(timeout time.Duration) *GetPlatformParams

WithTimeout adds the timeout to the get platform params

func (*GetPlatformParams) WriteToRequest ¶

func (o *GetPlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPlatformReader ¶

type GetPlatformReader struct {
	// contains filtered or unexported fields
}

GetPlatformReader is a Reader for the GetPlatform structure.

func (*GetPlatformReader) ReadResponse ¶

func (o *GetPlatformReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlatformsDefault ¶

type GetPlatformsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetPlatformsDefault describes a response with status code -1, with default header values.

generic error response

func NewGetPlatformsDefault ¶

func NewGetPlatformsDefault(code int) *GetPlatformsDefault

NewGetPlatformsDefault creates a GetPlatformsDefault with default headers values

func (*GetPlatformsDefault) Code ¶

func (o *GetPlatformsDefault) Code() int

Code gets the status code for the get platforms default response

func (*GetPlatformsDefault) Error ¶

func (o *GetPlatformsDefault) Error() string

func (*GetPlatformsDefault) GetPayload ¶

type GetPlatformsOK ¶

type GetPlatformsOK struct {
	Payload *inventory_models.PlatformPagedList
}
GetPlatformsOK describes a response with status code 200, with default header values.

A paginated list of platforms

func NewGetPlatformsOK ¶

func NewGetPlatformsOK() *GetPlatformsOK

NewGetPlatformsOK creates a GetPlatformsOK with default headers values

func (*GetPlatformsOK) Error ¶

func (o *GetPlatformsOK) Error() string

func (*GetPlatformsOK) GetPayload ¶

type GetPlatformsParams ¶

type GetPlatformsParams struct {

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	/* Limit.

	   The maximum number of items returned per page

	   Default: 50
	*/
	Limit *int64

	/* Page.

	   The page number returned

	   Default: 1
	*/
	Page *int64

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlatformsParams contains all the parameters to send to the API endpoint

for the get platforms operation.

Typically these are written to a http.Request.

func NewGetPlatformsParams ¶

func NewGetPlatformsParams() *GetPlatformsParams

NewGetPlatformsParams creates a new GetPlatformsParams 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 NewGetPlatformsParamsWithContext ¶

func NewGetPlatformsParamsWithContext(ctx context.Context) *GetPlatformsParams

NewGetPlatformsParamsWithContext creates a new GetPlatformsParams object with the ability to set a context for a request.

func NewGetPlatformsParamsWithHTTPClient ¶

func NewGetPlatformsParamsWithHTTPClient(client *http.Client) *GetPlatformsParams

NewGetPlatformsParamsWithHTTPClient creates a new GetPlatformsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlatformsParamsWithTimeout ¶

func NewGetPlatformsParamsWithTimeout(timeout time.Duration) *GetPlatformsParams

NewGetPlatformsParamsWithTimeout creates a new GetPlatformsParams object with the ability to set a timeout on a request.

func (*GetPlatformsParams) SetAllowUnstable ¶

func (o *GetPlatformsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the get platforms params

func (*GetPlatformsParams) SetContext ¶

func (o *GetPlatformsParams) SetContext(ctx context.Context)

SetContext adds the context to the get platforms params

func (*GetPlatformsParams) SetDefaults ¶

func (o *GetPlatformsParams) SetDefaults()

SetDefaults hydrates default values in the get platforms params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformsParams) SetHTTPClient ¶

func (o *GetPlatformsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get platforms params

func (*GetPlatformsParams) SetLimit ¶

func (o *GetPlatformsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get platforms params

func (*GetPlatformsParams) SetPage ¶

func (o *GetPlatformsParams) SetPage(page *int64)

SetPage adds the page to the get platforms params

func (*GetPlatformsParams) SetStateAt ¶

func (o *GetPlatformsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the get platforms params

func (*GetPlatformsParams) SetTimeout ¶

func (o *GetPlatformsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get platforms params

func (*GetPlatformsParams) WithAllowUnstable ¶

func (o *GetPlatformsParams) WithAllowUnstable(allowUnstable *bool) *GetPlatformsParams

WithAllowUnstable adds the allowUnstable to the get platforms params

func (*GetPlatformsParams) WithContext ¶

WithContext adds the context to the get platforms params

func (*GetPlatformsParams) WithDefaults ¶

func (o *GetPlatformsParams) WithDefaults() *GetPlatformsParams

WithDefaults hydrates default values in the get platforms params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformsParams) WithHTTPClient ¶

func (o *GetPlatformsParams) WithHTTPClient(client *http.Client) *GetPlatformsParams

WithHTTPClient adds the HTTPClient to the get platforms params

func (*GetPlatformsParams) WithLimit ¶

func (o *GetPlatformsParams) WithLimit(limit *int64) *GetPlatformsParams

WithLimit adds the limit to the get platforms params

func (*GetPlatformsParams) WithPage ¶

func (o *GetPlatformsParams) WithPage(page *int64) *GetPlatformsParams

WithPage adds the page to the get platforms params

func (*GetPlatformsParams) WithStateAt ¶

func (o *GetPlatformsParams) WithStateAt(stateAt *strfmt.DateTime) *GetPlatformsParams

WithStateAt adds the stateAt to the get platforms params

func (*GetPlatformsParams) WithTimeout ¶

func (o *GetPlatformsParams) WithTimeout(timeout time.Duration) *GetPlatformsParams

WithTimeout adds the timeout to the get platforms params

func (*GetPlatformsParams) WriteToRequest ¶

func (o *GetPlatformsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPlatformsReader ¶

type GetPlatformsReader struct {
	// contains filtered or unexported fields
}

GetPlatformsReader is a Reader for the GetPlatforms structure.

func (*GetPlatformsReader) ReadResponse ¶

func (o *GetPlatformsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSolutionRecipeDefault ¶

type GetSolutionRecipeDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
GetSolutionRecipeDefault describes a response with status code -1, with default header values.

generic error response

func NewGetSolutionRecipeDefault ¶

func NewGetSolutionRecipeDefault(code int) *GetSolutionRecipeDefault

NewGetSolutionRecipeDefault creates a GetSolutionRecipeDefault with default headers values

func (*GetSolutionRecipeDefault) Code ¶

func (o *GetSolutionRecipeDefault) Code() int

Code gets the status code for the get solution recipe default response

func (*GetSolutionRecipeDefault) Error ¶

func (o *GetSolutionRecipeDefault) Error() string

func (*GetSolutionRecipeDefault) GetPayload ¶

type GetSolutionRecipeOK ¶

type GetSolutionRecipeOK struct {
	CacheControl string

	Payload *inventory_models.SolutionRecipe
}
GetSolutionRecipeOK describes a response with status code 200, with default header values.

The retrieved recipe

func NewGetSolutionRecipeOK ¶

func NewGetSolutionRecipeOK() *GetSolutionRecipeOK

NewGetSolutionRecipeOK creates a GetSolutionRecipeOK with default headers values

func (*GetSolutionRecipeOK) Error ¶

func (o *GetSolutionRecipeOK) Error() string

func (*GetSolutionRecipeOK) GetPayload ¶

type GetSolutionRecipeParams ¶

type GetSolutionRecipeParams struct {

	// RecipeID.
	//
	// Format: uuid
	RecipeID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSolutionRecipeParams contains all the parameters to send to the API endpoint

for the get solution recipe operation.

Typically these are written to a http.Request.

func NewGetSolutionRecipeParams ¶

func NewGetSolutionRecipeParams() *GetSolutionRecipeParams

NewGetSolutionRecipeParams creates a new GetSolutionRecipeParams 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 NewGetSolutionRecipeParamsWithContext ¶

func NewGetSolutionRecipeParamsWithContext(ctx context.Context) *GetSolutionRecipeParams

NewGetSolutionRecipeParamsWithContext creates a new GetSolutionRecipeParams object with the ability to set a context for a request.

func NewGetSolutionRecipeParamsWithHTTPClient ¶

func NewGetSolutionRecipeParamsWithHTTPClient(client *http.Client) *GetSolutionRecipeParams

NewGetSolutionRecipeParamsWithHTTPClient creates a new GetSolutionRecipeParams object with the ability to set a custom HTTPClient for a request.

func NewGetSolutionRecipeParamsWithTimeout ¶

func NewGetSolutionRecipeParamsWithTimeout(timeout time.Duration) *GetSolutionRecipeParams

NewGetSolutionRecipeParamsWithTimeout creates a new GetSolutionRecipeParams object with the ability to set a timeout on a request.

func (*GetSolutionRecipeParams) SetContext ¶

func (o *GetSolutionRecipeParams) SetContext(ctx context.Context)

SetContext adds the context to the get solution recipe params

func (*GetSolutionRecipeParams) SetDefaults ¶

func (o *GetSolutionRecipeParams) SetDefaults()

SetDefaults hydrates default values in the get solution recipe params (not the query body).

All values with no default are reset to their zero value.

func (*GetSolutionRecipeParams) SetHTTPClient ¶

func (o *GetSolutionRecipeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get solution recipe params

func (*GetSolutionRecipeParams) SetRecipeID ¶

func (o *GetSolutionRecipeParams) SetRecipeID(recipeID strfmt.UUID)

SetRecipeID adds the recipeId to the get solution recipe params

func (*GetSolutionRecipeParams) SetTimeout ¶

func (o *GetSolutionRecipeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get solution recipe params

func (*GetSolutionRecipeParams) WithContext ¶

WithContext adds the context to the get solution recipe params

func (*GetSolutionRecipeParams) WithDefaults ¶

WithDefaults hydrates default values in the get solution recipe params (not the query body).

All values with no default are reset to their zero value.

func (*GetSolutionRecipeParams) WithHTTPClient ¶

func (o *GetSolutionRecipeParams) WithHTTPClient(client *http.Client) *GetSolutionRecipeParams

WithHTTPClient adds the HTTPClient to the get solution recipe params

func (*GetSolutionRecipeParams) WithRecipeID ¶

func (o *GetSolutionRecipeParams) WithRecipeID(recipeID strfmt.UUID) *GetSolutionRecipeParams

WithRecipeID adds the recipeID to the get solution recipe params

func (*GetSolutionRecipeParams) WithTimeout ¶

WithTimeout adds the timeout to the get solution recipe params

func (*GetSolutionRecipeParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type GetSolutionRecipeReader ¶

type GetSolutionRecipeReader struct {
	// contains filtered or unexported fields
}

GetSolutionRecipeReader is a Reader for the GetSolutionRecipe structure.

func (*GetSolutionRecipeReader) ReadResponse ¶

func (o *GetSolutionRecipeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HealthCheckDefault ¶

type HealthCheckDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
HealthCheckDefault describes a response with status code -1, with default header values.

generic error response

func NewHealthCheckDefault ¶

func NewHealthCheckDefault(code int) *HealthCheckDefault

NewHealthCheckDefault creates a HealthCheckDefault with default headers values

func (*HealthCheckDefault) Code ¶

func (o *HealthCheckDefault) Code() int

Code gets the status code for the health check default response

func (*HealthCheckDefault) Error ¶

func (o *HealthCheckDefault) Error() string

func (*HealthCheckDefault) GetPayload ¶

type HealthCheckOK ¶

type HealthCheckOK struct {
	Payload bool
}
HealthCheckOK describes a response with status code 200, with default header values.

Indicates whether the server is healthy

func NewHealthCheckOK ¶

func NewHealthCheckOK() *HealthCheckOK

NewHealthCheckOK creates a HealthCheckOK with default headers values

func (*HealthCheckOK) Error ¶

func (o *HealthCheckOK) Error() string

func (*HealthCheckOK) GetPayload ¶

func (o *HealthCheckOK) GetPayload() bool

type HealthCheckParams ¶

type HealthCheckParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HealthCheckParams contains all the parameters to send to the API endpoint

for the health check operation.

Typically these are written to a http.Request.

func NewHealthCheckParams ¶

func NewHealthCheckParams() *HealthCheckParams

NewHealthCheckParams creates a new HealthCheckParams 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 NewHealthCheckParamsWithContext ¶

func NewHealthCheckParamsWithContext(ctx context.Context) *HealthCheckParams

NewHealthCheckParamsWithContext creates a new HealthCheckParams object with the ability to set a context for a request.

func NewHealthCheckParamsWithHTTPClient ¶

func NewHealthCheckParamsWithHTTPClient(client *http.Client) *HealthCheckParams

NewHealthCheckParamsWithHTTPClient creates a new HealthCheckParams object with the ability to set a custom HTTPClient for a request.

func NewHealthCheckParamsWithTimeout ¶

func NewHealthCheckParamsWithTimeout(timeout time.Duration) *HealthCheckParams

NewHealthCheckParamsWithTimeout creates a new HealthCheckParams object with the ability to set a timeout on a request.

func (*HealthCheckParams) SetContext ¶

func (o *HealthCheckParams) SetContext(ctx context.Context)

SetContext adds the context to the health check params

func (*HealthCheckParams) SetDefaults ¶

func (o *HealthCheckParams) SetDefaults()

SetDefaults hydrates default values in the health check params (not the query body).

All values with no default are reset to their zero value.

func (*HealthCheckParams) SetHTTPClient ¶

func (o *HealthCheckParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the health check params

func (*HealthCheckParams) SetTimeout ¶

func (o *HealthCheckParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the health check params

func (*HealthCheckParams) WithContext ¶

func (o *HealthCheckParams) WithContext(ctx context.Context) *HealthCheckParams

WithContext adds the context to the health check params

func (*HealthCheckParams) WithDefaults ¶

func (o *HealthCheckParams) WithDefaults() *HealthCheckParams

WithDefaults hydrates default values in the health check params (not the query body).

All values with no default are reset to their zero value.

func (*HealthCheckParams) WithHTTPClient ¶

func (o *HealthCheckParams) WithHTTPClient(client *http.Client) *HealthCheckParams

WithHTTPClient adds the HTTPClient to the health check params

func (*HealthCheckParams) WithTimeout ¶

func (o *HealthCheckParams) WithTimeout(timeout time.Duration) *HealthCheckParams

WithTimeout adds the timeout to the health check params

func (*HealthCheckParams) WriteToRequest ¶

func (o *HealthCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HealthCheckReader ¶

type HealthCheckReader struct {
	// contains filtered or unexported fields
}

HealthCheckReader is a Reader for the HealthCheck structure.

func (*HealthCheckReader) ReadResponse ¶

func (o *HealthCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NormalizeNamesDefault ¶

type NormalizeNamesDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
NormalizeNamesDefault describes a response with status code -1, with default header values.

generic error response

func NewNormalizeNamesDefault ¶

func NewNormalizeNamesDefault(code int) *NormalizeNamesDefault

NewNormalizeNamesDefault creates a NormalizeNamesDefault with default headers values

func (*NormalizeNamesDefault) Code ¶

func (o *NormalizeNamesDefault) Code() int

Code gets the status code for the normalize names default response

func (*NormalizeNamesDefault) Error ¶

func (o *NormalizeNamesDefault) Error() string

func (*NormalizeNamesDefault) GetPayload ¶

type NormalizeNamesOK ¶

type NormalizeNamesOK struct {
	Payload *inventory_models.NormalizedNames
}
NormalizeNamesOK describes a response with status code 200, with default header values.

A list of mappings from requested name to normalized name.

func NewNormalizeNamesOK ¶

func NewNormalizeNamesOK() *NormalizeNamesOK

NewNormalizeNamesOK creates a NormalizeNamesOK with default headers values

func (*NormalizeNamesOK) Error ¶

func (o *NormalizeNamesOK) Error() string

func (*NormalizeNamesOK) GetPayload ¶

type NormalizeNamesParams ¶

type NormalizeNamesParams struct {

	// Names.
	Names *inventory_models.UnnormalizedNames

	// Namespace.
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NormalizeNamesParams contains all the parameters to send to the API endpoint

for the normalize names operation.

Typically these are written to a http.Request.

func NewNormalizeNamesParams ¶

func NewNormalizeNamesParams() *NormalizeNamesParams

NewNormalizeNamesParams creates a new NormalizeNamesParams 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 NewNormalizeNamesParamsWithContext ¶

func NewNormalizeNamesParamsWithContext(ctx context.Context) *NormalizeNamesParams

NewNormalizeNamesParamsWithContext creates a new NormalizeNamesParams object with the ability to set a context for a request.

func NewNormalizeNamesParamsWithHTTPClient ¶

func NewNormalizeNamesParamsWithHTTPClient(client *http.Client) *NormalizeNamesParams

NewNormalizeNamesParamsWithHTTPClient creates a new NormalizeNamesParams object with the ability to set a custom HTTPClient for a request.

func NewNormalizeNamesParamsWithTimeout ¶

func NewNormalizeNamesParamsWithTimeout(timeout time.Duration) *NormalizeNamesParams

NewNormalizeNamesParamsWithTimeout creates a new NormalizeNamesParams object with the ability to set a timeout on a request.

func (*NormalizeNamesParams) SetContext ¶

func (o *NormalizeNamesParams) SetContext(ctx context.Context)

SetContext adds the context to the normalize names params

func (*NormalizeNamesParams) SetDefaults ¶

func (o *NormalizeNamesParams) SetDefaults()

SetDefaults hydrates default values in the normalize names params (not the query body).

All values with no default are reset to their zero value.

func (*NormalizeNamesParams) SetHTTPClient ¶

func (o *NormalizeNamesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the normalize names params

func (*NormalizeNamesParams) SetNames ¶

SetNames adds the names to the normalize names params

func (*NormalizeNamesParams) SetNamespace ¶

func (o *NormalizeNamesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the normalize names params

func (*NormalizeNamesParams) SetTimeout ¶

func (o *NormalizeNamesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the normalize names params

func (*NormalizeNamesParams) WithContext ¶

WithContext adds the context to the normalize names params

func (*NormalizeNamesParams) WithDefaults ¶

func (o *NormalizeNamesParams) WithDefaults() *NormalizeNamesParams

WithDefaults hydrates default values in the normalize names params (not the query body).

All values with no default are reset to their zero value.

func (*NormalizeNamesParams) WithHTTPClient ¶

func (o *NormalizeNamesParams) WithHTTPClient(client *http.Client) *NormalizeNamesParams

WithHTTPClient adds the HTTPClient to the normalize names params

func (*NormalizeNamesParams) WithNames ¶

WithNames adds the names to the normalize names params

func (*NormalizeNamesParams) WithNamespace ¶

func (o *NormalizeNamesParams) WithNamespace(namespace string) *NormalizeNamesParams

WithNamespace adds the namespace to the normalize names params

func (*NormalizeNamesParams) WithTimeout ¶

func (o *NormalizeNamesParams) WithTimeout(timeout time.Duration) *NormalizeNamesParams

WithTimeout adds the timeout to the normalize names params

func (*NormalizeNamesParams) WriteToRequest ¶

func (o *NormalizeNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type NormalizeNamesReader ¶

type NormalizeNamesReader struct {
	// contains filtered or unexported fields
}

NormalizeNamesReader is a Reader for the NormalizeNames structure.

func (*NormalizeNamesReader) ReadResponse ¶

func (o *NormalizeNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadinessCheckDefault ¶

type ReadinessCheckDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
ReadinessCheckDefault describes a response with status code -1, with default header values.

generic error response

func NewReadinessCheckDefault ¶

func NewReadinessCheckDefault(code int) *ReadinessCheckDefault

NewReadinessCheckDefault creates a ReadinessCheckDefault with default headers values

func (*ReadinessCheckDefault) Code ¶

func (o *ReadinessCheckDefault) Code() int

Code gets the status code for the readiness check default response

func (*ReadinessCheckDefault) Error ¶

func (o *ReadinessCheckDefault) Error() string

func (*ReadinessCheckDefault) GetPayload ¶

type ReadinessCheckOK ¶

type ReadinessCheckOK struct {
	Payload bool
}
ReadinessCheckOK describes a response with status code 200, with default header values.

Indicates whether the server is ready

func NewReadinessCheckOK ¶

func NewReadinessCheckOK() *ReadinessCheckOK

NewReadinessCheckOK creates a ReadinessCheckOK with default headers values

func (*ReadinessCheckOK) Error ¶

func (o *ReadinessCheckOK) Error() string

func (*ReadinessCheckOK) GetPayload ¶

func (o *ReadinessCheckOK) GetPayload() bool

type ReadinessCheckParams ¶

type ReadinessCheckParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadinessCheckParams contains all the parameters to send to the API endpoint

for the readiness check operation.

Typically these are written to a http.Request.

func NewReadinessCheckParams ¶

func NewReadinessCheckParams() *ReadinessCheckParams

NewReadinessCheckParams creates a new ReadinessCheckParams 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 NewReadinessCheckParamsWithContext ¶

func NewReadinessCheckParamsWithContext(ctx context.Context) *ReadinessCheckParams

NewReadinessCheckParamsWithContext creates a new ReadinessCheckParams object with the ability to set a context for a request.

func NewReadinessCheckParamsWithHTTPClient ¶

func NewReadinessCheckParamsWithHTTPClient(client *http.Client) *ReadinessCheckParams

NewReadinessCheckParamsWithHTTPClient creates a new ReadinessCheckParams object with the ability to set a custom HTTPClient for a request.

func NewReadinessCheckParamsWithTimeout ¶

func NewReadinessCheckParamsWithTimeout(timeout time.Duration) *ReadinessCheckParams

NewReadinessCheckParamsWithTimeout creates a new ReadinessCheckParams object with the ability to set a timeout on a request.

func (*ReadinessCheckParams) SetContext ¶

func (o *ReadinessCheckParams) SetContext(ctx context.Context)

SetContext adds the context to the readiness check params

func (*ReadinessCheckParams) SetDefaults ¶

func (o *ReadinessCheckParams) SetDefaults()

SetDefaults hydrates default values in the readiness check params (not the query body).

All values with no default are reset to their zero value.

func (*ReadinessCheckParams) SetHTTPClient ¶

func (o *ReadinessCheckParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the readiness check params

func (*ReadinessCheckParams) SetTimeout ¶

func (o *ReadinessCheckParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the readiness check params

func (*ReadinessCheckParams) WithContext ¶

WithContext adds the context to the readiness check params

func (*ReadinessCheckParams) WithDefaults ¶

func (o *ReadinessCheckParams) WithDefaults() *ReadinessCheckParams

WithDefaults hydrates default values in the readiness check params (not the query body).

All values with no default are reset to their zero value.

func (*ReadinessCheckParams) WithHTTPClient ¶

func (o *ReadinessCheckParams) WithHTTPClient(client *http.Client) *ReadinessCheckParams

WithHTTPClient adds the HTTPClient to the readiness check params

func (*ReadinessCheckParams) WithTimeout ¶

func (o *ReadinessCheckParams) WithTimeout(timeout time.Duration) *ReadinessCheckParams

WithTimeout adds the timeout to the readiness check params

func (*ReadinessCheckParams) WriteToRequest ¶

func (o *ReadinessCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadinessCheckReader ¶

type ReadinessCheckReader struct {
	// contains filtered or unexported fields
}

ReadinessCheckReader is a Reader for the ReadinessCheck structure.

func (*ReadinessCheckReader) ReadResponse ¶

func (o *ReadinessCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResolveRecipesAccepted ¶

type ResolveRecipesAccepted struct {
	Payload *inventory_models.InventoryResponse
}
ResolveRecipesAccepted describes a response with status code 202, with default header values.

If the recipe is not found in the cache when only_cached_responses is set, submits the order and returns

func NewResolveRecipesAccepted ¶

func NewResolveRecipesAccepted() *ResolveRecipesAccepted

NewResolveRecipesAccepted creates a ResolveRecipesAccepted with default headers values

func (*ResolveRecipesAccepted) Error ¶

func (o *ResolveRecipesAccepted) Error() string

func (*ResolveRecipesAccepted) GetPayload ¶

type ResolveRecipesBadRequest ¶

type ResolveRecipesBadRequest struct {
	Payload *inventory_models.SolverValidationError
}
ResolveRecipesBadRequest describes a response with status code 400, with default header values.

If the order is invalid

func NewResolveRecipesBadRequest ¶

func NewResolveRecipesBadRequest() *ResolveRecipesBadRequest

NewResolveRecipesBadRequest creates a ResolveRecipesBadRequest with default headers values

func (*ResolveRecipesBadRequest) Error ¶

func (o *ResolveRecipesBadRequest) Error() string

func (*ResolveRecipesBadRequest) GetPayload ¶

type ResolveRecipesDefault ¶

type ResolveRecipesDefault struct {
	Payload *inventory_models.SolverError
	// contains filtered or unexported fields
}
ResolveRecipesDefault describes a response with status code -1, with default header values.

If there is an error processing the order

func NewResolveRecipesDefault ¶

func NewResolveRecipesDefault(code int) *ResolveRecipesDefault

NewResolveRecipesDefault creates a ResolveRecipesDefault with default headers values

func (*ResolveRecipesDefault) Code ¶

func (o *ResolveRecipesDefault) Code() int

Code gets the status code for the resolve recipes default response

func (*ResolveRecipesDefault) Error ¶

func (o *ResolveRecipesDefault) Error() string

func (*ResolveRecipesDefault) GetPayload ¶

type ResolveRecipesOK ¶

type ResolveRecipesOK struct {
	Payload *inventory_models.RecipeResponse
}
ResolveRecipesOK describes a response with status code 200, with default header values.

Returns one or more recipes that fulfill the requirements of the order

func NewResolveRecipesOK ¶

func NewResolveRecipesOK() *ResolveRecipesOK

NewResolveRecipesOK creates a ResolveRecipesOK with default headers values

func (*ResolveRecipesOK) Error ¶

func (o *ResolveRecipesOK) Error() string

func (*ResolveRecipesOK) GetPayload ¶

type ResolveRecipesParams ¶

type ResolveRecipesParams struct {

	/* OnlyCachedResponses.

	   Whether to get the recipe only if it is already cached in the recipe store
	*/
	OnlyCachedResponses *bool

	// Order.
	Order *inventory_models.Order

	/* UseRecipeStore.

	   Whether to check if this order has already been solved and retrieve the result from the recipe store or, if false, to force the order to be solved anew

	   Default: true
	*/
	UseRecipeStore *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResolveRecipesParams contains all the parameters to send to the API endpoint

for the resolve recipes operation.

Typically these are written to a http.Request.

func NewResolveRecipesParams ¶

func NewResolveRecipesParams() *ResolveRecipesParams

NewResolveRecipesParams creates a new ResolveRecipesParams 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 NewResolveRecipesParamsWithContext ¶

func NewResolveRecipesParamsWithContext(ctx context.Context) *ResolveRecipesParams

NewResolveRecipesParamsWithContext creates a new ResolveRecipesParams object with the ability to set a context for a request.

func NewResolveRecipesParamsWithHTTPClient ¶

func NewResolveRecipesParamsWithHTTPClient(client *http.Client) *ResolveRecipesParams

NewResolveRecipesParamsWithHTTPClient creates a new ResolveRecipesParams object with the ability to set a custom HTTPClient for a request.

func NewResolveRecipesParamsWithTimeout ¶

func NewResolveRecipesParamsWithTimeout(timeout time.Duration) *ResolveRecipesParams

NewResolveRecipesParamsWithTimeout creates a new ResolveRecipesParams object with the ability to set a timeout on a request.

func (*ResolveRecipesParams) SetContext ¶

func (o *ResolveRecipesParams) SetContext(ctx context.Context)

SetContext adds the context to the resolve recipes params

func (*ResolveRecipesParams) SetDefaults ¶

func (o *ResolveRecipesParams) SetDefaults()

SetDefaults hydrates default values in the resolve recipes params (not the query body).

All values with no default are reset to their zero value.

func (*ResolveRecipesParams) SetHTTPClient ¶

func (o *ResolveRecipesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resolve recipes params

func (*ResolveRecipesParams) SetOnlyCachedResponses ¶

func (o *ResolveRecipesParams) SetOnlyCachedResponses(onlyCachedResponses *bool)

SetOnlyCachedResponses adds the onlyCachedResponses to the resolve recipes params

func (*ResolveRecipesParams) SetOrder ¶

func (o *ResolveRecipesParams) SetOrder(order *inventory_models.Order)

SetOrder adds the order to the resolve recipes params

func (*ResolveRecipesParams) SetTimeout ¶

func (o *ResolveRecipesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resolve recipes params

func (*ResolveRecipesParams) SetUseRecipeStore ¶

func (o *ResolveRecipesParams) SetUseRecipeStore(useRecipeStore *bool)

SetUseRecipeStore adds the useRecipeStore to the resolve recipes params

func (*ResolveRecipesParams) WithContext ¶

WithContext adds the context to the resolve recipes params

func (*ResolveRecipesParams) WithDefaults ¶

func (o *ResolveRecipesParams) WithDefaults() *ResolveRecipesParams

WithDefaults hydrates default values in the resolve recipes params (not the query body).

All values with no default are reset to their zero value.

func (*ResolveRecipesParams) WithHTTPClient ¶

func (o *ResolveRecipesParams) WithHTTPClient(client *http.Client) *ResolveRecipesParams

WithHTTPClient adds the HTTPClient to the resolve recipes params

func (*ResolveRecipesParams) WithOnlyCachedResponses ¶

func (o *ResolveRecipesParams) WithOnlyCachedResponses(onlyCachedResponses *bool) *ResolveRecipesParams

WithOnlyCachedResponses adds the onlyCachedResponses to the resolve recipes params

func (*ResolveRecipesParams) WithOrder ¶

WithOrder adds the order to the resolve recipes params

func (*ResolveRecipesParams) WithTimeout ¶

func (o *ResolveRecipesParams) WithTimeout(timeout time.Duration) *ResolveRecipesParams

WithTimeout adds the timeout to the resolve recipes params

func (*ResolveRecipesParams) WithUseRecipeStore ¶

func (o *ResolveRecipesParams) WithUseRecipeStore(useRecipeStore *bool) *ResolveRecipesParams

WithUseRecipeStore adds the useRecipeStore to the resolve recipes params

func (*ResolveRecipesParams) WriteToRequest ¶

func (o *ResolveRecipesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResolveRecipesReader ¶

type ResolveRecipesReader struct {
	// contains filtered or unexported fields
}

ResolveRecipesReader is a Reader for the ResolveRecipes structure.

func (*ResolveRecipesReader) ReadResponse ¶

func (o *ResolveRecipesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchIngredientsBadRequest ¶

type SearchIngredientsBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
SearchIngredientsBadRequest describes a response with status code 400, with default header values.

The search parameters are invalid

func NewSearchIngredientsBadRequest ¶

func NewSearchIngredientsBadRequest() *SearchIngredientsBadRequest

NewSearchIngredientsBadRequest creates a SearchIngredientsBadRequest with default headers values

func (*SearchIngredientsBadRequest) Error ¶

func (*SearchIngredientsBadRequest) GetPayload ¶

type SearchIngredientsDefault ¶

type SearchIngredientsDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
SearchIngredientsDefault describes a response with status code -1, with default header values.

generic error response

func NewSearchIngredientsDefault ¶

func NewSearchIngredientsDefault(code int) *SearchIngredientsDefault

NewSearchIngredientsDefault creates a SearchIngredientsDefault with default headers values

func (*SearchIngredientsDefault) Code ¶

func (o *SearchIngredientsDefault) Code() int

Code gets the status code for the search ingredients default response

func (*SearchIngredientsDefault) Error ¶

func (o *SearchIngredientsDefault) Error() string

func (*SearchIngredientsDefault) GetPayload ¶

type SearchIngredientsOK ¶

type SearchIngredientsOK struct {
	Payload *inventory_models.SearchIngredientsResponse
}
SearchIngredientsOK describes a response with status code 200, with default header values.

A paginated list of search results

func NewSearchIngredientsOK ¶

func NewSearchIngredientsOK() *SearchIngredientsOK

NewSearchIngredientsOK creates a SearchIngredientsOK with default headers values

func (*SearchIngredientsOK) Error ¶

func (o *SearchIngredientsOK) Error() string

func (*SearchIngredientsOK) GetPayload ¶

type SearchIngredientsParams ¶

type SearchIngredientsParams struct {

	/* AllowDeleted.

	   Whether to show or hide a deleted revision of a resource if the newest revision of the resource is deleted
	*/
	AllowDeleted *bool

	/* AllowUnstable.

	   Whether to show an unstable revision of a resource if there is an available unstable version newer than the newest available stable version
	*/
	AllowUnstable *bool

	// ExactOnly.
	ExactOnly *bool

	/* Limit.

	   The maximum number of ingredients returned per page

	   Default: 50
	*/
	Limit *int64

	// Namespaces.
	Namespaces *string

	/* Offset.

	   The number of ingredients to skip
	*/
	Offset *int64

	/* Q.

	   Return only ingredients whose names or features match the specified substring
	*/
	Q *string

	/* StateAt.

	   Show the state of a resource as it was at the specified timestamp. If omitted, shows the current state of the resource.

	   Format: date-time
	*/
	StateAt *strfmt.DateTime

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchIngredientsParams contains all the parameters to send to the API endpoint

for the search ingredients operation.

Typically these are written to a http.Request.

func NewSearchIngredientsParams ¶

func NewSearchIngredientsParams() *SearchIngredientsParams

NewSearchIngredientsParams creates a new SearchIngredientsParams 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 NewSearchIngredientsParamsWithContext ¶

func NewSearchIngredientsParamsWithContext(ctx context.Context) *SearchIngredientsParams

NewSearchIngredientsParamsWithContext creates a new SearchIngredientsParams object with the ability to set a context for a request.

func NewSearchIngredientsParamsWithHTTPClient ¶

func NewSearchIngredientsParamsWithHTTPClient(client *http.Client) *SearchIngredientsParams

NewSearchIngredientsParamsWithHTTPClient creates a new SearchIngredientsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchIngredientsParamsWithTimeout ¶

func NewSearchIngredientsParamsWithTimeout(timeout time.Duration) *SearchIngredientsParams

NewSearchIngredientsParamsWithTimeout creates a new SearchIngredientsParams object with the ability to set a timeout on a request.

func (*SearchIngredientsParams) SetAllowDeleted ¶

func (o *SearchIngredientsParams) SetAllowDeleted(allowDeleted *bool)

SetAllowDeleted adds the allowDeleted to the search ingredients params

func (*SearchIngredientsParams) SetAllowUnstable ¶

func (o *SearchIngredientsParams) SetAllowUnstable(allowUnstable *bool)

SetAllowUnstable adds the allowUnstable to the search ingredients params

func (*SearchIngredientsParams) SetContext ¶

func (o *SearchIngredientsParams) SetContext(ctx context.Context)

SetContext adds the context to the search ingredients params

func (*SearchIngredientsParams) SetDefaults ¶

func (o *SearchIngredientsParams) SetDefaults()

SetDefaults hydrates default values in the search ingredients params (not the query body).

All values with no default are reset to their zero value.

func (*SearchIngredientsParams) SetExactOnly ¶

func (o *SearchIngredientsParams) SetExactOnly(exactOnly *bool)

SetExactOnly adds the exactOnly to the search ingredients params

func (*SearchIngredientsParams) SetHTTPClient ¶

func (o *SearchIngredientsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search ingredients params

func (*SearchIngredientsParams) SetLimit ¶

func (o *SearchIngredientsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search ingredients params

func (*SearchIngredientsParams) SetNamespaces ¶

func (o *SearchIngredientsParams) SetNamespaces(namespaces *string)

SetNamespaces adds the namespaces to the search ingredients params

func (*SearchIngredientsParams) SetOffset ¶

func (o *SearchIngredientsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search ingredients params

func (*SearchIngredientsParams) SetQ ¶

func (o *SearchIngredientsParams) SetQ(q *string)

SetQ adds the q to the search ingredients params

func (*SearchIngredientsParams) SetStateAt ¶

func (o *SearchIngredientsParams) SetStateAt(stateAt *strfmt.DateTime)

SetStateAt adds the stateAt to the search ingredients params

func (*SearchIngredientsParams) SetTimeout ¶

func (o *SearchIngredientsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search ingredients params

func (*SearchIngredientsParams) WithAllowDeleted ¶

func (o *SearchIngredientsParams) WithAllowDeleted(allowDeleted *bool) *SearchIngredientsParams

WithAllowDeleted adds the allowDeleted to the search ingredients params

func (*SearchIngredientsParams) WithAllowUnstable ¶

func (o *SearchIngredientsParams) WithAllowUnstable(allowUnstable *bool) *SearchIngredientsParams

WithAllowUnstable adds the allowUnstable to the search ingredients params

func (*SearchIngredientsParams) WithContext ¶

WithContext adds the context to the search ingredients params

func (*SearchIngredientsParams) WithDefaults ¶

WithDefaults hydrates default values in the search ingredients params (not the query body).

All values with no default are reset to their zero value.

func (*SearchIngredientsParams) WithExactOnly ¶

func (o *SearchIngredientsParams) WithExactOnly(exactOnly *bool) *SearchIngredientsParams

WithExactOnly adds the exactOnly to the search ingredients params

func (*SearchIngredientsParams) WithHTTPClient ¶

func (o *SearchIngredientsParams) WithHTTPClient(client *http.Client) *SearchIngredientsParams

WithHTTPClient adds the HTTPClient to the search ingredients params

func (*SearchIngredientsParams) WithLimit ¶

WithLimit adds the limit to the search ingredients params

func (*SearchIngredientsParams) WithNamespaces ¶

func (o *SearchIngredientsParams) WithNamespaces(namespaces *string) *SearchIngredientsParams

WithNamespaces adds the namespaces to the search ingredients params

func (*SearchIngredientsParams) WithOffset ¶

func (o *SearchIngredientsParams) WithOffset(offset *int64) *SearchIngredientsParams

WithOffset adds the offset to the search ingredients params

func (*SearchIngredientsParams) WithQ ¶

WithQ adds the q to the search ingredients params

func (*SearchIngredientsParams) WithStateAt ¶

WithStateAt adds the stateAt to the search ingredients params

func (*SearchIngredientsParams) WithTimeout ¶

WithTimeout adds the timeout to the search ingredients params

func (*SearchIngredientsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type SearchIngredientsReader ¶

type SearchIngredientsReader struct {
	// contains filtered or unexported fields
}

SearchIngredientsReader is a Reader for the SearchIngredients structure.

func (*SearchIngredientsReader) ReadResponse ¶

func (o *SearchIngredientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SolveOrderBadRequest ¶

type SolveOrderBadRequest struct {
	Payload *inventory_models.SolverValidationError
}
SolveOrderBadRequest describes a response with status code 400, with default header values.

If the order is invalid

func NewSolveOrderBadRequest ¶

func NewSolveOrderBadRequest() *SolveOrderBadRequest

NewSolveOrderBadRequest creates a SolveOrderBadRequest with default headers values

func (*SolveOrderBadRequest) Error ¶

func (o *SolveOrderBadRequest) Error() string

func (*SolveOrderBadRequest) GetPayload ¶

type SolveOrderCreated ¶

type SolveOrderCreated struct {
	Payload inventory_models.SolutionResponse
}
SolveOrderCreated describes a response with status code 201, with default header values.

Returns the ids of and links to the created recipes

func NewSolveOrderCreated ¶

func NewSolveOrderCreated() *SolveOrderCreated

NewSolveOrderCreated creates a SolveOrderCreated with default headers values

func (*SolveOrderCreated) Error ¶

func (o *SolveOrderCreated) Error() string

func (*SolveOrderCreated) GetPayload ¶

type SolveOrderDefault ¶

type SolveOrderDefault struct {
	Payload *inventory_models.SolverError
	// contains filtered or unexported fields
}
SolveOrderDefault describes a response with status code -1, with default header values.

If there is an error processing the order

func NewSolveOrderDefault ¶

func NewSolveOrderDefault(code int) *SolveOrderDefault

NewSolveOrderDefault creates a SolveOrderDefault with default headers values

func (*SolveOrderDefault) Code ¶

func (o *SolveOrderDefault) Code() int

Code gets the status code for the solve order default response

func (*SolveOrderDefault) Error ¶

func (o *SolveOrderDefault) Error() string

func (*SolveOrderDefault) GetPayload ¶

type SolveOrderParams ¶

type SolveOrderParams struct {

	/* OnlyCachedResponses.

	   Whether to get the recipe only if it is already cached in the recipe store
	*/
	OnlyCachedResponses *bool

	// Order.
	Order *inventory_models.Order

	/* UseRecipeStore.

	   Whether to check if this order has already been solved and retrieve the result from the recipe store or, if false, to force the order to be solved anew

	   Default: true
	*/
	UseRecipeStore *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SolveOrderParams contains all the parameters to send to the API endpoint

for the solve order operation.

Typically these are written to a http.Request.

func NewSolveOrderParams ¶

func NewSolveOrderParams() *SolveOrderParams

NewSolveOrderParams creates a new SolveOrderParams 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 NewSolveOrderParamsWithContext ¶

func NewSolveOrderParamsWithContext(ctx context.Context) *SolveOrderParams

NewSolveOrderParamsWithContext creates a new SolveOrderParams object with the ability to set a context for a request.

func NewSolveOrderParamsWithHTTPClient ¶

func NewSolveOrderParamsWithHTTPClient(client *http.Client) *SolveOrderParams

NewSolveOrderParamsWithHTTPClient creates a new SolveOrderParams object with the ability to set a custom HTTPClient for a request.

func NewSolveOrderParamsWithTimeout ¶

func NewSolveOrderParamsWithTimeout(timeout time.Duration) *SolveOrderParams

NewSolveOrderParamsWithTimeout creates a new SolveOrderParams object with the ability to set a timeout on a request.

func (*SolveOrderParams) SetContext ¶

func (o *SolveOrderParams) SetContext(ctx context.Context)

SetContext adds the context to the solve order params

func (*SolveOrderParams) SetDefaults ¶

func (o *SolveOrderParams) SetDefaults()

SetDefaults hydrates default values in the solve order params (not the query body).

All values with no default are reset to their zero value.

func (*SolveOrderParams) SetHTTPClient ¶

func (o *SolveOrderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the solve order params

func (*SolveOrderParams) SetOnlyCachedResponses ¶

func (o *SolveOrderParams) SetOnlyCachedResponses(onlyCachedResponses *bool)

SetOnlyCachedResponses adds the onlyCachedResponses to the solve order params

func (*SolveOrderParams) SetOrder ¶

func (o *SolveOrderParams) SetOrder(order *inventory_models.Order)

SetOrder adds the order to the solve order params

func (*SolveOrderParams) SetTimeout ¶

func (o *SolveOrderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the solve order params

func (*SolveOrderParams) SetUseRecipeStore ¶

func (o *SolveOrderParams) SetUseRecipeStore(useRecipeStore *bool)

SetUseRecipeStore adds the useRecipeStore to the solve order params

func (*SolveOrderParams) WithContext ¶

func (o *SolveOrderParams) WithContext(ctx context.Context) *SolveOrderParams

WithContext adds the context to the solve order params

func (*SolveOrderParams) WithDefaults ¶

func (o *SolveOrderParams) WithDefaults() *SolveOrderParams

WithDefaults hydrates default values in the solve order params (not the query body).

All values with no default are reset to their zero value.

func (*SolveOrderParams) WithHTTPClient ¶

func (o *SolveOrderParams) WithHTTPClient(client *http.Client) *SolveOrderParams

WithHTTPClient adds the HTTPClient to the solve order params

func (*SolveOrderParams) WithOnlyCachedResponses ¶

func (o *SolveOrderParams) WithOnlyCachedResponses(onlyCachedResponses *bool) *SolveOrderParams

WithOnlyCachedResponses adds the onlyCachedResponses to the solve order params

func (*SolveOrderParams) WithOrder ¶

WithOrder adds the order to the solve order params

func (*SolveOrderParams) WithTimeout ¶

func (o *SolveOrderParams) WithTimeout(timeout time.Duration) *SolveOrderParams

WithTimeout adds the timeout to the solve order params

func (*SolveOrderParams) WithUseRecipeStore ¶

func (o *SolveOrderParams) WithUseRecipeStore(useRecipeStore *bool) *SolveOrderParams

WithUseRecipeStore adds the useRecipeStore to the solve order params

func (*SolveOrderParams) WriteToRequest ¶

func (o *SolveOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SolveOrderReader ¶

type SolveOrderReader struct {
	// contains filtered or unexported fields
}

SolveOrderReader is a Reader for the SolveOrder structure.

func (*SolveOrderReader) ReadResponse ¶

func (o *SolveOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAuthorBadRequest ¶

type UpdateAuthorBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
UpdateAuthorBadRequest describes a response with status code 400, with default header values.

If the author is invalid

func NewUpdateAuthorBadRequest ¶

func NewUpdateAuthorBadRequest() *UpdateAuthorBadRequest

NewUpdateAuthorBadRequest creates a UpdateAuthorBadRequest with default headers values

func (*UpdateAuthorBadRequest) Error ¶

func (o *UpdateAuthorBadRequest) Error() string

func (*UpdateAuthorBadRequest) GetPayload ¶

type UpdateAuthorDefault ¶

type UpdateAuthorDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdateAuthorDefault describes a response with status code -1, with default header values.

If there is an error processing the author

func NewUpdateAuthorDefault ¶

func NewUpdateAuthorDefault(code int) *UpdateAuthorDefault

NewUpdateAuthorDefault creates a UpdateAuthorDefault with default headers values

func (*UpdateAuthorDefault) Code ¶

func (o *UpdateAuthorDefault) Code() int

Code gets the status code for the update author default response

func (*UpdateAuthorDefault) Error ¶

func (o *UpdateAuthorDefault) Error() string

func (*UpdateAuthorDefault) GetPayload ¶

type UpdateAuthorOK ¶

type UpdateAuthorOK struct {
	Payload *inventory_models.Author
}
UpdateAuthorOK describes a response with status code 200, with default header values.

Author updated

func NewUpdateAuthorOK ¶

func NewUpdateAuthorOK() *UpdateAuthorOK

NewUpdateAuthorOK creates a UpdateAuthorOK with default headers values

func (*UpdateAuthorOK) Error ¶

func (o *UpdateAuthorOK) Error() string

func (*UpdateAuthorOK) GetPayload ¶

func (o *UpdateAuthorOK) GetPayload() *inventory_models.Author

type UpdateAuthorParams ¶

type UpdateAuthorParams struct {

	// Author.
	Author *inventory_models.Author

	// AuthorIDOrEmail.
	AuthorIDOrEmail string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateAuthorParams contains all the parameters to send to the API endpoint

for the update author operation.

Typically these are written to a http.Request.

func NewUpdateAuthorParams ¶

func NewUpdateAuthorParams() *UpdateAuthorParams

NewUpdateAuthorParams creates a new UpdateAuthorParams 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 NewUpdateAuthorParamsWithContext ¶

func NewUpdateAuthorParamsWithContext(ctx context.Context) *UpdateAuthorParams

NewUpdateAuthorParamsWithContext creates a new UpdateAuthorParams object with the ability to set a context for a request.

func NewUpdateAuthorParamsWithHTTPClient ¶

func NewUpdateAuthorParamsWithHTTPClient(client *http.Client) *UpdateAuthorParams

NewUpdateAuthorParamsWithHTTPClient creates a new UpdateAuthorParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAuthorParamsWithTimeout ¶

func NewUpdateAuthorParamsWithTimeout(timeout time.Duration) *UpdateAuthorParams

NewUpdateAuthorParamsWithTimeout creates a new UpdateAuthorParams object with the ability to set a timeout on a request.

func (*UpdateAuthorParams) SetAuthor ¶

func (o *UpdateAuthorParams) SetAuthor(author *inventory_models.Author)

SetAuthor adds the author to the update author params

func (*UpdateAuthorParams) SetAuthorIDOrEmail ¶

func (o *UpdateAuthorParams) SetAuthorIDOrEmail(authorIDOrEmail string)

SetAuthorIDOrEmail adds the authorIdOrEmail to the update author params

func (*UpdateAuthorParams) SetContext ¶

func (o *UpdateAuthorParams) SetContext(ctx context.Context)

SetContext adds the context to the update author params

func (*UpdateAuthorParams) SetDefaults ¶

func (o *UpdateAuthorParams) SetDefaults()

SetDefaults hydrates default values in the update author params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAuthorParams) SetHTTPClient ¶

func (o *UpdateAuthorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update author params

func (*UpdateAuthorParams) SetTimeout ¶

func (o *UpdateAuthorParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update author params

func (*UpdateAuthorParams) WithAuthor ¶

WithAuthor adds the author to the update author params

func (*UpdateAuthorParams) WithAuthorIDOrEmail ¶

func (o *UpdateAuthorParams) WithAuthorIDOrEmail(authorIDOrEmail string) *UpdateAuthorParams

WithAuthorIDOrEmail adds the authorIDOrEmail to the update author params

func (*UpdateAuthorParams) WithContext ¶

WithContext adds the context to the update author params

func (*UpdateAuthorParams) WithDefaults ¶

func (o *UpdateAuthorParams) WithDefaults() *UpdateAuthorParams

WithDefaults hydrates default values in the update author params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAuthorParams) WithHTTPClient ¶

func (o *UpdateAuthorParams) WithHTTPClient(client *http.Client) *UpdateAuthorParams

WithHTTPClient adds the HTTPClient to the update author params

func (*UpdateAuthorParams) WithTimeout ¶

func (o *UpdateAuthorParams) WithTimeout(timeout time.Duration) *UpdateAuthorParams

WithTimeout adds the timeout to the update author params

func (*UpdateAuthorParams) WriteToRequest ¶

func (o *UpdateAuthorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateAuthorReader ¶

type UpdateAuthorReader struct {
	// contains filtered or unexported fields
}

UpdateAuthorReader is a Reader for the UpdateAuthor structure.

func (*UpdateAuthorReader) ReadResponse ¶

func (o *UpdateAuthorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateBuildScriptBadRequest ¶

type UpdateBuildScriptBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
UpdateBuildScriptBadRequest describes a response with status code 400, with default header values.

If the build script update is invalid or the build script cannot be updated because it is in use by a stable ingredient version revision

func NewUpdateBuildScriptBadRequest ¶

func NewUpdateBuildScriptBadRequest() *UpdateBuildScriptBadRequest

NewUpdateBuildScriptBadRequest creates a UpdateBuildScriptBadRequest with default headers values

func (*UpdateBuildScriptBadRequest) Error ¶

func (*UpdateBuildScriptBadRequest) GetPayload ¶

type UpdateBuildScriptDefault ¶

type UpdateBuildScriptDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdateBuildScriptDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewUpdateBuildScriptDefault ¶

func NewUpdateBuildScriptDefault(code int) *UpdateBuildScriptDefault

NewUpdateBuildScriptDefault creates a UpdateBuildScriptDefault with default headers values

func (*UpdateBuildScriptDefault) Code ¶

func (o *UpdateBuildScriptDefault) Code() int

Code gets the status code for the update build script default response

func (*UpdateBuildScriptDefault) Error ¶

func (o *UpdateBuildScriptDefault) Error() string

func (*UpdateBuildScriptDefault) GetPayload ¶

type UpdateBuildScriptOK ¶

type UpdateBuildScriptOK struct {
	Payload *inventory_models.BuildScript
}
UpdateBuildScriptOK describes a response with status code 200, with default header values.

The updated build script

func NewUpdateBuildScriptOK ¶

func NewUpdateBuildScriptOK() *UpdateBuildScriptOK

NewUpdateBuildScriptOK creates a UpdateBuildScriptOK with default headers values

func (*UpdateBuildScriptOK) Error ¶

func (o *UpdateBuildScriptOK) Error() string

func (*UpdateBuildScriptOK) GetPayload ¶

type UpdateBuildScriptParams ¶

type UpdateBuildScriptParams struct {

	// BuildScript.
	BuildScript *inventory_models.BuildScriptCore

	// BuildScriptID.
	//
	// Format: uuid
	BuildScriptID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateBuildScriptParams contains all the parameters to send to the API endpoint

for the update build script operation.

Typically these are written to a http.Request.

func NewUpdateBuildScriptParams ¶

func NewUpdateBuildScriptParams() *UpdateBuildScriptParams

NewUpdateBuildScriptParams creates a new UpdateBuildScriptParams 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 NewUpdateBuildScriptParamsWithContext ¶

func NewUpdateBuildScriptParamsWithContext(ctx context.Context) *UpdateBuildScriptParams

NewUpdateBuildScriptParamsWithContext creates a new UpdateBuildScriptParams object with the ability to set a context for a request.

func NewUpdateBuildScriptParamsWithHTTPClient ¶

func NewUpdateBuildScriptParamsWithHTTPClient(client *http.Client) *UpdateBuildScriptParams

NewUpdateBuildScriptParamsWithHTTPClient creates a new UpdateBuildScriptParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBuildScriptParamsWithTimeout ¶

func NewUpdateBuildScriptParamsWithTimeout(timeout time.Duration) *UpdateBuildScriptParams

NewUpdateBuildScriptParamsWithTimeout creates a new UpdateBuildScriptParams object with the ability to set a timeout on a request.

func (*UpdateBuildScriptParams) SetBuildScript ¶

func (o *UpdateBuildScriptParams) SetBuildScript(buildScript *inventory_models.BuildScriptCore)

SetBuildScript adds the buildScript to the update build script params

func (*UpdateBuildScriptParams) SetBuildScriptID ¶

func (o *UpdateBuildScriptParams) SetBuildScriptID(buildScriptID strfmt.UUID)

SetBuildScriptID adds the buildScriptId to the update build script params

func (*UpdateBuildScriptParams) SetContext ¶

func (o *UpdateBuildScriptParams) SetContext(ctx context.Context)

SetContext adds the context to the update build script params

func (*UpdateBuildScriptParams) SetDefaults ¶

func (o *UpdateBuildScriptParams) SetDefaults()

SetDefaults hydrates default values in the update build script params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBuildScriptParams) SetHTTPClient ¶

func (o *UpdateBuildScriptParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update build script params

func (*UpdateBuildScriptParams) SetTimeout ¶

func (o *UpdateBuildScriptParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update build script params

func (*UpdateBuildScriptParams) WithBuildScript ¶

WithBuildScript adds the buildScript to the update build script params

func (*UpdateBuildScriptParams) WithBuildScriptID ¶

func (o *UpdateBuildScriptParams) WithBuildScriptID(buildScriptID strfmt.UUID) *UpdateBuildScriptParams

WithBuildScriptID adds the buildScriptID to the update build script params

func (*UpdateBuildScriptParams) WithContext ¶

WithContext adds the context to the update build script params

func (*UpdateBuildScriptParams) WithDefaults ¶

WithDefaults hydrates default values in the update build script params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBuildScriptParams) WithHTTPClient ¶

func (o *UpdateBuildScriptParams) WithHTTPClient(client *http.Client) *UpdateBuildScriptParams

WithHTTPClient adds the HTTPClient to the update build script params

func (*UpdateBuildScriptParams) WithTimeout ¶

WithTimeout adds the timeout to the update build script params

func (*UpdateBuildScriptParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UpdateBuildScriptReader ¶

type UpdateBuildScriptReader struct {
	// contains filtered or unexported fields
}

UpdateBuildScriptReader is a Reader for the UpdateBuildScript structure.

func (*UpdateBuildScriptReader) ReadResponse ¶

func (o *UpdateBuildScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateIngredientDefault ¶

type UpdateIngredientDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdateIngredientDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewUpdateIngredientDefault ¶

func NewUpdateIngredientDefault(code int) *UpdateIngredientDefault

NewUpdateIngredientDefault creates a UpdateIngredientDefault with default headers values

func (*UpdateIngredientDefault) Code ¶

func (o *UpdateIngredientDefault) Code() int

Code gets the status code for the update ingredient default response

func (*UpdateIngredientDefault) Error ¶

func (o *UpdateIngredientDefault) Error() string

func (*UpdateIngredientDefault) GetPayload ¶

type UpdateIngredientOK ¶

type UpdateIngredientOK struct {
	Payload *inventory_models.Ingredient
}
UpdateIngredientOK describes a response with status code 200, with default header values.

The updated ingredient

func NewUpdateIngredientOK ¶

func NewUpdateIngredientOK() *UpdateIngredientOK

NewUpdateIngredientOK creates a UpdateIngredientOK with default headers values

func (*UpdateIngredientOK) Error ¶

func (o *UpdateIngredientOK) Error() string

func (*UpdateIngredientOK) GetPayload ¶

type UpdateIngredientParams ¶

type UpdateIngredientParams struct {

	// Ingredient.
	Ingredient *inventory_models.IngredientUpdate

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateIngredientParams contains all the parameters to send to the API endpoint

for the update ingredient operation.

Typically these are written to a http.Request.

func NewUpdateIngredientParams ¶

func NewUpdateIngredientParams() *UpdateIngredientParams

NewUpdateIngredientParams creates a new UpdateIngredientParams 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 NewUpdateIngredientParamsWithContext ¶

func NewUpdateIngredientParamsWithContext(ctx context.Context) *UpdateIngredientParams

NewUpdateIngredientParamsWithContext creates a new UpdateIngredientParams object with the ability to set a context for a request.

func NewUpdateIngredientParamsWithHTTPClient ¶

func NewUpdateIngredientParamsWithHTTPClient(client *http.Client) *UpdateIngredientParams

NewUpdateIngredientParamsWithHTTPClient creates a new UpdateIngredientParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIngredientParamsWithTimeout ¶

func NewUpdateIngredientParamsWithTimeout(timeout time.Duration) *UpdateIngredientParams

NewUpdateIngredientParamsWithTimeout creates a new UpdateIngredientParams object with the ability to set a timeout on a request.

func (*UpdateIngredientParams) SetContext ¶

func (o *UpdateIngredientParams) SetContext(ctx context.Context)

SetContext adds the context to the update ingredient params

func (*UpdateIngredientParams) SetDefaults ¶

func (o *UpdateIngredientParams) SetDefaults()

SetDefaults hydrates default values in the update ingredient params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIngredientParams) SetHTTPClient ¶

func (o *UpdateIngredientParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update ingredient params

func (*UpdateIngredientParams) SetIngredient ¶

func (o *UpdateIngredientParams) SetIngredient(ingredient *inventory_models.IngredientUpdate)

SetIngredient adds the ingredient to the update ingredient params

func (*UpdateIngredientParams) SetIngredientID ¶

func (o *UpdateIngredientParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the update ingredient params

func (*UpdateIngredientParams) SetTimeout ¶

func (o *UpdateIngredientParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update ingredient params

func (*UpdateIngredientParams) WithContext ¶

WithContext adds the context to the update ingredient params

func (*UpdateIngredientParams) WithDefaults ¶

WithDefaults hydrates default values in the update ingredient params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIngredientParams) WithHTTPClient ¶

func (o *UpdateIngredientParams) WithHTTPClient(client *http.Client) *UpdateIngredientParams

WithHTTPClient adds the HTTPClient to the update ingredient params

func (*UpdateIngredientParams) WithIngredient ¶

WithIngredient adds the ingredient to the update ingredient params

func (*UpdateIngredientParams) WithIngredientID ¶

func (o *UpdateIngredientParams) WithIngredientID(ingredientID strfmt.UUID) *UpdateIngredientParams

WithIngredientID adds the ingredientID to the update ingredient params

func (*UpdateIngredientParams) WithTimeout ¶

WithTimeout adds the timeout to the update ingredient params

func (*UpdateIngredientParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UpdateIngredientReader ¶

type UpdateIngredientReader struct {
	// contains filtered or unexported fields
}

UpdateIngredientReader is a Reader for the UpdateIngredient structure.

func (*UpdateIngredientReader) ReadResponse ¶

func (o *UpdateIngredientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateIngredientVersionBadRequest ¶

type UpdateIngredientVersionBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
UpdateIngredientVersionBadRequest describes a response with status code 400, with default header values.

If the ingredient version is invalid

func NewUpdateIngredientVersionBadRequest ¶

func NewUpdateIngredientVersionBadRequest() *UpdateIngredientVersionBadRequest

NewUpdateIngredientVersionBadRequest creates a UpdateIngredientVersionBadRequest with default headers values

func (*UpdateIngredientVersionBadRequest) Error ¶

func (*UpdateIngredientVersionBadRequest) GetPayload ¶

type UpdateIngredientVersionDefault ¶

type UpdateIngredientVersionDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdateIngredientVersionDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewUpdateIngredientVersionDefault ¶

func NewUpdateIngredientVersionDefault(code int) *UpdateIngredientVersionDefault

NewUpdateIngredientVersionDefault creates a UpdateIngredientVersionDefault with default headers values

func (*UpdateIngredientVersionDefault) Code ¶

Code gets the status code for the update ingredient version default response

func (*UpdateIngredientVersionDefault) Error ¶

func (*UpdateIngredientVersionDefault) GetPayload ¶

type UpdateIngredientVersionOK ¶

type UpdateIngredientVersionOK struct {
	Payload *inventory_models.IngredientVersion
}
UpdateIngredientVersionOK describes a response with status code 200, with default header values.

The updated state of the ingredient version

func NewUpdateIngredientVersionOK ¶

func NewUpdateIngredientVersionOK() *UpdateIngredientVersionOK

NewUpdateIngredientVersionOK creates a UpdateIngredientVersionOK with default headers values

func (*UpdateIngredientVersionOK) Error ¶

func (o *UpdateIngredientVersionOK) Error() string

func (*UpdateIngredientVersionOK) GetPayload ¶

type UpdateIngredientVersionParams ¶

type UpdateIngredientVersionParams struct {

	// IngredientID.
	//
	// Format: uuid
	IngredientID strfmt.UUID

	// IngredientVersion.
	IngredientVersion *inventory_models.IngredientVersionUpdate

	// IngredientVersionID.
	//
	// Format: uuid
	IngredientVersionID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateIngredientVersionParams contains all the parameters to send to the API endpoint

for the update ingredient version operation.

Typically these are written to a http.Request.

func NewUpdateIngredientVersionParams ¶

func NewUpdateIngredientVersionParams() *UpdateIngredientVersionParams

NewUpdateIngredientVersionParams creates a new UpdateIngredientVersionParams 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 NewUpdateIngredientVersionParamsWithContext ¶

func NewUpdateIngredientVersionParamsWithContext(ctx context.Context) *UpdateIngredientVersionParams

NewUpdateIngredientVersionParamsWithContext creates a new UpdateIngredientVersionParams object with the ability to set a context for a request.

func NewUpdateIngredientVersionParamsWithHTTPClient ¶

func NewUpdateIngredientVersionParamsWithHTTPClient(client *http.Client) *UpdateIngredientVersionParams

NewUpdateIngredientVersionParamsWithHTTPClient creates a new UpdateIngredientVersionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIngredientVersionParamsWithTimeout ¶

func NewUpdateIngredientVersionParamsWithTimeout(timeout time.Duration) *UpdateIngredientVersionParams

NewUpdateIngredientVersionParamsWithTimeout creates a new UpdateIngredientVersionParams object with the ability to set a timeout on a request.

func (*UpdateIngredientVersionParams) SetContext ¶

func (o *UpdateIngredientVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the update ingredient version params

func (*UpdateIngredientVersionParams) SetDefaults ¶

func (o *UpdateIngredientVersionParams) SetDefaults()

SetDefaults hydrates default values in the update ingredient version params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIngredientVersionParams) SetHTTPClient ¶

func (o *UpdateIngredientVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update ingredient version params

func (*UpdateIngredientVersionParams) SetIngredientID ¶

func (o *UpdateIngredientVersionParams) SetIngredientID(ingredientID strfmt.UUID)

SetIngredientID adds the ingredientId to the update ingredient version params

func (*UpdateIngredientVersionParams) SetIngredientVersion ¶

func (o *UpdateIngredientVersionParams) SetIngredientVersion(ingredientVersion *inventory_models.IngredientVersionUpdate)

SetIngredientVersion adds the ingredientVersion to the update ingredient version params

func (*UpdateIngredientVersionParams) SetIngredientVersionID ¶

func (o *UpdateIngredientVersionParams) SetIngredientVersionID(ingredientVersionID strfmt.UUID)

SetIngredientVersionID adds the ingredientVersionId to the update ingredient version params

func (*UpdateIngredientVersionParams) SetTimeout ¶

func (o *UpdateIngredientVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update ingredient version params

func (*UpdateIngredientVersionParams) WithContext ¶

WithContext adds the context to the update ingredient version params

func (*UpdateIngredientVersionParams) WithDefaults ¶

WithDefaults hydrates default values in the update ingredient version params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateIngredientVersionParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the update ingredient version params

func (*UpdateIngredientVersionParams) WithIngredientID ¶

func (o *UpdateIngredientVersionParams) WithIngredientID(ingredientID strfmt.UUID) *UpdateIngredientVersionParams

WithIngredientID adds the ingredientID to the update ingredient version params

func (*UpdateIngredientVersionParams) WithIngredientVersion ¶

WithIngredientVersion adds the ingredientVersion to the update ingredient version params

func (*UpdateIngredientVersionParams) WithIngredientVersionID ¶

func (o *UpdateIngredientVersionParams) WithIngredientVersionID(ingredientVersionID strfmt.UUID) *UpdateIngredientVersionParams

WithIngredientVersionID adds the ingredientVersionID to the update ingredient version params

func (*UpdateIngredientVersionParams) WithTimeout ¶

WithTimeout adds the timeout to the update ingredient version params

func (*UpdateIngredientVersionParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UpdateIngredientVersionReader ¶

type UpdateIngredientVersionReader struct {
	// contains filtered or unexported fields
}

UpdateIngredientVersionReader is a Reader for the UpdateIngredientVersion structure.

func (*UpdateIngredientVersionReader) ReadResponse ¶

func (o *UpdateIngredientVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePatchBadRequest ¶

type UpdatePatchBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
UpdatePatchBadRequest describes a response with status code 400, with default header values.

If the patch update is invalid or the patch cannot be updated because it is in use by a stable ingredient version revision

func NewUpdatePatchBadRequest ¶

func NewUpdatePatchBadRequest() *UpdatePatchBadRequest

NewUpdatePatchBadRequest creates a UpdatePatchBadRequest with default headers values

func (*UpdatePatchBadRequest) Error ¶

func (o *UpdatePatchBadRequest) Error() string

func (*UpdatePatchBadRequest) GetPayload ¶

type UpdatePatchDefault ¶

type UpdatePatchDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdatePatchDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewUpdatePatchDefault ¶

func NewUpdatePatchDefault(code int) *UpdatePatchDefault

NewUpdatePatchDefault creates a UpdatePatchDefault with default headers values

func (*UpdatePatchDefault) Code ¶

func (o *UpdatePatchDefault) Code() int

Code gets the status code for the update patch default response

func (*UpdatePatchDefault) Error ¶

func (o *UpdatePatchDefault) Error() string

func (*UpdatePatchDefault) GetPayload ¶

type UpdatePatchOK ¶

type UpdatePatchOK struct {
	Payload *inventory_models.Patch
}
UpdatePatchOK describes a response with status code 200, with default header values.

The updated patch

func NewUpdatePatchOK ¶

func NewUpdatePatchOK() *UpdatePatchOK

NewUpdatePatchOK creates a UpdatePatchOK with default headers values

func (*UpdatePatchOK) Error ¶

func (o *UpdatePatchOK) Error() string

func (*UpdatePatchOK) GetPayload ¶

func (o *UpdatePatchOK) GetPayload() *inventory_models.Patch

type UpdatePatchParams ¶

type UpdatePatchParams struct {

	// Patch.
	Patch *inventory_models.PatchCore

	// PatchID.
	//
	// Format: uuid
	PatchID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatePatchParams contains all the parameters to send to the API endpoint

for the update patch operation.

Typically these are written to a http.Request.

func NewUpdatePatchParams ¶

func NewUpdatePatchParams() *UpdatePatchParams

NewUpdatePatchParams creates a new UpdatePatchParams 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 NewUpdatePatchParamsWithContext ¶

func NewUpdatePatchParamsWithContext(ctx context.Context) *UpdatePatchParams

NewUpdatePatchParamsWithContext creates a new UpdatePatchParams object with the ability to set a context for a request.

func NewUpdatePatchParamsWithHTTPClient ¶

func NewUpdatePatchParamsWithHTTPClient(client *http.Client) *UpdatePatchParams

NewUpdatePatchParamsWithHTTPClient creates a new UpdatePatchParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePatchParamsWithTimeout ¶

func NewUpdatePatchParamsWithTimeout(timeout time.Duration) *UpdatePatchParams

NewUpdatePatchParamsWithTimeout creates a new UpdatePatchParams object with the ability to set a timeout on a request.

func (*UpdatePatchParams) SetContext ¶

func (o *UpdatePatchParams) SetContext(ctx context.Context)

SetContext adds the context to the update patch params

func (*UpdatePatchParams) SetDefaults ¶

func (o *UpdatePatchParams) SetDefaults()

SetDefaults hydrates default values in the update patch params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePatchParams) SetHTTPClient ¶

func (o *UpdatePatchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update patch params

func (*UpdatePatchParams) SetPatch ¶

func (o *UpdatePatchParams) SetPatch(patch *inventory_models.PatchCore)

SetPatch adds the patch to the update patch params

func (*UpdatePatchParams) SetPatchID ¶

func (o *UpdatePatchParams) SetPatchID(patchID strfmt.UUID)

SetPatchID adds the patchId to the update patch params

func (*UpdatePatchParams) SetTimeout ¶

func (o *UpdatePatchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update patch params

func (*UpdatePatchParams) WithContext ¶

func (o *UpdatePatchParams) WithContext(ctx context.Context) *UpdatePatchParams

WithContext adds the context to the update patch params

func (*UpdatePatchParams) WithDefaults ¶

func (o *UpdatePatchParams) WithDefaults() *UpdatePatchParams

WithDefaults hydrates default values in the update patch params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePatchParams) WithHTTPClient ¶

func (o *UpdatePatchParams) WithHTTPClient(client *http.Client) *UpdatePatchParams

WithHTTPClient adds the HTTPClient to the update patch params

func (*UpdatePatchParams) WithPatch ¶

WithPatch adds the patch to the update patch params

func (*UpdatePatchParams) WithPatchID ¶

func (o *UpdatePatchParams) WithPatchID(patchID strfmt.UUID) *UpdatePatchParams

WithPatchID adds the patchID to the update patch params

func (*UpdatePatchParams) WithTimeout ¶

func (o *UpdatePatchParams) WithTimeout(timeout time.Duration) *UpdatePatchParams

WithTimeout adds the timeout to the update patch params

func (*UpdatePatchParams) WriteToRequest ¶

func (o *UpdatePatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdatePatchReader ¶

type UpdatePatchReader struct {
	// contains filtered or unexported fields
}

UpdatePatchReader is a Reader for the UpdatePatch structure.

func (*UpdatePatchReader) ReadResponse ¶

func (o *UpdatePatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePlatformBadRequest ¶

type UpdatePlatformBadRequest struct {
	Payload *inventory_models.RestAPIValidationError
}
UpdatePlatformBadRequest describes a response with status code 400, with default header values.

If the platform update in invalid

func NewUpdatePlatformBadRequest ¶

func NewUpdatePlatformBadRequest() *UpdatePlatformBadRequest

NewUpdatePlatformBadRequest creates a UpdatePlatformBadRequest with default headers values

func (*UpdatePlatformBadRequest) Error ¶

func (o *UpdatePlatformBadRequest) Error() string

func (*UpdatePlatformBadRequest) GetPayload ¶

type UpdatePlatformDefault ¶

type UpdatePlatformDefault struct {
	Payload *inventory_models.RestAPIError
	// contains filtered or unexported fields
}
UpdatePlatformDefault describes a response with status code -1, with default header values.

If there is an error processing the request

func NewUpdatePlatformDefault ¶

func NewUpdatePlatformDefault(code int) *UpdatePlatformDefault

NewUpdatePlatformDefault creates a UpdatePlatformDefault with default headers values

func (*UpdatePlatformDefault) Code ¶

func (o *UpdatePlatformDefault) Code() int

Code gets the status code for the update platform default response

func (*UpdatePlatformDefault) Error ¶

func (o *UpdatePlatformDefault) Error() string

func (*UpdatePlatformDefault) GetPayload ¶

type UpdatePlatformOK ¶

type UpdatePlatformOK struct {
	Payload *inventory_models.Platform
}
UpdatePlatformOK describes a response with status code 200, with default header values.

The updated state of the platform

func NewUpdatePlatformOK ¶

func NewUpdatePlatformOK() *UpdatePlatformOK

NewUpdatePlatformOK creates a UpdatePlatformOK with default headers values

func (*UpdatePlatformOK) Error ¶

func (o *UpdatePlatformOK) Error() string

func (*UpdatePlatformOK) GetPayload ¶

func (o *UpdatePlatformOK) GetPayload() *inventory_models.Platform

type UpdatePlatformParams ¶

type UpdatePlatformParams struct {

	// PlatformID.
	//
	// Format: uuid
	PlatformID strfmt.UUID

	// PlatformUpdate.
	PlatformUpdate *inventory_models.UpdatePlatformParamsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatePlatformParams contains all the parameters to send to the API endpoint

for the update platform operation.

Typically these are written to a http.Request.

func NewUpdatePlatformParams ¶

func NewUpdatePlatformParams() *UpdatePlatformParams

NewUpdatePlatformParams creates a new UpdatePlatformParams 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 NewUpdatePlatformParamsWithContext ¶

func NewUpdatePlatformParamsWithContext(ctx context.Context) *UpdatePlatformParams

NewUpdatePlatformParamsWithContext creates a new UpdatePlatformParams object with the ability to set a context for a request.

func NewUpdatePlatformParamsWithHTTPClient ¶

func NewUpdatePlatformParamsWithHTTPClient(client *http.Client) *UpdatePlatformParams

NewUpdatePlatformParamsWithHTTPClient creates a new UpdatePlatformParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePlatformParamsWithTimeout ¶

func NewUpdatePlatformParamsWithTimeout(timeout time.Duration) *UpdatePlatformParams

NewUpdatePlatformParamsWithTimeout creates a new UpdatePlatformParams object with the ability to set a timeout on a request.

func (*UpdatePlatformParams) SetContext ¶

func (o *UpdatePlatformParams) SetContext(ctx context.Context)

SetContext adds the context to the update platform params

func (*UpdatePlatformParams) SetDefaults ¶

func (o *UpdatePlatformParams) SetDefaults()

SetDefaults hydrates default values in the update platform params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePlatformParams) SetHTTPClient ¶

func (o *UpdatePlatformParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update platform params

func (*UpdatePlatformParams) SetPlatformID ¶

func (o *UpdatePlatformParams) SetPlatformID(platformID strfmt.UUID)

SetPlatformID adds the platformId to the update platform params

func (*UpdatePlatformParams) SetPlatformUpdate ¶

func (o *UpdatePlatformParams) SetPlatformUpdate(platformUpdate *inventory_models.UpdatePlatformParamsBody)

SetPlatformUpdate adds the platformUpdate to the update platform params

func (*UpdatePlatformParams) SetTimeout ¶

func (o *UpdatePlatformParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update platform params

func (*UpdatePlatformParams) WithContext ¶

WithContext adds the context to the update platform params

func (*UpdatePlatformParams) WithDefaults ¶

func (o *UpdatePlatformParams) WithDefaults() *UpdatePlatformParams

WithDefaults hydrates default values in the update platform params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePlatformParams) WithHTTPClient ¶

func (o *UpdatePlatformParams) WithHTTPClient(client *http.Client) *UpdatePlatformParams

WithHTTPClient adds the HTTPClient to the update platform params

func (*UpdatePlatformParams) WithPlatformID ¶

func (o *UpdatePlatformParams) WithPlatformID(platformID strfmt.UUID) *UpdatePlatformParams

WithPlatformID adds the platformID to the update platform params

func (*UpdatePlatformParams) WithPlatformUpdate ¶

WithPlatformUpdate adds the platformUpdate to the update platform params

func (*UpdatePlatformParams) WithTimeout ¶

func (o *UpdatePlatformParams) WithTimeout(timeout time.Duration) *UpdatePlatformParams

WithTimeout adds the timeout to the update platform params

func (*UpdatePlatformParams) WriteToRequest ¶

func (o *UpdatePlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdatePlatformReader ¶

type UpdatePlatformReader struct {
	// contains filtered or unexported fields
}

UpdatePlatformReader is a Reader for the UpdatePlatform structure.

func (*UpdatePlatformReader) ReadResponse ¶

func (o *UpdatePlatformReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateRecipeBadRequest ¶

type ValidateRecipeBadRequest struct {
	Payload *inventory_models.RecipeValidationError
}
ValidateRecipeBadRequest describes a response with status code 400, with default header values.

If the recipe is invalid, this contains information about its errors.

func NewValidateRecipeBadRequest ¶

func NewValidateRecipeBadRequest() *ValidateRecipeBadRequest

NewValidateRecipeBadRequest creates a ValidateRecipeBadRequest with default headers values

func (*ValidateRecipeBadRequest) Error ¶

func (o *ValidateRecipeBadRequest) Error() string

func (*ValidateRecipeBadRequest) GetPayload ¶

type ValidateRecipeDefault ¶

type ValidateRecipeDefault struct {
	Payload *inventory_models.SolverError
	// contains filtered or unexported fields
}
ValidateRecipeDefault describes a response with status code -1, with default header values.

If there is an error processing the order

func NewValidateRecipeDefault ¶

func NewValidateRecipeDefault(code int) *ValidateRecipeDefault

NewValidateRecipeDefault creates a ValidateRecipeDefault with default headers values

func (*ValidateRecipeDefault) Code ¶

func (o *ValidateRecipeDefault) Code() int

Code gets the status code for the validate recipe default response

func (*ValidateRecipeDefault) Error ¶

func (o *ValidateRecipeDefault) Error() string

func (*ValidateRecipeDefault) GetPayload ¶

type ValidateRecipeOK ¶

type ValidateRecipeOK struct {
}
ValidateRecipeOK describes a response with status code 200, with default header values.

If there are no errors, then there is no body in the response.

func NewValidateRecipeOK ¶

func NewValidateRecipeOK() *ValidateRecipeOK

NewValidateRecipeOK creates a ValidateRecipeOK with default headers values

func (*ValidateRecipeOK) Error ¶

func (o *ValidateRecipeOK) Error() string

type ValidateRecipeParams ¶

type ValidateRecipeParams struct {

	// Recipe.
	Recipe *inventory_models.Recipe

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateRecipeParams contains all the parameters to send to the API endpoint

for the validate recipe operation.

Typically these are written to a http.Request.

func NewValidateRecipeParams ¶

func NewValidateRecipeParams() *ValidateRecipeParams

NewValidateRecipeParams creates a new ValidateRecipeParams 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 NewValidateRecipeParamsWithContext ¶

func NewValidateRecipeParamsWithContext(ctx context.Context) *ValidateRecipeParams

NewValidateRecipeParamsWithContext creates a new ValidateRecipeParams object with the ability to set a context for a request.

func NewValidateRecipeParamsWithHTTPClient ¶

func NewValidateRecipeParamsWithHTTPClient(client *http.Client) *ValidateRecipeParams

NewValidateRecipeParamsWithHTTPClient creates a new ValidateRecipeParams object with the ability to set a custom HTTPClient for a request.

func NewValidateRecipeParamsWithTimeout ¶

func NewValidateRecipeParamsWithTimeout(timeout time.Duration) *ValidateRecipeParams

NewValidateRecipeParamsWithTimeout creates a new ValidateRecipeParams object with the ability to set a timeout on a request.

func (*ValidateRecipeParams) SetContext ¶

func (o *ValidateRecipeParams) SetContext(ctx context.Context)

SetContext adds the context to the validate recipe params

func (*ValidateRecipeParams) SetDefaults ¶

func (o *ValidateRecipeParams) SetDefaults()

SetDefaults hydrates default values in the validate recipe params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateRecipeParams) SetHTTPClient ¶

func (o *ValidateRecipeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate recipe params

func (*ValidateRecipeParams) SetRecipe ¶

func (o *ValidateRecipeParams) SetRecipe(recipe *inventory_models.Recipe)

SetRecipe adds the recipe to the validate recipe params

func (*ValidateRecipeParams) SetTimeout ¶

func (o *ValidateRecipeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate recipe params

func (*ValidateRecipeParams) WithContext ¶

WithContext adds the context to the validate recipe params

func (*ValidateRecipeParams) WithDefaults ¶

func (o *ValidateRecipeParams) WithDefaults() *ValidateRecipeParams

WithDefaults hydrates default values in the validate recipe params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateRecipeParams) WithHTTPClient ¶

func (o *ValidateRecipeParams) WithHTTPClient(client *http.Client) *ValidateRecipeParams

WithHTTPClient adds the HTTPClient to the validate recipe params

func (*ValidateRecipeParams) WithRecipe ¶

WithRecipe adds the recipe to the validate recipe params

func (*ValidateRecipeParams) WithTimeout ¶

func (o *ValidateRecipeParams) WithTimeout(timeout time.Duration) *ValidateRecipeParams

WithTimeout adds the timeout to the validate recipe params

func (*ValidateRecipeParams) WriteToRequest ¶

func (o *ValidateRecipeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ValidateRecipeReader ¶

type ValidateRecipeReader struct {
	// contains filtered or unexported fields
}

ValidateRecipeReader is a Reader for the ValidateRecipe structure.

func (*ValidateRecipeReader) ReadResponse ¶

func (o *ValidateRecipeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL