registry_service

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateRegistryDefault

type ActivateRegistryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewActivateRegistryDefault

func NewActivateRegistryDefault(code int) *ActivateRegistryDefault

NewActivateRegistryDefault creates a ActivateRegistryDefault with default headers values

func (*ActivateRegistryDefault) Code

func (o *ActivateRegistryDefault) Code() int

Code gets the status code for the activate registry default response

func (*ActivateRegistryDefault) Error

func (o *ActivateRegistryDefault) Error() string

func (*ActivateRegistryDefault) GetPayload

func (*ActivateRegistryDefault) IsClientError

func (o *ActivateRegistryDefault) IsClientError() bool

IsClientError returns true when this activate registry default response has a 4xx status code

func (*ActivateRegistryDefault) IsCode

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

IsCode returns true when this activate registry default response a status code equal to that given

func (*ActivateRegistryDefault) IsRedirect

func (o *ActivateRegistryDefault) IsRedirect() bool

IsRedirect returns true when this activate registry default response has a 3xx status code

func (*ActivateRegistryDefault) IsServerError

func (o *ActivateRegistryDefault) IsServerError() bool

IsServerError returns true when this activate registry default response has a 5xx status code

func (*ActivateRegistryDefault) IsSuccess

func (o *ActivateRegistryDefault) IsSuccess() bool

IsSuccess returns true when this activate registry default response has a 2xx status code

func (*ActivateRegistryDefault) String

func (o *ActivateRegistryDefault) String() string

type ActivateRegistryOK

type ActivateRegistryOK struct {
	Payload models.HashicorpCloudVagrant20220930ActivateRegistryResponse
}

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

A successful response.

func NewActivateRegistryOK

func NewActivateRegistryOK() *ActivateRegistryOK

NewActivateRegistryOK creates a ActivateRegistryOK with default headers values

func (*ActivateRegistryOK) Code

func (o *ActivateRegistryOK) Code() int

Code gets the status code for the activate registry o k response

func (*ActivateRegistryOK) Error

func (o *ActivateRegistryOK) Error() string

func (*ActivateRegistryOK) IsClientError

func (o *ActivateRegistryOK) IsClientError() bool

IsClientError returns true when this activate registry o k response has a 4xx status code

func (*ActivateRegistryOK) IsCode

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

IsCode returns true when this activate registry o k response a status code equal to that given

func (*ActivateRegistryOK) IsRedirect

func (o *ActivateRegistryOK) IsRedirect() bool

IsRedirect returns true when this activate registry o k response has a 3xx status code

func (*ActivateRegistryOK) IsServerError

func (o *ActivateRegistryOK) IsServerError() bool

IsServerError returns true when this activate registry o k response has a 5xx status code

func (*ActivateRegistryOK) IsSuccess

func (o *ActivateRegistryOK) IsSuccess() bool

IsSuccess returns true when this activate registry o k response has a 2xx status code

func (*ActivateRegistryOK) String

func (o *ActivateRegistryOK) String() string

type ActivateRegistryParams

type ActivateRegistryParams struct {

	/* Registry.

	   The name of the Registry to activate.
	*/
	Registry string

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

ActivateRegistryParams contains all the parameters to send to the API endpoint

for the activate registry operation.

Typically these are written to a http.Request.

func NewActivateRegistryParams

func NewActivateRegistryParams() *ActivateRegistryParams

NewActivateRegistryParams creates a new ActivateRegistryParams 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 NewActivateRegistryParamsWithContext

func NewActivateRegistryParamsWithContext(ctx context.Context) *ActivateRegistryParams

NewActivateRegistryParamsWithContext creates a new ActivateRegistryParams object with the ability to set a context for a request.

func NewActivateRegistryParamsWithHTTPClient

func NewActivateRegistryParamsWithHTTPClient(client *http.Client) *ActivateRegistryParams

NewActivateRegistryParamsWithHTTPClient creates a new ActivateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewActivateRegistryParamsWithTimeout

func NewActivateRegistryParamsWithTimeout(timeout time.Duration) *ActivateRegistryParams

NewActivateRegistryParamsWithTimeout creates a new ActivateRegistryParams object with the ability to set a timeout on a request.

func (*ActivateRegistryParams) SetContext

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

SetContext adds the context to the activate registry params

func (*ActivateRegistryParams) SetDefaults

func (o *ActivateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the activate registry params (not the query body).

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

func (*ActivateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activate registry params

func (*ActivateRegistryParams) SetRegistry

func (o *ActivateRegistryParams) SetRegistry(registry string)

SetRegistry adds the registry to the activate registry params

func (*ActivateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the activate registry params

func (*ActivateRegistryParams) WithContext

WithContext adds the context to the activate registry params

func (*ActivateRegistryParams) WithDefaults

WithDefaults hydrates default values in the activate registry params (not the query body).

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

func (*ActivateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activate registry params

func (*ActivateRegistryParams) WithRegistry

func (o *ActivateRegistryParams) WithRegistry(registry string) *ActivateRegistryParams

WithRegistry adds the registry to the activate registry params

func (*ActivateRegistryParams) WithTimeout

WithTimeout adds the timeout to the activate registry params

func (*ActivateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ActivateRegistryReader

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

ActivateRegistryReader is a Reader for the ActivateRegistry structure.

func (*ActivateRegistryReader) ReadResponse

func (o *ActivateRegistryReader) 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 registry service API

func (*Client) ActivateRegistry

func (a *Client) ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error)
ActivateRegistry activates registry activates a vagrant box registry at the location specified the registry must already exist and must be currently disabled

Activation will re-enable a Registry, allowing requests and

accruing charges as normal.

func (*Client) CompleteDirectUploadBox

func (a *Client) CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteDirectUploadBoxOK, error)

CompleteDirectUploadBox completes direct upload box is a callback endpoint used to signal than a direct to backend storage upload of boxfile is finished

func (*Client) CompleteUploadBox

func (a *Client) CompleteUploadBox(params *CompleteUploadBoxParams, opts ...ClientOption) (*CompleteUploadBoxOK, error)

CompleteUploadBox completes upload box is a callback endpoint used to signal that an upload of boxfile is finished

func (*Client) CreateArchitecture

func (a *Client) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArchitectureOK, error)

CreateArchitecture creates architecture creates a architecture in the specified version

func (*Client) CreateBox

func (a *Client) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxOK, error)

CreateBox creates box creates a new vagrant box

func (*Client) CreateProvider

func (a *Client) CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProviderOK, error)

CreateProvider creates provider creates a provider in the specified version

func (*Client) CreateRegistry

func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)

CreateRegistry creates registry creates a vagrant box registry at the location specified

func (*Client) CreateVersion

func (a *Client) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error)

CreateVersion creates version creates a new box version

func (*Client) DeactivateRegistry

func (a *Client) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error)
DeactivateRegistry deactivates registry deactivates a vagrant box registry at the location specified the registry must already exist and must be currently enabled

Deactivation will disable a Registry but not delete its data.

All requests to the Registry will return not-found errors. This can be used to temporarily block access to a Registry to prevent access-related charges to the Registry.

func (*Client) DeleteArchitecture

func (a *Client) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, error)

DeleteArchitecture deletes architecture deletes a architecture note that this deletes any box data associated with an architecture so use with care

func (*Client) DeleteBox

func (a *Client) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
DeleteBox deletes box deletes a vagrant box

Deleting a Box removes all its Versions and Providers as

well. This operation cannot be undone.

func (*Client) DeleteProvider

func (a *Client) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderOK, error)

DeleteProvider deletes provider deletes a provider note that this deletes any data associated with a hosted provider so use with care

func (*Client) DeleteRegistry

func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)
DeleteRegistry deletes registry deletes a vagrant box registry at the location specified

Deletion removes the Registry and all of its Box, Version, and

Provider data, including any Hosted Providers and their respective data. This operation is permanent and cannot be undone.

func (*Client) DeleteVersion

func (a *Client) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error)
DeleteVersion deletes version deletes a box version

Deleting a Box Version removes all its Providers as well. This

operation cannot be undone.

func (*Client) DirectUploadBox

func (a *Client) DirectUploadBox(params *DirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DirectUploadBoxOK, error)

DirectUploadBox directs upload box initiates the upload of a single hosted boxfile directly to the backend storage the service will return details that can be used to upload the data over HTTP

func (*Client) DownloadBox

func (a *Client) DownloadBox(params *DownloadBoxParams, opts ...ClientOption) (*DownloadBoxOK, error)
DownloadBox downloads initiates a boxfile download

For Archivist-hosted Boxfile, this is an atomic call that prepares the

Provider for download from the object storage. For externally-hosted Boxfiles, this is simply a pass-through to the external download data supplied in the record.

func (*Client) ListArchitectures

func (a *Client) ListArchitectures(params *ListArchitecturesParams, opts ...ClientOption) (*ListArchitecturesOK, error)

ListArchitectures lists architectures lists all architectures within a provider

func (*Client) ListBoxes

func (a *Client) ListBoxes(params *ListBoxesParams, opts ...ClientOption) (*ListBoxesOK, error)

ListBoxes lists boxes lists all of the boxes within a particular registry

func (*Client) ListProviders

func (a *Client) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)

ListProviders lists providers lists all providers within a version

func (*Client) ListRegistries

func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error)

ListRegistries lists registries lists available vagrant box registries in a particular project

func (*Client) ListVersions

func (a *Client) ListVersions(params *ListVersionsParams, opts ...ClientOption) (*ListVersionsOK, error)

ListVersions lists version lists all of the versions within a particular box

func (*Client) ReadArchitecture

func (a *Client) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)

ReadArchitecture reads architecture fetches a architecture for the specified provider

func (*Client) ReadBox

func (a *Client) ReadBox(params *ReadBoxParams, opts ...ClientOption) (*ReadBoxOK, error)

ReadBox reads box reads a vagrant box

func (*Client) ReadProvider

func (a *Client) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)

ReadProvider reads provider fetches a provider for the specified version

func (*Client) ReadRegistry

func (a *Client) ReadRegistry(params *ReadRegistryParams, opts ...ClientOption) (*ReadRegistryOK, error)

ReadRegistry reads registry reads a vagrant box registry by its name

func (*Client) ReadVersion

func (a *Client) ReadVersion(params *ReadVersionParams, opts ...ClientOption) (*ReadVersionOK, error)

ReadVersion reads version reads a box version

func (*Client) ReleaseVersion

func (a *Client) ReleaseVersion(params *ReleaseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReleaseVersionOK, error)

ReleaseVersion releases releases the specified version the version must not already be released

func (*Client) RevokeVersion

func (a *Client) RevokeVersion(params *RevokeVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeVersionOK, error)

RevokeVersion revokes revokes the specified version the version must be actively released

func (*Client) Search

func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)

Search searches returns a list of available boxes based on search parameters

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateArchitecture

func (a *Client) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, error)

UpdateArchitecture updates architecture updates details about a specified architecture

func (*Client) UpdateBox

func (a *Client) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
UpdateBox updates box updates the details of a vagrant box

Note that this only updates details about the Box itself. To

work with a Box's Versions or Providers, use those respective services.

func (*Client) UpdateProvider

func (a *Client) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProviderOK, error)
UpdateProvider updates provider updates details about a specified provider

Note that you don't use this to upload data to Hosted Providers, to do

that, use the Upload method.

func (*Client) UpdateVersion

func (a *Client) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, error)

UpdateVersion updates version updates a box version

func (*Client) UploadBox

func (a *Client) UploadBox(params *UploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadBoxOK, error)
UploadBox uploads box initiates the upload of a single hosted boxfile the service will return details that can be used to upload the data over HTTP

Overwrite is permitted; old/existing data for a particular Architecture will

be replaced with data from a new successful upload for that same Architecture.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error)

	CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteDirectUploadBoxOK, error)

	CompleteUploadBox(params *CompleteUploadBoxParams, opts ...ClientOption) (*CompleteUploadBoxOK, error)

	CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArchitectureOK, error)

	CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxOK, error)

	CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProviderOK, error)

	CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)

	CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error)

	DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error)

	DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, error)

	DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)

	DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderOK, error)

	DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)

	DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error)

	DirectUploadBox(params *DirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DirectUploadBoxOK, error)

	DownloadBox(params *DownloadBoxParams, opts ...ClientOption) (*DownloadBoxOK, error)

	ListArchitectures(params *ListArchitecturesParams, opts ...ClientOption) (*ListArchitecturesOK, error)

	ListBoxes(params *ListBoxesParams, opts ...ClientOption) (*ListBoxesOK, error)

	ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)

	ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error)

	ListVersions(params *ListVersionsParams, opts ...ClientOption) (*ListVersionsOK, error)

	ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)

	ReadBox(params *ReadBoxParams, opts ...ClientOption) (*ReadBoxOK, error)

	ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)

	ReadRegistry(params *ReadRegistryParams, opts ...ClientOption) (*ReadRegistryOK, error)

	ReadVersion(params *ReadVersionParams, opts ...ClientOption) (*ReadVersionOK, error)

	ReleaseVersion(params *ReleaseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReleaseVersionOK, error)

	RevokeVersion(params *RevokeVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeVersionOK, error)

	Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)

	UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, error)

	UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)

	UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProviderOK, error)

	UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, error)

	UploadBox(params *UploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadBoxOK, 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 registry service API client.

type CompleteDirectUploadBoxDefault

type CompleteDirectUploadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCompleteDirectUploadBoxDefault

func NewCompleteDirectUploadBoxDefault(code int) *CompleteDirectUploadBoxDefault

NewCompleteDirectUploadBoxDefault creates a CompleteDirectUploadBoxDefault with default headers values

func (*CompleteDirectUploadBoxDefault) Code

Code gets the status code for the complete direct upload box default response

func (*CompleteDirectUploadBoxDefault) Error

func (*CompleteDirectUploadBoxDefault) GetPayload

func (*CompleteDirectUploadBoxDefault) IsClientError

func (o *CompleteDirectUploadBoxDefault) IsClientError() bool

IsClientError returns true when this complete direct upload box default response has a 4xx status code

func (*CompleteDirectUploadBoxDefault) IsCode

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

IsCode returns true when this complete direct upload box default response a status code equal to that given

func (*CompleteDirectUploadBoxDefault) IsRedirect

func (o *CompleteDirectUploadBoxDefault) IsRedirect() bool

IsRedirect returns true when this complete direct upload box default response has a 3xx status code

func (*CompleteDirectUploadBoxDefault) IsServerError

func (o *CompleteDirectUploadBoxDefault) IsServerError() bool

IsServerError returns true when this complete direct upload box default response has a 5xx status code

func (*CompleteDirectUploadBoxDefault) IsSuccess

func (o *CompleteDirectUploadBoxDefault) IsSuccess() bool

IsSuccess returns true when this complete direct upload box default response has a 2xx status code

func (*CompleteDirectUploadBoxDefault) String

type CompleteDirectUploadBoxOK

type CompleteDirectUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse
}

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

A successful response.

func NewCompleteDirectUploadBoxOK

func NewCompleteDirectUploadBoxOK() *CompleteDirectUploadBoxOK

NewCompleteDirectUploadBoxOK creates a CompleteDirectUploadBoxOK with default headers values

func (*CompleteDirectUploadBoxOK) Code

func (o *CompleteDirectUploadBoxOK) Code() int

Code gets the status code for the complete direct upload box o k response

func (*CompleteDirectUploadBoxOK) Error

func (o *CompleteDirectUploadBoxOK) Error() string

func (*CompleteDirectUploadBoxOK) IsClientError

func (o *CompleteDirectUploadBoxOK) IsClientError() bool

IsClientError returns true when this complete direct upload box o k response has a 4xx status code

func (*CompleteDirectUploadBoxOK) IsCode

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

IsCode returns true when this complete direct upload box o k response a status code equal to that given

func (*CompleteDirectUploadBoxOK) IsRedirect

func (o *CompleteDirectUploadBoxOK) IsRedirect() bool

IsRedirect returns true when this complete direct upload box o k response has a 3xx status code

func (*CompleteDirectUploadBoxOK) IsServerError

func (o *CompleteDirectUploadBoxOK) IsServerError() bool

IsServerError returns true when this complete direct upload box o k response has a 5xx status code

func (*CompleteDirectUploadBoxOK) IsSuccess

func (o *CompleteDirectUploadBoxOK) IsSuccess() bool

IsSuccess returns true when this complete direct upload box o k response has a 2xx status code

func (*CompleteDirectUploadBoxOK) String

func (o *CompleteDirectUploadBoxOK) String() string

type CompleteDirectUploadBoxParams

type CompleteDirectUploadBoxParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Object.

	   Object identifier.
	*/
	Object string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

CompleteDirectUploadBoxParams contains all the parameters to send to the API endpoint

for the complete direct upload box operation.

Typically these are written to a http.Request.

func NewCompleteDirectUploadBoxParams

func NewCompleteDirectUploadBoxParams() *CompleteDirectUploadBoxParams

NewCompleteDirectUploadBoxParams creates a new CompleteDirectUploadBoxParams 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 NewCompleteDirectUploadBoxParamsWithContext

func NewCompleteDirectUploadBoxParamsWithContext(ctx context.Context) *CompleteDirectUploadBoxParams

NewCompleteDirectUploadBoxParamsWithContext creates a new CompleteDirectUploadBoxParams object with the ability to set a context for a request.

func NewCompleteDirectUploadBoxParamsWithHTTPClient

func NewCompleteDirectUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams

NewCompleteDirectUploadBoxParamsWithHTTPClient creates a new CompleteDirectUploadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewCompleteDirectUploadBoxParamsWithTimeout

func NewCompleteDirectUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams

NewCompleteDirectUploadBoxParamsWithTimeout creates a new CompleteDirectUploadBoxParams object with the ability to set a timeout on a request.

func (*CompleteDirectUploadBoxParams) SetArchitecture

func (o *CompleteDirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetBox

func (o *CompleteDirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetContext

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

SetContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetDefaults

func (o *CompleteDirectUploadBoxParams) SetDefaults()

SetDefaults hydrates default values in the complete direct upload box params (not the query body).

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

func (*CompleteDirectUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetObject

func (o *CompleteDirectUploadBoxParams) SetObject(object string)

SetObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetProvider

func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetRegistry

func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetVersion

func (o *CompleteDirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithArchitecture

func (o *CompleteDirectUploadBoxParams) WithArchitecture(architecture string) *CompleteDirectUploadBoxParams

WithArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithBox

WithBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithContext

WithContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithDefaults

WithDefaults hydrates default values in the complete direct upload box params (not the query body).

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

func (*CompleteDirectUploadBoxParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithObject

WithObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithProvider

WithProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithRegistry

WithRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithTimeout

WithTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithVersion

WithVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteDirectUploadBoxReader

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

CompleteDirectUploadBoxReader is a Reader for the CompleteDirectUploadBox structure.

func (*CompleteDirectUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteUploadBoxBody

type CompleteUploadBoxBody struct {

	// Size of the artifact uploaded.
	Bytes string `json:"bytes,omitempty"`

	// Storage key of the upload.
	Key string `json:"key,omitempty"`

	// Object identifier.
	Object string `json:"object,omitempty"`

	// Success status of the upload.
	Success bool `json:"success,omitempty"`
}

CompleteUploadBoxBody complete upload box body swagger:model CompleteUploadBoxBody

func (*CompleteUploadBoxBody) ContextValidate

func (o *CompleteUploadBoxBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this complete upload box body based on context it is used

func (*CompleteUploadBoxBody) MarshalBinary

func (o *CompleteUploadBoxBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CompleteUploadBoxBody) UnmarshalBinary

func (o *CompleteUploadBoxBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CompleteUploadBoxBody) Validate

func (o *CompleteUploadBoxBody) Validate(formats strfmt.Registry) error

Validate validates this complete upload box body

type CompleteUploadBoxDefault

type CompleteUploadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCompleteUploadBoxDefault

func NewCompleteUploadBoxDefault(code int) *CompleteUploadBoxDefault

NewCompleteUploadBoxDefault creates a CompleteUploadBoxDefault with default headers values

func (*CompleteUploadBoxDefault) Code

func (o *CompleteUploadBoxDefault) Code() int

Code gets the status code for the complete upload box default response

func (*CompleteUploadBoxDefault) Error

func (o *CompleteUploadBoxDefault) Error() string

func (*CompleteUploadBoxDefault) GetPayload

func (*CompleteUploadBoxDefault) IsClientError

func (o *CompleteUploadBoxDefault) IsClientError() bool

IsClientError returns true when this complete upload box default response has a 4xx status code

func (*CompleteUploadBoxDefault) IsCode

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

IsCode returns true when this complete upload box default response a status code equal to that given

func (*CompleteUploadBoxDefault) IsRedirect

func (o *CompleteUploadBoxDefault) IsRedirect() bool

IsRedirect returns true when this complete upload box default response has a 3xx status code

func (*CompleteUploadBoxDefault) IsServerError

func (o *CompleteUploadBoxDefault) IsServerError() bool

IsServerError returns true when this complete upload box default response has a 5xx status code

func (*CompleteUploadBoxDefault) IsSuccess

func (o *CompleteUploadBoxDefault) IsSuccess() bool

IsSuccess returns true when this complete upload box default response has a 2xx status code

func (*CompleteUploadBoxDefault) String

func (o *CompleteUploadBoxDefault) String() string

type CompleteUploadBoxOK

type CompleteUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}

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

A successful response.

func NewCompleteUploadBoxOK

func NewCompleteUploadBoxOK() *CompleteUploadBoxOK

NewCompleteUploadBoxOK creates a CompleteUploadBoxOK with default headers values

func (*CompleteUploadBoxOK) Code

func (o *CompleteUploadBoxOK) Code() int

Code gets the status code for the complete upload box o k response

func (*CompleteUploadBoxOK) Error

func (o *CompleteUploadBoxOK) Error() string

func (*CompleteUploadBoxOK) IsClientError

func (o *CompleteUploadBoxOK) IsClientError() bool

IsClientError returns true when this complete upload box o k response has a 4xx status code

func (*CompleteUploadBoxOK) IsCode

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

IsCode returns true when this complete upload box o k response a status code equal to that given

func (*CompleteUploadBoxOK) IsRedirect

func (o *CompleteUploadBoxOK) IsRedirect() bool

IsRedirect returns true when this complete upload box o k response has a 3xx status code

func (*CompleteUploadBoxOK) IsServerError

func (o *CompleteUploadBoxOK) IsServerError() bool

IsServerError returns true when this complete upload box o k response has a 5xx status code

func (*CompleteUploadBoxOK) IsSuccess

func (o *CompleteUploadBoxOK) IsSuccess() bool

IsSuccess returns true when this complete upload box o k response has a 2xx status code

func (*CompleteUploadBoxOK) String

func (o *CompleteUploadBoxOK) String() string

type CompleteUploadBoxParams

type CompleteUploadBoxParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	// Body.
	Body CompleteUploadBoxBody

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

CompleteUploadBoxParams contains all the parameters to send to the API endpoint

for the complete upload box operation.

Typically these are written to a http.Request.

func NewCompleteUploadBoxParams

func NewCompleteUploadBoxParams() *CompleteUploadBoxParams

NewCompleteUploadBoxParams creates a new CompleteUploadBoxParams 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 NewCompleteUploadBoxParamsWithContext

func NewCompleteUploadBoxParamsWithContext(ctx context.Context) *CompleteUploadBoxParams

NewCompleteUploadBoxParamsWithContext creates a new CompleteUploadBoxParams object with the ability to set a context for a request.

func NewCompleteUploadBoxParamsWithHTTPClient

func NewCompleteUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteUploadBoxParams

NewCompleteUploadBoxParamsWithHTTPClient creates a new CompleteUploadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewCompleteUploadBoxParamsWithTimeout

func NewCompleteUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteUploadBoxParams

NewCompleteUploadBoxParamsWithTimeout creates a new CompleteUploadBoxParams object with the ability to set a timeout on a request.

func (*CompleteUploadBoxParams) SetArchitecture

func (o *CompleteUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) SetBody

SetBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) SetBox

func (o *CompleteUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) SetContext

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

SetContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) SetDefaults

func (o *CompleteUploadBoxParams) SetDefaults()

SetDefaults hydrates default values in the complete upload box params (not the query body).

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

func (*CompleteUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) SetProvider

func (o *CompleteUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) SetRegistry

func (o *CompleteUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) SetVersion

func (o *CompleteUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WithArchitecture

func (o *CompleteUploadBoxParams) WithArchitecture(architecture string) *CompleteUploadBoxParams

WithArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) WithBody

WithBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) WithBox

WithBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) WithContext

WithContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) WithDefaults

WithDefaults hydrates default values in the complete upload box params (not the query body).

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

func (*CompleteUploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) WithProvider

func (o *CompleteUploadBoxParams) WithProvider(provider string) *CompleteUploadBoxParams

WithProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) WithRegistry

func (o *CompleteUploadBoxParams) WithRegistry(registry string) *CompleteUploadBoxParams

WithRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) WithTimeout

WithTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) WithVersion

func (o *CompleteUploadBoxParams) WithVersion(version string) *CompleteUploadBoxParams

WithVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteUploadBoxReader

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

CompleteUploadBoxReader is a Reader for the CompleteUploadBox structure.

func (*CompleteUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateArchitectureDefault

type CreateArchitectureDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateArchitectureDefault

func NewCreateArchitectureDefault(code int) *CreateArchitectureDefault

NewCreateArchitectureDefault creates a CreateArchitectureDefault with default headers values

func (*CreateArchitectureDefault) Code

func (o *CreateArchitectureDefault) Code() int

Code gets the status code for the create architecture default response

func (*CreateArchitectureDefault) Error

func (o *CreateArchitectureDefault) Error() string

func (*CreateArchitectureDefault) GetPayload

func (*CreateArchitectureDefault) IsClientError

func (o *CreateArchitectureDefault) IsClientError() bool

IsClientError returns true when this create architecture default response has a 4xx status code

func (*CreateArchitectureDefault) IsCode

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

IsCode returns true when this create architecture default response a status code equal to that given

func (*CreateArchitectureDefault) IsRedirect

func (o *CreateArchitectureDefault) IsRedirect() bool

IsRedirect returns true when this create architecture default response has a 3xx status code

func (*CreateArchitectureDefault) IsServerError

func (o *CreateArchitectureDefault) IsServerError() bool

IsServerError returns true when this create architecture default response has a 5xx status code

func (*CreateArchitectureDefault) IsSuccess

func (o *CreateArchitectureDefault) IsSuccess() bool

IsSuccess returns true when this create architecture default response has a 2xx status code

func (*CreateArchitectureDefault) String

func (o *CreateArchitectureDefault) String() string

type CreateArchitectureOK

type CreateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
}

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

A successful response.

func NewCreateArchitectureOK

func NewCreateArchitectureOK() *CreateArchitectureOK

NewCreateArchitectureOK creates a CreateArchitectureOK with default headers values

func (*CreateArchitectureOK) Code

func (o *CreateArchitectureOK) Code() int

Code gets the status code for the create architecture o k response

func (*CreateArchitectureOK) Error

func (o *CreateArchitectureOK) Error() string

func (*CreateArchitectureOK) IsClientError

func (o *CreateArchitectureOK) IsClientError() bool

IsClientError returns true when this create architecture o k response has a 4xx status code

func (*CreateArchitectureOK) IsCode

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

IsCode returns true when this create architecture o k response a status code equal to that given

func (*CreateArchitectureOK) IsRedirect

func (o *CreateArchitectureOK) IsRedirect() bool

IsRedirect returns true when this create architecture o k response has a 3xx status code

func (*CreateArchitectureOK) IsServerError

func (o *CreateArchitectureOK) IsServerError() bool

IsServerError returns true when this create architecture o k response has a 5xx status code

func (*CreateArchitectureOK) IsSuccess

func (o *CreateArchitectureOK) IsSuccess() bool

IsSuccess returns true when this create architecture o k response has a 2xx status code

func (*CreateArchitectureOK) String

func (o *CreateArchitectureOK) String() string

type CreateArchitectureParams

type CreateArchitectureParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	   Details of the Architecture to create.
	*/
	Data *models.HashicorpCloudVagrant20220930Architecture

	/* Provider.

	   The name of the Provider to create the Architecture in.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version.
	*/
	Version string

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

CreateArchitectureParams contains all the parameters to send to the API endpoint

for the create architecture operation.

Typically these are written to a http.Request.

func NewCreateArchitectureParams

func NewCreateArchitectureParams() *CreateArchitectureParams

NewCreateArchitectureParams creates a new CreateArchitectureParams 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 NewCreateArchitectureParamsWithContext

func NewCreateArchitectureParamsWithContext(ctx context.Context) *CreateArchitectureParams

NewCreateArchitectureParamsWithContext creates a new CreateArchitectureParams object with the ability to set a context for a request.

func NewCreateArchitectureParamsWithHTTPClient

func NewCreateArchitectureParamsWithHTTPClient(client *http.Client) *CreateArchitectureParams

NewCreateArchitectureParamsWithHTTPClient creates a new CreateArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewCreateArchitectureParamsWithTimeout

func NewCreateArchitectureParamsWithTimeout(timeout time.Duration) *CreateArchitectureParams

NewCreateArchitectureParamsWithTimeout creates a new CreateArchitectureParams object with the ability to set a timeout on a request.

func (*CreateArchitectureParams) SetBox

func (o *CreateArchitectureParams) SetBox(box string)

SetBox adds the box to the create architecture params

func (*CreateArchitectureParams) SetContext

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

SetContext adds the context to the create architecture params

func (*CreateArchitectureParams) SetData

SetData adds the data to the create architecture params

func (*CreateArchitectureParams) SetDefaults

func (o *CreateArchitectureParams) SetDefaults()

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

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

func (*CreateArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) SetProvider

func (o *CreateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) SetRegistry

func (o *CreateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) SetVersion

func (o *CreateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WithBox

WithBox adds the box to the create architecture params

func (*CreateArchitectureParams) WithContext

WithContext adds the context to the create architecture params

func (*CreateArchitectureParams) WithData

WithData adds the data to the create architecture params

func (*CreateArchitectureParams) WithDefaults

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

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

func (*CreateArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) WithProvider

func (o *CreateArchitectureParams) WithProvider(provider string) *CreateArchitectureParams

WithProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) WithRegistry

func (o *CreateArchitectureParams) WithRegistry(registry string) *CreateArchitectureParams

WithRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) WithTimeout

WithTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) WithVersion

func (o *CreateArchitectureParams) WithVersion(version string) *CreateArchitectureParams

WithVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateArchitectureReader

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

CreateArchitectureReader is a Reader for the CreateArchitecture structure.

func (*CreateArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBoxDefault

type CreateBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateBoxDefault

func NewCreateBoxDefault(code int) *CreateBoxDefault

NewCreateBoxDefault creates a CreateBoxDefault with default headers values

func (*CreateBoxDefault) Code

func (o *CreateBoxDefault) Code() int

Code gets the status code for the create box default response

func (*CreateBoxDefault) Error

func (o *CreateBoxDefault) Error() string

func (*CreateBoxDefault) GetPayload

func (o *CreateBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateBoxDefault) IsClientError

func (o *CreateBoxDefault) IsClientError() bool

IsClientError returns true when this create box default response has a 4xx status code

func (*CreateBoxDefault) IsCode

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

IsCode returns true when this create box default response a status code equal to that given

func (*CreateBoxDefault) IsRedirect

func (o *CreateBoxDefault) IsRedirect() bool

IsRedirect returns true when this create box default response has a 3xx status code

func (*CreateBoxDefault) IsServerError

func (o *CreateBoxDefault) IsServerError() bool

IsServerError returns true when this create box default response has a 5xx status code

func (*CreateBoxDefault) IsSuccess

func (o *CreateBoxDefault) IsSuccess() bool

IsSuccess returns true when this create box default response has a 2xx status code

func (*CreateBoxDefault) String

func (o *CreateBoxDefault) String() string

type CreateBoxOK

type CreateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateBoxResponse
}

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

A successful response.

func NewCreateBoxOK

func NewCreateBoxOK() *CreateBoxOK

NewCreateBoxOK creates a CreateBoxOK with default headers values

func (*CreateBoxOK) Code

func (o *CreateBoxOK) Code() int

Code gets the status code for the create box o k response

func (*CreateBoxOK) Error

func (o *CreateBoxOK) Error() string

func (*CreateBoxOK) GetPayload

func (*CreateBoxOK) IsClientError

func (o *CreateBoxOK) IsClientError() bool

IsClientError returns true when this create box o k response has a 4xx status code

func (*CreateBoxOK) IsCode

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

IsCode returns true when this create box o k response a status code equal to that given

func (*CreateBoxOK) IsRedirect

func (o *CreateBoxOK) IsRedirect() bool

IsRedirect returns true when this create box o k response has a 3xx status code

func (*CreateBoxOK) IsServerError

func (o *CreateBoxOK) IsServerError() bool

IsServerError returns true when this create box o k response has a 5xx status code

func (*CreateBoxOK) IsSuccess

func (o *CreateBoxOK) IsSuccess() bool

IsSuccess returns true when this create box o k response has a 2xx status code

func (*CreateBoxOK) String

func (o *CreateBoxOK) String() string

type CreateBoxParams

type CreateBoxParams struct {

	/* Data.

	     Details of the Box to create. Note that some fields are ignored
	on input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Box

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

CreateBoxParams contains all the parameters to send to the API endpoint

for the create box operation.

Typically these are written to a http.Request.

func NewCreateBoxParams

func NewCreateBoxParams() *CreateBoxParams

NewCreateBoxParams creates a new CreateBoxParams 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 NewCreateBoxParamsWithContext

func NewCreateBoxParamsWithContext(ctx context.Context) *CreateBoxParams

NewCreateBoxParamsWithContext creates a new CreateBoxParams object with the ability to set a context for a request.

func NewCreateBoxParamsWithHTTPClient

func NewCreateBoxParamsWithHTTPClient(client *http.Client) *CreateBoxParams

NewCreateBoxParamsWithHTTPClient creates a new CreateBoxParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBoxParamsWithTimeout

func NewCreateBoxParamsWithTimeout(timeout time.Duration) *CreateBoxParams

NewCreateBoxParamsWithTimeout creates a new CreateBoxParams object with the ability to set a timeout on a request.

func (*CreateBoxParams) SetContext

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

SetContext adds the context to the create box params

func (*CreateBoxParams) SetData

SetData adds the data to the create box params

func (*CreateBoxParams) SetDefaults

func (o *CreateBoxParams) SetDefaults()

SetDefaults hydrates default values in the create box params (not the query body).

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

func (*CreateBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) SetRegistry

func (o *CreateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the create box params

func (*CreateBoxParams) SetTimeout

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

SetTimeout adds the timeout to the create box params

func (*CreateBoxParams) WithContext

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

WithContext adds the context to the create box params

func (*CreateBoxParams) WithData

WithData adds the data to the create box params

func (*CreateBoxParams) WithDefaults

func (o *CreateBoxParams) WithDefaults() *CreateBoxParams

WithDefaults hydrates default values in the create box params (not the query body).

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

func (*CreateBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) WithRegistry

func (o *CreateBoxParams) WithRegistry(registry string) *CreateBoxParams

WithRegistry adds the registry to the create box params

func (*CreateBoxParams) WithTimeout

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

WithTimeout adds the timeout to the create box params

func (*CreateBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBoxReader

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

CreateBoxReader is a Reader for the CreateBox structure.

func (*CreateBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateProviderDefault

type CreateProviderDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateProviderDefault

func NewCreateProviderDefault(code int) *CreateProviderDefault

NewCreateProviderDefault creates a CreateProviderDefault with default headers values

func (*CreateProviderDefault) Code

func (o *CreateProviderDefault) Code() int

Code gets the status code for the create provider default response

func (*CreateProviderDefault) Error

func (o *CreateProviderDefault) Error() string

func (*CreateProviderDefault) GetPayload

func (o *CreateProviderDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateProviderDefault) IsClientError

func (o *CreateProviderDefault) IsClientError() bool

IsClientError returns true when this create provider default response has a 4xx status code

func (*CreateProviderDefault) IsCode

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

IsCode returns true when this create provider default response a status code equal to that given

func (*CreateProviderDefault) IsRedirect

func (o *CreateProviderDefault) IsRedirect() bool

IsRedirect returns true when this create provider default response has a 3xx status code

func (*CreateProviderDefault) IsServerError

func (o *CreateProviderDefault) IsServerError() bool

IsServerError returns true when this create provider default response has a 5xx status code

func (*CreateProviderDefault) IsSuccess

func (o *CreateProviderDefault) IsSuccess() bool

IsSuccess returns true when this create provider default response has a 2xx status code

func (*CreateProviderDefault) String

func (o *CreateProviderDefault) String() string

type CreateProviderOK

type CreateProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateProviderResponse
}

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

A successful response.

func NewCreateProviderOK

func NewCreateProviderOK() *CreateProviderOK

NewCreateProviderOK creates a CreateProviderOK with default headers values

func (*CreateProviderOK) Code

func (o *CreateProviderOK) Code() int

Code gets the status code for the create provider o k response

func (*CreateProviderOK) Error

func (o *CreateProviderOK) Error() string

func (*CreateProviderOK) IsClientError

func (o *CreateProviderOK) IsClientError() bool

IsClientError returns true when this create provider o k response has a 4xx status code

func (*CreateProviderOK) IsCode

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

IsCode returns true when this create provider o k response a status code equal to that given

func (*CreateProviderOK) IsRedirect

func (o *CreateProviderOK) IsRedirect() bool

IsRedirect returns true when this create provider o k response has a 3xx status code

func (*CreateProviderOK) IsServerError

func (o *CreateProviderOK) IsServerError() bool

IsServerError returns true when this create provider o k response has a 5xx status code

func (*CreateProviderOK) IsSuccess

func (o *CreateProviderOK) IsSuccess() bool

IsSuccess returns true when this create provider o k response has a 2xx status code

func (*CreateProviderOK) String

func (o *CreateProviderOK) String() string

type CreateProviderParams

type CreateProviderParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	   Details of the Provider to create.
	*/
	Data *models.HashicorpCloudVagrant20220930Provider

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version to create the Provider in.
	*/
	Version string

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

CreateProviderParams contains all the parameters to send to the API endpoint

for the create provider operation.

Typically these are written to a http.Request.

func NewCreateProviderParams

func NewCreateProviderParams() *CreateProviderParams

NewCreateProviderParams creates a new CreateProviderParams 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 NewCreateProviderParamsWithContext

func NewCreateProviderParamsWithContext(ctx context.Context) *CreateProviderParams

NewCreateProviderParamsWithContext creates a new CreateProviderParams object with the ability to set a context for a request.

func NewCreateProviderParamsWithHTTPClient

func NewCreateProviderParamsWithHTTPClient(client *http.Client) *CreateProviderParams

NewCreateProviderParamsWithHTTPClient creates a new CreateProviderParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProviderParamsWithTimeout

func NewCreateProviderParamsWithTimeout(timeout time.Duration) *CreateProviderParams

NewCreateProviderParamsWithTimeout creates a new CreateProviderParams object with the ability to set a timeout on a request.

func (*CreateProviderParams) SetBox

func (o *CreateProviderParams) SetBox(box string)

SetBox adds the box to the create provider params

func (*CreateProviderParams) SetContext

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

SetContext adds the context to the create provider params

func (*CreateProviderParams) SetData

SetData adds the data to the create provider params

func (*CreateProviderParams) SetDefaults

func (o *CreateProviderParams) SetDefaults()

SetDefaults hydrates default values in the create provider params (not the query body).

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

func (*CreateProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create provider params

func (*CreateProviderParams) SetRegistry

func (o *CreateProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the create provider params

func (*CreateProviderParams) SetTimeout

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

SetTimeout adds the timeout to the create provider params

func (*CreateProviderParams) SetVersion

func (o *CreateProviderParams) SetVersion(version string)

SetVersion adds the version to the create provider params

func (*CreateProviderParams) WithBox

WithBox adds the box to the create provider params

func (*CreateProviderParams) WithContext

WithContext adds the context to the create provider params

func (*CreateProviderParams) WithData

WithData adds the data to the create provider params

func (*CreateProviderParams) WithDefaults

func (o *CreateProviderParams) WithDefaults() *CreateProviderParams

WithDefaults hydrates default values in the create provider params (not the query body).

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

func (*CreateProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create provider params

func (*CreateProviderParams) WithRegistry

func (o *CreateProviderParams) WithRegistry(registry string) *CreateProviderParams

WithRegistry adds the registry to the create provider params

func (*CreateProviderParams) WithTimeout

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

WithTimeout adds the timeout to the create provider params

func (*CreateProviderParams) WithVersion

func (o *CreateProviderParams) WithVersion(version string) *CreateProviderParams

WithVersion adds the version to the create provider params

func (*CreateProviderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateProviderReader

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

CreateProviderReader is a Reader for the CreateProvider structure.

func (*CreateProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRegistryDefault

type CreateRegistryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateRegistryDefault

func NewCreateRegistryDefault(code int) *CreateRegistryDefault

NewCreateRegistryDefault creates a CreateRegistryDefault with default headers values

func (*CreateRegistryDefault) Code

func (o *CreateRegistryDefault) Code() int

Code gets the status code for the create registry default response

func (*CreateRegistryDefault) Error

func (o *CreateRegistryDefault) Error() string

func (*CreateRegistryDefault) GetPayload

func (o *CreateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateRegistryDefault) IsClientError

func (o *CreateRegistryDefault) IsClientError() bool

IsClientError returns true when this create registry default response has a 4xx status code

func (*CreateRegistryDefault) IsCode

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

IsCode returns true when this create registry default response a status code equal to that given

func (*CreateRegistryDefault) IsRedirect

func (o *CreateRegistryDefault) IsRedirect() bool

IsRedirect returns true when this create registry default response has a 3xx status code

func (*CreateRegistryDefault) IsServerError

func (o *CreateRegistryDefault) IsServerError() bool

IsServerError returns true when this create registry default response has a 5xx status code

func (*CreateRegistryDefault) IsSuccess

func (o *CreateRegistryDefault) IsSuccess() bool

IsSuccess returns true when this create registry default response has a 2xx status code

func (*CreateRegistryDefault) String

func (o *CreateRegistryDefault) String() string

type CreateRegistryOK

type CreateRegistryOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateRegistryResponse
}

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

A successful response.

func NewCreateRegistryOK

func NewCreateRegistryOK() *CreateRegistryOK

NewCreateRegistryOK creates a CreateRegistryOK with default headers values

func (*CreateRegistryOK) Code

func (o *CreateRegistryOK) Code() int

Code gets the status code for the create registry o k response

func (*CreateRegistryOK) Error

func (o *CreateRegistryOK) Error() string

func (*CreateRegistryOK) IsClientError

func (o *CreateRegistryOK) IsClientError() bool

IsClientError returns true when this create registry o k response has a 4xx status code

func (*CreateRegistryOK) IsCode

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

IsCode returns true when this create registry o k response a status code equal to that given

func (*CreateRegistryOK) IsRedirect

func (o *CreateRegistryOK) IsRedirect() bool

IsRedirect returns true when this create registry o k response has a 3xx status code

func (*CreateRegistryOK) IsServerError

func (o *CreateRegistryOK) IsServerError() bool

IsServerError returns true when this create registry o k response has a 5xx status code

func (*CreateRegistryOK) IsSuccess

func (o *CreateRegistryOK) IsSuccess() bool

IsSuccess returns true when this create registry o k response has a 2xx status code

func (*CreateRegistryOK) String

func (o *CreateRegistryOK) String() string

type CreateRegistryParams

type CreateRegistryParams struct {

	/* Data.

	     Details of the Registry to create. Note that some fields are ignored
	on input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Registry

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

CreateRegistryParams contains all the parameters to send to the API endpoint

for the create registry operation.

Typically these are written to a http.Request.

func NewCreateRegistryParams

func NewCreateRegistryParams() *CreateRegistryParams

NewCreateRegistryParams creates a new CreateRegistryParams 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 NewCreateRegistryParamsWithContext

func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams

NewCreateRegistryParamsWithContext creates a new CreateRegistryParams object with the ability to set a context for a request.

func NewCreateRegistryParamsWithHTTPClient

func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams

NewCreateRegistryParamsWithHTTPClient creates a new CreateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRegistryParamsWithTimeout

func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams

NewCreateRegistryParamsWithTimeout creates a new CreateRegistryParams object with the ability to set a timeout on a request.

func (*CreateRegistryParams) SetContext

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

SetContext adds the context to the create registry params

func (*CreateRegistryParams) SetData

SetData adds the data to the create registry params

func (*CreateRegistryParams) SetDefaults

func (o *CreateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the create registry params (not the query body).

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

func (*CreateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) WithContext

WithContext adds the context to the create registry params

func (*CreateRegistryParams) WithData

WithData adds the data to the create registry params

func (*CreateRegistryParams) WithDefaults

func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams

WithDefaults hydrates default values in the create registry params (not the query body).

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

func (*CreateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateRegistryReader

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

CreateRegistryReader is a Reader for the CreateRegistry structure.

func (*CreateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateVersionDefault

type CreateVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateVersionDefault

func NewCreateVersionDefault(code int) *CreateVersionDefault

NewCreateVersionDefault creates a CreateVersionDefault with default headers values

func (*CreateVersionDefault) Code

func (o *CreateVersionDefault) Code() int

Code gets the status code for the create version default response

func (*CreateVersionDefault) Error

func (o *CreateVersionDefault) Error() string

func (*CreateVersionDefault) GetPayload

func (o *CreateVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*CreateVersionDefault) IsClientError

func (o *CreateVersionDefault) IsClientError() bool

IsClientError returns true when this create version default response has a 4xx status code

func (*CreateVersionDefault) IsCode

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

IsCode returns true when this create version default response a status code equal to that given

func (*CreateVersionDefault) IsRedirect

func (o *CreateVersionDefault) IsRedirect() bool

IsRedirect returns true when this create version default response has a 3xx status code

func (*CreateVersionDefault) IsServerError

func (o *CreateVersionDefault) IsServerError() bool

IsServerError returns true when this create version default response has a 5xx status code

func (*CreateVersionDefault) IsSuccess

func (o *CreateVersionDefault) IsSuccess() bool

IsSuccess returns true when this create version default response has a 2xx status code

func (*CreateVersionDefault) String

func (o *CreateVersionDefault) String() string

type CreateVersionOK

type CreateVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateVersionResponse
}

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

A successful response.

func NewCreateVersionOK

func NewCreateVersionOK() *CreateVersionOK

NewCreateVersionOK creates a CreateVersionOK with default headers values

func (*CreateVersionOK) Code

func (o *CreateVersionOK) Code() int

Code gets the status code for the create version o k response

func (*CreateVersionOK) Error

func (o *CreateVersionOK) Error() string

func (*CreateVersionOK) IsClientError

func (o *CreateVersionOK) IsClientError() bool

IsClientError returns true when this create version o k response has a 4xx status code

func (*CreateVersionOK) IsCode

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

IsCode returns true when this create version o k response a status code equal to that given

func (*CreateVersionOK) IsRedirect

func (o *CreateVersionOK) IsRedirect() bool

IsRedirect returns true when this create version o k response has a 3xx status code

func (*CreateVersionOK) IsServerError

func (o *CreateVersionOK) IsServerError() bool

IsServerError returns true when this create version o k response has a 5xx status code

func (*CreateVersionOK) IsSuccess

func (o *CreateVersionOK) IsSuccess() bool

IsSuccess returns true when this create version o k response has a 2xx status code

func (*CreateVersionOK) String

func (o *CreateVersionOK) String() string

type CreateVersionParams

type CreateVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	     Details of the Version to create. Note that some fields are ignored
	on input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Version

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

CreateVersionParams contains all the parameters to send to the API endpoint

for the create version operation.

Typically these are written to a http.Request.

func NewCreateVersionParams

func NewCreateVersionParams() *CreateVersionParams

NewCreateVersionParams creates a new CreateVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVersionParamsWithContext

func NewCreateVersionParamsWithContext(ctx context.Context) *CreateVersionParams

NewCreateVersionParamsWithContext creates a new CreateVersionParams object with the ability to set a context for a request.

func NewCreateVersionParamsWithHTTPClient

func NewCreateVersionParamsWithHTTPClient(client *http.Client) *CreateVersionParams

NewCreateVersionParamsWithHTTPClient creates a new CreateVersionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVersionParamsWithTimeout

func NewCreateVersionParamsWithTimeout(timeout time.Duration) *CreateVersionParams

NewCreateVersionParamsWithTimeout creates a new CreateVersionParams object with the ability to set a timeout on a request.

func (*CreateVersionParams) SetBox

func (o *CreateVersionParams) SetBox(box string)

SetBox adds the box to the create version params

func (*CreateVersionParams) SetContext

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

SetContext adds the context to the create version params

func (*CreateVersionParams) SetData

SetData adds the data to the create version params

func (*CreateVersionParams) SetDefaults

func (o *CreateVersionParams) SetDefaults()

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

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

func (*CreateVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create version params

func (*CreateVersionParams) SetRegistry

func (o *CreateVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the create version params

func (*CreateVersionParams) SetTimeout

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

SetTimeout adds the timeout to the create version params

func (*CreateVersionParams) WithBox

WithBox adds the box to the create version params

func (*CreateVersionParams) WithContext

WithContext adds the context to the create version params

func (*CreateVersionParams) WithData

WithData adds the data to the create version params

func (*CreateVersionParams) WithDefaults

func (o *CreateVersionParams) WithDefaults() *CreateVersionParams

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

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

func (*CreateVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create version params

func (*CreateVersionParams) WithRegistry

func (o *CreateVersionParams) WithRegistry(registry string) *CreateVersionParams

WithRegistry adds the registry to the create version params

func (*CreateVersionParams) WithTimeout

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

WithTimeout adds the timeout to the create version params

func (*CreateVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVersionReader

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

CreateVersionReader is a Reader for the CreateVersion structure.

func (*CreateVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeactivateRegistryDefault

type DeactivateRegistryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeactivateRegistryDefault

func NewDeactivateRegistryDefault(code int) *DeactivateRegistryDefault

NewDeactivateRegistryDefault creates a DeactivateRegistryDefault with default headers values

func (*DeactivateRegistryDefault) Code

func (o *DeactivateRegistryDefault) Code() int

Code gets the status code for the deactivate registry default response

func (*DeactivateRegistryDefault) Error

func (o *DeactivateRegistryDefault) Error() string

func (*DeactivateRegistryDefault) GetPayload

func (*DeactivateRegistryDefault) IsClientError

func (o *DeactivateRegistryDefault) IsClientError() bool

IsClientError returns true when this deactivate registry default response has a 4xx status code

func (*DeactivateRegistryDefault) IsCode

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

IsCode returns true when this deactivate registry default response a status code equal to that given

func (*DeactivateRegistryDefault) IsRedirect

func (o *DeactivateRegistryDefault) IsRedirect() bool

IsRedirect returns true when this deactivate registry default response has a 3xx status code

func (*DeactivateRegistryDefault) IsServerError

func (o *DeactivateRegistryDefault) IsServerError() bool

IsServerError returns true when this deactivate registry default response has a 5xx status code

func (*DeactivateRegistryDefault) IsSuccess

func (o *DeactivateRegistryDefault) IsSuccess() bool

IsSuccess returns true when this deactivate registry default response has a 2xx status code

func (*DeactivateRegistryDefault) String

func (o *DeactivateRegistryDefault) String() string

type DeactivateRegistryOK

type DeactivateRegistryOK struct {
	Payload models.HashicorpCloudVagrant20220930DeactivateRegistryResponse
}

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

A successful response.

func NewDeactivateRegistryOK

func NewDeactivateRegistryOK() *DeactivateRegistryOK

NewDeactivateRegistryOK creates a DeactivateRegistryOK with default headers values

func (*DeactivateRegistryOK) Code

func (o *DeactivateRegistryOK) Code() int

Code gets the status code for the deactivate registry o k response

func (*DeactivateRegistryOK) Error

func (o *DeactivateRegistryOK) Error() string

func (*DeactivateRegistryOK) IsClientError

func (o *DeactivateRegistryOK) IsClientError() bool

IsClientError returns true when this deactivate registry o k response has a 4xx status code

func (*DeactivateRegistryOK) IsCode

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

IsCode returns true when this deactivate registry o k response a status code equal to that given

func (*DeactivateRegistryOK) IsRedirect

func (o *DeactivateRegistryOK) IsRedirect() bool

IsRedirect returns true when this deactivate registry o k response has a 3xx status code

func (*DeactivateRegistryOK) IsServerError

func (o *DeactivateRegistryOK) IsServerError() bool

IsServerError returns true when this deactivate registry o k response has a 5xx status code

func (*DeactivateRegistryOK) IsSuccess

func (o *DeactivateRegistryOK) IsSuccess() bool

IsSuccess returns true when this deactivate registry o k response has a 2xx status code

func (*DeactivateRegistryOK) String

func (o *DeactivateRegistryOK) String() string

type DeactivateRegistryParams

type DeactivateRegistryParams struct {

	/* Registry.

	   The name of the Registry to deactivate.
	*/
	Registry string

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

DeactivateRegistryParams contains all the parameters to send to the API endpoint

for the deactivate registry operation.

Typically these are written to a http.Request.

func NewDeactivateRegistryParams

func NewDeactivateRegistryParams() *DeactivateRegistryParams

NewDeactivateRegistryParams creates a new DeactivateRegistryParams 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 NewDeactivateRegistryParamsWithContext

func NewDeactivateRegistryParamsWithContext(ctx context.Context) *DeactivateRegistryParams

NewDeactivateRegistryParamsWithContext creates a new DeactivateRegistryParams object with the ability to set a context for a request.

func NewDeactivateRegistryParamsWithHTTPClient

func NewDeactivateRegistryParamsWithHTTPClient(client *http.Client) *DeactivateRegistryParams

NewDeactivateRegistryParamsWithHTTPClient creates a new DeactivateRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewDeactivateRegistryParamsWithTimeout

func NewDeactivateRegistryParamsWithTimeout(timeout time.Duration) *DeactivateRegistryParams

NewDeactivateRegistryParamsWithTimeout creates a new DeactivateRegistryParams object with the ability to set a timeout on a request.

func (*DeactivateRegistryParams) SetContext

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

SetContext adds the context to the deactivate registry params

func (*DeactivateRegistryParams) SetDefaults

func (o *DeactivateRegistryParams) SetDefaults()

SetDefaults hydrates default values in the deactivate registry params (not the query body).

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

func (*DeactivateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the deactivate registry params

func (*DeactivateRegistryParams) SetRegistry

func (o *DeactivateRegistryParams) SetRegistry(registry string)

SetRegistry adds the registry to the deactivate registry params

func (*DeactivateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the deactivate registry params

func (*DeactivateRegistryParams) WithContext

WithContext adds the context to the deactivate registry params

func (*DeactivateRegistryParams) WithDefaults

WithDefaults hydrates default values in the deactivate registry params (not the query body).

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

func (*DeactivateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the deactivate registry params

func (*DeactivateRegistryParams) WithRegistry

func (o *DeactivateRegistryParams) WithRegistry(registry string) *DeactivateRegistryParams

WithRegistry adds the registry to the deactivate registry params

func (*DeactivateRegistryParams) WithTimeout

WithTimeout adds the timeout to the deactivate registry params

func (*DeactivateRegistryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeactivateRegistryReader

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

DeactivateRegistryReader is a Reader for the DeactivateRegistry structure.

func (*DeactivateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteArchitectureDefault

type DeleteArchitectureDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteArchitectureDefault

func NewDeleteArchitectureDefault(code int) *DeleteArchitectureDefault

NewDeleteArchitectureDefault creates a DeleteArchitectureDefault with default headers values

func (*DeleteArchitectureDefault) Code

func (o *DeleteArchitectureDefault) Code() int

Code gets the status code for the delete architecture default response

func (*DeleteArchitectureDefault) Error

func (o *DeleteArchitectureDefault) Error() string

func (*DeleteArchitectureDefault) GetPayload

func (*DeleteArchitectureDefault) IsClientError

func (o *DeleteArchitectureDefault) IsClientError() bool

IsClientError returns true when this delete architecture default response has a 4xx status code

func (*DeleteArchitectureDefault) IsCode

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

IsCode returns true when this delete architecture default response a status code equal to that given

func (*DeleteArchitectureDefault) IsRedirect

func (o *DeleteArchitectureDefault) IsRedirect() bool

IsRedirect returns true when this delete architecture default response has a 3xx status code

func (*DeleteArchitectureDefault) IsServerError

func (o *DeleteArchitectureDefault) IsServerError() bool

IsServerError returns true when this delete architecture default response has a 5xx status code

func (*DeleteArchitectureDefault) IsSuccess

func (o *DeleteArchitectureDefault) IsSuccess() bool

IsSuccess returns true when this delete architecture default response has a 2xx status code

func (*DeleteArchitectureDefault) String

func (o *DeleteArchitectureDefault) String() string

type DeleteArchitectureOK

type DeleteArchitectureOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
}

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

A successful response.

func NewDeleteArchitectureOK

func NewDeleteArchitectureOK() *DeleteArchitectureOK

NewDeleteArchitectureOK creates a DeleteArchitectureOK with default headers values

func (*DeleteArchitectureOK) Code

func (o *DeleteArchitectureOK) Code() int

Code gets the status code for the delete architecture o k response

func (*DeleteArchitectureOK) Error

func (o *DeleteArchitectureOK) Error() string

func (*DeleteArchitectureOK) IsClientError

func (o *DeleteArchitectureOK) IsClientError() bool

IsClientError returns true when this delete architecture o k response has a 4xx status code

func (*DeleteArchitectureOK) IsCode

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

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

func (*DeleteArchitectureOK) IsRedirect

func (o *DeleteArchitectureOK) IsRedirect() bool

IsRedirect returns true when this delete architecture o k response has a 3xx status code

func (*DeleteArchitectureOK) IsServerError

func (o *DeleteArchitectureOK) IsServerError() bool

IsServerError returns true when this delete architecture o k response has a 5xx status code

func (*DeleteArchitectureOK) IsSuccess

func (o *DeleteArchitectureOK) IsSuccess() bool

IsSuccess returns true when this delete architecture o k response has a 2xx status code

func (*DeleteArchitectureOK) String

func (o *DeleteArchitectureOK) String() string

type DeleteArchitectureParams

type DeleteArchitectureParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

DeleteArchitectureParams contains all the parameters to send to the API endpoint

for the delete architecture operation.

Typically these are written to a http.Request.

func NewDeleteArchitectureParams

func NewDeleteArchitectureParams() *DeleteArchitectureParams

NewDeleteArchitectureParams creates a new DeleteArchitectureParams 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 NewDeleteArchitectureParamsWithContext

func NewDeleteArchitectureParamsWithContext(ctx context.Context) *DeleteArchitectureParams

NewDeleteArchitectureParamsWithContext creates a new DeleteArchitectureParams object with the ability to set a context for a request.

func NewDeleteArchitectureParamsWithHTTPClient

func NewDeleteArchitectureParamsWithHTTPClient(client *http.Client) *DeleteArchitectureParams

NewDeleteArchitectureParamsWithHTTPClient creates a new DeleteArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteArchitectureParamsWithTimeout

func NewDeleteArchitectureParamsWithTimeout(timeout time.Duration) *DeleteArchitectureParams

NewDeleteArchitectureParamsWithTimeout creates a new DeleteArchitectureParams object with the ability to set a timeout on a request.

func (*DeleteArchitectureParams) SetArchitecture

func (o *DeleteArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) SetBox

func (o *DeleteArchitectureParams) SetBox(box string)

SetBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) SetContext

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

SetContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) SetDefaults

func (o *DeleteArchitectureParams) SetDefaults()

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

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

func (*DeleteArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) SetProvider

func (o *DeleteArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) SetRegistry

func (o *DeleteArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) SetVersion

func (o *DeleteArchitectureParams) SetVersion(version string)

SetVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WithArchitecture

func (o *DeleteArchitectureParams) WithArchitecture(architecture string) *DeleteArchitectureParams

WithArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) WithBox

WithBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) WithContext

WithContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) WithDefaults

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

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

func (*DeleteArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) WithProvider

func (o *DeleteArchitectureParams) WithProvider(provider string) *DeleteArchitectureParams

WithProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) WithRegistry

func (o *DeleteArchitectureParams) WithRegistry(registry string) *DeleteArchitectureParams

WithRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) WithTimeout

WithTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) WithVersion

func (o *DeleteArchitectureParams) WithVersion(version string) *DeleteArchitectureParams

WithVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteArchitectureReader

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

DeleteArchitectureReader is a Reader for the DeleteArchitecture structure.

func (*DeleteArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBoxDefault

type DeleteBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteBoxDefault

func NewDeleteBoxDefault(code int) *DeleteBoxDefault

NewDeleteBoxDefault creates a DeleteBoxDefault with default headers values

func (*DeleteBoxDefault) Code

func (o *DeleteBoxDefault) Code() int

Code gets the status code for the delete box default response

func (*DeleteBoxDefault) Error

func (o *DeleteBoxDefault) Error() string

func (*DeleteBoxDefault) GetPayload

func (o *DeleteBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteBoxDefault) IsClientError

func (o *DeleteBoxDefault) IsClientError() bool

IsClientError returns true when this delete box default response has a 4xx status code

func (*DeleteBoxDefault) IsCode

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

IsCode returns true when this delete box default response a status code equal to that given

func (*DeleteBoxDefault) IsRedirect

func (o *DeleteBoxDefault) IsRedirect() bool

IsRedirect returns true when this delete box default response has a 3xx status code

func (*DeleteBoxDefault) IsServerError

func (o *DeleteBoxDefault) IsServerError() bool

IsServerError returns true when this delete box default response has a 5xx status code

func (*DeleteBoxDefault) IsSuccess

func (o *DeleteBoxDefault) IsSuccess() bool

IsSuccess returns true when this delete box default response has a 2xx status code

func (*DeleteBoxDefault) String

func (o *DeleteBoxDefault) String() string

type DeleteBoxOK

type DeleteBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DeleteBoxResponse
}

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

A successful response.

func NewDeleteBoxOK

func NewDeleteBoxOK() *DeleteBoxOK

NewDeleteBoxOK creates a DeleteBoxOK with default headers values

func (*DeleteBoxOK) Code

func (o *DeleteBoxOK) Code() int

Code gets the status code for the delete box o k response

func (*DeleteBoxOK) Error

func (o *DeleteBoxOK) Error() string

func (*DeleteBoxOK) GetPayload

func (*DeleteBoxOK) IsClientError

func (o *DeleteBoxOK) IsClientError() bool

IsClientError returns true when this delete box o k response has a 4xx status code

func (*DeleteBoxOK) IsCode

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

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

func (*DeleteBoxOK) IsRedirect

func (o *DeleteBoxOK) IsRedirect() bool

IsRedirect returns true when this delete box o k response has a 3xx status code

func (*DeleteBoxOK) IsServerError

func (o *DeleteBoxOK) IsServerError() bool

IsServerError returns true when this delete box o k response has a 5xx status code

func (*DeleteBoxOK) IsSuccess

func (o *DeleteBoxOK) IsSuccess() bool

IsSuccess returns true when this delete box o k response has a 2xx status code

func (*DeleteBoxOK) String

func (o *DeleteBoxOK) String() string

type DeleteBoxParams

type DeleteBoxParams struct {

	/* Box.

	     The name segment of the Box to delete. As an example, this field would
	represent the "vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

DeleteBoxParams contains all the parameters to send to the API endpoint

for the delete box operation.

Typically these are written to a http.Request.

func NewDeleteBoxParams

func NewDeleteBoxParams() *DeleteBoxParams

NewDeleteBoxParams creates a new DeleteBoxParams 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 NewDeleteBoxParamsWithContext

func NewDeleteBoxParamsWithContext(ctx context.Context) *DeleteBoxParams

NewDeleteBoxParamsWithContext creates a new DeleteBoxParams object with the ability to set a context for a request.

func NewDeleteBoxParamsWithHTTPClient

func NewDeleteBoxParamsWithHTTPClient(client *http.Client) *DeleteBoxParams

NewDeleteBoxParamsWithHTTPClient creates a new DeleteBoxParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBoxParamsWithTimeout

func NewDeleteBoxParamsWithTimeout(timeout time.Duration) *DeleteBoxParams

NewDeleteBoxParamsWithTimeout creates a new DeleteBoxParams object with the ability to set a timeout on a request.

func (*DeleteBoxParams) SetBox

func (o *DeleteBoxParams) SetBox(box string)

SetBox adds the box to the delete box params

func (*DeleteBoxParams) SetContext

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

SetContext adds the context to the delete box params

func (*DeleteBoxParams) SetDefaults

func (o *DeleteBoxParams) SetDefaults()

SetDefaults hydrates default values in the delete box params (not the query body).

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

func (*DeleteBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) SetRegistry

func (o *DeleteBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete box params

func (*DeleteBoxParams) SetTimeout

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

SetTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WithBox

func (o *DeleteBoxParams) WithBox(box string) *DeleteBoxParams

WithBox adds the box to the delete box params

func (*DeleteBoxParams) WithContext

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

WithContext adds the context to the delete box params

func (*DeleteBoxParams) WithDefaults

func (o *DeleteBoxParams) WithDefaults() *DeleteBoxParams

WithDefaults hydrates default values in the delete box params (not the query body).

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

func (*DeleteBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) WithRegistry

func (o *DeleteBoxParams) WithRegistry(registry string) *DeleteBoxParams

WithRegistry adds the registry to the delete box params

func (*DeleteBoxParams) WithTimeout

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

WithTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBoxReader

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

DeleteBoxReader is a Reader for the DeleteBox structure.

func (*DeleteBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProviderDefault

type DeleteProviderDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteProviderDefault

func NewDeleteProviderDefault(code int) *DeleteProviderDefault

NewDeleteProviderDefault creates a DeleteProviderDefault with default headers values

func (*DeleteProviderDefault) Code

func (o *DeleteProviderDefault) Code() int

Code gets the status code for the delete provider default response

func (*DeleteProviderDefault) Error

func (o *DeleteProviderDefault) Error() string

func (*DeleteProviderDefault) GetPayload

func (o *DeleteProviderDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteProviderDefault) IsClientError

func (o *DeleteProviderDefault) IsClientError() bool

IsClientError returns true when this delete provider default response has a 4xx status code

func (*DeleteProviderDefault) IsCode

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

IsCode returns true when this delete provider default response a status code equal to that given

func (*DeleteProviderDefault) IsRedirect

func (o *DeleteProviderDefault) IsRedirect() bool

IsRedirect returns true when this delete provider default response has a 3xx status code

func (*DeleteProviderDefault) IsServerError

func (o *DeleteProviderDefault) IsServerError() bool

IsServerError returns true when this delete provider default response has a 5xx status code

func (*DeleteProviderDefault) IsSuccess

func (o *DeleteProviderDefault) IsSuccess() bool

IsSuccess returns true when this delete provider default response has a 2xx status code

func (*DeleteProviderDefault) String

func (o *DeleteProviderDefault) String() string

type DeleteProviderOK

type DeleteProviderOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteProviderResponse
}

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

A successful response.

func NewDeleteProviderOK

func NewDeleteProviderOK() *DeleteProviderOK

NewDeleteProviderOK creates a DeleteProviderOK with default headers values

func (*DeleteProviderOK) Code

func (o *DeleteProviderOK) Code() int

Code gets the status code for the delete provider o k response

func (*DeleteProviderOK) Error

func (o *DeleteProviderOK) Error() string

func (*DeleteProviderOK) IsClientError

func (o *DeleteProviderOK) IsClientError() bool

IsClientError returns true when this delete provider o k response has a 4xx status code

func (*DeleteProviderOK) IsCode

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

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

func (*DeleteProviderOK) IsRedirect

func (o *DeleteProviderOK) IsRedirect() bool

IsRedirect returns true when this delete provider o k response has a 3xx status code

func (*DeleteProviderOK) IsServerError

func (o *DeleteProviderOK) IsServerError() bool

IsServerError returns true when this delete provider o k response has a 5xx status code

func (*DeleteProviderOK) IsSuccess

func (o *DeleteProviderOK) IsSuccess() bool

IsSuccess returns true when this delete provider o k response has a 2xx status code

func (*DeleteProviderOK) String

func (o *DeleteProviderOK) String() string

type DeleteProviderParams

type DeleteProviderParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

DeleteProviderParams contains all the parameters to send to the API endpoint

for the delete provider operation.

Typically these are written to a http.Request.

func NewDeleteProviderParams

func NewDeleteProviderParams() *DeleteProviderParams

NewDeleteProviderParams creates a new DeleteProviderParams 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 NewDeleteProviderParamsWithContext

func NewDeleteProviderParamsWithContext(ctx context.Context) *DeleteProviderParams

NewDeleteProviderParamsWithContext creates a new DeleteProviderParams object with the ability to set a context for a request.

func NewDeleteProviderParamsWithHTTPClient

func NewDeleteProviderParamsWithHTTPClient(client *http.Client) *DeleteProviderParams

NewDeleteProviderParamsWithHTTPClient creates a new DeleteProviderParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProviderParamsWithTimeout

func NewDeleteProviderParamsWithTimeout(timeout time.Duration) *DeleteProviderParams

NewDeleteProviderParamsWithTimeout creates a new DeleteProviderParams object with the ability to set a timeout on a request.

func (*DeleteProviderParams) SetBox

func (o *DeleteProviderParams) SetBox(box string)

SetBox adds the box to the delete provider params

func (*DeleteProviderParams) SetContext

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

SetContext adds the context to the delete provider params

func (*DeleteProviderParams) SetDefaults

func (o *DeleteProviderParams) SetDefaults()

SetDefaults hydrates default values in the delete provider params (not the query body).

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

func (*DeleteProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete provider params

func (*DeleteProviderParams) SetProvider

func (o *DeleteProviderParams) SetProvider(provider string)

SetProvider adds the provider to the delete provider params

func (*DeleteProviderParams) SetRegistry

func (o *DeleteProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete provider params

func (*DeleteProviderParams) SetTimeout

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

SetTimeout adds the timeout to the delete provider params

func (*DeleteProviderParams) SetVersion

func (o *DeleteProviderParams) SetVersion(version string)

SetVersion adds the version to the delete provider params

func (*DeleteProviderParams) WithBox

WithBox adds the box to the delete provider params

func (*DeleteProviderParams) WithContext

WithContext adds the context to the delete provider params

func (*DeleteProviderParams) WithDefaults

func (o *DeleteProviderParams) WithDefaults() *DeleteProviderParams

WithDefaults hydrates default values in the delete provider params (not the query body).

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

func (*DeleteProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete provider params

func (*DeleteProviderParams) WithProvider

func (o *DeleteProviderParams) WithProvider(provider string) *DeleteProviderParams

WithProvider adds the provider to the delete provider params

func (*DeleteProviderParams) WithRegistry

func (o *DeleteProviderParams) WithRegistry(registry string) *DeleteProviderParams

WithRegistry adds the registry to the delete provider params

func (*DeleteProviderParams) WithTimeout

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

WithTimeout adds the timeout to the delete provider params

func (*DeleteProviderParams) WithVersion

func (o *DeleteProviderParams) WithVersion(version string) *DeleteProviderParams

WithVersion adds the version to the delete provider params

func (*DeleteProviderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteProviderReader

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

DeleteProviderReader is a Reader for the DeleteProvider structure.

func (*DeleteProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistryDefault

type DeleteRegistryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteRegistryDefault

func NewDeleteRegistryDefault(code int) *DeleteRegistryDefault

NewDeleteRegistryDefault creates a DeleteRegistryDefault with default headers values

func (*DeleteRegistryDefault) Code

func (o *DeleteRegistryDefault) Code() int

Code gets the status code for the delete registry default response

func (*DeleteRegistryDefault) Error

func (o *DeleteRegistryDefault) Error() string

func (*DeleteRegistryDefault) GetPayload

func (o *DeleteRegistryDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteRegistryDefault) IsClientError

func (o *DeleteRegistryDefault) IsClientError() bool

IsClientError returns true when this delete registry default response has a 4xx status code

func (*DeleteRegistryDefault) IsCode

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

IsCode returns true when this delete registry default response a status code equal to that given

func (*DeleteRegistryDefault) IsRedirect

func (o *DeleteRegistryDefault) IsRedirect() bool

IsRedirect returns true when this delete registry default response has a 3xx status code

func (*DeleteRegistryDefault) IsServerError

func (o *DeleteRegistryDefault) IsServerError() bool

IsServerError returns true when this delete registry default response has a 5xx status code

func (*DeleteRegistryDefault) IsSuccess

func (o *DeleteRegistryDefault) IsSuccess() bool

IsSuccess returns true when this delete registry default response has a 2xx status code

func (*DeleteRegistryDefault) String

func (o *DeleteRegistryDefault) String() string

type DeleteRegistryOK

type DeleteRegistryOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteRegistryResponse
}

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

A successful response.

func NewDeleteRegistryOK

func NewDeleteRegistryOK() *DeleteRegistryOK

NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values

func (*DeleteRegistryOK) Code

func (o *DeleteRegistryOK) Code() int

Code gets the status code for the delete registry o k response

func (*DeleteRegistryOK) Error

func (o *DeleteRegistryOK) Error() string

func (*DeleteRegistryOK) IsClientError

func (o *DeleteRegistryOK) IsClientError() bool

IsClientError returns true when this delete registry o k response has a 4xx status code

func (*DeleteRegistryOK) IsCode

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

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

func (*DeleteRegistryOK) IsRedirect

func (o *DeleteRegistryOK) IsRedirect() bool

IsRedirect returns true when this delete registry o k response has a 3xx status code

func (*DeleteRegistryOK) IsServerError

func (o *DeleteRegistryOK) IsServerError() bool

IsServerError returns true when this delete registry o k response has a 5xx status code

func (*DeleteRegistryOK) IsSuccess

func (o *DeleteRegistryOK) IsSuccess() bool

IsSuccess returns true when this delete registry o k response has a 2xx status code

func (*DeleteRegistryOK) String

func (o *DeleteRegistryOK) String() string

type DeleteRegistryParams

type DeleteRegistryParams struct {

	/* Registry.

	   The name of the Registry to delete.
	*/
	Registry string

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

DeleteRegistryParams contains all the parameters to send to the API endpoint

for the delete registry operation.

Typically these are written to a http.Request.

func NewDeleteRegistryParams

func NewDeleteRegistryParams() *DeleteRegistryParams

NewDeleteRegistryParams creates a new DeleteRegistryParams 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 NewDeleteRegistryParamsWithContext

func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams

NewDeleteRegistryParamsWithContext creates a new DeleteRegistryParams object with the ability to set a context for a request.

func NewDeleteRegistryParamsWithHTTPClient

func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams

NewDeleteRegistryParamsWithHTTPClient creates a new DeleteRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRegistryParamsWithTimeout

func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams

NewDeleteRegistryParamsWithTimeout creates a new DeleteRegistryParams object with the ability to set a timeout on a request.

func (*DeleteRegistryParams) SetContext

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

SetContext adds the context to the delete registry params

func (*DeleteRegistryParams) SetDefaults

func (o *DeleteRegistryParams) SetDefaults()

SetDefaults hydrates default values in the delete registry params (not the query body).

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

func (*DeleteRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) SetRegistry

func (o *DeleteRegistryParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete registry params

func (*DeleteRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) WithContext

WithContext adds the context to the delete registry params

func (*DeleteRegistryParams) WithDefaults

func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams

WithDefaults hydrates default values in the delete registry params (not the query body).

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

func (*DeleteRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) WithRegistry

func (o *DeleteRegistryParams) WithRegistry(registry string) *DeleteRegistryParams

WithRegistry adds the registry to the delete registry params

func (*DeleteRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRegistryReader

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

DeleteRegistryReader is a Reader for the DeleteRegistry structure.

func (*DeleteRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVersionDefault

type DeleteVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteVersionDefault

func NewDeleteVersionDefault(code int) *DeleteVersionDefault

NewDeleteVersionDefault creates a DeleteVersionDefault with default headers values

func (*DeleteVersionDefault) Code

func (o *DeleteVersionDefault) Code() int

Code gets the status code for the delete version default response

func (*DeleteVersionDefault) Error

func (o *DeleteVersionDefault) Error() string

func (*DeleteVersionDefault) GetPayload

func (o *DeleteVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DeleteVersionDefault) IsClientError

func (o *DeleteVersionDefault) IsClientError() bool

IsClientError returns true when this delete version default response has a 4xx status code

func (*DeleteVersionDefault) IsCode

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

IsCode returns true when this delete version default response a status code equal to that given

func (*DeleteVersionDefault) IsRedirect

func (o *DeleteVersionDefault) IsRedirect() bool

IsRedirect returns true when this delete version default response has a 3xx status code

func (*DeleteVersionDefault) IsServerError

func (o *DeleteVersionDefault) IsServerError() bool

IsServerError returns true when this delete version default response has a 5xx status code

func (*DeleteVersionDefault) IsSuccess

func (o *DeleteVersionDefault) IsSuccess() bool

IsSuccess returns true when this delete version default response has a 2xx status code

func (*DeleteVersionDefault) String

func (o *DeleteVersionDefault) String() string

type DeleteVersionOK

type DeleteVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteVersionResponse
}

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

A successful response.

func NewDeleteVersionOK

func NewDeleteVersionOK() *DeleteVersionOK

NewDeleteVersionOK creates a DeleteVersionOK with default headers values

func (*DeleteVersionOK) Code

func (o *DeleteVersionOK) Code() int

Code gets the status code for the delete version o k response

func (*DeleteVersionOK) Error

func (o *DeleteVersionOK) Error() string

func (*DeleteVersionOK) IsClientError

func (o *DeleteVersionOK) IsClientError() bool

IsClientError returns true when this delete version o k response has a 4xx status code

func (*DeleteVersionOK) IsCode

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

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

func (*DeleteVersionOK) IsRedirect

func (o *DeleteVersionOK) IsRedirect() bool

IsRedirect returns true when this delete version o k response has a 3xx status code

func (*DeleteVersionOK) IsServerError

func (o *DeleteVersionOK) IsServerError() bool

IsServerError returns true when this delete version o k response has a 5xx status code

func (*DeleteVersionOK) IsSuccess

func (o *DeleteVersionOK) IsSuccess() bool

IsSuccess returns true when this delete version o k response has a 2xx status code

func (*DeleteVersionOK) String

func (o *DeleteVersionOK) String() string

type DeleteVersionParams

type DeleteVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version to delete.
	*/
	Version string

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

DeleteVersionParams contains all the parameters to send to the API endpoint

for the delete version operation.

Typically these are written to a http.Request.

func NewDeleteVersionParams

func NewDeleteVersionParams() *DeleteVersionParams

NewDeleteVersionParams creates a new DeleteVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVersionParamsWithContext

func NewDeleteVersionParamsWithContext(ctx context.Context) *DeleteVersionParams

NewDeleteVersionParamsWithContext creates a new DeleteVersionParams object with the ability to set a context for a request.

func NewDeleteVersionParamsWithHTTPClient

func NewDeleteVersionParamsWithHTTPClient(client *http.Client) *DeleteVersionParams

NewDeleteVersionParamsWithHTTPClient creates a new DeleteVersionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVersionParamsWithTimeout

func NewDeleteVersionParamsWithTimeout(timeout time.Duration) *DeleteVersionParams

NewDeleteVersionParamsWithTimeout creates a new DeleteVersionParams object with the ability to set a timeout on a request.

func (*DeleteVersionParams) SetBox

func (o *DeleteVersionParams) SetBox(box string)

SetBox adds the box to the delete version params

func (*DeleteVersionParams) SetContext

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

SetContext adds the context to the delete version params

func (*DeleteVersionParams) SetDefaults

func (o *DeleteVersionParams) SetDefaults()

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

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

func (*DeleteVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete version params

func (*DeleteVersionParams) SetRegistry

func (o *DeleteVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete version params

func (*DeleteVersionParams) SetTimeout

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

SetTimeout adds the timeout to the delete version params

func (*DeleteVersionParams) SetVersion

func (o *DeleteVersionParams) SetVersion(version string)

SetVersion adds the version to the delete version params

func (*DeleteVersionParams) WithBox

WithBox adds the box to the delete version params

func (*DeleteVersionParams) WithContext

WithContext adds the context to the delete version params

func (*DeleteVersionParams) WithDefaults

func (o *DeleteVersionParams) WithDefaults() *DeleteVersionParams

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

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

func (*DeleteVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete version params

func (*DeleteVersionParams) WithRegistry

func (o *DeleteVersionParams) WithRegistry(registry string) *DeleteVersionParams

WithRegistry adds the registry to the delete version params

func (*DeleteVersionParams) WithTimeout

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

WithTimeout adds the timeout to the delete version params

func (*DeleteVersionParams) WithVersion

func (o *DeleteVersionParams) WithVersion(version string) *DeleteVersionParams

WithVersion adds the version to the delete version params

func (*DeleteVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteVersionReader

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

DeleteVersionReader is a Reader for the DeleteVersion structure.

func (*DeleteVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DirectUploadBoxDefault

type DirectUploadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDirectUploadBoxDefault

func NewDirectUploadBoxDefault(code int) *DirectUploadBoxDefault

NewDirectUploadBoxDefault creates a DirectUploadBoxDefault with default headers values

func (*DirectUploadBoxDefault) Code

func (o *DirectUploadBoxDefault) Code() int

Code gets the status code for the direct upload box default response

func (*DirectUploadBoxDefault) Error

func (o *DirectUploadBoxDefault) Error() string

func (*DirectUploadBoxDefault) GetPayload

func (o *DirectUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DirectUploadBoxDefault) IsClientError

func (o *DirectUploadBoxDefault) IsClientError() bool

IsClientError returns true when this direct upload box default response has a 4xx status code

func (*DirectUploadBoxDefault) IsCode

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

IsCode returns true when this direct upload box default response a status code equal to that given

func (*DirectUploadBoxDefault) IsRedirect

func (o *DirectUploadBoxDefault) IsRedirect() bool

IsRedirect returns true when this direct upload box default response has a 3xx status code

func (*DirectUploadBoxDefault) IsServerError

func (o *DirectUploadBoxDefault) IsServerError() bool

IsServerError returns true when this direct upload box default response has a 5xx status code

func (*DirectUploadBoxDefault) IsSuccess

func (o *DirectUploadBoxDefault) IsSuccess() bool

IsSuccess returns true when this direct upload box default response has a 2xx status code

func (*DirectUploadBoxDefault) String

func (o *DirectUploadBoxDefault) String() string

type DirectUploadBoxOK

type DirectUploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse
}

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

A successful response.

func NewDirectUploadBoxOK

func NewDirectUploadBoxOK() *DirectUploadBoxOK

NewDirectUploadBoxOK creates a DirectUploadBoxOK with default headers values

func (*DirectUploadBoxOK) Code

func (o *DirectUploadBoxOK) Code() int

Code gets the status code for the direct upload box o k response

func (*DirectUploadBoxOK) Error

func (o *DirectUploadBoxOK) Error() string

func (*DirectUploadBoxOK) IsClientError

func (o *DirectUploadBoxOK) IsClientError() bool

IsClientError returns true when this direct upload box o k response has a 4xx status code

func (*DirectUploadBoxOK) IsCode

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

IsCode returns true when this direct upload box o k response a status code equal to that given

func (*DirectUploadBoxOK) IsRedirect

func (o *DirectUploadBoxOK) IsRedirect() bool

IsRedirect returns true when this direct upload box o k response has a 3xx status code

func (*DirectUploadBoxOK) IsServerError

func (o *DirectUploadBoxOK) IsServerError() bool

IsServerError returns true when this direct upload box o k response has a 5xx status code

func (*DirectUploadBoxOK) IsSuccess

func (o *DirectUploadBoxOK) IsSuccess() bool

IsSuccess returns true when this direct upload box o k response has a 2xx status code

func (*DirectUploadBoxOK) String

func (o *DirectUploadBoxOK) String() string

type DirectUploadBoxParams

type DirectUploadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

DirectUploadBoxParams contains all the parameters to send to the API endpoint

for the direct upload box operation.

Typically these are written to a http.Request.

func NewDirectUploadBoxParams

func NewDirectUploadBoxParams() *DirectUploadBoxParams

NewDirectUploadBoxParams creates a new DirectUploadBoxParams 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 NewDirectUploadBoxParamsWithContext

func NewDirectUploadBoxParamsWithContext(ctx context.Context) *DirectUploadBoxParams

NewDirectUploadBoxParamsWithContext creates a new DirectUploadBoxParams object with the ability to set a context for a request.

func NewDirectUploadBoxParamsWithHTTPClient

func NewDirectUploadBoxParamsWithHTTPClient(client *http.Client) *DirectUploadBoxParams

NewDirectUploadBoxParamsWithHTTPClient creates a new DirectUploadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewDirectUploadBoxParamsWithTimeout

func NewDirectUploadBoxParamsWithTimeout(timeout time.Duration) *DirectUploadBoxParams

NewDirectUploadBoxParamsWithTimeout creates a new DirectUploadBoxParams object with the ability to set a timeout on a request.

func (*DirectUploadBoxParams) SetArchitecture

func (o *DirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) SetBox

func (o *DirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) SetContext

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

SetContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) SetDefaults

func (o *DirectUploadBoxParams) SetDefaults()

SetDefaults hydrates default values in the direct upload box params (not the query body).

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

func (*DirectUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) SetProvider

func (o *DirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) SetRegistry

func (o *DirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) SetVersion

func (o *DirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WithArchitecture

func (o *DirectUploadBoxParams) WithArchitecture(architecture string) *DirectUploadBoxParams

WithArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) WithBox

WithBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) WithContext

WithContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) WithDefaults

func (o *DirectUploadBoxParams) WithDefaults() *DirectUploadBoxParams

WithDefaults hydrates default values in the direct upload box params (not the query body).

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

func (*DirectUploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) WithProvider

func (o *DirectUploadBoxParams) WithProvider(provider string) *DirectUploadBoxParams

WithProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) WithRegistry

func (o *DirectUploadBoxParams) WithRegistry(registry string) *DirectUploadBoxParams

WithRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) WithVersion

func (o *DirectUploadBoxParams) WithVersion(version string) *DirectUploadBoxParams

WithVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DirectUploadBoxReader

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

DirectUploadBoxReader is a Reader for the DirectUploadBox structure.

func (*DirectUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadBoxDefault

type DownloadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDownloadBoxDefault

func NewDownloadBoxDefault(code int) *DownloadBoxDefault

NewDownloadBoxDefault creates a DownloadBoxDefault with default headers values

func (*DownloadBoxDefault) Code

func (o *DownloadBoxDefault) Code() int

Code gets the status code for the download box default response

func (*DownloadBoxDefault) Error

func (o *DownloadBoxDefault) Error() string

func (*DownloadBoxDefault) GetPayload

func (o *DownloadBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*DownloadBoxDefault) IsClientError

func (o *DownloadBoxDefault) IsClientError() bool

IsClientError returns true when this download box default response has a 4xx status code

func (*DownloadBoxDefault) IsCode

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

IsCode returns true when this download box default response a status code equal to that given

func (*DownloadBoxDefault) IsRedirect

func (o *DownloadBoxDefault) IsRedirect() bool

IsRedirect returns true when this download box default response has a 3xx status code

func (*DownloadBoxDefault) IsServerError

func (o *DownloadBoxDefault) IsServerError() bool

IsServerError returns true when this download box default response has a 5xx status code

func (*DownloadBoxDefault) IsSuccess

func (o *DownloadBoxDefault) IsSuccess() bool

IsSuccess returns true when this download box default response has a 2xx status code

func (*DownloadBoxDefault) String

func (o *DownloadBoxDefault) String() string

type DownloadBoxOK

type DownloadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DownloadBoxResponse
}

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

A successful response.

func NewDownloadBoxOK

func NewDownloadBoxOK() *DownloadBoxOK

NewDownloadBoxOK creates a DownloadBoxOK with default headers values

func (*DownloadBoxOK) Code

func (o *DownloadBoxOK) Code() int

Code gets the status code for the download box o k response

func (*DownloadBoxOK) Error

func (o *DownloadBoxOK) Error() string

func (*DownloadBoxOK) IsClientError

func (o *DownloadBoxOK) IsClientError() bool

IsClientError returns true when this download box o k response has a 4xx status code

func (*DownloadBoxOK) IsCode

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

IsCode returns true when this download box o k response a status code equal to that given

func (*DownloadBoxOK) IsRedirect

func (o *DownloadBoxOK) IsRedirect() bool

IsRedirect returns true when this download box o k response has a 3xx status code

func (*DownloadBoxOK) IsServerError

func (o *DownloadBoxOK) IsServerError() bool

IsServerError returns true when this download box o k response has a 5xx status code

func (*DownloadBoxOK) IsSuccess

func (o *DownloadBoxOK) IsSuccess() bool

IsSuccess returns true when this download box o k response has a 2xx status code

func (*DownloadBoxOK) String

func (o *DownloadBoxOK) String() string

type DownloadBoxParams

type DownloadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

DownloadBoxParams contains all the parameters to send to the API endpoint

for the download box operation.

Typically these are written to a http.Request.

func NewDownloadBoxParams

func NewDownloadBoxParams() *DownloadBoxParams

NewDownloadBoxParams creates a new DownloadBoxParams 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 NewDownloadBoxParamsWithContext

func NewDownloadBoxParamsWithContext(ctx context.Context) *DownloadBoxParams

NewDownloadBoxParamsWithContext creates a new DownloadBoxParams object with the ability to set a context for a request.

func NewDownloadBoxParamsWithHTTPClient

func NewDownloadBoxParamsWithHTTPClient(client *http.Client) *DownloadBoxParams

NewDownloadBoxParamsWithHTTPClient creates a new DownloadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewDownloadBoxParamsWithTimeout

func NewDownloadBoxParamsWithTimeout(timeout time.Duration) *DownloadBoxParams

NewDownloadBoxParamsWithTimeout creates a new DownloadBoxParams object with the ability to set a timeout on a request.

func (*DownloadBoxParams) SetArchitecture

func (o *DownloadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) SetBox

func (o *DownloadBoxParams) SetBox(box string)

SetBox adds the box to the download box params

func (*DownloadBoxParams) SetContext

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

SetContext adds the context to the download box params

func (*DownloadBoxParams) SetDefaults

func (o *DownloadBoxParams) SetDefaults()

SetDefaults hydrates default values in the download box params (not the query body).

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

func (*DownloadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) SetProvider

func (o *DownloadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the download box params

func (*DownloadBoxParams) SetRegistry

func (o *DownloadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the download box params

func (*DownloadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the download box params

func (*DownloadBoxParams) SetVersion

func (o *DownloadBoxParams) SetVersion(version string)

SetVersion adds the version to the download box params

func (*DownloadBoxParams) WithArchitecture

func (o *DownloadBoxParams) WithArchitecture(architecture string) *DownloadBoxParams

WithArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) WithBox

func (o *DownloadBoxParams) WithBox(box string) *DownloadBoxParams

WithBox adds the box to the download box params

func (*DownloadBoxParams) WithContext

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

WithContext adds the context to the download box params

func (*DownloadBoxParams) WithDefaults

func (o *DownloadBoxParams) WithDefaults() *DownloadBoxParams

WithDefaults hydrates default values in the download box params (not the query body).

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

func (*DownloadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) WithProvider

func (o *DownloadBoxParams) WithProvider(provider string) *DownloadBoxParams

WithProvider adds the provider to the download box params

func (*DownloadBoxParams) WithRegistry

func (o *DownloadBoxParams) WithRegistry(registry string) *DownloadBoxParams

WithRegistry adds the registry to the download box params

func (*DownloadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the download box params

func (*DownloadBoxParams) WithVersion

func (o *DownloadBoxParams) WithVersion(version string) *DownloadBoxParams

WithVersion adds the version to the download box params

func (*DownloadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DownloadBoxReader

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

DownloadBoxReader is a Reader for the DownloadBox structure.

func (*DownloadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListArchitecturesDefault

type ListArchitecturesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListArchitecturesDefault

func NewListArchitecturesDefault(code int) *ListArchitecturesDefault

NewListArchitecturesDefault creates a ListArchitecturesDefault with default headers values

func (*ListArchitecturesDefault) Code

func (o *ListArchitecturesDefault) Code() int

Code gets the status code for the list architectures default response

func (*ListArchitecturesDefault) Error

func (o *ListArchitecturesDefault) Error() string

func (*ListArchitecturesDefault) GetPayload

func (*ListArchitecturesDefault) IsClientError

func (o *ListArchitecturesDefault) IsClientError() bool

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

func (*ListArchitecturesDefault) IsCode

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

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

func (*ListArchitecturesDefault) IsRedirect

func (o *ListArchitecturesDefault) IsRedirect() bool

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

func (*ListArchitecturesDefault) IsServerError

func (o *ListArchitecturesDefault) IsServerError() bool

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

func (*ListArchitecturesDefault) IsSuccess

func (o *ListArchitecturesDefault) IsSuccess() bool

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

func (*ListArchitecturesDefault) String

func (o *ListArchitecturesDefault) String() string

type ListArchitecturesOK

type ListArchitecturesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
}

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

A successful response.

func NewListArchitecturesOK

func NewListArchitecturesOK() *ListArchitecturesOK

NewListArchitecturesOK creates a ListArchitecturesOK with default headers values

func (*ListArchitecturesOK) Code

func (o *ListArchitecturesOK) Code() int

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

func (*ListArchitecturesOK) Error

func (o *ListArchitecturesOK) Error() string

func (*ListArchitecturesOK) IsClientError

func (o *ListArchitecturesOK) IsClientError() bool

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

func (*ListArchitecturesOK) IsCode

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

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

func (*ListArchitecturesOK) IsRedirect

func (o *ListArchitecturesOK) IsRedirect() bool

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

func (*ListArchitecturesOK) IsServerError

func (o *ListArchitecturesOK) IsServerError() bool

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

func (*ListArchitecturesOK) IsSuccess

func (o *ListArchitecturesOK) IsSuccess() bool

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

func (*ListArchitecturesOK) String

func (o *ListArchitecturesOK) String() string

type ListArchitecturesParams

type ListArchitecturesParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Provider.

	   The name of the Provider to look up Architectures in.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version.
	*/
	Version string

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

ListArchitecturesParams contains all the parameters to send to the API endpoint

for the list architectures operation.

Typically these are written to a http.Request.

func NewListArchitecturesParams

func NewListArchitecturesParams() *ListArchitecturesParams

NewListArchitecturesParams creates a new ListArchitecturesParams 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 NewListArchitecturesParamsWithContext

func NewListArchitecturesParamsWithContext(ctx context.Context) *ListArchitecturesParams

NewListArchitecturesParamsWithContext creates a new ListArchitecturesParams object with the ability to set a context for a request.

func NewListArchitecturesParamsWithHTTPClient

func NewListArchitecturesParamsWithHTTPClient(client *http.Client) *ListArchitecturesParams

NewListArchitecturesParamsWithHTTPClient creates a new ListArchitecturesParams object with the ability to set a custom HTTPClient for a request.

func NewListArchitecturesParamsWithTimeout

func NewListArchitecturesParamsWithTimeout(timeout time.Duration) *ListArchitecturesParams

NewListArchitecturesParamsWithTimeout creates a new ListArchitecturesParams object with the ability to set a timeout on a request.

func (*ListArchitecturesParams) SetBox

func (o *ListArchitecturesParams) SetBox(box string)

SetBox adds the box to the list architectures params

func (*ListArchitecturesParams) SetContext

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

SetContext adds the context to the list architectures params

func (*ListArchitecturesParams) SetDefaults

func (o *ListArchitecturesParams) SetDefaults()

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

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

func (*ListArchitecturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) SetPaginationNextPageToken

func (o *ListArchitecturesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) SetPaginationPageSize

func (o *ListArchitecturesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) SetPaginationPreviousPageToken

func (o *ListArchitecturesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) SetProvider

func (o *ListArchitecturesParams) SetProvider(provider string)

SetProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) SetRegistry

func (o *ListArchitecturesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) SetTimeout

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

SetTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) SetVersion

func (o *ListArchitecturesParams) SetVersion(version string)

SetVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WithBox

WithBox adds the box to the list architectures params

func (*ListArchitecturesParams) WithContext

WithContext adds the context to the list architectures params

func (*ListArchitecturesParams) WithDefaults

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

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

func (*ListArchitecturesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) WithPaginationNextPageToken

func (o *ListArchitecturesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListArchitecturesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) WithPaginationPageSize

func (o *ListArchitecturesParams) WithPaginationPageSize(paginationPageSize *int64) *ListArchitecturesParams

WithPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) WithPaginationPreviousPageToken

func (o *ListArchitecturesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListArchitecturesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) WithProvider

func (o *ListArchitecturesParams) WithProvider(provider string) *ListArchitecturesParams

WithProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) WithRegistry

func (o *ListArchitecturesParams) WithRegistry(registry string) *ListArchitecturesParams

WithRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) WithTimeout

WithTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) WithVersion

func (o *ListArchitecturesParams) WithVersion(version string) *ListArchitecturesParams

WithVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListArchitecturesReader

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

ListArchitecturesReader is a Reader for the ListArchitectures structure.

func (*ListArchitecturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBoxesDefault

type ListBoxesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListBoxesDefault

func NewListBoxesDefault(code int) *ListBoxesDefault

NewListBoxesDefault creates a ListBoxesDefault with default headers values

func (*ListBoxesDefault) Code

func (o *ListBoxesDefault) Code() int

Code gets the status code for the list boxes default response

func (*ListBoxesDefault) Error

func (o *ListBoxesDefault) Error() string

func (*ListBoxesDefault) GetPayload

func (o *ListBoxesDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListBoxesDefault) IsClientError

func (o *ListBoxesDefault) IsClientError() bool

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

func (*ListBoxesDefault) IsCode

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

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

func (*ListBoxesDefault) IsRedirect

func (o *ListBoxesDefault) IsRedirect() bool

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

func (*ListBoxesDefault) IsServerError

func (o *ListBoxesDefault) IsServerError() bool

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

func (*ListBoxesDefault) IsSuccess

func (o *ListBoxesDefault) IsSuccess() bool

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

func (*ListBoxesDefault) String

func (o *ListBoxesDefault) String() string

type ListBoxesOK

type ListBoxesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListBoxesResponse
}

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

A successful response.

func NewListBoxesOK

func NewListBoxesOK() *ListBoxesOK

NewListBoxesOK creates a ListBoxesOK with default headers values

func (*ListBoxesOK) Code

func (o *ListBoxesOK) Code() int

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

func (*ListBoxesOK) Error

func (o *ListBoxesOK) Error() string

func (*ListBoxesOK) GetPayload

func (*ListBoxesOK) IsClientError

func (o *ListBoxesOK) IsClientError() bool

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

func (*ListBoxesOK) IsCode

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

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

func (*ListBoxesOK) IsRedirect

func (o *ListBoxesOK) IsRedirect() bool

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

func (*ListBoxesOK) IsServerError

func (o *ListBoxesOK) IsServerError() bool

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

func (*ListBoxesOK) IsSuccess

func (o *ListBoxesOK) IsSuccess() bool

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

func (*ListBoxesOK) String

func (o *ListBoxesOK) String() string

type ListBoxesParams

type ListBoxesParams struct {

	/* Expanded.

	   Expand the box child elements.
	*/
	Expanded *bool

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Registry.

	   The name of the Registry to list boxes in.
	*/
	Registry string

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

ListBoxesParams contains all the parameters to send to the API endpoint

for the list boxes operation.

Typically these are written to a http.Request.

func NewListBoxesParams

func NewListBoxesParams() *ListBoxesParams

NewListBoxesParams creates a new ListBoxesParams 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 NewListBoxesParamsWithContext

func NewListBoxesParamsWithContext(ctx context.Context) *ListBoxesParams

NewListBoxesParamsWithContext creates a new ListBoxesParams object with the ability to set a context for a request.

func NewListBoxesParamsWithHTTPClient

func NewListBoxesParamsWithHTTPClient(client *http.Client) *ListBoxesParams

NewListBoxesParamsWithHTTPClient creates a new ListBoxesParams object with the ability to set a custom HTTPClient for a request.

func NewListBoxesParamsWithTimeout

func NewListBoxesParamsWithTimeout(timeout time.Duration) *ListBoxesParams

NewListBoxesParamsWithTimeout creates a new ListBoxesParams object with the ability to set a timeout on a request.

func (*ListBoxesParams) SetContext

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

SetContext adds the context to the list boxes params

func (*ListBoxesParams) SetDefaults

func (o *ListBoxesParams) SetDefaults()

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

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

func (*ListBoxesParams) SetExpanded

func (o *ListBoxesParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the list boxes params

func (*ListBoxesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) SetPaginationNextPageToken

func (o *ListBoxesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) SetPaginationPageSize

func (o *ListBoxesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) SetPaginationPreviousPageToken

func (o *ListBoxesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) SetRegistry

func (o *ListBoxesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list boxes params

func (*ListBoxesParams) SetTimeout

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

SetTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WithContext

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

WithContext adds the context to the list boxes params

func (*ListBoxesParams) WithDefaults

func (o *ListBoxesParams) WithDefaults() *ListBoxesParams

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

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

func (*ListBoxesParams) WithExpanded

func (o *ListBoxesParams) WithExpanded(expanded *bool) *ListBoxesParams

WithExpanded adds the expanded to the list boxes params

func (*ListBoxesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) WithPaginationNextPageToken

func (o *ListBoxesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListBoxesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) WithPaginationPageSize

func (o *ListBoxesParams) WithPaginationPageSize(paginationPageSize *int64) *ListBoxesParams

WithPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) WithPaginationPreviousPageToken

func (o *ListBoxesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListBoxesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) WithRegistry

func (o *ListBoxesParams) WithRegistry(registry string) *ListBoxesParams

WithRegistry adds the registry to the list boxes params

func (*ListBoxesParams) WithTimeout

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

WithTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListBoxesReader

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

ListBoxesReader is a Reader for the ListBoxes structure.

func (*ListBoxesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProvidersDefault

type ListProvidersDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListProvidersDefault

func NewListProvidersDefault(code int) *ListProvidersDefault

NewListProvidersDefault creates a ListProvidersDefault with default headers values

func (*ListProvidersDefault) Code

func (o *ListProvidersDefault) Code() int

Code gets the status code for the list providers default response

func (*ListProvidersDefault) Error

func (o *ListProvidersDefault) Error() string

func (*ListProvidersDefault) GetPayload

func (o *ListProvidersDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListProvidersDefault) IsClientError

func (o *ListProvidersDefault) IsClientError() bool

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

func (*ListProvidersDefault) IsCode

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

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

func (*ListProvidersDefault) IsRedirect

func (o *ListProvidersDefault) IsRedirect() bool

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

func (*ListProvidersDefault) IsServerError

func (o *ListProvidersDefault) IsServerError() bool

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

func (*ListProvidersDefault) IsSuccess

func (o *ListProvidersDefault) IsSuccess() bool

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

func (*ListProvidersDefault) String

func (o *ListProvidersDefault) String() string

type ListProvidersOK

type ListProvidersOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListProvidersResponse
}

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

A successful response.

func NewListProvidersOK

func NewListProvidersOK() *ListProvidersOK

NewListProvidersOK creates a ListProvidersOK with default headers values

func (*ListProvidersOK) Code

func (o *ListProvidersOK) Code() int

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

func (*ListProvidersOK) Error

func (o *ListProvidersOK) Error() string

func (*ListProvidersOK) IsClientError

func (o *ListProvidersOK) IsClientError() bool

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

func (*ListProvidersOK) IsCode

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

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

func (*ListProvidersOK) IsRedirect

func (o *ListProvidersOK) IsRedirect() bool

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

func (*ListProvidersOK) IsServerError

func (o *ListProvidersOK) IsServerError() bool

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

func (*ListProvidersOK) IsSuccess

func (o *ListProvidersOK) IsSuccess() bool

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

func (*ListProvidersOK) String

func (o *ListProvidersOK) String() string

type ListProvidersParams

type ListProvidersParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Expanded.

	   Expand the provider child elements.
	*/
	Expanded *bool

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version to look up Providers in.
	*/
	Version string

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

ListProvidersParams contains all the parameters to send to the API endpoint

for the list providers operation.

Typically these are written to a http.Request.

func NewListProvidersParams

func NewListProvidersParams() *ListProvidersParams

NewListProvidersParams creates a new ListProvidersParams 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 NewListProvidersParamsWithContext

func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams

NewListProvidersParamsWithContext creates a new ListProvidersParams object with the ability to set a context for a request.

func NewListProvidersParamsWithHTTPClient

func NewListProvidersParamsWithHTTPClient(client *http.Client) *ListProvidersParams

NewListProvidersParamsWithHTTPClient creates a new ListProvidersParams object with the ability to set a custom HTTPClient for a request.

func NewListProvidersParamsWithTimeout

func NewListProvidersParamsWithTimeout(timeout time.Duration) *ListProvidersParams

NewListProvidersParamsWithTimeout creates a new ListProvidersParams object with the ability to set a timeout on a request.

func (*ListProvidersParams) SetBox

func (o *ListProvidersParams) SetBox(box string)

SetBox adds the box to the list providers params

func (*ListProvidersParams) SetContext

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

SetContext adds the context to the list providers params

func (*ListProvidersParams) SetDefaults

func (o *ListProvidersParams) SetDefaults()

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

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

func (*ListProvidersParams) SetExpanded

func (o *ListProvidersParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the list providers params

func (*ListProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) SetPaginationNextPageToken

func (o *ListProvidersParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list providers params

func (*ListProvidersParams) SetPaginationPageSize

func (o *ListProvidersParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list providers params

func (*ListProvidersParams) SetPaginationPreviousPageToken

func (o *ListProvidersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params

func (*ListProvidersParams) SetRegistry

func (o *ListProvidersParams) SetRegistry(registry string)

SetRegistry adds the registry to the list providers params

func (*ListProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the list providers params

func (*ListProvidersParams) SetVersion

func (o *ListProvidersParams) SetVersion(version string)

SetVersion adds the version to the list providers params

func (*ListProvidersParams) WithBox

WithBox adds the box to the list providers params

func (*ListProvidersParams) WithContext

WithContext adds the context to the list providers params

func (*ListProvidersParams) WithDefaults

func (o *ListProvidersParams) WithDefaults() *ListProvidersParams

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

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

func (*ListProvidersParams) WithExpanded

func (o *ListProvidersParams) WithExpanded(expanded *bool) *ListProvidersParams

WithExpanded adds the expanded to the list providers params

func (*ListProvidersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) WithPaginationNextPageToken

func (o *ListProvidersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListProvidersParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list providers params

func (*ListProvidersParams) WithPaginationPageSize

func (o *ListProvidersParams) WithPaginationPageSize(paginationPageSize *int64) *ListProvidersParams

WithPaginationPageSize adds the paginationPageSize to the list providers params

func (*ListProvidersParams) WithPaginationPreviousPageToken

func (o *ListProvidersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListProvidersParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params

func (*ListProvidersParams) WithRegistry

func (o *ListProvidersParams) WithRegistry(registry string) *ListProvidersParams

WithRegistry adds the registry to the list providers params

func (*ListProvidersParams) WithTimeout

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

WithTimeout adds the timeout to the list providers params

func (*ListProvidersParams) WithVersion

func (o *ListProvidersParams) WithVersion(version string) *ListProvidersParams

WithVersion adds the version to the list providers params

func (*ListProvidersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListProvidersReader

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

ListProvidersReader is a Reader for the ListProviders structure.

func (*ListProvidersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRegistriesDefault

type ListRegistriesDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListRegistriesDefault

func NewListRegistriesDefault(code int) *ListRegistriesDefault

NewListRegistriesDefault creates a ListRegistriesDefault with default headers values

func (*ListRegistriesDefault) Code

func (o *ListRegistriesDefault) Code() int

Code gets the status code for the list registries default response

func (*ListRegistriesDefault) Error

func (o *ListRegistriesDefault) Error() string

func (*ListRegistriesDefault) GetPayload

func (o *ListRegistriesDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListRegistriesDefault) IsClientError

func (o *ListRegistriesDefault) IsClientError() bool

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

func (*ListRegistriesDefault) IsCode

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

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

func (*ListRegistriesDefault) IsRedirect

func (o *ListRegistriesDefault) IsRedirect() bool

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

func (*ListRegistriesDefault) IsServerError

func (o *ListRegistriesDefault) IsServerError() bool

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

func (*ListRegistriesDefault) IsSuccess

func (o *ListRegistriesDefault) IsSuccess() bool

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

func (*ListRegistriesDefault) String

func (o *ListRegistriesDefault) String() string

type ListRegistriesOK

type ListRegistriesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListRegistriesResponse
}

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

A successful response.

func NewListRegistriesOK

func NewListRegistriesOK() *ListRegistriesOK

NewListRegistriesOK creates a ListRegistriesOK with default headers values

func (*ListRegistriesOK) Code

func (o *ListRegistriesOK) Code() int

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

func (*ListRegistriesOK) Error

func (o *ListRegistriesOK) Error() string

func (*ListRegistriesOK) IsClientError

func (o *ListRegistriesOK) IsClientError() bool

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

func (*ListRegistriesOK) IsCode

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

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

func (*ListRegistriesOK) IsRedirect

func (o *ListRegistriesOK) IsRedirect() bool

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

func (*ListRegistriesOK) IsServerError

func (o *ListRegistriesOK) IsServerError() bool

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

func (*ListRegistriesOK) IsSuccess

func (o *ListRegistriesOK) IsSuccess() bool

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

func (*ListRegistriesOK) String

func (o *ListRegistriesOK) String() string

type ListRegistriesParams

type ListRegistriesParams struct {

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID *string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID *string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

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

ListRegistriesParams contains all the parameters to send to the API endpoint

for the list registries operation.

Typically these are written to a http.Request.

func NewListRegistriesParams

func NewListRegistriesParams() *ListRegistriesParams

NewListRegistriesParams creates a new ListRegistriesParams 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 NewListRegistriesParamsWithContext

func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams

NewListRegistriesParamsWithContext creates a new ListRegistriesParams object with the ability to set a context for a request.

func NewListRegistriesParamsWithHTTPClient

func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams

NewListRegistriesParamsWithHTTPClient creates a new ListRegistriesParams object with the ability to set a custom HTTPClient for a request.

func NewListRegistriesParamsWithTimeout

func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams

NewListRegistriesParamsWithTimeout creates a new ListRegistriesParams object with the ability to set a timeout on a request.

func (*ListRegistriesParams) SetContext

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

SetContext adds the context to the list registries params

func (*ListRegistriesParams) SetDefaults

func (o *ListRegistriesParams) SetDefaults()

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

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

func (*ListRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list registries params

func (*ListRegistriesParams) SetLocationOrganizationID

func (o *ListRegistriesParams) SetLocationOrganizationID(locationOrganizationID *string)

SetLocationOrganizationID adds the locationOrganizationId to the list registries params

func (*ListRegistriesParams) SetLocationProjectID

func (o *ListRegistriesParams) SetLocationProjectID(locationProjectID *string)

SetLocationProjectID adds the locationProjectId to the list registries params

func (*ListRegistriesParams) SetLocationRegionProvider

func (o *ListRegistriesParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the list registries params

func (*ListRegistriesParams) SetLocationRegionRegion

func (o *ListRegistriesParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the list registries params

func (*ListRegistriesParams) SetPaginationNextPageToken

func (o *ListRegistriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list registries params

func (*ListRegistriesParams) SetPaginationPageSize

func (o *ListRegistriesParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list registries params

func (*ListRegistriesParams) SetPaginationPreviousPageToken

func (o *ListRegistriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params

func (*ListRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the list registries params

func (*ListRegistriesParams) WithContext

WithContext adds the context to the list registries params

func (*ListRegistriesParams) WithDefaults

func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams

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

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

func (*ListRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list registries params

func (*ListRegistriesParams) WithLocationOrganizationID

func (o *ListRegistriesParams) WithLocationOrganizationID(locationOrganizationID *string) *ListRegistriesParams

WithLocationOrganizationID adds the locationOrganizationID to the list registries params

func (*ListRegistriesParams) WithLocationProjectID

func (o *ListRegistriesParams) WithLocationProjectID(locationProjectID *string) *ListRegistriesParams

WithLocationProjectID adds the locationProjectID to the list registries params

func (*ListRegistriesParams) WithLocationRegionProvider

func (o *ListRegistriesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListRegistriesParams

WithLocationRegionProvider adds the locationRegionProvider to the list registries params

func (*ListRegistriesParams) WithLocationRegionRegion

func (o *ListRegistriesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListRegistriesParams

WithLocationRegionRegion adds the locationRegionRegion to the list registries params

func (*ListRegistriesParams) WithPaginationNextPageToken

func (o *ListRegistriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListRegistriesParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list registries params

func (*ListRegistriesParams) WithPaginationPageSize

func (o *ListRegistriesParams) WithPaginationPageSize(paginationPageSize *int64) *ListRegistriesParams

WithPaginationPageSize adds the paginationPageSize to the list registries params

func (*ListRegistriesParams) WithPaginationPreviousPageToken

func (o *ListRegistriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListRegistriesParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params

func (*ListRegistriesParams) WithTimeout

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

WithTimeout adds the timeout to the list registries params

func (*ListRegistriesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListRegistriesReader

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

ListRegistriesReader is a Reader for the ListRegistries structure.

func (*ListRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVersionsDefault

type ListVersionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewListVersionsDefault

func NewListVersionsDefault(code int) *ListVersionsDefault

NewListVersionsDefault creates a ListVersionsDefault with default headers values

func (*ListVersionsDefault) Code

func (o *ListVersionsDefault) Code() int

Code gets the status code for the list versions default response

func (*ListVersionsDefault) Error

func (o *ListVersionsDefault) Error() string

func (*ListVersionsDefault) GetPayload

func (o *ListVersionsDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ListVersionsDefault) IsClientError

func (o *ListVersionsDefault) IsClientError() bool

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

func (*ListVersionsDefault) IsCode

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

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

func (*ListVersionsDefault) IsRedirect

func (o *ListVersionsDefault) IsRedirect() bool

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

func (*ListVersionsDefault) IsServerError

func (o *ListVersionsDefault) IsServerError() bool

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

func (*ListVersionsDefault) IsSuccess

func (o *ListVersionsDefault) IsSuccess() bool

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

func (*ListVersionsDefault) String

func (o *ListVersionsDefault) String() string

type ListVersionsOK

type ListVersionsOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListVersionsResponse
}

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

A successful response.

func NewListVersionsOK

func NewListVersionsOK() *ListVersionsOK

NewListVersionsOK creates a ListVersionsOK with default headers values

func (*ListVersionsOK) Code

func (o *ListVersionsOK) Code() int

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

func (*ListVersionsOK) Error

func (o *ListVersionsOK) Error() string

func (*ListVersionsOK) IsClientError

func (o *ListVersionsOK) IsClientError() bool

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

func (*ListVersionsOK) IsCode

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

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

func (*ListVersionsOK) IsRedirect

func (o *ListVersionsOK) IsRedirect() bool

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

func (*ListVersionsOK) IsServerError

func (o *ListVersionsOK) IsServerError() bool

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

func (*ListVersionsOK) IsSuccess

func (o *ListVersionsOK) IsSuccess() bool

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

func (*ListVersionsOK) String

func (o *ListVersionsOK) String() string

type ListVersionsParams

type ListVersionsParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Expanded.

	   Expand the version child elements.
	*/
	Expanded *bool

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

ListVersionsParams contains all the parameters to send to the API endpoint

for the list versions operation.

Typically these are written to a http.Request.

func NewListVersionsParams

func NewListVersionsParams() *ListVersionsParams

NewListVersionsParams creates a new ListVersionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListVersionsParamsWithContext

func NewListVersionsParamsWithContext(ctx context.Context) *ListVersionsParams

NewListVersionsParamsWithContext creates a new ListVersionsParams object with the ability to set a context for a request.

func NewListVersionsParamsWithHTTPClient

func NewListVersionsParamsWithHTTPClient(client *http.Client) *ListVersionsParams

NewListVersionsParamsWithHTTPClient creates a new ListVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewListVersionsParamsWithTimeout

func NewListVersionsParamsWithTimeout(timeout time.Duration) *ListVersionsParams

NewListVersionsParamsWithTimeout creates a new ListVersionsParams object with the ability to set a timeout on a request.

func (*ListVersionsParams) SetBox

func (o *ListVersionsParams) SetBox(box string)

SetBox adds the box to the list versions params

func (*ListVersionsParams) SetContext

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

SetContext adds the context to the list versions params

func (*ListVersionsParams) SetDefaults

func (o *ListVersionsParams) SetDefaults()

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

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

func (*ListVersionsParams) SetExpanded

func (o *ListVersionsParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the list versions params

func (*ListVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list versions params

func (*ListVersionsParams) SetPaginationNextPageToken

func (o *ListVersionsParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the list versions params

func (*ListVersionsParams) SetPaginationPageSize

func (o *ListVersionsParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the list versions params

func (*ListVersionsParams) SetPaginationPreviousPageToken

func (o *ListVersionsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params

func (*ListVersionsParams) SetRegistry

func (o *ListVersionsParams) SetRegistry(registry string)

SetRegistry adds the registry to the list versions params

func (*ListVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the list versions params

func (*ListVersionsParams) WithBox

func (o *ListVersionsParams) WithBox(box string) *ListVersionsParams

WithBox adds the box to the list versions params

func (*ListVersionsParams) WithContext

WithContext adds the context to the list versions params

func (*ListVersionsParams) WithDefaults

func (o *ListVersionsParams) WithDefaults() *ListVersionsParams

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

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

func (*ListVersionsParams) WithExpanded

func (o *ListVersionsParams) WithExpanded(expanded *bool) *ListVersionsParams

WithExpanded adds the expanded to the list versions params

func (*ListVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list versions params

func (*ListVersionsParams) WithPaginationNextPageToken

func (o *ListVersionsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListVersionsParams

WithPaginationNextPageToken adds the paginationNextPageToken to the list versions params

func (*ListVersionsParams) WithPaginationPageSize

func (o *ListVersionsParams) WithPaginationPageSize(paginationPageSize *int64) *ListVersionsParams

WithPaginationPageSize adds the paginationPageSize to the list versions params

func (*ListVersionsParams) WithPaginationPreviousPageToken

func (o *ListVersionsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListVersionsParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params

func (*ListVersionsParams) WithRegistry

func (o *ListVersionsParams) WithRegistry(registry string) *ListVersionsParams

WithRegistry adds the registry to the list versions params

func (*ListVersionsParams) WithTimeout

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

WithTimeout adds the timeout to the list versions params

func (*ListVersionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListVersionsReader

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

ListVersionsReader is a Reader for the ListVersions structure.

func (*ListVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadArchitectureDefault

type ReadArchitectureDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReadArchitectureDefault

func NewReadArchitectureDefault(code int) *ReadArchitectureDefault

NewReadArchitectureDefault creates a ReadArchitectureDefault with default headers values

func (*ReadArchitectureDefault) Code

func (o *ReadArchitectureDefault) Code() int

Code gets the status code for the read architecture default response

func (*ReadArchitectureDefault) Error

func (o *ReadArchitectureDefault) Error() string

func (*ReadArchitectureDefault) GetPayload

func (*ReadArchitectureDefault) IsClientError

func (o *ReadArchitectureDefault) IsClientError() bool

IsClientError returns true when this read architecture default response has a 4xx status code

func (*ReadArchitectureDefault) IsCode

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

IsCode returns true when this read architecture default response a status code equal to that given

func (*ReadArchitectureDefault) IsRedirect

func (o *ReadArchitectureDefault) IsRedirect() bool

IsRedirect returns true when this read architecture default response has a 3xx status code

func (*ReadArchitectureDefault) IsServerError

func (o *ReadArchitectureDefault) IsServerError() bool

IsServerError returns true when this read architecture default response has a 5xx status code

func (*ReadArchitectureDefault) IsSuccess

func (o *ReadArchitectureDefault) IsSuccess() bool

IsSuccess returns true when this read architecture default response has a 2xx status code

func (*ReadArchitectureDefault) String

func (o *ReadArchitectureDefault) String() string

type ReadArchitectureOK

type ReadArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
}

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

A successful response.

func NewReadArchitectureOK

func NewReadArchitectureOK() *ReadArchitectureOK

NewReadArchitectureOK creates a ReadArchitectureOK with default headers values

func (*ReadArchitectureOK) Code

func (o *ReadArchitectureOK) Code() int

Code gets the status code for the read architecture o k response

func (*ReadArchitectureOK) Error

func (o *ReadArchitectureOK) Error() string

func (*ReadArchitectureOK) IsClientError

func (o *ReadArchitectureOK) IsClientError() bool

IsClientError returns true when this read architecture o k response has a 4xx status code

func (*ReadArchitectureOK) IsCode

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

IsCode returns true when this read architecture o k response a status code equal to that given

func (*ReadArchitectureOK) IsRedirect

func (o *ReadArchitectureOK) IsRedirect() bool

IsRedirect returns true when this read architecture o k response has a 3xx status code

func (*ReadArchitectureOK) IsServerError

func (o *ReadArchitectureOK) IsServerError() bool

IsServerError returns true when this read architecture o k response has a 5xx status code

func (*ReadArchitectureOK) IsSuccess

func (o *ReadArchitectureOK) IsSuccess() bool

IsSuccess returns true when this read architecture o k response has a 2xx status code

func (*ReadArchitectureOK) String

func (o *ReadArchitectureOK) String() string

type ReadArchitectureParams

type ReadArchitectureParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Architecture.
	*/
	Version string

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

ReadArchitectureParams contains all the parameters to send to the API endpoint

for the read architecture operation.

Typically these are written to a http.Request.

func NewReadArchitectureParams

func NewReadArchitectureParams() *ReadArchitectureParams

NewReadArchitectureParams creates a new ReadArchitectureParams 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 NewReadArchitectureParamsWithContext

func NewReadArchitectureParamsWithContext(ctx context.Context) *ReadArchitectureParams

NewReadArchitectureParamsWithContext creates a new ReadArchitectureParams object with the ability to set a context for a request.

func NewReadArchitectureParamsWithHTTPClient

func NewReadArchitectureParamsWithHTTPClient(client *http.Client) *ReadArchitectureParams

NewReadArchitectureParamsWithHTTPClient creates a new ReadArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewReadArchitectureParamsWithTimeout

func NewReadArchitectureParamsWithTimeout(timeout time.Duration) *ReadArchitectureParams

NewReadArchitectureParamsWithTimeout creates a new ReadArchitectureParams object with the ability to set a timeout on a request.

func (*ReadArchitectureParams) SetArchitecture

func (o *ReadArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) SetBox

func (o *ReadArchitectureParams) SetBox(box string)

SetBox adds the box to the read architecture params

func (*ReadArchitectureParams) SetContext

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

SetContext adds the context to the read architecture params

func (*ReadArchitectureParams) SetDefaults

func (o *ReadArchitectureParams) SetDefaults()

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

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

func (*ReadArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) SetProvider

func (o *ReadArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) SetRegistry

func (o *ReadArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) SetVersion

func (o *ReadArchitectureParams) SetVersion(version string)

SetVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WithArchitecture

func (o *ReadArchitectureParams) WithArchitecture(architecture string) *ReadArchitectureParams

WithArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) WithBox

WithBox adds the box to the read architecture params

func (*ReadArchitectureParams) WithContext

WithContext adds the context to the read architecture params

func (*ReadArchitectureParams) WithDefaults

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

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

func (*ReadArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) WithProvider

func (o *ReadArchitectureParams) WithProvider(provider string) *ReadArchitectureParams

WithProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) WithRegistry

func (o *ReadArchitectureParams) WithRegistry(registry string) *ReadArchitectureParams

WithRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) WithTimeout

WithTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) WithVersion

func (o *ReadArchitectureParams) WithVersion(version string) *ReadArchitectureParams

WithVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadArchitectureReader

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

ReadArchitectureReader is a Reader for the ReadArchitecture structure.

func (*ReadArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadBoxDefault

type ReadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReadBoxDefault

func NewReadBoxDefault(code int) *ReadBoxDefault

NewReadBoxDefault creates a ReadBoxDefault with default headers values

func (*ReadBoxDefault) Code

func (o *ReadBoxDefault) Code() int

Code gets the status code for the read box default response

func (*ReadBoxDefault) Error

func (o *ReadBoxDefault) Error() string

func (*ReadBoxDefault) GetPayload

func (o *ReadBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ReadBoxDefault) IsClientError

func (o *ReadBoxDefault) IsClientError() bool

IsClientError returns true when this read box default response has a 4xx status code

func (*ReadBoxDefault) IsCode

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

IsCode returns true when this read box default response a status code equal to that given

func (*ReadBoxDefault) IsRedirect

func (o *ReadBoxDefault) IsRedirect() bool

IsRedirect returns true when this read box default response has a 3xx status code

func (*ReadBoxDefault) IsServerError

func (o *ReadBoxDefault) IsServerError() bool

IsServerError returns true when this read box default response has a 5xx status code

func (*ReadBoxDefault) IsSuccess

func (o *ReadBoxDefault) IsSuccess() bool

IsSuccess returns true when this read box default response has a 2xx status code

func (*ReadBoxDefault) String

func (o *ReadBoxDefault) String() string

type ReadBoxOK

type ReadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadBoxResponse
}

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

A successful response.

func NewReadBoxOK

func NewReadBoxOK() *ReadBoxOK

NewReadBoxOK creates a ReadBoxOK with default headers values

func (*ReadBoxOK) Code

func (o *ReadBoxOK) Code() int

Code gets the status code for the read box o k response

func (*ReadBoxOK) Error

func (o *ReadBoxOK) Error() string

func (*ReadBoxOK) GetPayload

func (*ReadBoxOK) IsClientError

func (o *ReadBoxOK) IsClientError() bool

IsClientError returns true when this read box o k response has a 4xx status code

func (*ReadBoxOK) IsCode

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

IsCode returns true when this read box o k response a status code equal to that given

func (*ReadBoxOK) IsRedirect

func (o *ReadBoxOK) IsRedirect() bool

IsRedirect returns true when this read box o k response has a 3xx status code

func (*ReadBoxOK) IsServerError

func (o *ReadBoxOK) IsServerError() bool

IsServerError returns true when this read box o k response has a 5xx status code

func (*ReadBoxOK) IsSuccess

func (o *ReadBoxOK) IsSuccess() bool

IsSuccess returns true when this read box o k response has a 2xx status code

func (*ReadBoxOK) String

func (o *ReadBoxOK) String() string

type ReadBoxParams

type ReadBoxParams struct {

	/* Box.

	     The name segment of the Box to look up. As an example, this field would
	represent the "vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Expanded.

	   Expand the box child elements.
	*/
	Expanded *bool

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

ReadBoxParams contains all the parameters to send to the API endpoint

for the read box operation.

Typically these are written to a http.Request.

func NewReadBoxParams

func NewReadBoxParams() *ReadBoxParams

NewReadBoxParams creates a new ReadBoxParams 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 NewReadBoxParamsWithContext

func NewReadBoxParamsWithContext(ctx context.Context) *ReadBoxParams

NewReadBoxParamsWithContext creates a new ReadBoxParams object with the ability to set a context for a request.

func NewReadBoxParamsWithHTTPClient

func NewReadBoxParamsWithHTTPClient(client *http.Client) *ReadBoxParams

NewReadBoxParamsWithHTTPClient creates a new ReadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewReadBoxParamsWithTimeout

func NewReadBoxParamsWithTimeout(timeout time.Duration) *ReadBoxParams

NewReadBoxParamsWithTimeout creates a new ReadBoxParams object with the ability to set a timeout on a request.

func (*ReadBoxParams) SetBox

func (o *ReadBoxParams) SetBox(box string)

SetBox adds the box to the read box params

func (*ReadBoxParams) SetContext

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

SetContext adds the context to the read box params

func (*ReadBoxParams) SetDefaults

func (o *ReadBoxParams) SetDefaults()

SetDefaults hydrates default values in the read box params (not the query body).

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

func (*ReadBoxParams) SetExpanded

func (o *ReadBoxParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the read box params

func (*ReadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) SetRegistry

func (o *ReadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the read box params

func (*ReadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the read box params

func (*ReadBoxParams) WithBox

func (o *ReadBoxParams) WithBox(box string) *ReadBoxParams

WithBox adds the box to the read box params

func (*ReadBoxParams) WithContext

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

WithContext adds the context to the read box params

func (*ReadBoxParams) WithDefaults

func (o *ReadBoxParams) WithDefaults() *ReadBoxParams

WithDefaults hydrates default values in the read box params (not the query body).

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

func (*ReadBoxParams) WithExpanded

func (o *ReadBoxParams) WithExpanded(expanded *bool) *ReadBoxParams

WithExpanded adds the expanded to the read box params

func (*ReadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) WithRegistry

func (o *ReadBoxParams) WithRegistry(registry string) *ReadBoxParams

WithRegistry adds the registry to the read box params

func (*ReadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the read box params

func (*ReadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadBoxReader

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

ReadBoxReader is a Reader for the ReadBox structure.

func (*ReadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadProviderDefault

type ReadProviderDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReadProviderDefault

func NewReadProviderDefault(code int) *ReadProviderDefault

NewReadProviderDefault creates a ReadProviderDefault with default headers values

func (*ReadProviderDefault) Code

func (o *ReadProviderDefault) Code() int

Code gets the status code for the read provider default response

func (*ReadProviderDefault) Error

func (o *ReadProviderDefault) Error() string

func (*ReadProviderDefault) GetPayload

func (o *ReadProviderDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ReadProviderDefault) IsClientError

func (o *ReadProviderDefault) IsClientError() bool

IsClientError returns true when this read provider default response has a 4xx status code

func (*ReadProviderDefault) IsCode

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

IsCode returns true when this read provider default response a status code equal to that given

func (*ReadProviderDefault) IsRedirect

func (o *ReadProviderDefault) IsRedirect() bool

IsRedirect returns true when this read provider default response has a 3xx status code

func (*ReadProviderDefault) IsServerError

func (o *ReadProviderDefault) IsServerError() bool

IsServerError returns true when this read provider default response has a 5xx status code

func (*ReadProviderDefault) IsSuccess

func (o *ReadProviderDefault) IsSuccess() bool

IsSuccess returns true when this read provider default response has a 2xx status code

func (*ReadProviderDefault) String

func (o *ReadProviderDefault) String() string

type ReadProviderOK

type ReadProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadProviderResponse
}

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

A successful response.

func NewReadProviderOK

func NewReadProviderOK() *ReadProviderOK

NewReadProviderOK creates a ReadProviderOK with default headers values

func (*ReadProviderOK) Code

func (o *ReadProviderOK) Code() int

Code gets the status code for the read provider o k response

func (*ReadProviderOK) Error

func (o *ReadProviderOK) Error() string

func (*ReadProviderOK) IsClientError

func (o *ReadProviderOK) IsClientError() bool

IsClientError returns true when this read provider o k response has a 4xx status code

func (*ReadProviderOK) IsCode

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

IsCode returns true when this read provider o k response a status code equal to that given

func (*ReadProviderOK) IsRedirect

func (o *ReadProviderOK) IsRedirect() bool

IsRedirect returns true when this read provider o k response has a 3xx status code

func (*ReadProviderOK) IsServerError

func (o *ReadProviderOK) IsServerError() bool

IsServerError returns true when this read provider o k response has a 5xx status code

func (*ReadProviderOK) IsSuccess

func (o *ReadProviderOK) IsSuccess() bool

IsSuccess returns true when this read provider o k response has a 2xx status code

func (*ReadProviderOK) String

func (o *ReadProviderOK) String() string

type ReadProviderParams

type ReadProviderParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Expanded.

	   Expand the provider child elements.
	*/
	Expanded *bool

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

ReadProviderParams contains all the parameters to send to the API endpoint

for the read provider operation.

Typically these are written to a http.Request.

func NewReadProviderParams

func NewReadProviderParams() *ReadProviderParams

NewReadProviderParams creates a new ReadProviderParams 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 NewReadProviderParamsWithContext

func NewReadProviderParamsWithContext(ctx context.Context) *ReadProviderParams

NewReadProviderParamsWithContext creates a new ReadProviderParams object with the ability to set a context for a request.

func NewReadProviderParamsWithHTTPClient

func NewReadProviderParamsWithHTTPClient(client *http.Client) *ReadProviderParams

NewReadProviderParamsWithHTTPClient creates a new ReadProviderParams object with the ability to set a custom HTTPClient for a request.

func NewReadProviderParamsWithTimeout

func NewReadProviderParamsWithTimeout(timeout time.Duration) *ReadProviderParams

NewReadProviderParamsWithTimeout creates a new ReadProviderParams object with the ability to set a timeout on a request.

func (*ReadProviderParams) SetBox

func (o *ReadProviderParams) SetBox(box string)

SetBox adds the box to the read provider params

func (*ReadProviderParams) SetContext

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

SetContext adds the context to the read provider params

func (*ReadProviderParams) SetDefaults

func (o *ReadProviderParams) SetDefaults()

SetDefaults hydrates default values in the read provider params (not the query body).

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

func (*ReadProviderParams) SetExpanded

func (o *ReadProviderParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the read provider params

func (*ReadProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read provider params

func (*ReadProviderParams) SetProvider

func (o *ReadProviderParams) SetProvider(provider string)

SetProvider adds the provider to the read provider params

func (*ReadProviderParams) SetRegistry

func (o *ReadProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the read provider params

func (*ReadProviderParams) SetTimeout

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

SetTimeout adds the timeout to the read provider params

func (*ReadProviderParams) SetVersion

func (o *ReadProviderParams) SetVersion(version string)

SetVersion adds the version to the read provider params

func (*ReadProviderParams) WithBox

func (o *ReadProviderParams) WithBox(box string) *ReadProviderParams

WithBox adds the box to the read provider params

func (*ReadProviderParams) WithContext

WithContext adds the context to the read provider params

func (*ReadProviderParams) WithDefaults

func (o *ReadProviderParams) WithDefaults() *ReadProviderParams

WithDefaults hydrates default values in the read provider params (not the query body).

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

func (*ReadProviderParams) WithExpanded

func (o *ReadProviderParams) WithExpanded(expanded *bool) *ReadProviderParams

WithExpanded adds the expanded to the read provider params

func (*ReadProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read provider params

func (*ReadProviderParams) WithProvider

func (o *ReadProviderParams) WithProvider(provider string) *ReadProviderParams

WithProvider adds the provider to the read provider params

func (*ReadProviderParams) WithRegistry

func (o *ReadProviderParams) WithRegistry(registry string) *ReadProviderParams

WithRegistry adds the registry to the read provider params

func (*ReadProviderParams) WithTimeout

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

WithTimeout adds the timeout to the read provider params

func (*ReadProviderParams) WithVersion

func (o *ReadProviderParams) WithVersion(version string) *ReadProviderParams

WithVersion adds the version to the read provider params

func (*ReadProviderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadProviderReader

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

ReadProviderReader is a Reader for the ReadProvider structure.

func (*ReadProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadRegistryDefault

type ReadRegistryDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReadRegistryDefault

func NewReadRegistryDefault(code int) *ReadRegistryDefault

NewReadRegistryDefault creates a ReadRegistryDefault with default headers values

func (*ReadRegistryDefault) Code

func (o *ReadRegistryDefault) Code() int

Code gets the status code for the read registry default response

func (*ReadRegistryDefault) Error

func (o *ReadRegistryDefault) Error() string

func (*ReadRegistryDefault) GetPayload

func (o *ReadRegistryDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ReadRegistryDefault) IsClientError

func (o *ReadRegistryDefault) IsClientError() bool

IsClientError returns true when this read registry default response has a 4xx status code

func (*ReadRegistryDefault) IsCode

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

IsCode returns true when this read registry default response a status code equal to that given

func (*ReadRegistryDefault) IsRedirect

func (o *ReadRegistryDefault) IsRedirect() bool

IsRedirect returns true when this read registry default response has a 3xx status code

func (*ReadRegistryDefault) IsServerError

func (o *ReadRegistryDefault) IsServerError() bool

IsServerError returns true when this read registry default response has a 5xx status code

func (*ReadRegistryDefault) IsSuccess

func (o *ReadRegistryDefault) IsSuccess() bool

IsSuccess returns true when this read registry default response has a 2xx status code

func (*ReadRegistryDefault) String

func (o *ReadRegistryDefault) String() string

type ReadRegistryOK

type ReadRegistryOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadRegistryResponse
}

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

A successful response.

func NewReadRegistryOK

func NewReadRegistryOK() *ReadRegistryOK

NewReadRegistryOK creates a ReadRegistryOK with default headers values

func (*ReadRegistryOK) Code

func (o *ReadRegistryOK) Code() int

Code gets the status code for the read registry o k response

func (*ReadRegistryOK) Error

func (o *ReadRegistryOK) Error() string

func (*ReadRegistryOK) IsClientError

func (o *ReadRegistryOK) IsClientError() bool

IsClientError returns true when this read registry o k response has a 4xx status code

func (*ReadRegistryOK) IsCode

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

IsCode returns true when this read registry o k response a status code equal to that given

func (*ReadRegistryOK) IsRedirect

func (o *ReadRegistryOK) IsRedirect() bool

IsRedirect returns true when this read registry o k response has a 3xx status code

func (*ReadRegistryOK) IsServerError

func (o *ReadRegistryOK) IsServerError() bool

IsServerError returns true when this read registry o k response has a 5xx status code

func (*ReadRegistryOK) IsSuccess

func (o *ReadRegistryOK) IsSuccess() bool

IsSuccess returns true when this read registry o k response has a 2xx status code

func (*ReadRegistryOK) String

func (o *ReadRegistryOK) String() string

type ReadRegistryParams

type ReadRegistryParams struct {

	/* Registry.

	   The name of the Registry to look up.
	*/
	Registry string

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

ReadRegistryParams contains all the parameters to send to the API endpoint

for the read registry operation.

Typically these are written to a http.Request.

func NewReadRegistryParams

func NewReadRegistryParams() *ReadRegistryParams

NewReadRegistryParams creates a new ReadRegistryParams 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 NewReadRegistryParamsWithContext

func NewReadRegistryParamsWithContext(ctx context.Context) *ReadRegistryParams

NewReadRegistryParamsWithContext creates a new ReadRegistryParams object with the ability to set a context for a request.

func NewReadRegistryParamsWithHTTPClient

func NewReadRegistryParamsWithHTTPClient(client *http.Client) *ReadRegistryParams

NewReadRegistryParamsWithHTTPClient creates a new ReadRegistryParams object with the ability to set a custom HTTPClient for a request.

func NewReadRegistryParamsWithTimeout

func NewReadRegistryParamsWithTimeout(timeout time.Duration) *ReadRegistryParams

NewReadRegistryParamsWithTimeout creates a new ReadRegistryParams object with the ability to set a timeout on a request.

func (*ReadRegistryParams) SetContext

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

SetContext adds the context to the read registry params

func (*ReadRegistryParams) SetDefaults

func (o *ReadRegistryParams) SetDefaults()

SetDefaults hydrates default values in the read registry params (not the query body).

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

func (*ReadRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read registry params

func (*ReadRegistryParams) SetRegistry

func (o *ReadRegistryParams) SetRegistry(registry string)

SetRegistry adds the registry to the read registry params

func (*ReadRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the read registry params

func (*ReadRegistryParams) WithContext

WithContext adds the context to the read registry params

func (*ReadRegistryParams) WithDefaults

func (o *ReadRegistryParams) WithDefaults() *ReadRegistryParams

WithDefaults hydrates default values in the read registry params (not the query body).

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

func (*ReadRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read registry params

func (*ReadRegistryParams) WithRegistry

func (o *ReadRegistryParams) WithRegistry(registry string) *ReadRegistryParams

WithRegistry adds the registry to the read registry params

func (*ReadRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the read registry params

func (*ReadRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadRegistryReader

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

ReadRegistryReader is a Reader for the ReadRegistry structure.

func (*ReadRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadVersionDefault

type ReadVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReadVersionDefault

func NewReadVersionDefault(code int) *ReadVersionDefault

NewReadVersionDefault creates a ReadVersionDefault with default headers values

func (*ReadVersionDefault) Code

func (o *ReadVersionDefault) Code() int

Code gets the status code for the read version default response

func (*ReadVersionDefault) Error

func (o *ReadVersionDefault) Error() string

func (*ReadVersionDefault) GetPayload

func (o *ReadVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ReadVersionDefault) IsClientError

func (o *ReadVersionDefault) IsClientError() bool

IsClientError returns true when this read version default response has a 4xx status code

func (*ReadVersionDefault) IsCode

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

IsCode returns true when this read version default response a status code equal to that given

func (*ReadVersionDefault) IsRedirect

func (o *ReadVersionDefault) IsRedirect() bool

IsRedirect returns true when this read version default response has a 3xx status code

func (*ReadVersionDefault) IsServerError

func (o *ReadVersionDefault) IsServerError() bool

IsServerError returns true when this read version default response has a 5xx status code

func (*ReadVersionDefault) IsSuccess

func (o *ReadVersionDefault) IsSuccess() bool

IsSuccess returns true when this read version default response has a 2xx status code

func (*ReadVersionDefault) String

func (o *ReadVersionDefault) String() string

type ReadVersionOK

type ReadVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadVersionResponse
}

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

A successful response.

func NewReadVersionOK

func NewReadVersionOK() *ReadVersionOK

NewReadVersionOK creates a ReadVersionOK with default headers values

func (*ReadVersionOK) Code

func (o *ReadVersionOK) Code() int

Code gets the status code for the read version o k response

func (*ReadVersionOK) Error

func (o *ReadVersionOK) Error() string

func (*ReadVersionOK) IsClientError

func (o *ReadVersionOK) IsClientError() bool

IsClientError returns true when this read version o k response has a 4xx status code

func (*ReadVersionOK) IsCode

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

IsCode returns true when this read version o k response a status code equal to that given

func (*ReadVersionOK) IsRedirect

func (o *ReadVersionOK) IsRedirect() bool

IsRedirect returns true when this read version o k response has a 3xx status code

func (*ReadVersionOK) IsServerError

func (o *ReadVersionOK) IsServerError() bool

IsServerError returns true when this read version o k response has a 5xx status code

func (*ReadVersionOK) IsSuccess

func (o *ReadVersionOK) IsSuccess() bool

IsSuccess returns true when this read version o k response has a 2xx status code

func (*ReadVersionOK) String

func (o *ReadVersionOK) String() string

type ReadVersionParams

type ReadVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Expanded.

	   Expand the version child elements.
	*/
	Expanded *bool

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the version to look up.
	*/
	Version string

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

ReadVersionParams contains all the parameters to send to the API endpoint

for the read version operation.

Typically these are written to a http.Request.

func NewReadVersionParams

func NewReadVersionParams() *ReadVersionParams

NewReadVersionParams creates a new ReadVersionParams 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 NewReadVersionParamsWithContext

func NewReadVersionParamsWithContext(ctx context.Context) *ReadVersionParams

NewReadVersionParamsWithContext creates a new ReadVersionParams object with the ability to set a context for a request.

func NewReadVersionParamsWithHTTPClient

func NewReadVersionParamsWithHTTPClient(client *http.Client) *ReadVersionParams

NewReadVersionParamsWithHTTPClient creates a new ReadVersionParams object with the ability to set a custom HTTPClient for a request.

func NewReadVersionParamsWithTimeout

func NewReadVersionParamsWithTimeout(timeout time.Duration) *ReadVersionParams

NewReadVersionParamsWithTimeout creates a new ReadVersionParams object with the ability to set a timeout on a request.

func (*ReadVersionParams) SetBox

func (o *ReadVersionParams) SetBox(box string)

SetBox adds the box to the read version params

func (*ReadVersionParams) SetContext

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

SetContext adds the context to the read version params

func (*ReadVersionParams) SetDefaults

func (o *ReadVersionParams) SetDefaults()

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

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

func (*ReadVersionParams) SetExpanded

func (o *ReadVersionParams) SetExpanded(expanded *bool)

SetExpanded adds the expanded to the read version params

func (*ReadVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read version params

func (*ReadVersionParams) SetRegistry

func (o *ReadVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the read version params

func (*ReadVersionParams) SetTimeout

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

SetTimeout adds the timeout to the read version params

func (*ReadVersionParams) SetVersion

func (o *ReadVersionParams) SetVersion(version string)

SetVersion adds the version to the read version params

func (*ReadVersionParams) WithBox

func (o *ReadVersionParams) WithBox(box string) *ReadVersionParams

WithBox adds the box to the read version params

func (*ReadVersionParams) WithContext

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

WithContext adds the context to the read version params

func (*ReadVersionParams) WithDefaults

func (o *ReadVersionParams) WithDefaults() *ReadVersionParams

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

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

func (*ReadVersionParams) WithExpanded

func (o *ReadVersionParams) WithExpanded(expanded *bool) *ReadVersionParams

WithExpanded adds the expanded to the read version params

func (*ReadVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read version params

func (*ReadVersionParams) WithRegistry

func (o *ReadVersionParams) WithRegistry(registry string) *ReadVersionParams

WithRegistry adds the registry to the read version params

func (*ReadVersionParams) WithTimeout

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

WithTimeout adds the timeout to the read version params

func (*ReadVersionParams) WithVersion

func (o *ReadVersionParams) WithVersion(version string) *ReadVersionParams

WithVersion adds the version to the read version params

func (*ReadVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadVersionReader

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

ReadVersionReader is a Reader for the ReadVersion structure.

func (*ReadVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReleaseVersionDefault

type ReleaseVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewReleaseVersionDefault

func NewReleaseVersionDefault(code int) *ReleaseVersionDefault

NewReleaseVersionDefault creates a ReleaseVersionDefault with default headers values

func (*ReleaseVersionDefault) Code

func (o *ReleaseVersionDefault) Code() int

Code gets the status code for the release version default response

func (*ReleaseVersionDefault) Error

func (o *ReleaseVersionDefault) Error() string

func (*ReleaseVersionDefault) GetPayload

func (o *ReleaseVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*ReleaseVersionDefault) IsClientError

func (o *ReleaseVersionDefault) IsClientError() bool

IsClientError returns true when this release version default response has a 4xx status code

func (*ReleaseVersionDefault) IsCode

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

IsCode returns true when this release version default response a status code equal to that given

func (*ReleaseVersionDefault) IsRedirect

func (o *ReleaseVersionDefault) IsRedirect() bool

IsRedirect returns true when this release version default response has a 3xx status code

func (*ReleaseVersionDefault) IsServerError

func (o *ReleaseVersionDefault) IsServerError() bool

IsServerError returns true when this release version default response has a 5xx status code

func (*ReleaseVersionDefault) IsSuccess

func (o *ReleaseVersionDefault) IsSuccess() bool

IsSuccess returns true when this release version default response has a 2xx status code

func (*ReleaseVersionDefault) String

func (o *ReleaseVersionDefault) String() string

type ReleaseVersionOK

type ReleaseVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930ReleaseVersionResponse
}

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

A successful response.

func NewReleaseVersionOK

func NewReleaseVersionOK() *ReleaseVersionOK

NewReleaseVersionOK creates a ReleaseVersionOK with default headers values

func (*ReleaseVersionOK) Code

func (o *ReleaseVersionOK) Code() int

Code gets the status code for the release version o k response

func (*ReleaseVersionOK) Error

func (o *ReleaseVersionOK) Error() string

func (*ReleaseVersionOK) IsClientError

func (o *ReleaseVersionOK) IsClientError() bool

IsClientError returns true when this release version o k response has a 4xx status code

func (*ReleaseVersionOK) IsCode

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

IsCode returns true when this release version o k response a status code equal to that given

func (*ReleaseVersionOK) IsRedirect

func (o *ReleaseVersionOK) IsRedirect() bool

IsRedirect returns true when this release version o k response has a 3xx status code

func (*ReleaseVersionOK) IsServerError

func (o *ReleaseVersionOK) IsServerError() bool

IsServerError returns true when this release version o k response has a 5xx status code

func (*ReleaseVersionOK) IsSuccess

func (o *ReleaseVersionOK) IsSuccess() bool

IsSuccess returns true when this release version o k response has a 2xx status code

func (*ReleaseVersionOK) String

func (o *ReleaseVersionOK) String() string

type ReleaseVersionParams

type ReleaseVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version to release.
	*/
	Version string

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

ReleaseVersionParams contains all the parameters to send to the API endpoint

for the release version operation.

Typically these are written to a http.Request.

func NewReleaseVersionParams

func NewReleaseVersionParams() *ReleaseVersionParams

NewReleaseVersionParams creates a new ReleaseVersionParams 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 NewReleaseVersionParamsWithContext

func NewReleaseVersionParamsWithContext(ctx context.Context) *ReleaseVersionParams

NewReleaseVersionParamsWithContext creates a new ReleaseVersionParams object with the ability to set a context for a request.

func NewReleaseVersionParamsWithHTTPClient

func NewReleaseVersionParamsWithHTTPClient(client *http.Client) *ReleaseVersionParams

NewReleaseVersionParamsWithHTTPClient creates a new ReleaseVersionParams object with the ability to set a custom HTTPClient for a request.

func NewReleaseVersionParamsWithTimeout

func NewReleaseVersionParamsWithTimeout(timeout time.Duration) *ReleaseVersionParams

NewReleaseVersionParamsWithTimeout creates a new ReleaseVersionParams object with the ability to set a timeout on a request.

func (*ReleaseVersionParams) SetBox

func (o *ReleaseVersionParams) SetBox(box string)

SetBox adds the box to the release version params

func (*ReleaseVersionParams) SetContext

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

SetContext adds the context to the release version params

func (*ReleaseVersionParams) SetDefaults

func (o *ReleaseVersionParams) SetDefaults()

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

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

func (*ReleaseVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the release version params

func (*ReleaseVersionParams) SetRegistry

func (o *ReleaseVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the release version params

func (*ReleaseVersionParams) SetTimeout

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

SetTimeout adds the timeout to the release version params

func (*ReleaseVersionParams) SetVersion

func (o *ReleaseVersionParams) SetVersion(version string)

SetVersion adds the version to the release version params

func (*ReleaseVersionParams) WithBox

WithBox adds the box to the release version params

func (*ReleaseVersionParams) WithContext

WithContext adds the context to the release version params

func (*ReleaseVersionParams) WithDefaults

func (o *ReleaseVersionParams) WithDefaults() *ReleaseVersionParams

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

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

func (*ReleaseVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the release version params

func (*ReleaseVersionParams) WithRegistry

func (o *ReleaseVersionParams) WithRegistry(registry string) *ReleaseVersionParams

WithRegistry adds the registry to the release version params

func (*ReleaseVersionParams) WithTimeout

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

WithTimeout adds the timeout to the release version params

func (*ReleaseVersionParams) WithVersion

func (o *ReleaseVersionParams) WithVersion(version string) *ReleaseVersionParams

WithVersion adds the version to the release version params

func (*ReleaseVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReleaseVersionReader

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

ReleaseVersionReader is a Reader for the ReleaseVersion structure.

func (*ReleaseVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeVersionDefault

type RevokeVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewRevokeVersionDefault

func NewRevokeVersionDefault(code int) *RevokeVersionDefault

NewRevokeVersionDefault creates a RevokeVersionDefault with default headers values

func (*RevokeVersionDefault) Code

func (o *RevokeVersionDefault) Code() int

Code gets the status code for the revoke version default response

func (*RevokeVersionDefault) Error

func (o *RevokeVersionDefault) Error() string

func (*RevokeVersionDefault) GetPayload

func (o *RevokeVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*RevokeVersionDefault) IsClientError

func (o *RevokeVersionDefault) IsClientError() bool

IsClientError returns true when this revoke version default response has a 4xx status code

func (*RevokeVersionDefault) IsCode

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

IsCode returns true when this revoke version default response a status code equal to that given

func (*RevokeVersionDefault) IsRedirect

func (o *RevokeVersionDefault) IsRedirect() bool

IsRedirect returns true when this revoke version default response has a 3xx status code

func (*RevokeVersionDefault) IsServerError

func (o *RevokeVersionDefault) IsServerError() bool

IsServerError returns true when this revoke version default response has a 5xx status code

func (*RevokeVersionDefault) IsSuccess

func (o *RevokeVersionDefault) IsSuccess() bool

IsSuccess returns true when this revoke version default response has a 2xx status code

func (*RevokeVersionDefault) String

func (o *RevokeVersionDefault) String() string

type RevokeVersionOK

type RevokeVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930RevokeVersionResponse
}

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

A successful response.

func NewRevokeVersionOK

func NewRevokeVersionOK() *RevokeVersionOK

NewRevokeVersionOK creates a RevokeVersionOK with default headers values

func (*RevokeVersionOK) Code

func (o *RevokeVersionOK) Code() int

Code gets the status code for the revoke version o k response

func (*RevokeVersionOK) Error

func (o *RevokeVersionOK) Error() string

func (*RevokeVersionOK) IsClientError

func (o *RevokeVersionOK) IsClientError() bool

IsClientError returns true when this revoke version o k response has a 4xx status code

func (*RevokeVersionOK) IsCode

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

IsCode returns true when this revoke version o k response a status code equal to that given

func (*RevokeVersionOK) IsRedirect

func (o *RevokeVersionOK) IsRedirect() bool

IsRedirect returns true when this revoke version o k response has a 3xx status code

func (*RevokeVersionOK) IsServerError

func (o *RevokeVersionOK) IsServerError() bool

IsServerError returns true when this revoke version o k response has a 5xx status code

func (*RevokeVersionOK) IsSuccess

func (o *RevokeVersionOK) IsSuccess() bool

IsSuccess returns true when this revoke version o k response has a 2xx status code

func (*RevokeVersionOK) String

func (o *RevokeVersionOK) String() string

type RevokeVersionParams

type RevokeVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version to revoke.
	*/
	Version string

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

RevokeVersionParams contains all the parameters to send to the API endpoint

for the revoke version operation.

Typically these are written to a http.Request.

func NewRevokeVersionParams

func NewRevokeVersionParams() *RevokeVersionParams

NewRevokeVersionParams creates a new RevokeVersionParams 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 NewRevokeVersionParamsWithContext

func NewRevokeVersionParamsWithContext(ctx context.Context) *RevokeVersionParams

NewRevokeVersionParamsWithContext creates a new RevokeVersionParams object with the ability to set a context for a request.

func NewRevokeVersionParamsWithHTTPClient

func NewRevokeVersionParamsWithHTTPClient(client *http.Client) *RevokeVersionParams

NewRevokeVersionParamsWithHTTPClient creates a new RevokeVersionParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeVersionParamsWithTimeout

func NewRevokeVersionParamsWithTimeout(timeout time.Duration) *RevokeVersionParams

NewRevokeVersionParamsWithTimeout creates a new RevokeVersionParams object with the ability to set a timeout on a request.

func (*RevokeVersionParams) SetBox

func (o *RevokeVersionParams) SetBox(box string)

SetBox adds the box to the revoke version params

func (*RevokeVersionParams) SetContext

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

SetContext adds the context to the revoke version params

func (*RevokeVersionParams) SetDefaults

func (o *RevokeVersionParams) SetDefaults()

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

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

func (*RevokeVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke version params

func (*RevokeVersionParams) SetRegistry

func (o *RevokeVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the revoke version params

func (*RevokeVersionParams) SetTimeout

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

SetTimeout adds the timeout to the revoke version params

func (*RevokeVersionParams) SetVersion

func (o *RevokeVersionParams) SetVersion(version string)

SetVersion adds the version to the revoke version params

func (*RevokeVersionParams) WithBox

WithBox adds the box to the revoke version params

func (*RevokeVersionParams) WithContext

WithContext adds the context to the revoke version params

func (*RevokeVersionParams) WithDefaults

func (o *RevokeVersionParams) WithDefaults() *RevokeVersionParams

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

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

func (*RevokeVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke version params

func (*RevokeVersionParams) WithRegistry

func (o *RevokeVersionParams) WithRegistry(registry string) *RevokeVersionParams

WithRegistry adds the registry to the revoke version params

func (*RevokeVersionParams) WithTimeout

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

WithTimeout adds the timeout to the revoke version params

func (*RevokeVersionParams) WithVersion

func (o *RevokeVersionParams) WithVersion(version string) *RevokeVersionParams

WithVersion adds the version to the revoke version params

func (*RevokeVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeVersionReader

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

RevokeVersionReader is a Reader for the RevokeVersion structure.

func (*RevokeVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchDefault

type SearchDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewSearchDefault

func NewSearchDefault(code int) *SearchDefault

NewSearchDefault creates a SearchDefault with default headers values

func (*SearchDefault) Code

func (o *SearchDefault) Code() int

Code gets the status code for the search default response

func (*SearchDefault) Error

func (o *SearchDefault) Error() string

func (*SearchDefault) GetPayload

func (o *SearchDefault) GetPayload() *cloud.GoogleRPCStatus

func (*SearchDefault) IsClientError

func (o *SearchDefault) IsClientError() bool

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

func (*SearchDefault) IsCode

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

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

func (*SearchDefault) IsRedirect

func (o *SearchDefault) IsRedirect() bool

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

func (*SearchDefault) IsServerError

func (o *SearchDefault) IsServerError() bool

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

func (*SearchDefault) IsSuccess

func (o *SearchDefault) IsSuccess() bool

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

func (*SearchDefault) String

func (o *SearchDefault) String() string

type SearchOK

type SearchOK struct {
	Payload *models.HashicorpCloudVagrant20220930SearchIndexResponse
}

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

A successful response.

func NewSearchOK

func NewSearchOK() *SearchOK

NewSearchOK creates a SearchOK with default headers values

func (*SearchOK) Code

func (o *SearchOK) Code() int

Code gets the status code for the search o k response

func (*SearchOK) Error

func (o *SearchOK) Error() string

func (*SearchOK) IsClientError

func (o *SearchOK) IsClientError() bool

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

func (*SearchOK) IsCode

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

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

func (*SearchOK) IsRedirect

func (o *SearchOK) IsRedirect() bool

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

func (*SearchOK) IsServerError

func (o *SearchOK) IsServerError() bool

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

func (*SearchOK) IsSuccess

func (o *SearchOK) IsSuccess() bool

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

func (*SearchOK) String

func (o *SearchOK) String() string

type SearchParams

type SearchParams struct {

	/* Architectures.

	   Architecture to filter by, if provided.
	*/
	Architectures []string

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* Providers.

	   Provider to filter by, if provided.
	*/
	Providers []string

	/* Q.

	   The terms to search by.
	*/
	Q *string

	/* SortOrderBy.

	     Specifies the list of per field ordering that should be used for sorting.
	The order matters as rows are sorted in order by fields and when the field
	matches, the next field is used to tie break the ordering.
	The per field default ordering is ascending.

	The fields should be immutabile, unique, and orderable. If the field is
	not unique, more than one sort fields should be passed.

	Example: oder_by=name,age desc,created_at asc
	In that case, 'name' will get the default 'ascending' order.
	*/
	SortOrderBy []string

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

SearchParams contains all the parameters to send to the API endpoint

for the search operation.

Typically these are written to a http.Request.

func NewSearchParams

func NewSearchParams() *SearchParams

NewSearchParams creates a new SearchParams 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 NewSearchParamsWithContext

func NewSearchParamsWithContext(ctx context.Context) *SearchParams

NewSearchParamsWithContext creates a new SearchParams object with the ability to set a context for a request.

func NewSearchParamsWithHTTPClient

func NewSearchParamsWithHTTPClient(client *http.Client) *SearchParams

NewSearchParamsWithHTTPClient creates a new SearchParams object with the ability to set a custom HTTPClient for a request.

func NewSearchParamsWithTimeout

func NewSearchParamsWithTimeout(timeout time.Duration) *SearchParams

NewSearchParamsWithTimeout creates a new SearchParams object with the ability to set a timeout on a request.

func (*SearchParams) SetArchitectures

func (o *SearchParams) SetArchitectures(architectures []string)

SetArchitectures adds the architectures to the search params

func (*SearchParams) SetContext

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

SetContext adds the context to the search params

func (*SearchParams) SetDefaults

func (o *SearchParams) SetDefaults()

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

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

func (*SearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search params

func (*SearchParams) SetPaginationNextPageToken

func (o *SearchParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the search params

func (*SearchParams) SetPaginationPageSize

func (o *SearchParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the search params

func (*SearchParams) SetPaginationPreviousPageToken

func (o *SearchParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params

func (*SearchParams) SetProviders

func (o *SearchParams) SetProviders(providers []string)

SetProviders adds the providers to the search params

func (*SearchParams) SetQ

func (o *SearchParams) SetQ(q *string)

SetQ adds the q to the search params

func (*SearchParams) SetSortOrderBy

func (o *SearchParams) SetSortOrderBy(sortOrderBy []string)

SetSortOrderBy adds the sortOrderBy to the search params

func (*SearchParams) SetTimeout

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

SetTimeout adds the timeout to the search params

func (*SearchParams) WithArchitectures

func (o *SearchParams) WithArchitectures(architectures []string) *SearchParams

WithArchitectures adds the architectures to the search params

func (*SearchParams) WithContext

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

WithContext adds the context to the search params

func (*SearchParams) WithDefaults

func (o *SearchParams) WithDefaults() *SearchParams

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

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

func (*SearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search params

func (*SearchParams) WithPaginationNextPageToken

func (o *SearchParams) WithPaginationNextPageToken(paginationNextPageToken *string) *SearchParams

WithPaginationNextPageToken adds the paginationNextPageToken to the search params

func (*SearchParams) WithPaginationPageSize

func (o *SearchParams) WithPaginationPageSize(paginationPageSize *int64) *SearchParams

WithPaginationPageSize adds the paginationPageSize to the search params

func (*SearchParams) WithPaginationPreviousPageToken

func (o *SearchParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *SearchParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params

func (*SearchParams) WithProviders

func (o *SearchParams) WithProviders(providers []string) *SearchParams

WithProviders adds the providers to the search params

func (*SearchParams) WithQ

func (o *SearchParams) WithQ(q *string) *SearchParams

WithQ adds the q to the search params

func (*SearchParams) WithSortOrderBy

func (o *SearchParams) WithSortOrderBy(sortOrderBy []string) *SearchParams

WithSortOrderBy adds the sortOrderBy to the search params

func (*SearchParams) WithTimeout

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

WithTimeout adds the timeout to the search params

func (*SearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchReader

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

SearchReader is a Reader for the Search structure.

func (*SearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateArchitectureDefault

type UpdateArchitectureDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUpdateArchitectureDefault

func NewUpdateArchitectureDefault(code int) *UpdateArchitectureDefault

NewUpdateArchitectureDefault creates a UpdateArchitectureDefault with default headers values

func (*UpdateArchitectureDefault) Code

func (o *UpdateArchitectureDefault) Code() int

Code gets the status code for the update architecture default response

func (*UpdateArchitectureDefault) Error

func (o *UpdateArchitectureDefault) Error() string

func (*UpdateArchitectureDefault) GetPayload

func (*UpdateArchitectureDefault) IsClientError

func (o *UpdateArchitectureDefault) IsClientError() bool

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

func (*UpdateArchitectureDefault) IsCode

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

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

func (*UpdateArchitectureDefault) IsRedirect

func (o *UpdateArchitectureDefault) IsRedirect() bool

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

func (*UpdateArchitectureDefault) IsServerError

func (o *UpdateArchitectureDefault) IsServerError() bool

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

func (*UpdateArchitectureDefault) IsSuccess

func (o *UpdateArchitectureDefault) IsSuccess() bool

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

func (*UpdateArchitectureDefault) String

func (o *UpdateArchitectureDefault) String() string

type UpdateArchitectureOK

type UpdateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
}

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

A successful response.

func NewUpdateArchitectureOK

func NewUpdateArchitectureOK() *UpdateArchitectureOK

NewUpdateArchitectureOK creates a UpdateArchitectureOK with default headers values

func (*UpdateArchitectureOK) Code

func (o *UpdateArchitectureOK) Code() int

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

func (*UpdateArchitectureOK) Error

func (o *UpdateArchitectureOK) Error() string

func (*UpdateArchitectureOK) IsClientError

func (o *UpdateArchitectureOK) IsClientError() bool

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

func (*UpdateArchitectureOK) IsCode

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

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

func (*UpdateArchitectureOK) IsRedirect

func (o *UpdateArchitectureOK) IsRedirect() bool

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

func (*UpdateArchitectureOK) IsServerError

func (o *UpdateArchitectureOK) IsServerError() bool

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

func (*UpdateArchitectureOK) IsSuccess

func (o *UpdateArchitectureOK) IsSuccess() bool

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

func (*UpdateArchitectureOK) String

func (o *UpdateArchitectureOK) String() string

type UpdateArchitectureParams

type UpdateArchitectureParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	     Details of the Architecture to update. Note that some fields are ignored on
	input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Architecture

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

UpdateArchitectureParams contains all the parameters to send to the API endpoint

for the update architecture operation.

Typically these are written to a http.Request.

func NewUpdateArchitectureParams

func NewUpdateArchitectureParams() *UpdateArchitectureParams

NewUpdateArchitectureParams creates a new UpdateArchitectureParams 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 NewUpdateArchitectureParamsWithContext

func NewUpdateArchitectureParamsWithContext(ctx context.Context) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithContext creates a new UpdateArchitectureParams object with the ability to set a context for a request.

func NewUpdateArchitectureParamsWithHTTPClient

func NewUpdateArchitectureParamsWithHTTPClient(client *http.Client) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithHTTPClient creates a new UpdateArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateArchitectureParamsWithTimeout

func NewUpdateArchitectureParamsWithTimeout(timeout time.Duration) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithTimeout creates a new UpdateArchitectureParams object with the ability to set a timeout on a request.

func (*UpdateArchitectureParams) SetArchitecture

func (o *UpdateArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) SetBox

func (o *UpdateArchitectureParams) SetBox(box string)

SetBox adds the box to the update architecture params

func (*UpdateArchitectureParams) SetContext

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

SetContext adds the context to the update architecture params

func (*UpdateArchitectureParams) SetData

SetData adds the data to the update architecture params

func (*UpdateArchitectureParams) SetDefaults

func (o *UpdateArchitectureParams) SetDefaults()

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

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

func (*UpdateArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) SetProvider

func (o *UpdateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) SetRegistry

func (o *UpdateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) SetVersion

func (o *UpdateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WithArchitecture

func (o *UpdateArchitectureParams) WithArchitecture(architecture string) *UpdateArchitectureParams

WithArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) WithBox

WithBox adds the box to the update architecture params

func (*UpdateArchitectureParams) WithContext

WithContext adds the context to the update architecture params

func (*UpdateArchitectureParams) WithData

WithData adds the data to the update architecture params

func (*UpdateArchitectureParams) WithDefaults

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

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

func (*UpdateArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) WithProvider

func (o *UpdateArchitectureParams) WithProvider(provider string) *UpdateArchitectureParams

WithProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) WithRegistry

func (o *UpdateArchitectureParams) WithRegistry(registry string) *UpdateArchitectureParams

WithRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) WithTimeout

WithTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) WithVersion

func (o *UpdateArchitectureParams) WithVersion(version string) *UpdateArchitectureParams

WithVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateArchitectureReader

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

UpdateArchitectureReader is a Reader for the UpdateArchitecture structure.

func (*UpdateArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBoxDefault

type UpdateBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUpdateBoxDefault

func NewUpdateBoxDefault(code int) *UpdateBoxDefault

NewUpdateBoxDefault creates a UpdateBoxDefault with default headers values

func (*UpdateBoxDefault) Code

func (o *UpdateBoxDefault) Code() int

Code gets the status code for the update box default response

func (*UpdateBoxDefault) Error

func (o *UpdateBoxDefault) Error() string

func (*UpdateBoxDefault) GetPayload

func (o *UpdateBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UpdateBoxDefault) IsClientError

func (o *UpdateBoxDefault) IsClientError() bool

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

func (*UpdateBoxDefault) IsCode

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

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

func (*UpdateBoxDefault) IsRedirect

func (o *UpdateBoxDefault) IsRedirect() bool

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

func (*UpdateBoxDefault) IsServerError

func (o *UpdateBoxDefault) IsServerError() bool

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

func (*UpdateBoxDefault) IsSuccess

func (o *UpdateBoxDefault) IsSuccess() bool

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

func (*UpdateBoxDefault) String

func (o *UpdateBoxDefault) String() string

type UpdateBoxOK

type UpdateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateBoxResponse
}

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

A successful response.

func NewUpdateBoxOK

func NewUpdateBoxOK() *UpdateBoxOK

NewUpdateBoxOK creates a UpdateBoxOK with default headers values

func (*UpdateBoxOK) Code

func (o *UpdateBoxOK) Code() int

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

func (*UpdateBoxOK) Error

func (o *UpdateBoxOK) Error() string

func (*UpdateBoxOK) GetPayload

func (*UpdateBoxOK) IsClientError

func (o *UpdateBoxOK) IsClientError() bool

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

func (*UpdateBoxOK) IsCode

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

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

func (*UpdateBoxOK) IsRedirect

func (o *UpdateBoxOK) IsRedirect() bool

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

func (*UpdateBoxOK) IsServerError

func (o *UpdateBoxOK) IsServerError() bool

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

func (*UpdateBoxOK) IsSuccess

func (o *UpdateBoxOK) IsSuccess() bool

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

func (*UpdateBoxOK) String

func (o *UpdateBoxOK) String() string

type UpdateBoxParams

type UpdateBoxParams struct {

	/* Box.

	     The name segment of the Box to update. As an example, this field would
	represent the "vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	     Details of the Box to update. Note that some fields are ignored
	on input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Box

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

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

UpdateBoxParams contains all the parameters to send to the API endpoint

for the update box operation.

Typically these are written to a http.Request.

func NewUpdateBoxParams

func NewUpdateBoxParams() *UpdateBoxParams

NewUpdateBoxParams creates a new UpdateBoxParams 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 NewUpdateBoxParamsWithContext

func NewUpdateBoxParamsWithContext(ctx context.Context) *UpdateBoxParams

NewUpdateBoxParamsWithContext creates a new UpdateBoxParams object with the ability to set a context for a request.

func NewUpdateBoxParamsWithHTTPClient

func NewUpdateBoxParamsWithHTTPClient(client *http.Client) *UpdateBoxParams

NewUpdateBoxParamsWithHTTPClient creates a new UpdateBoxParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBoxParamsWithTimeout

func NewUpdateBoxParamsWithTimeout(timeout time.Duration) *UpdateBoxParams

NewUpdateBoxParamsWithTimeout creates a new UpdateBoxParams object with the ability to set a timeout on a request.

func (*UpdateBoxParams) SetBox

func (o *UpdateBoxParams) SetBox(box string)

SetBox adds the box to the update box params

func (*UpdateBoxParams) SetContext

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

SetContext adds the context to the update box params

func (*UpdateBoxParams) SetData

SetData adds the data to the update box params

func (*UpdateBoxParams) SetDefaults

func (o *UpdateBoxParams) SetDefaults()

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

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

func (*UpdateBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) SetRegistry

func (o *UpdateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the update box params

func (*UpdateBoxParams) SetTimeout

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

SetTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WithBox

func (o *UpdateBoxParams) WithBox(box string) *UpdateBoxParams

WithBox adds the box to the update box params

func (*UpdateBoxParams) WithContext

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

WithContext adds the context to the update box params

func (*UpdateBoxParams) WithData

WithData adds the data to the update box params

func (*UpdateBoxParams) WithDefaults

func (o *UpdateBoxParams) WithDefaults() *UpdateBoxParams

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

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

func (*UpdateBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) WithRegistry

func (o *UpdateBoxParams) WithRegistry(registry string) *UpdateBoxParams

WithRegistry adds the registry to the update box params

func (*UpdateBoxParams) WithTimeout

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

WithTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateBoxReader

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

UpdateBoxReader is a Reader for the UpdateBox structure.

func (*UpdateBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProviderDefault

type UpdateProviderDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUpdateProviderDefault

func NewUpdateProviderDefault(code int) *UpdateProviderDefault

NewUpdateProviderDefault creates a UpdateProviderDefault with default headers values

func (*UpdateProviderDefault) Code

func (o *UpdateProviderDefault) Code() int

Code gets the status code for the update provider default response

func (*UpdateProviderDefault) Error

func (o *UpdateProviderDefault) Error() string

func (*UpdateProviderDefault) GetPayload

func (o *UpdateProviderDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UpdateProviderDefault) IsClientError

func (o *UpdateProviderDefault) IsClientError() bool

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

func (*UpdateProviderDefault) IsCode

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

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

func (*UpdateProviderDefault) IsRedirect

func (o *UpdateProviderDefault) IsRedirect() bool

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

func (*UpdateProviderDefault) IsServerError

func (o *UpdateProviderDefault) IsServerError() bool

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

func (*UpdateProviderDefault) IsSuccess

func (o *UpdateProviderDefault) IsSuccess() bool

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

func (*UpdateProviderDefault) String

func (o *UpdateProviderDefault) String() string

type UpdateProviderOK

type UpdateProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateProviderResponse
}

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

A successful response.

func NewUpdateProviderOK

func NewUpdateProviderOK() *UpdateProviderOK

NewUpdateProviderOK creates a UpdateProviderOK with default headers values

func (*UpdateProviderOK) Code

func (o *UpdateProviderOK) Code() int

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

func (*UpdateProviderOK) Error

func (o *UpdateProviderOK) Error() string

func (*UpdateProviderOK) IsClientError

func (o *UpdateProviderOK) IsClientError() bool

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

func (*UpdateProviderOK) IsCode

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

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

func (*UpdateProviderOK) IsRedirect

func (o *UpdateProviderOK) IsRedirect() bool

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

func (*UpdateProviderOK) IsServerError

func (o *UpdateProviderOK) IsServerError() bool

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

func (*UpdateProviderOK) IsSuccess

func (o *UpdateProviderOK) IsSuccess() bool

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

func (*UpdateProviderOK) String

func (o *UpdateProviderOK) String() string

type UpdateProviderParams

type UpdateProviderParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	     Details of the Provider to update. Note that some fields are ignored on
	input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Provider

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

UpdateProviderParams contains all the parameters to send to the API endpoint

for the update provider operation.

Typically these are written to a http.Request.

func NewUpdateProviderParams

func NewUpdateProviderParams() *UpdateProviderParams

NewUpdateProviderParams creates a new UpdateProviderParams 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 NewUpdateProviderParamsWithContext

func NewUpdateProviderParamsWithContext(ctx context.Context) *UpdateProviderParams

NewUpdateProviderParamsWithContext creates a new UpdateProviderParams object with the ability to set a context for a request.

func NewUpdateProviderParamsWithHTTPClient

func NewUpdateProviderParamsWithHTTPClient(client *http.Client) *UpdateProviderParams

NewUpdateProviderParamsWithHTTPClient creates a new UpdateProviderParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProviderParamsWithTimeout

func NewUpdateProviderParamsWithTimeout(timeout time.Duration) *UpdateProviderParams

NewUpdateProviderParamsWithTimeout creates a new UpdateProviderParams object with the ability to set a timeout on a request.

func (*UpdateProviderParams) SetBox

func (o *UpdateProviderParams) SetBox(box string)

SetBox adds the box to the update provider params

func (*UpdateProviderParams) SetContext

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

SetContext adds the context to the update provider params

func (*UpdateProviderParams) SetData

SetData adds the data to the update provider params

func (*UpdateProviderParams) SetDefaults

func (o *UpdateProviderParams) SetDefaults()

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

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

func (*UpdateProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update provider params

func (*UpdateProviderParams) SetProvider

func (o *UpdateProviderParams) SetProvider(provider string)

SetProvider adds the provider to the update provider params

func (*UpdateProviderParams) SetRegistry

func (o *UpdateProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the update provider params

func (*UpdateProviderParams) SetTimeout

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

SetTimeout adds the timeout to the update provider params

func (*UpdateProviderParams) SetVersion

func (o *UpdateProviderParams) SetVersion(version string)

SetVersion adds the version to the update provider params

func (*UpdateProviderParams) WithBox

WithBox adds the box to the update provider params

func (*UpdateProviderParams) WithContext

WithContext adds the context to the update provider params

func (*UpdateProviderParams) WithData

WithData adds the data to the update provider params

func (*UpdateProviderParams) WithDefaults

func (o *UpdateProviderParams) WithDefaults() *UpdateProviderParams

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

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

func (*UpdateProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update provider params

func (*UpdateProviderParams) WithProvider

func (o *UpdateProviderParams) WithProvider(provider string) *UpdateProviderParams

WithProvider adds the provider to the update provider params

func (*UpdateProviderParams) WithRegistry

func (o *UpdateProviderParams) WithRegistry(registry string) *UpdateProviderParams

WithRegistry adds the registry to the update provider params

func (*UpdateProviderParams) WithTimeout

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

WithTimeout adds the timeout to the update provider params

func (*UpdateProviderParams) WithVersion

func (o *UpdateProviderParams) WithVersion(version string) *UpdateProviderParams

WithVersion adds the version to the update provider params

func (*UpdateProviderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateProviderReader

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

UpdateProviderReader is a Reader for the UpdateProvider structure.

func (*UpdateProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVersionDefault

type UpdateVersionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUpdateVersionDefault

func NewUpdateVersionDefault(code int) *UpdateVersionDefault

NewUpdateVersionDefault creates a UpdateVersionDefault with default headers values

func (*UpdateVersionDefault) Code

func (o *UpdateVersionDefault) Code() int

Code gets the status code for the update version default response

func (*UpdateVersionDefault) Error

func (o *UpdateVersionDefault) Error() string

func (*UpdateVersionDefault) GetPayload

func (o *UpdateVersionDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UpdateVersionDefault) IsClientError

func (o *UpdateVersionDefault) IsClientError() bool

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

func (*UpdateVersionDefault) IsCode

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

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

func (*UpdateVersionDefault) IsRedirect

func (o *UpdateVersionDefault) IsRedirect() bool

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

func (*UpdateVersionDefault) IsServerError

func (o *UpdateVersionDefault) IsServerError() bool

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

func (*UpdateVersionDefault) IsSuccess

func (o *UpdateVersionDefault) IsSuccess() bool

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

func (*UpdateVersionDefault) String

func (o *UpdateVersionDefault) String() string

type UpdateVersionOK

type UpdateVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateVersionResponse
}

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

A successful response.

func NewUpdateVersionOK

func NewUpdateVersionOK() *UpdateVersionOK

NewUpdateVersionOK creates a UpdateVersionOK with default headers values

func (*UpdateVersionOK) Code

func (o *UpdateVersionOK) Code() int

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

func (*UpdateVersionOK) Error

func (o *UpdateVersionOK) Error() string

func (*UpdateVersionOK) IsClientError

func (o *UpdateVersionOK) IsClientError() bool

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

func (*UpdateVersionOK) IsCode

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

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

func (*UpdateVersionOK) IsRedirect

func (o *UpdateVersionOK) IsRedirect() bool

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

func (*UpdateVersionOK) IsServerError

func (o *UpdateVersionOK) IsServerError() bool

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

func (*UpdateVersionOK) IsSuccess

func (o *UpdateVersionOK) IsSuccess() bool

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

func (*UpdateVersionOK) String

func (o *UpdateVersionOK) String() string

type UpdateVersionParams

type UpdateVersionParams struct {

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Data.

	     Details of the Version to update. Note that some fields are ignored
	on input and should not be set.
	*/
	Data *models.HashicorpCloudVagrant20220930Version

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the version to update.
	*/
	Version string

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

UpdateVersionParams contains all the parameters to send to the API endpoint

for the update version operation.

Typically these are written to a http.Request.

func NewUpdateVersionParams

func NewUpdateVersionParams() *UpdateVersionParams

NewUpdateVersionParams creates a new UpdateVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVersionParamsWithContext

func NewUpdateVersionParamsWithContext(ctx context.Context) *UpdateVersionParams

NewUpdateVersionParamsWithContext creates a new UpdateVersionParams object with the ability to set a context for a request.

func NewUpdateVersionParamsWithHTTPClient

func NewUpdateVersionParamsWithHTTPClient(client *http.Client) *UpdateVersionParams

NewUpdateVersionParamsWithHTTPClient creates a new UpdateVersionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVersionParamsWithTimeout

func NewUpdateVersionParamsWithTimeout(timeout time.Duration) *UpdateVersionParams

NewUpdateVersionParamsWithTimeout creates a new UpdateVersionParams object with the ability to set a timeout on a request.

func (*UpdateVersionParams) SetBox

func (o *UpdateVersionParams) SetBox(box string)

SetBox adds the box to the update version params

func (*UpdateVersionParams) SetContext

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

SetContext adds the context to the update version params

func (*UpdateVersionParams) SetData

SetData adds the data to the update version params

func (*UpdateVersionParams) SetDefaults

func (o *UpdateVersionParams) SetDefaults()

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

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

func (*UpdateVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update version params

func (*UpdateVersionParams) SetRegistry

func (o *UpdateVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the update version params

func (*UpdateVersionParams) SetTimeout

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

SetTimeout adds the timeout to the update version params

func (*UpdateVersionParams) SetVersion

func (o *UpdateVersionParams) SetVersion(version string)

SetVersion adds the version to the update version params

func (*UpdateVersionParams) WithBox

WithBox adds the box to the update version params

func (*UpdateVersionParams) WithContext

WithContext adds the context to the update version params

func (*UpdateVersionParams) WithData

WithData adds the data to the update version params

func (*UpdateVersionParams) WithDefaults

func (o *UpdateVersionParams) WithDefaults() *UpdateVersionParams

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

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

func (*UpdateVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update version params

func (*UpdateVersionParams) WithRegistry

func (o *UpdateVersionParams) WithRegistry(registry string) *UpdateVersionParams

WithRegistry adds the registry to the update version params

func (*UpdateVersionParams) WithTimeout

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

WithTimeout adds the timeout to the update version params

func (*UpdateVersionParams) WithVersion

func (o *UpdateVersionParams) WithVersion(version string) *UpdateVersionParams

WithVersion adds the version to the update version params

func (*UpdateVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateVersionReader

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

UpdateVersionReader is a Reader for the UpdateVersion structure.

func (*UpdateVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadBoxDefault

type UploadBoxDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUploadBoxDefault

func NewUploadBoxDefault(code int) *UploadBoxDefault

NewUploadBoxDefault creates a UploadBoxDefault with default headers values

func (*UploadBoxDefault) Code

func (o *UploadBoxDefault) Code() int

Code gets the status code for the upload box default response

func (*UploadBoxDefault) Error

func (o *UploadBoxDefault) Error() string

func (*UploadBoxDefault) GetPayload

func (o *UploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus

func (*UploadBoxDefault) IsClientError

func (o *UploadBoxDefault) IsClientError() bool

IsClientError returns true when this upload box default response has a 4xx status code

func (*UploadBoxDefault) IsCode

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

IsCode returns true when this upload box default response a status code equal to that given

func (*UploadBoxDefault) IsRedirect

func (o *UploadBoxDefault) IsRedirect() bool

IsRedirect returns true when this upload box default response has a 3xx status code

func (*UploadBoxDefault) IsServerError

func (o *UploadBoxDefault) IsServerError() bool

IsServerError returns true when this upload box default response has a 5xx status code

func (*UploadBoxDefault) IsSuccess

func (o *UploadBoxDefault) IsSuccess() bool

IsSuccess returns true when this upload box default response has a 2xx status code

func (*UploadBoxDefault) String

func (o *UploadBoxDefault) String() string

type UploadBoxOK

type UploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}

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

A successful response.

func NewUploadBoxOK

func NewUploadBoxOK() *UploadBoxOK

NewUploadBoxOK creates a UploadBoxOK with default headers values

func (*UploadBoxOK) Code

func (o *UploadBoxOK) Code() int

Code gets the status code for the upload box o k response

func (*UploadBoxOK) Error

func (o *UploadBoxOK) Error() string

func (*UploadBoxOK) GetPayload

func (*UploadBoxOK) IsClientError

func (o *UploadBoxOK) IsClientError() bool

IsClientError returns true when this upload box o k response has a 4xx status code

func (*UploadBoxOK) IsCode

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

IsCode returns true when this upload box o k response a status code equal to that given

func (*UploadBoxOK) IsRedirect

func (o *UploadBoxOK) IsRedirect() bool

IsRedirect returns true when this upload box o k response has a 3xx status code

func (*UploadBoxOK) IsServerError

func (o *UploadBoxOK) IsServerError() bool

IsServerError returns true when this upload box o k response has a 5xx status code

func (*UploadBoxOK) IsSuccess

func (o *UploadBoxOK) IsSuccess() bool

IsSuccess returns true when this upload box o k response has a 2xx status code

func (*UploadBoxOK) String

func (o *UploadBoxOK) String() string

type UploadBoxParams

type UploadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

	     The name segment of the Box. As an example, this field would represent the
	"vagrant" in "hashicorp/vagrant".
	*/
	Box string

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

	     The Registry segment of the Box. As an example, this field would represent
	the "hashicorp" in "hashicorp/vagrant".
	*/
	Registry string

	/* Version.

	   The name of the Version for the Provider.
	*/
	Version string

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

UploadBoxParams contains all the parameters to send to the API endpoint

for the upload box operation.

Typically these are written to a http.Request.

func NewUploadBoxParams

func NewUploadBoxParams() *UploadBoxParams

NewUploadBoxParams creates a new UploadBoxParams 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 NewUploadBoxParamsWithContext

func NewUploadBoxParamsWithContext(ctx context.Context) *UploadBoxParams

NewUploadBoxParamsWithContext creates a new UploadBoxParams object with the ability to set a context for a request.

func NewUploadBoxParamsWithHTTPClient

func NewUploadBoxParamsWithHTTPClient(client *http.Client) *UploadBoxParams

NewUploadBoxParamsWithHTTPClient creates a new UploadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewUploadBoxParamsWithTimeout

func NewUploadBoxParamsWithTimeout(timeout time.Duration) *UploadBoxParams

NewUploadBoxParamsWithTimeout creates a new UploadBoxParams object with the ability to set a timeout on a request.

func (*UploadBoxParams) SetArchitecture

func (o *UploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) SetBox

func (o *UploadBoxParams) SetBox(box string)

SetBox adds the box to the upload box params

func (*UploadBoxParams) SetContext

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

SetContext adds the context to the upload box params

func (*UploadBoxParams) SetDefaults

func (o *UploadBoxParams) SetDefaults()

SetDefaults hydrates default values in the upload box params (not the query body).

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

func (*UploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) SetProvider

func (o *UploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the upload box params

func (*UploadBoxParams) SetRegistry

func (o *UploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the upload box params

func (*UploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the upload box params

func (*UploadBoxParams) SetVersion

func (o *UploadBoxParams) SetVersion(version string)

SetVersion adds the version to the upload box params

func (*UploadBoxParams) WithArchitecture

func (o *UploadBoxParams) WithArchitecture(architecture string) *UploadBoxParams

WithArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) WithBox

func (o *UploadBoxParams) WithBox(box string) *UploadBoxParams

WithBox adds the box to the upload box params

func (*UploadBoxParams) WithContext

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

WithContext adds the context to the upload box params

func (*UploadBoxParams) WithDefaults

func (o *UploadBoxParams) WithDefaults() *UploadBoxParams

WithDefaults hydrates default values in the upload box params (not the query body).

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

func (*UploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) WithProvider

func (o *UploadBoxParams) WithProvider(provider string) *UploadBoxParams

WithProvider adds the provider to the upload box params

func (*UploadBoxParams) WithRegistry

func (o *UploadBoxParams) WithRegistry(registry string) *UploadBoxParams

WithRegistry adds the registry to the upload box params

func (*UploadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the upload box params

func (*UploadBoxParams) WithVersion

func (o *UploadBoxParams) WithVersion(version string) *UploadBoxParams

WithVersion adds the version to the upload box params

func (*UploadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadBoxReader

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

UploadBoxReader is a Reader for the UploadBox structure.

func (*UploadBoxReader) ReadResponse

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