registry_service

package
v0.97.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateRegistryDefault added in v0.95.0

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 added in v0.95.0

func NewActivateRegistryDefault(code int) *ActivateRegistryDefault

NewActivateRegistryDefault creates a ActivateRegistryDefault with default headers values

func (*ActivateRegistryDefault) Code added in v0.95.0

func (o *ActivateRegistryDefault) Code() int

Code gets the status code for the activate registry default response

func (*ActivateRegistryDefault) Error added in v0.95.0

func (o *ActivateRegistryDefault) Error() string

func (*ActivateRegistryDefault) GetPayload added in v0.95.0

func (*ActivateRegistryDefault) IsClientError added in v0.95.0

func (o *ActivateRegistryDefault) IsClientError() bool

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

func (*ActivateRegistryDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *ActivateRegistryDefault) IsRedirect() bool

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

func (*ActivateRegistryDefault) IsServerError added in v0.95.0

func (o *ActivateRegistryDefault) IsServerError() bool

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

func (*ActivateRegistryDefault) IsSuccess added in v0.95.0

func (o *ActivateRegistryDefault) IsSuccess() bool

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

func (*ActivateRegistryDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *ActivateRegistryOK) IsClientError() bool

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

func (*ActivateRegistryOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *ActivateRegistryOK) IsRedirect() bool

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

func (*ActivateRegistryOK) IsServerError added in v0.23.0

func (o *ActivateRegistryOK) IsServerError() bool

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

func (*ActivateRegistryOK) IsSuccess added in v0.23.0

func (o *ActivateRegistryOK) IsSuccess() bool

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

func (*ActivateRegistryOK) String added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

CreateBox creates box creates a new vagrant box

func (*Client) CreateProvider added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

ListArchitectures lists architectures lists all architectures within a provider

func (*Client) ListBoxes added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

ReadArchitecture reads architecture fetches a architecture for the specified provider

func (*Client) ReadBox added in v0.97.0

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

ReadBox reads box reads a vagrant box

func (*Client) ReadProvider added in v0.97.0

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 added in v0.97.0

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

ReadVersion reads version reads a box version

func (*Client) ReleaseVersion added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

UpdateVersion updates version updates a box version

func (*Client) UploadBox added in v0.97.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewCompleteDirectUploadBoxDefault(code int) *CompleteDirectUploadBoxDefault

NewCompleteDirectUploadBoxDefault creates a CompleteDirectUploadBoxDefault with default headers values

func (*CompleteDirectUploadBoxDefault) Code added in v0.97.0

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

func (*CompleteDirectUploadBoxDefault) Error added in v0.97.0

func (*CompleteDirectUploadBoxDefault) GetPayload added in v0.97.0

func (*CompleteDirectUploadBoxDefault) IsClientError added in v0.97.0

func (o *CompleteDirectUploadBoxDefault) IsClientError() bool

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

func (*CompleteDirectUploadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CompleteDirectUploadBoxDefault) IsRedirect() bool

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

func (*CompleteDirectUploadBoxDefault) IsServerError added in v0.97.0

func (o *CompleteDirectUploadBoxDefault) IsServerError() bool

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

func (*CompleteDirectUploadBoxDefault) IsSuccess added in v0.97.0

func (o *CompleteDirectUploadBoxDefault) IsSuccess() bool

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

func (*CompleteDirectUploadBoxDefault) String added in v0.97.0

type CompleteDirectUploadBoxOK added in v0.97.0

type CompleteDirectUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}

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

A successful response.

func NewCompleteDirectUploadBoxOK added in v0.97.0

func NewCompleteDirectUploadBoxOK() *CompleteDirectUploadBoxOK

NewCompleteDirectUploadBoxOK creates a CompleteDirectUploadBoxOK with default headers values

func (*CompleteDirectUploadBoxOK) Code added in v0.97.0

func (o *CompleteDirectUploadBoxOK) Code() int

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

func (*CompleteDirectUploadBoxOK) Error added in v0.97.0

func (o *CompleteDirectUploadBoxOK) Error() string

func (*CompleteDirectUploadBoxOK) GetPayload added in v0.97.0

func (*CompleteDirectUploadBoxOK) IsClientError added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CompleteDirectUploadBoxOK) String() string

type CompleteDirectUploadBoxParams added in v0.97.0

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

	/* Bytes.

	   Size of the artifact uploaded.

	   Format: uint64
	*/
	Bytes *string

	/* Key.

	   Storage key of the upload.
	*/
	Key *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

	/* Success.

	   Success status of the upload.
	*/
	Success *bool

	/* 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 added in v0.97.0

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 added in v0.97.0

func NewCompleteDirectUploadBoxParamsWithContext(ctx context.Context) *CompleteDirectUploadBoxParams

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

func NewCompleteDirectUploadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetBox added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetBytes added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetBytes(bytes *string)

SetBytes adds the bytes to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetKey added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetKey(key *string)

SetKey adds the key to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetObject added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetObject(object string)

SetObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetProvider added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetRegistry added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetSuccess added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetSuccess(success *bool)

SetSuccess adds the success to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetVersion added in v0.97.0

func (o *CompleteDirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithBox added in v0.97.0

WithBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithBytes added in v0.97.0

WithBytes adds the bytes to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithContext added in v0.97.0

WithContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

WithHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithKey added in v0.97.0

WithKey adds the key to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithObject added in v0.97.0

WithObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithProvider added in v0.97.0

WithProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithRegistry added in v0.97.0

WithRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithSuccess added in v0.97.0

WithSuccess adds the success to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithVersion added in v0.97.0

WithVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type CompleteDirectUploadBoxReader added in v0.97.0

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

CompleteDirectUploadBoxReader is a Reader for the CompleteDirectUploadBox structure.

func (*CompleteDirectUploadBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type CompleteUploadBoxBody added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

MarshalBinary interface implementation

func (*CompleteUploadBoxBody) UnmarshalBinary added in v0.97.0

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

UnmarshalBinary interface implementation

func (*CompleteUploadBoxBody) Validate added in v0.97.0

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

Validate validates this complete upload box body

type CompleteUploadBoxDefault added in v0.97.0

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 added in v0.97.0

func NewCompleteUploadBoxDefault(code int) *CompleteUploadBoxDefault

NewCompleteUploadBoxDefault creates a CompleteUploadBoxDefault with default headers values

func (*CompleteUploadBoxDefault) Code added in v0.97.0

func (o *CompleteUploadBoxDefault) Code() int

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

func (*CompleteUploadBoxDefault) Error added in v0.97.0

func (o *CompleteUploadBoxDefault) Error() string

func (*CompleteUploadBoxDefault) GetPayload added in v0.97.0

func (*CompleteUploadBoxDefault) IsClientError added in v0.97.0

func (o *CompleteUploadBoxDefault) IsClientError() bool

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

func (*CompleteUploadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CompleteUploadBoxDefault) IsRedirect() bool

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

func (*CompleteUploadBoxDefault) IsServerError added in v0.97.0

func (o *CompleteUploadBoxDefault) IsServerError() bool

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

func (*CompleteUploadBoxDefault) IsSuccess added in v0.97.0

func (o *CompleteUploadBoxDefault) IsSuccess() bool

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

func (*CompleteUploadBoxDefault) String added in v0.97.0

func (o *CompleteUploadBoxDefault) String() string

type CompleteUploadBoxOK added in v0.97.0

type CompleteUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}

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

A successful response.

func NewCompleteUploadBoxOK added in v0.97.0

func NewCompleteUploadBoxOK() *CompleteUploadBoxOK

NewCompleteUploadBoxOK creates a CompleteUploadBoxOK with default headers values

func (*CompleteUploadBoxOK) Code added in v0.97.0

func (o *CompleteUploadBoxOK) Code() int

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

func (*CompleteUploadBoxOK) Error added in v0.97.0

func (o *CompleteUploadBoxOK) Error() string

func (*CompleteUploadBoxOK) GetPayload added in v0.97.0

func (*CompleteUploadBoxOK) IsClientError added in v0.97.0

func (o *CompleteUploadBoxOK) IsClientError() bool

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

func (*CompleteUploadBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CompleteUploadBoxOK) IsRedirect() bool

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

func (*CompleteUploadBoxOK) IsServerError added in v0.97.0

func (o *CompleteUploadBoxOK) IsServerError() bool

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

func (*CompleteUploadBoxOK) IsSuccess added in v0.97.0

func (o *CompleteUploadBoxOK) IsSuccess() bool

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

func (*CompleteUploadBoxOK) String added in v0.97.0

func (o *CompleteUploadBoxOK) String() string

type CompleteUploadBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewCompleteUploadBoxParamsWithContext(ctx context.Context) *CompleteUploadBoxParams

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

func NewCompleteUploadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CompleteUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) SetBody added in v0.97.0

SetBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) SetBox added in v0.97.0

func (o *CompleteUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) SetProvider added in v0.97.0

func (o *CompleteUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) SetRegistry added in v0.97.0

func (o *CompleteUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) SetVersion added in v0.97.0

func (o *CompleteUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) WithBody added in v0.97.0

WithBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) WithBox added in v0.97.0

WithBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) WithContext added in v0.97.0

WithContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type CompleteUploadBoxReader added in v0.97.0

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

CompleteUploadBoxReader is a Reader for the CompleteUploadBox structure.

func (*CompleteUploadBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type CreateArchitectureDefault added in v0.97.0

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 added in v0.97.0

func NewCreateArchitectureDefault(code int) *CreateArchitectureDefault

NewCreateArchitectureDefault creates a CreateArchitectureDefault with default headers values

func (*CreateArchitectureDefault) Code added in v0.97.0

func (o *CreateArchitectureDefault) Code() int

Code gets the status code for the create architecture default response

func (*CreateArchitectureDefault) Error added in v0.97.0

func (o *CreateArchitectureDefault) Error() string

func (*CreateArchitectureDefault) GetPayload added in v0.97.0

func (*CreateArchitectureDefault) IsClientError added in v0.97.0

func (o *CreateArchitectureDefault) IsClientError() bool

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

func (*CreateArchitectureDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateArchitectureDefault) IsRedirect() bool

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

func (*CreateArchitectureDefault) IsServerError added in v0.97.0

func (o *CreateArchitectureDefault) IsServerError() bool

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

func (*CreateArchitectureDefault) IsSuccess added in v0.97.0

func (o *CreateArchitectureDefault) IsSuccess() bool

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

func (*CreateArchitectureDefault) String added in v0.97.0

func (o *CreateArchitectureDefault) String() string

type CreateArchitectureOK added in v0.97.0

type CreateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
}

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

A successful response.

func NewCreateArchitectureOK added in v0.97.0

func NewCreateArchitectureOK() *CreateArchitectureOK

NewCreateArchitectureOK creates a CreateArchitectureOK with default headers values

func (*CreateArchitectureOK) Code added in v0.97.0

func (o *CreateArchitectureOK) Code() int

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

func (*CreateArchitectureOK) Error added in v0.97.0

func (o *CreateArchitectureOK) Error() string

func (*CreateArchitectureOK) GetPayload added in v0.97.0

func (*CreateArchitectureOK) IsClientError added in v0.97.0

func (o *CreateArchitectureOK) IsClientError() bool

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

func (*CreateArchitectureOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateArchitectureOK) IsRedirect() bool

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

func (*CreateArchitectureOK) IsServerError added in v0.97.0

func (o *CreateArchitectureOK) IsServerError() bool

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

func (*CreateArchitectureOK) IsSuccess added in v0.97.0

func (o *CreateArchitectureOK) IsSuccess() bool

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

func (*CreateArchitectureOK) String added in v0.97.0

func (o *CreateArchitectureOK) String() string

type CreateArchitectureParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewCreateArchitectureParamsWithContext(ctx context.Context) *CreateArchitectureParams

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

func NewCreateArchitectureParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CreateArchitectureParams) SetBox(box string)

SetBox adds the box to the create architecture params

func (*CreateArchitectureParams) SetContext added in v0.97.0

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

SetContext adds the context to the create architecture params

func (*CreateArchitectureParams) SetData added in v0.97.0

SetData adds the data to the create architecture params

func (*CreateArchitectureParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) SetProvider added in v0.97.0

func (o *CreateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) SetRegistry added in v0.97.0

func (o *CreateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) SetVersion added in v0.97.0

func (o *CreateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WithBox added in v0.97.0

WithBox adds the box to the create architecture params

func (*CreateArchitectureParams) WithContext added in v0.97.0

WithContext adds the context to the create architecture params

func (*CreateArchitectureParams) WithData added in v0.97.0

WithData adds the data to the create architecture params

func (*CreateArchitectureParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type CreateArchitectureReader added in v0.97.0

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

CreateArchitectureReader is a Reader for the CreateArchitecture structure.

func (*CreateArchitectureReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type CreateBoxDefault added in v0.97.0

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 added in v0.97.0

func NewCreateBoxDefault(code int) *CreateBoxDefault

NewCreateBoxDefault creates a CreateBoxDefault with default headers values

func (*CreateBoxDefault) Code added in v0.97.0

func (o *CreateBoxDefault) Code() int

Code gets the status code for the create box default response

func (*CreateBoxDefault) Error added in v0.97.0

func (o *CreateBoxDefault) Error() string

func (*CreateBoxDefault) GetPayload added in v0.97.0

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

func (*CreateBoxDefault) IsClientError added in v0.97.0

func (o *CreateBoxDefault) IsClientError() bool

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

func (*CreateBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateBoxDefault) IsRedirect() bool

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

func (*CreateBoxDefault) IsServerError added in v0.97.0

func (o *CreateBoxDefault) IsServerError() bool

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

func (*CreateBoxDefault) IsSuccess added in v0.97.0

func (o *CreateBoxDefault) IsSuccess() bool

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

func (*CreateBoxDefault) String added in v0.97.0

func (o *CreateBoxDefault) String() string

type CreateBoxOK added in v0.97.0

type CreateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateBoxResponse
}

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

A successful response.

func NewCreateBoxOK added in v0.97.0

func NewCreateBoxOK() *CreateBoxOK

NewCreateBoxOK creates a CreateBoxOK with default headers values

func (*CreateBoxOK) Code added in v0.97.0

func (o *CreateBoxOK) Code() int

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

func (*CreateBoxOK) Error added in v0.97.0

func (o *CreateBoxOK) Error() string

func (*CreateBoxOK) GetPayload added in v0.97.0

func (*CreateBoxOK) IsClientError added in v0.97.0

func (o *CreateBoxOK) IsClientError() bool

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

func (*CreateBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateBoxOK) IsRedirect() bool

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

func (*CreateBoxOK) IsServerError added in v0.97.0

func (o *CreateBoxOK) IsServerError() bool

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

func (*CreateBoxOK) IsSuccess added in v0.97.0

func (o *CreateBoxOK) IsSuccess() bool

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

func (*CreateBoxOK) String added in v0.97.0

func (o *CreateBoxOK) String() string

type CreateBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewCreateBoxParamsWithContext(ctx context.Context) *CreateBoxParams

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

func NewCreateBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

SetContext adds the context to the create box params

func (*CreateBoxParams) SetData added in v0.97.0

SetData adds the data to the create box params

func (*CreateBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) SetRegistry added in v0.97.0

func (o *CreateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the create box params

func (*CreateBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the create box params

func (*CreateBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the create box params

func (*CreateBoxParams) WithData added in v0.97.0

WithData adds the data to the create box params

func (*CreateBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the create box params

func (*CreateBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the create box params

func (*CreateBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type CreateBoxReader added in v0.97.0

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

CreateBoxReader is a Reader for the CreateBox structure.

func (*CreateBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type CreateProviderDefault added in v0.97.0

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 added in v0.97.0

func NewCreateProviderDefault(code int) *CreateProviderDefault

NewCreateProviderDefault creates a CreateProviderDefault with default headers values

func (*CreateProviderDefault) Code added in v0.97.0

func (o *CreateProviderDefault) Code() int

Code gets the status code for the create provider default response

func (*CreateProviderDefault) Error added in v0.97.0

func (o *CreateProviderDefault) Error() string

func (*CreateProviderDefault) GetPayload added in v0.97.0

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

func (*CreateProviderDefault) IsClientError added in v0.97.0

func (o *CreateProviderDefault) IsClientError() bool

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

func (*CreateProviderDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateProviderDefault) IsRedirect() bool

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

func (*CreateProviderDefault) IsServerError added in v0.97.0

func (o *CreateProviderDefault) IsServerError() bool

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

func (*CreateProviderDefault) IsSuccess added in v0.97.0

func (o *CreateProviderDefault) IsSuccess() bool

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

func (*CreateProviderDefault) String added in v0.97.0

func (o *CreateProviderDefault) String() string

type CreateProviderOK added in v0.97.0

type CreateProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateProviderResponse
}

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

A successful response.

func NewCreateProviderOK added in v0.97.0

func NewCreateProviderOK() *CreateProviderOK

NewCreateProviderOK creates a CreateProviderOK with default headers values

func (*CreateProviderOK) Code added in v0.97.0

func (o *CreateProviderOK) Code() int

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

func (*CreateProviderOK) Error added in v0.97.0

func (o *CreateProviderOK) Error() string

func (*CreateProviderOK) GetPayload added in v0.97.0

func (*CreateProviderOK) IsClientError added in v0.97.0

func (o *CreateProviderOK) IsClientError() bool

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

func (*CreateProviderOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateProviderOK) IsRedirect() bool

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

func (*CreateProviderOK) IsServerError added in v0.97.0

func (o *CreateProviderOK) IsServerError() bool

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

func (*CreateProviderOK) IsSuccess added in v0.97.0

func (o *CreateProviderOK) IsSuccess() bool

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

func (*CreateProviderOK) String added in v0.97.0

func (o *CreateProviderOK) String() string

type CreateProviderParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewCreateProviderParamsWithContext(ctx context.Context) *CreateProviderParams

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

func NewCreateProviderParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CreateProviderParams) SetBox(box string)

SetBox adds the box to the create provider params

func (*CreateProviderParams) SetContext added in v0.97.0

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

SetContext adds the context to the create provider params

func (*CreateProviderParams) SetData added in v0.97.0

SetData adds the data to the create provider params

func (*CreateProviderParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the create provider params

func (*CreateProviderParams) SetRegistry added in v0.97.0

func (o *CreateProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the create provider params

func (*CreateProviderParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the create provider params

func (*CreateProviderParams) SetVersion added in v0.97.0

func (o *CreateProviderParams) SetVersion(version string)

SetVersion adds the version to the create provider params

func (*CreateProviderParams) WithBox added in v0.97.0

WithBox adds the box to the create provider params

func (*CreateProviderParams) WithContext added in v0.97.0

WithContext adds the context to the create provider params

func (*CreateProviderParams) WithData added in v0.97.0

WithData adds the data to the create provider params

func (*CreateProviderParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the create provider params

func (*CreateProviderParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the create provider params

func (*CreateProviderParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the create provider params

func (*CreateProviderParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the create provider params

func (*CreateProviderParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type CreateProviderReader added in v0.97.0

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

CreateProviderReader is a Reader for the CreateProvider structure.

func (*CreateProviderReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type CreateRegistryDefault added in v0.95.0

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 added in v0.95.0

func NewCreateRegistryDefault(code int) *CreateRegistryDefault

NewCreateRegistryDefault creates a CreateRegistryDefault with default headers values

func (*CreateRegistryDefault) Code added in v0.95.0

func (o *CreateRegistryDefault) Code() int

Code gets the status code for the create registry default response

func (*CreateRegistryDefault) Error added in v0.95.0

func (o *CreateRegistryDefault) Error() string

func (*CreateRegistryDefault) GetPayload added in v0.95.0

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

func (*CreateRegistryDefault) IsClientError added in v0.95.0

func (o *CreateRegistryDefault) IsClientError() bool

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

func (*CreateRegistryDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *CreateRegistryDefault) IsRedirect() bool

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

func (*CreateRegistryDefault) IsServerError added in v0.95.0

func (o *CreateRegistryDefault) IsServerError() bool

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

func (*CreateRegistryDefault) IsSuccess added in v0.95.0

func (o *CreateRegistryDefault) IsSuccess() bool

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

func (*CreateRegistryDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *CreateRegistryOK) IsClientError() bool

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

func (*CreateRegistryOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *CreateRegistryOK) IsRedirect() bool

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

func (*CreateRegistryOK) IsServerError added in v0.23.0

func (o *CreateRegistryOK) IsServerError() bool

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

func (*CreateRegistryOK) IsSuccess added in v0.23.0

func (o *CreateRegistryOK) IsSuccess() bool

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

func (*CreateRegistryOK) String added in v0.23.0

func (o *CreateRegistryOK) String() string

type CreateRegistryParams

type CreateRegistryParams struct {

	// Body.
	Body *models.HashicorpCloudVagrant20220930CreateRegistryRequest

	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) SetBody

SetBody adds the body to the create registry params

func (*CreateRegistryParams) SetContext

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

SetContext adds the context to the create registry params

func (*CreateRegistryParams) SetDefaults added in v0.23.0

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) WithBody

WithBody adds the body to the create registry params

func (*CreateRegistryParams) WithContext

WithContext adds the context to the create registry params

func (*CreateRegistryParams) WithDefaults added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewCreateVersionDefault(code int) *CreateVersionDefault

NewCreateVersionDefault creates a CreateVersionDefault with default headers values

func (*CreateVersionDefault) Code added in v0.97.0

func (o *CreateVersionDefault) Code() int

Code gets the status code for the create version default response

func (*CreateVersionDefault) Error added in v0.97.0

func (o *CreateVersionDefault) Error() string

func (*CreateVersionDefault) GetPayload added in v0.97.0

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

func (*CreateVersionDefault) IsClientError added in v0.97.0

func (o *CreateVersionDefault) IsClientError() bool

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

func (*CreateVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateVersionDefault) IsRedirect() bool

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

func (*CreateVersionDefault) IsServerError added in v0.97.0

func (o *CreateVersionDefault) IsServerError() bool

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

func (*CreateVersionDefault) IsSuccess added in v0.97.0

func (o *CreateVersionDefault) IsSuccess() bool

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

func (*CreateVersionDefault) String added in v0.97.0

func (o *CreateVersionDefault) String() string

type CreateVersionOK added in v0.97.0

type CreateVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateVersionResponse
}

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

A successful response.

func NewCreateVersionOK added in v0.97.0

func NewCreateVersionOK() *CreateVersionOK

NewCreateVersionOK creates a CreateVersionOK with default headers values

func (*CreateVersionOK) Code added in v0.97.0

func (o *CreateVersionOK) Code() int

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

func (*CreateVersionOK) Error added in v0.97.0

func (o *CreateVersionOK) Error() string

func (*CreateVersionOK) GetPayload added in v0.97.0

func (*CreateVersionOK) IsClientError added in v0.97.0

func (o *CreateVersionOK) IsClientError() bool

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

func (*CreateVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *CreateVersionOK) IsRedirect() bool

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

func (*CreateVersionOK) IsServerError added in v0.97.0

func (o *CreateVersionOK) IsServerError() bool

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

func (*CreateVersionOK) IsSuccess added in v0.97.0

func (o *CreateVersionOK) IsSuccess() bool

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

func (*CreateVersionOK) String added in v0.97.0

func (o *CreateVersionOK) String() string

type CreateVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewCreateVersionParamsWithContext(ctx context.Context) *CreateVersionParams

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

func NewCreateVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *CreateVersionParams) SetBox(box string)

SetBox adds the box to the create version params

func (*CreateVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the create version params

func (*CreateVersionParams) SetData added in v0.97.0

SetData adds the data to the create version params

func (*CreateVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the create version params

func (*CreateVersionParams) SetRegistry added in v0.97.0

func (o *CreateVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the create version params

func (*CreateVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the create version params

func (*CreateVersionParams) WithBox added in v0.97.0

WithBox adds the box to the create version params

func (*CreateVersionParams) WithContext added in v0.97.0

WithContext adds the context to the create version params

func (*CreateVersionParams) WithData added in v0.97.0

WithData adds the data to the create version params

func (*CreateVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the create version params

func (*CreateVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the create version params

func (*CreateVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the create version params

func (*CreateVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type CreateVersionReader added in v0.97.0

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

CreateVersionReader is a Reader for the CreateVersion structure.

func (*CreateVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DeactivateRegistryDefault added in v0.95.0

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 added in v0.95.0

func NewDeactivateRegistryDefault(code int) *DeactivateRegistryDefault

NewDeactivateRegistryDefault creates a DeactivateRegistryDefault with default headers values

func (*DeactivateRegistryDefault) Code added in v0.95.0

func (o *DeactivateRegistryDefault) Code() int

Code gets the status code for the deactivate registry default response

func (*DeactivateRegistryDefault) Error added in v0.95.0

func (o *DeactivateRegistryDefault) Error() string

func (*DeactivateRegistryDefault) GetPayload added in v0.95.0

func (*DeactivateRegistryDefault) IsClientError added in v0.95.0

func (o *DeactivateRegistryDefault) IsClientError() bool

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

func (*DeactivateRegistryDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *DeactivateRegistryDefault) IsRedirect() bool

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

func (*DeactivateRegistryDefault) IsServerError added in v0.95.0

func (o *DeactivateRegistryDefault) IsServerError() bool

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

func (*DeactivateRegistryDefault) IsSuccess added in v0.95.0

func (o *DeactivateRegistryDefault) IsSuccess() bool

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

func (*DeactivateRegistryDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *DeactivateRegistryOK) IsClientError() bool

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

func (*DeactivateRegistryOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *DeactivateRegistryOK) IsRedirect() bool

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

func (*DeactivateRegistryOK) IsServerError added in v0.23.0

func (o *DeactivateRegistryOK) IsServerError() bool

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

func (*DeactivateRegistryOK) IsSuccess added in v0.23.0

func (o *DeactivateRegistryOK) IsSuccess() bool

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

func (*DeactivateRegistryOK) String added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteArchitectureDefault(code int) *DeleteArchitectureDefault

NewDeleteArchitectureDefault creates a DeleteArchitectureDefault with default headers values

func (*DeleteArchitectureDefault) Code added in v0.97.0

func (o *DeleteArchitectureDefault) Code() int

Code gets the status code for the delete architecture default response

func (*DeleteArchitectureDefault) Error added in v0.97.0

func (o *DeleteArchitectureDefault) Error() string

func (*DeleteArchitectureDefault) GetPayload added in v0.97.0

func (*DeleteArchitectureDefault) IsClientError added in v0.97.0

func (o *DeleteArchitectureDefault) IsClientError() bool

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

func (*DeleteArchitectureDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteArchitectureDefault) IsRedirect() bool

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

func (*DeleteArchitectureDefault) IsServerError added in v0.97.0

func (o *DeleteArchitectureDefault) IsServerError() bool

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

func (*DeleteArchitectureDefault) IsSuccess added in v0.97.0

func (o *DeleteArchitectureDefault) IsSuccess() bool

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

func (*DeleteArchitectureDefault) String added in v0.97.0

func (o *DeleteArchitectureDefault) String() string

type DeleteArchitectureOK added in v0.97.0

type DeleteArchitectureOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
}

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

A successful response.

func NewDeleteArchitectureOK added in v0.97.0

func NewDeleteArchitectureOK() *DeleteArchitectureOK

NewDeleteArchitectureOK creates a DeleteArchitectureOK with default headers values

func (*DeleteArchitectureOK) Code added in v0.97.0

func (o *DeleteArchitectureOK) Code() int

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

func (*DeleteArchitectureOK) Error added in v0.97.0

func (o *DeleteArchitectureOK) Error() string

func (*DeleteArchitectureOK) GetPayload added in v0.97.0

func (*DeleteArchitectureOK) IsClientError added in v0.97.0

func (o *DeleteArchitectureOK) IsClientError() bool

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

func (*DeleteArchitectureOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteArchitectureOK) IsRedirect() bool

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

func (*DeleteArchitectureOK) IsServerError added in v0.97.0

func (o *DeleteArchitectureOK) IsServerError() bool

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

func (*DeleteArchitectureOK) IsSuccess added in v0.97.0

func (o *DeleteArchitectureOK) IsSuccess() bool

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

func (*DeleteArchitectureOK) String added in v0.97.0

func (o *DeleteArchitectureOK) String() string

type DeleteArchitectureParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteArchitectureParamsWithContext(ctx context.Context) *DeleteArchitectureParams

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

func NewDeleteArchitectureParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DeleteArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) SetBox added in v0.97.0

func (o *DeleteArchitectureParams) SetBox(box string)

SetBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) SetContext added in v0.97.0

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

SetContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) SetProvider added in v0.97.0

func (o *DeleteArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) SetRegistry added in v0.97.0

func (o *DeleteArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) SetVersion added in v0.97.0

func (o *DeleteArchitectureParams) SetVersion(version string)

SetVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) WithBox added in v0.97.0

WithBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) WithContext added in v0.97.0

WithContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type DeleteArchitectureReader added in v0.97.0

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

DeleteArchitectureReader is a Reader for the DeleteArchitecture structure.

func (*DeleteArchitectureReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DeleteBoxDefault added in v0.97.0

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 added in v0.97.0

func NewDeleteBoxDefault(code int) *DeleteBoxDefault

NewDeleteBoxDefault creates a DeleteBoxDefault with default headers values

func (*DeleteBoxDefault) Code added in v0.97.0

func (o *DeleteBoxDefault) Code() int

Code gets the status code for the delete box default response

func (*DeleteBoxDefault) Error added in v0.97.0

func (o *DeleteBoxDefault) Error() string

func (*DeleteBoxDefault) GetPayload added in v0.97.0

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

func (*DeleteBoxDefault) IsClientError added in v0.97.0

func (o *DeleteBoxDefault) IsClientError() bool

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

func (*DeleteBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteBoxDefault) IsRedirect() bool

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

func (*DeleteBoxDefault) IsServerError added in v0.97.0

func (o *DeleteBoxDefault) IsServerError() bool

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

func (*DeleteBoxDefault) IsSuccess added in v0.97.0

func (o *DeleteBoxDefault) IsSuccess() bool

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

func (*DeleteBoxDefault) String added in v0.97.0

func (o *DeleteBoxDefault) String() string

type DeleteBoxOK added in v0.97.0

type DeleteBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DeleteBoxResponse
}

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

A successful response.

func NewDeleteBoxOK added in v0.97.0

func NewDeleteBoxOK() *DeleteBoxOK

NewDeleteBoxOK creates a DeleteBoxOK with default headers values

func (*DeleteBoxOK) Code added in v0.97.0

func (o *DeleteBoxOK) Code() int

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

func (*DeleteBoxOK) Error added in v0.97.0

func (o *DeleteBoxOK) Error() string

func (*DeleteBoxOK) GetPayload added in v0.97.0

func (*DeleteBoxOK) IsClientError added in v0.97.0

func (o *DeleteBoxOK) IsClientError() bool

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

func (*DeleteBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteBoxOK) IsRedirect() bool

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

func (*DeleteBoxOK) IsServerError added in v0.97.0

func (o *DeleteBoxOK) IsServerError() bool

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

func (*DeleteBoxOK) IsSuccess added in v0.97.0

func (o *DeleteBoxOK) IsSuccess() bool

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

func (*DeleteBoxOK) String added in v0.97.0

func (o *DeleteBoxOK) String() string

type DeleteBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteBoxParamsWithContext(ctx context.Context) *DeleteBoxParams

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

func NewDeleteBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DeleteBoxParams) SetBox(box string)

SetBox adds the box to the delete box params

func (*DeleteBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the delete box params

func (*DeleteBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) SetRegistry added in v0.97.0

func (o *DeleteBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete box params

func (*DeleteBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WithBox added in v0.97.0

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

WithBox adds the box to the delete box params

func (*DeleteBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the delete box params

func (*DeleteBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the delete box params

func (*DeleteBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type DeleteBoxReader added in v0.97.0

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

DeleteBoxReader is a Reader for the DeleteBox structure.

func (*DeleteBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DeleteProviderDefault added in v0.97.0

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 added in v0.97.0

func NewDeleteProviderDefault(code int) *DeleteProviderDefault

NewDeleteProviderDefault creates a DeleteProviderDefault with default headers values

func (*DeleteProviderDefault) Code added in v0.97.0

func (o *DeleteProviderDefault) Code() int

Code gets the status code for the delete provider default response

func (*DeleteProviderDefault) Error added in v0.97.0

func (o *DeleteProviderDefault) Error() string

func (*DeleteProviderDefault) GetPayload added in v0.97.0

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

func (*DeleteProviderDefault) IsClientError added in v0.97.0

func (o *DeleteProviderDefault) IsClientError() bool

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

func (*DeleteProviderDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteProviderDefault) IsRedirect() bool

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

func (*DeleteProviderDefault) IsServerError added in v0.97.0

func (o *DeleteProviderDefault) IsServerError() bool

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

func (*DeleteProviderDefault) IsSuccess added in v0.97.0

func (o *DeleteProviderDefault) IsSuccess() bool

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

func (*DeleteProviderDefault) String added in v0.97.0

func (o *DeleteProviderDefault) String() string

type DeleteProviderOK added in v0.97.0

type DeleteProviderOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteProviderResponse
}

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

A successful response.

func NewDeleteProviderOK added in v0.97.0

func NewDeleteProviderOK() *DeleteProviderOK

NewDeleteProviderOK creates a DeleteProviderOK with default headers values

func (*DeleteProviderOK) Code added in v0.97.0

func (o *DeleteProviderOK) Code() int

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

func (*DeleteProviderOK) Error added in v0.97.0

func (o *DeleteProviderOK) Error() string

func (*DeleteProviderOK) GetPayload added in v0.97.0

func (*DeleteProviderOK) IsClientError added in v0.97.0

func (o *DeleteProviderOK) IsClientError() bool

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

func (*DeleteProviderOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteProviderOK) IsRedirect() bool

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

func (*DeleteProviderOK) IsServerError added in v0.97.0

func (o *DeleteProviderOK) IsServerError() bool

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

func (*DeleteProviderOK) IsSuccess added in v0.97.0

func (o *DeleteProviderOK) IsSuccess() bool

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

func (*DeleteProviderOK) String added in v0.97.0

func (o *DeleteProviderOK) String() string

type DeleteProviderParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteProviderParamsWithContext(ctx context.Context) *DeleteProviderParams

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

func NewDeleteProviderParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DeleteProviderParams) SetBox(box string)

SetBox adds the box to the delete provider params

func (*DeleteProviderParams) SetContext added in v0.97.0

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

SetContext adds the context to the delete provider params

func (*DeleteProviderParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the delete provider params

func (*DeleteProviderParams) SetProvider added in v0.97.0

func (o *DeleteProviderParams) SetProvider(provider string)

SetProvider adds the provider to the delete provider params

func (*DeleteProviderParams) SetRegistry added in v0.97.0

func (o *DeleteProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete provider params

func (*DeleteProviderParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the delete provider params

func (*DeleteProviderParams) SetVersion added in v0.97.0

func (o *DeleteProviderParams) SetVersion(version string)

SetVersion adds the version to the delete provider params

func (*DeleteProviderParams) WithBox added in v0.97.0

WithBox adds the box to the delete provider params

func (*DeleteProviderParams) WithContext added in v0.97.0

WithContext adds the context to the delete provider params

func (*DeleteProviderParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the delete provider params

func (*DeleteProviderParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the delete provider params

func (*DeleteProviderParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the delete provider params

func (*DeleteProviderParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the delete provider params

func (*DeleteProviderParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the delete provider params

func (*DeleteProviderParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type DeleteProviderReader added in v0.97.0

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

DeleteProviderReader is a Reader for the DeleteProvider structure.

func (*DeleteProviderReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DeleteRegistryDefault added in v0.95.0

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 added in v0.95.0

func NewDeleteRegistryDefault(code int) *DeleteRegistryDefault

NewDeleteRegistryDefault creates a DeleteRegistryDefault with default headers values

func (*DeleteRegistryDefault) Code added in v0.95.0

func (o *DeleteRegistryDefault) Code() int

Code gets the status code for the delete registry default response

func (*DeleteRegistryDefault) Error added in v0.95.0

func (o *DeleteRegistryDefault) Error() string

func (*DeleteRegistryDefault) GetPayload added in v0.95.0

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

func (*DeleteRegistryDefault) IsClientError added in v0.95.0

func (o *DeleteRegistryDefault) IsClientError() bool

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

func (*DeleteRegistryDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *DeleteRegistryDefault) IsRedirect() bool

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

func (*DeleteRegistryDefault) IsServerError added in v0.95.0

func (o *DeleteRegistryDefault) IsServerError() bool

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

func (*DeleteRegistryDefault) IsSuccess added in v0.95.0

func (o *DeleteRegistryDefault) IsSuccess() bool

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

func (*DeleteRegistryDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *DeleteRegistryOK) IsClientError() bool

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

func (*DeleteRegistryOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *DeleteRegistryOK) IsRedirect() bool

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

func (*DeleteRegistryOK) IsServerError added in v0.23.0

func (o *DeleteRegistryOK) IsServerError() bool

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

func (*DeleteRegistryOK) IsSuccess added in v0.23.0

func (o *DeleteRegistryOK) IsSuccess() bool

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

func (*DeleteRegistryOK) String added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteVersionDefault(code int) *DeleteVersionDefault

NewDeleteVersionDefault creates a DeleteVersionDefault with default headers values

func (*DeleteVersionDefault) Code added in v0.97.0

func (o *DeleteVersionDefault) Code() int

Code gets the status code for the delete version default response

func (*DeleteVersionDefault) Error added in v0.97.0

func (o *DeleteVersionDefault) Error() string

func (*DeleteVersionDefault) GetPayload added in v0.97.0

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

func (*DeleteVersionDefault) IsClientError added in v0.97.0

func (o *DeleteVersionDefault) IsClientError() bool

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

func (*DeleteVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteVersionDefault) IsRedirect() bool

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

func (*DeleteVersionDefault) IsServerError added in v0.97.0

func (o *DeleteVersionDefault) IsServerError() bool

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

func (*DeleteVersionDefault) IsSuccess added in v0.97.0

func (o *DeleteVersionDefault) IsSuccess() bool

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

func (*DeleteVersionDefault) String added in v0.97.0

func (o *DeleteVersionDefault) String() string

type DeleteVersionOK added in v0.97.0

type DeleteVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteVersionResponse
}

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

A successful response.

func NewDeleteVersionOK added in v0.97.0

func NewDeleteVersionOK() *DeleteVersionOK

NewDeleteVersionOK creates a DeleteVersionOK with default headers values

func (*DeleteVersionOK) Code added in v0.97.0

func (o *DeleteVersionOK) Code() int

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

func (*DeleteVersionOK) Error added in v0.97.0

func (o *DeleteVersionOK) Error() string

func (*DeleteVersionOK) GetPayload added in v0.97.0

func (*DeleteVersionOK) IsClientError added in v0.97.0

func (o *DeleteVersionOK) IsClientError() bool

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

func (*DeleteVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DeleteVersionOK) IsRedirect() bool

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

func (*DeleteVersionOK) IsServerError added in v0.97.0

func (o *DeleteVersionOK) IsServerError() bool

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

func (*DeleteVersionOK) IsSuccess added in v0.97.0

func (o *DeleteVersionOK) IsSuccess() bool

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

func (*DeleteVersionOK) String added in v0.97.0

func (o *DeleteVersionOK) String() string

type DeleteVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDeleteVersionParamsWithContext(ctx context.Context) *DeleteVersionParams

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

func NewDeleteVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DeleteVersionParams) SetBox(box string)

SetBox adds the box to the delete version params

func (*DeleteVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the delete version params

func (*DeleteVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the delete version params

func (*DeleteVersionParams) SetRegistry added in v0.97.0

func (o *DeleteVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete version params

func (*DeleteVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the delete version params

func (*DeleteVersionParams) SetVersion added in v0.97.0

func (o *DeleteVersionParams) SetVersion(version string)

SetVersion adds the version to the delete version params

func (*DeleteVersionParams) WithBox added in v0.97.0

WithBox adds the box to the delete version params

func (*DeleteVersionParams) WithContext added in v0.97.0

WithContext adds the context to the delete version params

func (*DeleteVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the delete version params

func (*DeleteVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the delete version params

func (*DeleteVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the delete version params

func (*DeleteVersionParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the delete version params

func (*DeleteVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type DeleteVersionReader added in v0.97.0

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

DeleteVersionReader is a Reader for the DeleteVersion structure.

func (*DeleteVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DirectUploadBoxDefault added in v0.97.0

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 added in v0.97.0

func NewDirectUploadBoxDefault(code int) *DirectUploadBoxDefault

NewDirectUploadBoxDefault creates a DirectUploadBoxDefault with default headers values

func (*DirectUploadBoxDefault) Code added in v0.97.0

func (o *DirectUploadBoxDefault) Code() int

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

func (*DirectUploadBoxDefault) Error added in v0.97.0

func (o *DirectUploadBoxDefault) Error() string

func (*DirectUploadBoxDefault) GetPayload added in v0.97.0

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

func (*DirectUploadBoxDefault) IsClientError added in v0.97.0

func (o *DirectUploadBoxDefault) IsClientError() bool

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

func (*DirectUploadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DirectUploadBoxDefault) IsRedirect() bool

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

func (*DirectUploadBoxDefault) IsServerError added in v0.97.0

func (o *DirectUploadBoxDefault) IsServerError() bool

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

func (*DirectUploadBoxDefault) IsSuccess added in v0.97.0

func (o *DirectUploadBoxDefault) IsSuccess() bool

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

func (*DirectUploadBoxDefault) String added in v0.97.0

func (o *DirectUploadBoxDefault) String() string

type DirectUploadBoxOK added in v0.97.0

type DirectUploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}

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

A successful response.

func NewDirectUploadBoxOK added in v0.97.0

func NewDirectUploadBoxOK() *DirectUploadBoxOK

NewDirectUploadBoxOK creates a DirectUploadBoxOK with default headers values

func (*DirectUploadBoxOK) Code added in v0.97.0

func (o *DirectUploadBoxOK) Code() int

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

func (*DirectUploadBoxOK) Error added in v0.97.0

func (o *DirectUploadBoxOK) Error() string

func (*DirectUploadBoxOK) GetPayload added in v0.97.0

func (*DirectUploadBoxOK) IsClientError added in v0.97.0

func (o *DirectUploadBoxOK) IsClientError() bool

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

func (*DirectUploadBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DirectUploadBoxOK) IsRedirect() bool

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

func (*DirectUploadBoxOK) IsServerError added in v0.97.0

func (o *DirectUploadBoxOK) IsServerError() bool

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

func (*DirectUploadBoxOK) IsSuccess added in v0.97.0

func (o *DirectUploadBoxOK) IsSuccess() bool

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

func (*DirectUploadBoxOK) String added in v0.97.0

func (o *DirectUploadBoxOK) String() string

type DirectUploadBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDirectUploadBoxParamsWithContext(ctx context.Context) *DirectUploadBoxParams

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

func NewDirectUploadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) SetBox added in v0.97.0

func (o *DirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) SetProvider added in v0.97.0

func (o *DirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) SetRegistry added in v0.97.0

func (o *DirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) SetVersion added in v0.97.0

func (o *DirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) WithBox added in v0.97.0

WithBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) WithContext added in v0.97.0

WithContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type DirectUploadBoxReader added in v0.97.0

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

DirectUploadBoxReader is a Reader for the DirectUploadBox structure.

func (*DirectUploadBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type DownloadBoxDefault added in v0.97.0

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 added in v0.97.0

func NewDownloadBoxDefault(code int) *DownloadBoxDefault

NewDownloadBoxDefault creates a DownloadBoxDefault with default headers values

func (*DownloadBoxDefault) Code added in v0.97.0

func (o *DownloadBoxDefault) Code() int

Code gets the status code for the download box default response

func (*DownloadBoxDefault) Error added in v0.97.0

func (o *DownloadBoxDefault) Error() string

func (*DownloadBoxDefault) GetPayload added in v0.97.0

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

func (*DownloadBoxDefault) IsClientError added in v0.97.0

func (o *DownloadBoxDefault) IsClientError() bool

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

func (*DownloadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DownloadBoxDefault) IsRedirect() bool

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

func (*DownloadBoxDefault) IsServerError added in v0.97.0

func (o *DownloadBoxDefault) IsServerError() bool

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

func (*DownloadBoxDefault) IsSuccess added in v0.97.0

func (o *DownloadBoxDefault) IsSuccess() bool

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

func (*DownloadBoxDefault) String added in v0.97.0

func (o *DownloadBoxDefault) String() string

type DownloadBoxOK added in v0.97.0

type DownloadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DownloadBoxResponse
}

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

A successful response.

func NewDownloadBoxOK added in v0.97.0

func NewDownloadBoxOK() *DownloadBoxOK

NewDownloadBoxOK creates a DownloadBoxOK with default headers values

func (*DownloadBoxOK) Code added in v0.97.0

func (o *DownloadBoxOK) Code() int

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

func (*DownloadBoxOK) Error added in v0.97.0

func (o *DownloadBoxOK) Error() string

func (*DownloadBoxOK) GetPayload added in v0.97.0

func (*DownloadBoxOK) IsClientError added in v0.97.0

func (o *DownloadBoxOK) IsClientError() bool

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

func (*DownloadBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *DownloadBoxOK) IsRedirect() bool

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

func (*DownloadBoxOK) IsServerError added in v0.97.0

func (o *DownloadBoxOK) IsServerError() bool

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

func (*DownloadBoxOK) IsSuccess added in v0.97.0

func (o *DownloadBoxOK) IsSuccess() bool

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

func (*DownloadBoxOK) String added in v0.97.0

func (o *DownloadBoxOK) String() string

type DownloadBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewDownloadBoxParamsWithContext(ctx context.Context) *DownloadBoxParams

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

func NewDownloadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *DownloadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) SetBox added in v0.97.0

func (o *DownloadBoxParams) SetBox(box string)

SetBox adds the box to the download box params

func (*DownloadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the download box params

func (*DownloadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) SetProvider added in v0.97.0

func (o *DownloadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the download box params

func (*DownloadBoxParams) SetRegistry added in v0.97.0

func (o *DownloadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the download box params

func (*DownloadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the download box params

func (*DownloadBoxParams) SetVersion added in v0.97.0

func (o *DownloadBoxParams) SetVersion(version string)

SetVersion adds the version to the download box params

func (*DownloadBoxParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) WithBox added in v0.97.0

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

WithBox adds the box to the download box params

func (*DownloadBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the download box params

func (*DownloadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the download box params

func (*DownloadBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the download box params

func (*DownloadBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the download box params

func (*DownloadBoxParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the download box params

func (*DownloadBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type DownloadBoxReader added in v0.97.0

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

DownloadBoxReader is a Reader for the DownloadBox structure.

func (*DownloadBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ListArchitecturesDefault added in v0.97.0

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 added in v0.97.0

func NewListArchitecturesDefault(code int) *ListArchitecturesDefault

NewListArchitecturesDefault creates a ListArchitecturesDefault with default headers values

func (*ListArchitecturesDefault) Code added in v0.97.0

func (o *ListArchitecturesDefault) Code() int

Code gets the status code for the list architectures default response

func (*ListArchitecturesDefault) Error added in v0.97.0

func (o *ListArchitecturesDefault) Error() string

func (*ListArchitecturesDefault) GetPayload added in v0.97.0

func (*ListArchitecturesDefault) IsClientError added in v0.97.0

func (o *ListArchitecturesDefault) IsClientError() bool

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

func (*ListArchitecturesDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListArchitecturesDefault) IsRedirect() bool

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

func (*ListArchitecturesDefault) IsServerError added in v0.97.0

func (o *ListArchitecturesDefault) IsServerError() bool

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

func (*ListArchitecturesDefault) IsSuccess added in v0.97.0

func (o *ListArchitecturesDefault) IsSuccess() bool

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

func (*ListArchitecturesDefault) String added in v0.97.0

func (o *ListArchitecturesDefault) String() string

type ListArchitecturesOK added in v0.97.0

type ListArchitecturesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
}

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

A successful response.

func NewListArchitecturesOK added in v0.97.0

func NewListArchitecturesOK() *ListArchitecturesOK

NewListArchitecturesOK creates a ListArchitecturesOK with default headers values

func (*ListArchitecturesOK) Code added in v0.97.0

func (o *ListArchitecturesOK) Code() int

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

func (*ListArchitecturesOK) Error added in v0.97.0

func (o *ListArchitecturesOK) Error() string

func (*ListArchitecturesOK) GetPayload added in v0.97.0

func (*ListArchitecturesOK) IsClientError added in v0.97.0

func (o *ListArchitecturesOK) IsClientError() bool

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

func (*ListArchitecturesOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListArchitecturesOK) IsRedirect() bool

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

func (*ListArchitecturesOK) IsServerError added in v0.97.0

func (o *ListArchitecturesOK) IsServerError() bool

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

func (*ListArchitecturesOK) IsSuccess added in v0.97.0

func (o *ListArchitecturesOK) IsSuccess() bool

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

func (*ListArchitecturesOK) String added in v0.97.0

func (o *ListArchitecturesOK) String() string

type ListArchitecturesParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewListArchitecturesParamsWithContext(ctx context.Context) *ListArchitecturesParams

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

func NewListArchitecturesParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ListArchitecturesParams) SetBox(box string)

SetBox adds the box to the list architectures params

func (*ListArchitecturesParams) SetContext added in v0.97.0

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

SetContext adds the context to the list architectures params

func (*ListArchitecturesParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) SetPaginationNextPageToken added in v0.97.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) SetPaginationPageSize added in v0.97.0

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

SetPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) SetPaginationPreviousPageToken added in v0.97.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) SetProvider added in v0.97.0

func (o *ListArchitecturesParams) SetProvider(provider string)

SetProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) SetRegistry added in v0.97.0

func (o *ListArchitecturesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) SetVersion added in v0.97.0

func (o *ListArchitecturesParams) SetVersion(version string)

SetVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WithBox added in v0.97.0

WithBox adds the box to the list architectures params

func (*ListArchitecturesParams) WithContext added in v0.97.0

WithContext adds the context to the list architectures params

func (*ListArchitecturesParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) WithPaginationNextPageToken added in v0.97.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) WithPaginationPageSize added in v0.97.0

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

WithPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) WithPaginationPreviousPageToken added in v0.97.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type ListArchitecturesReader added in v0.97.0

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

ListArchitecturesReader is a Reader for the ListArchitectures structure.

func (*ListArchitecturesReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ListBoxesDefault added in v0.97.0

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 added in v0.97.0

func NewListBoxesDefault(code int) *ListBoxesDefault

NewListBoxesDefault creates a ListBoxesDefault with default headers values

func (*ListBoxesDefault) Code added in v0.97.0

func (o *ListBoxesDefault) Code() int

Code gets the status code for the list boxes default response

func (*ListBoxesDefault) Error added in v0.97.0

func (o *ListBoxesDefault) Error() string

func (*ListBoxesDefault) GetPayload added in v0.97.0

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

func (*ListBoxesDefault) IsClientError added in v0.97.0

func (o *ListBoxesDefault) IsClientError() bool

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

func (*ListBoxesDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListBoxesDefault) IsRedirect() bool

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

func (*ListBoxesDefault) IsServerError added in v0.97.0

func (o *ListBoxesDefault) IsServerError() bool

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

func (*ListBoxesDefault) IsSuccess added in v0.97.0

func (o *ListBoxesDefault) IsSuccess() bool

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

func (*ListBoxesDefault) String added in v0.97.0

func (o *ListBoxesDefault) String() string

type ListBoxesOK added in v0.97.0

type ListBoxesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListBoxesResponse
}

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

A successful response.

func NewListBoxesOK added in v0.97.0

func NewListBoxesOK() *ListBoxesOK

NewListBoxesOK creates a ListBoxesOK with default headers values

func (*ListBoxesOK) Code added in v0.97.0

func (o *ListBoxesOK) Code() int

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

func (*ListBoxesOK) Error added in v0.97.0

func (o *ListBoxesOK) Error() string

func (*ListBoxesOK) GetPayload added in v0.97.0

func (*ListBoxesOK) IsClientError added in v0.97.0

func (o *ListBoxesOK) IsClientError() bool

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

func (*ListBoxesOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListBoxesOK) IsRedirect() bool

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

func (*ListBoxesOK) IsServerError added in v0.97.0

func (o *ListBoxesOK) IsServerError() bool

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

func (*ListBoxesOK) IsSuccess added in v0.97.0

func (o *ListBoxesOK) IsSuccess() bool

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

func (*ListBoxesOK) String added in v0.97.0

func (o *ListBoxesOK) String() string

type ListBoxesParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewListBoxesParamsWithContext(ctx context.Context) *ListBoxesParams

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

func NewListBoxesParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

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

SetContext adds the context to the list boxes params

func (*ListBoxesParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the list boxes params

func (*ListBoxesParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) SetPaginationNextPageToken added in v0.97.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) SetPaginationPageSize added in v0.97.0

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

SetPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) SetPaginationPreviousPageToken added in v0.97.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) SetRegistry added in v0.97.0

func (o *ListBoxesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list boxes params

func (*ListBoxesParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WithContext added in v0.97.0

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

WithContext adds the context to the list boxes params

func (*ListBoxesParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the list boxes params

func (*ListBoxesParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) WithPaginationNextPageToken added in v0.97.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) WithPaginationPageSize added in v0.97.0

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

WithPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) WithPaginationPreviousPageToken added in v0.97.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the list boxes params

func (*ListBoxesParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ListBoxesReader added in v0.97.0

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

ListBoxesReader is a Reader for the ListBoxes structure.

func (*ListBoxesReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ListProvidersDefault added in v0.97.0

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 added in v0.97.0

func NewListProvidersDefault(code int) *ListProvidersDefault

NewListProvidersDefault creates a ListProvidersDefault with default headers values

func (*ListProvidersDefault) Code added in v0.97.0

func (o *ListProvidersDefault) Code() int

Code gets the status code for the list providers default response

func (*ListProvidersDefault) Error added in v0.97.0

func (o *ListProvidersDefault) Error() string

func (*ListProvidersDefault) GetPayload added in v0.97.0

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

func (*ListProvidersDefault) IsClientError added in v0.97.0

func (o *ListProvidersDefault) IsClientError() bool

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

func (*ListProvidersDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListProvidersDefault) IsRedirect() bool

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

func (*ListProvidersDefault) IsServerError added in v0.97.0

func (o *ListProvidersDefault) IsServerError() bool

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

func (*ListProvidersDefault) IsSuccess added in v0.97.0

func (o *ListProvidersDefault) IsSuccess() bool

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

func (*ListProvidersDefault) String added in v0.97.0

func (o *ListProvidersDefault) String() string

type ListProvidersOK added in v0.97.0

type ListProvidersOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListProvidersResponse
}

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

A successful response.

func NewListProvidersOK added in v0.97.0

func NewListProvidersOK() *ListProvidersOK

NewListProvidersOK creates a ListProvidersOK with default headers values

func (*ListProvidersOK) Code added in v0.97.0

func (o *ListProvidersOK) Code() int

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

func (*ListProvidersOK) Error added in v0.97.0

func (o *ListProvidersOK) Error() string

func (*ListProvidersOK) GetPayload added in v0.97.0

func (*ListProvidersOK) IsClientError added in v0.97.0

func (o *ListProvidersOK) IsClientError() bool

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

func (*ListProvidersOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListProvidersOK) IsRedirect() bool

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

func (*ListProvidersOK) IsServerError added in v0.97.0

func (o *ListProvidersOK) IsServerError() bool

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

func (*ListProvidersOK) IsSuccess added in v0.97.0

func (o *ListProvidersOK) IsSuccess() bool

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

func (*ListProvidersOK) String added in v0.97.0

func (o *ListProvidersOK) String() string

type ListProvidersParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams

NewListProvidersParamsWithContext creates a new ListProvidersParams object with the ability to set a context for a request.

func NewListProvidersParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ListProvidersParams) SetBox(box string)

SetBox adds the box to the list providers params

func (*ListProvidersParams) SetContext added in v0.97.0

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

SetContext adds the context to the list providers params

func (*ListProvidersParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the list providers params

func (*ListProvidersParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) SetPaginationNextPageToken added in v0.97.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list providers params

func (*ListProvidersParams) SetPaginationPageSize added in v0.97.0

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

SetPaginationPageSize adds the paginationPageSize to the list providers params

func (*ListProvidersParams) SetPaginationPreviousPageToken added in v0.97.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params

func (*ListProvidersParams) SetRegistry added in v0.97.0

func (o *ListProvidersParams) SetRegistry(registry string)

SetRegistry adds the registry to the list providers params

func (*ListProvidersParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the list providers params

func (*ListProvidersParams) SetVersion added in v0.97.0

func (o *ListProvidersParams) SetVersion(version string)

SetVersion adds the version to the list providers params

func (*ListProvidersParams) WithBox added in v0.97.0

WithBox adds the box to the list providers params

func (*ListProvidersParams) WithContext added in v0.97.0

WithContext adds the context to the list providers params

func (*ListProvidersParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the list providers params

func (*ListProvidersParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) WithPaginationNextPageToken added in v0.97.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list providers params

func (*ListProvidersParams) WithPaginationPageSize added in v0.97.0

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

WithPaginationPageSize adds the paginationPageSize to the list providers params

func (*ListProvidersParams) WithPaginationPreviousPageToken added in v0.97.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params

func (*ListProvidersParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the list providers params

func (*ListProvidersParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the list providers params

func (*ListProvidersParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the list providers params

func (*ListProvidersParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ListProvidersReader added in v0.97.0

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

ListProvidersReader is a Reader for the ListProviders structure.

func (*ListProvidersReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ListRegistriesDefault added in v0.95.0

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 added in v0.95.0

func NewListRegistriesDefault(code int) *ListRegistriesDefault

NewListRegistriesDefault creates a ListRegistriesDefault with default headers values

func (*ListRegistriesDefault) Code added in v0.95.0

func (o *ListRegistriesDefault) Code() int

Code gets the status code for the list registries default response

func (*ListRegistriesDefault) Error added in v0.95.0

func (o *ListRegistriesDefault) Error() string

func (*ListRegistriesDefault) GetPayload added in v0.95.0

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

func (*ListRegistriesDefault) IsClientError added in v0.95.0

func (o *ListRegistriesDefault) IsClientError() bool

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

func (*ListRegistriesDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *ListRegistriesDefault) IsRedirect() bool

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

func (*ListRegistriesDefault) IsServerError added in v0.95.0

func (o *ListRegistriesDefault) IsServerError() bool

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

func (*ListRegistriesDefault) IsSuccess added in v0.95.0

func (o *ListRegistriesDefault) IsSuccess() bool

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

func (*ListRegistriesDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *ListRegistriesOK) IsClientError() bool

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

func (*ListRegistriesOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *ListRegistriesOK) IsRedirect() bool

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

func (*ListRegistriesOK) IsServerError added in v0.23.0

func (o *ListRegistriesOK) IsServerError() bool

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

func (*ListRegistriesOK) IsSuccess added in v0.23.0

func (o *ListRegistriesOK) IsSuccess() bool

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

func (*ListRegistriesOK) String added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewListVersionsDefault(code int) *ListVersionsDefault

NewListVersionsDefault creates a ListVersionsDefault with default headers values

func (*ListVersionsDefault) Code added in v0.97.0

func (o *ListVersionsDefault) Code() int

Code gets the status code for the list versions default response

func (*ListVersionsDefault) Error added in v0.97.0

func (o *ListVersionsDefault) Error() string

func (*ListVersionsDefault) GetPayload added in v0.97.0

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

func (*ListVersionsDefault) IsClientError added in v0.97.0

func (o *ListVersionsDefault) IsClientError() bool

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

func (*ListVersionsDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListVersionsDefault) IsRedirect() bool

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

func (*ListVersionsDefault) IsServerError added in v0.97.0

func (o *ListVersionsDefault) IsServerError() bool

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

func (*ListVersionsDefault) IsSuccess added in v0.97.0

func (o *ListVersionsDefault) IsSuccess() bool

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

func (*ListVersionsDefault) String added in v0.97.0

func (o *ListVersionsDefault) String() string

type ListVersionsOK added in v0.97.0

type ListVersionsOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListVersionsResponse
}

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

A successful response.

func NewListVersionsOK added in v0.97.0

func NewListVersionsOK() *ListVersionsOK

NewListVersionsOK creates a ListVersionsOK with default headers values

func (*ListVersionsOK) Code added in v0.97.0

func (o *ListVersionsOK) Code() int

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

func (*ListVersionsOK) Error added in v0.97.0

func (o *ListVersionsOK) Error() string

func (*ListVersionsOK) GetPayload added in v0.97.0

func (*ListVersionsOK) IsClientError added in v0.97.0

func (o *ListVersionsOK) IsClientError() bool

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

func (*ListVersionsOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ListVersionsOK) IsRedirect() bool

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

func (*ListVersionsOK) IsServerError added in v0.97.0

func (o *ListVersionsOK) IsServerError() bool

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

func (*ListVersionsOK) IsSuccess added in v0.97.0

func (o *ListVersionsOK) IsSuccess() bool

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

func (*ListVersionsOK) String added in v0.97.0

func (o *ListVersionsOK) String() string

type ListVersionsParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewListVersionsParamsWithContext(ctx context.Context) *ListVersionsParams

NewListVersionsParamsWithContext creates a new ListVersionsParams object with the ability to set a context for a request.

func NewListVersionsParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ListVersionsParams) SetBox(box string)

SetBox adds the box to the list versions params

func (*ListVersionsParams) SetContext added in v0.97.0

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

SetContext adds the context to the list versions params

func (*ListVersionsParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the list versions params

func (*ListVersionsParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the list versions params

func (*ListVersionsParams) SetPaginationNextPageToken added in v0.97.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list versions params

func (*ListVersionsParams) SetPaginationPageSize added in v0.97.0

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

SetPaginationPageSize adds the paginationPageSize to the list versions params

func (*ListVersionsParams) SetPaginationPreviousPageToken added in v0.97.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params

func (*ListVersionsParams) SetRegistry added in v0.97.0

func (o *ListVersionsParams) SetRegistry(registry string)

SetRegistry adds the registry to the list versions params

func (*ListVersionsParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the list versions params

func (*ListVersionsParams) WithBox added in v0.97.0

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

WithBox adds the box to the list versions params

func (*ListVersionsParams) WithContext added in v0.97.0

WithContext adds the context to the list versions params

func (*ListVersionsParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the list versions params

func (*ListVersionsParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the list versions params

func (*ListVersionsParams) WithPaginationNextPageToken added in v0.97.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list versions params

func (*ListVersionsParams) WithPaginationPageSize added in v0.97.0

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

WithPaginationPageSize adds the paginationPageSize to the list versions params

func (*ListVersionsParams) WithPaginationPreviousPageToken added in v0.97.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params

func (*ListVersionsParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the list versions params

func (*ListVersionsParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the list versions params

func (*ListVersionsParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ListVersionsReader added in v0.97.0

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

ListVersionsReader is a Reader for the ListVersions structure.

func (*ListVersionsReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ReadArchitectureDefault added in v0.97.0

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 added in v0.97.0

func NewReadArchitectureDefault(code int) *ReadArchitectureDefault

NewReadArchitectureDefault creates a ReadArchitectureDefault with default headers values

func (*ReadArchitectureDefault) Code added in v0.97.0

func (o *ReadArchitectureDefault) Code() int

Code gets the status code for the read architecture default response

func (*ReadArchitectureDefault) Error added in v0.97.0

func (o *ReadArchitectureDefault) Error() string

func (*ReadArchitectureDefault) GetPayload added in v0.97.0

func (*ReadArchitectureDefault) IsClientError added in v0.97.0

func (o *ReadArchitectureDefault) IsClientError() bool

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

func (*ReadArchitectureDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadArchitectureDefault) IsRedirect() bool

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

func (*ReadArchitectureDefault) IsServerError added in v0.97.0

func (o *ReadArchitectureDefault) IsServerError() bool

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

func (*ReadArchitectureDefault) IsSuccess added in v0.97.0

func (o *ReadArchitectureDefault) IsSuccess() bool

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

func (*ReadArchitectureDefault) String added in v0.97.0

func (o *ReadArchitectureDefault) String() string

type ReadArchitectureOK added in v0.97.0

type ReadArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
}

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

A successful response.

func NewReadArchitectureOK added in v0.97.0

func NewReadArchitectureOK() *ReadArchitectureOK

NewReadArchitectureOK creates a ReadArchitectureOK with default headers values

func (*ReadArchitectureOK) Code added in v0.97.0

func (o *ReadArchitectureOK) Code() int

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

func (*ReadArchitectureOK) Error added in v0.97.0

func (o *ReadArchitectureOK) Error() string

func (*ReadArchitectureOK) GetPayload added in v0.97.0

func (*ReadArchitectureOK) IsClientError added in v0.97.0

func (o *ReadArchitectureOK) IsClientError() bool

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

func (*ReadArchitectureOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadArchitectureOK) IsRedirect() bool

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

func (*ReadArchitectureOK) IsServerError added in v0.97.0

func (o *ReadArchitectureOK) IsServerError() bool

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

func (*ReadArchitectureOK) IsSuccess added in v0.97.0

func (o *ReadArchitectureOK) IsSuccess() bool

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

func (*ReadArchitectureOK) String added in v0.97.0

func (o *ReadArchitectureOK) String() string

type ReadArchitectureParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewReadArchitectureParamsWithContext(ctx context.Context) *ReadArchitectureParams

NewReadArchitectureParamsWithContext creates a new ReadArchitectureParams object with the ability to set a context for a request.

func NewReadArchitectureParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ReadArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) SetBox added in v0.97.0

func (o *ReadArchitectureParams) SetBox(box string)

SetBox adds the box to the read architecture params

func (*ReadArchitectureParams) SetContext added in v0.97.0

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

SetContext adds the context to the read architecture params

func (*ReadArchitectureParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) SetProvider added in v0.97.0

func (o *ReadArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) SetRegistry added in v0.97.0

func (o *ReadArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) SetVersion added in v0.97.0

func (o *ReadArchitectureParams) SetVersion(version string)

SetVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) WithBox added in v0.97.0

WithBox adds the box to the read architecture params

func (*ReadArchitectureParams) WithContext added in v0.97.0

WithContext adds the context to the read architecture params

func (*ReadArchitectureParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type ReadArchitectureReader added in v0.97.0

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

ReadArchitectureReader is a Reader for the ReadArchitecture structure.

func (*ReadArchitectureReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ReadBoxDefault added in v0.97.0

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 added in v0.97.0

func NewReadBoxDefault(code int) *ReadBoxDefault

NewReadBoxDefault creates a ReadBoxDefault with default headers values

func (*ReadBoxDefault) Code added in v0.97.0

func (o *ReadBoxDefault) Code() int

Code gets the status code for the read box default response

func (*ReadBoxDefault) Error added in v0.97.0

func (o *ReadBoxDefault) Error() string

func (*ReadBoxDefault) GetPayload added in v0.97.0

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

func (*ReadBoxDefault) IsClientError added in v0.97.0

func (o *ReadBoxDefault) IsClientError() bool

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

func (*ReadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadBoxDefault) IsRedirect() bool

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

func (*ReadBoxDefault) IsServerError added in v0.97.0

func (o *ReadBoxDefault) IsServerError() bool

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

func (*ReadBoxDefault) IsSuccess added in v0.97.0

func (o *ReadBoxDefault) IsSuccess() bool

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

func (*ReadBoxDefault) String added in v0.97.0

func (o *ReadBoxDefault) String() string

type ReadBoxOK added in v0.97.0

type ReadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadBoxResponse
}

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

A successful response.

func NewReadBoxOK added in v0.97.0

func NewReadBoxOK() *ReadBoxOK

NewReadBoxOK creates a ReadBoxOK with default headers values

func (*ReadBoxOK) Code added in v0.97.0

func (o *ReadBoxOK) Code() int

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

func (*ReadBoxOK) Error added in v0.97.0

func (o *ReadBoxOK) Error() string

func (*ReadBoxOK) GetPayload added in v0.97.0

func (*ReadBoxOK) IsClientError added in v0.97.0

func (o *ReadBoxOK) IsClientError() bool

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

func (*ReadBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadBoxOK) IsRedirect() bool

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

func (*ReadBoxOK) IsServerError added in v0.97.0

func (o *ReadBoxOK) IsServerError() bool

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

func (*ReadBoxOK) IsSuccess added in v0.97.0

func (o *ReadBoxOK) IsSuccess() bool

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

func (*ReadBoxOK) String added in v0.97.0

func (o *ReadBoxOK) String() string

type ReadBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewReadBoxParamsWithContext(ctx context.Context) *ReadBoxParams

NewReadBoxParamsWithContext creates a new ReadBoxParams object with the ability to set a context for a request.

func NewReadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ReadBoxParams) SetBox(box string)

SetBox adds the box to the read box params

func (*ReadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the read box params

func (*ReadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the read box params

func (*ReadBoxParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) SetRegistry added in v0.97.0

func (o *ReadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the read box params

func (*ReadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the read box params

func (*ReadBoxParams) WithBox added in v0.97.0

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

WithBox adds the box to the read box params

func (*ReadBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the read box params

func (*ReadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the read box params

func (*ReadBoxParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the read box params

func (*ReadBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the read box params

func (*ReadBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ReadBoxReader added in v0.97.0

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

ReadBoxReader is a Reader for the ReadBox structure.

func (*ReadBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ReadProviderDefault added in v0.97.0

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 added in v0.97.0

func NewReadProviderDefault(code int) *ReadProviderDefault

NewReadProviderDefault creates a ReadProviderDefault with default headers values

func (*ReadProviderDefault) Code added in v0.97.0

func (o *ReadProviderDefault) Code() int

Code gets the status code for the read provider default response

func (*ReadProviderDefault) Error added in v0.97.0

func (o *ReadProviderDefault) Error() string

func (*ReadProviderDefault) GetPayload added in v0.97.0

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

func (*ReadProviderDefault) IsClientError added in v0.97.0

func (o *ReadProviderDefault) IsClientError() bool

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

func (*ReadProviderDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadProviderDefault) IsRedirect() bool

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

func (*ReadProviderDefault) IsServerError added in v0.97.0

func (o *ReadProviderDefault) IsServerError() bool

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

func (*ReadProviderDefault) IsSuccess added in v0.97.0

func (o *ReadProviderDefault) IsSuccess() bool

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

func (*ReadProviderDefault) String added in v0.97.0

func (o *ReadProviderDefault) String() string

type ReadProviderOK added in v0.97.0

type ReadProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadProviderResponse
}

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

A successful response.

func NewReadProviderOK added in v0.97.0

func NewReadProviderOK() *ReadProviderOK

NewReadProviderOK creates a ReadProviderOK with default headers values

func (*ReadProviderOK) Code added in v0.97.0

func (o *ReadProviderOK) Code() int

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

func (*ReadProviderOK) Error added in v0.97.0

func (o *ReadProviderOK) Error() string

func (*ReadProviderOK) GetPayload added in v0.97.0

func (*ReadProviderOK) IsClientError added in v0.97.0

func (o *ReadProviderOK) IsClientError() bool

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

func (*ReadProviderOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadProviderOK) IsRedirect() bool

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

func (*ReadProviderOK) IsServerError added in v0.97.0

func (o *ReadProviderOK) IsServerError() bool

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

func (*ReadProviderOK) IsSuccess added in v0.97.0

func (o *ReadProviderOK) IsSuccess() bool

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

func (*ReadProviderOK) String added in v0.97.0

func (o *ReadProviderOK) String() string

type ReadProviderParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewReadProviderParamsWithContext(ctx context.Context) *ReadProviderParams

NewReadProviderParamsWithContext creates a new ReadProviderParams object with the ability to set a context for a request.

func NewReadProviderParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ReadProviderParams) SetBox(box string)

SetBox adds the box to the read provider params

func (*ReadProviderParams) SetContext added in v0.97.0

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

SetContext adds the context to the read provider params

func (*ReadProviderParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the read provider params

func (*ReadProviderParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the read provider params

func (*ReadProviderParams) SetProvider added in v0.97.0

func (o *ReadProviderParams) SetProvider(provider string)

SetProvider adds the provider to the read provider params

func (*ReadProviderParams) SetRegistry added in v0.97.0

func (o *ReadProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the read provider params

func (*ReadProviderParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the read provider params

func (*ReadProviderParams) SetVersion added in v0.97.0

func (o *ReadProviderParams) SetVersion(version string)

SetVersion adds the version to the read provider params

func (*ReadProviderParams) WithBox added in v0.97.0

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

WithBox adds the box to the read provider params

func (*ReadProviderParams) WithContext added in v0.97.0

WithContext adds the context to the read provider params

func (*ReadProviderParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the read provider params

func (*ReadProviderParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the read provider params

func (*ReadProviderParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the read provider params

func (*ReadProviderParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the read provider params

func (*ReadProviderParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the read provider params

func (*ReadProviderParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the read provider params

func (*ReadProviderParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ReadProviderReader added in v0.97.0

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

ReadProviderReader is a Reader for the ReadProvider structure.

func (*ReadProviderReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ReadRegistryDefault added in v0.95.0

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 added in v0.95.0

func NewReadRegistryDefault(code int) *ReadRegistryDefault

NewReadRegistryDefault creates a ReadRegistryDefault with default headers values

func (*ReadRegistryDefault) Code added in v0.95.0

func (o *ReadRegistryDefault) Code() int

Code gets the status code for the read registry default response

func (*ReadRegistryDefault) Error added in v0.95.0

func (o *ReadRegistryDefault) Error() string

func (*ReadRegistryDefault) GetPayload added in v0.95.0

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

func (*ReadRegistryDefault) IsClientError added in v0.95.0

func (o *ReadRegistryDefault) IsClientError() bool

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

func (*ReadRegistryDefault) IsCode added in v0.95.0

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 added in v0.95.0

func (o *ReadRegistryDefault) IsRedirect() bool

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

func (*ReadRegistryDefault) IsServerError added in v0.95.0

func (o *ReadRegistryDefault) IsServerError() bool

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

func (*ReadRegistryDefault) IsSuccess added in v0.95.0

func (o *ReadRegistryDefault) IsSuccess() bool

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

func (*ReadRegistryDefault) String added in v0.95.0

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 added in v0.95.0

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 added in v0.23.0

func (o *ReadRegistryOK) IsClientError() bool

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

func (*ReadRegistryOK) IsCode added in v0.23.0

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 added in v0.23.0

func (o *ReadRegistryOK) IsRedirect() bool

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

func (*ReadRegistryOK) IsServerError added in v0.23.0

func (o *ReadRegistryOK) IsServerError() bool

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

func (*ReadRegistryOK) IsSuccess added in v0.23.0

func (o *ReadRegistryOK) IsSuccess() bool

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

func (*ReadRegistryOK) String added in v0.23.0

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 added in v0.23.0

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 added in v0.23.0

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 added in v0.97.0

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 added in v0.97.0

func NewReadVersionDefault(code int) *ReadVersionDefault

NewReadVersionDefault creates a ReadVersionDefault with default headers values

func (*ReadVersionDefault) Code added in v0.97.0

func (o *ReadVersionDefault) Code() int

Code gets the status code for the read version default response

func (*ReadVersionDefault) Error added in v0.97.0

func (o *ReadVersionDefault) Error() string

func (*ReadVersionDefault) GetPayload added in v0.97.0

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

func (*ReadVersionDefault) IsClientError added in v0.97.0

func (o *ReadVersionDefault) IsClientError() bool

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

func (*ReadVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadVersionDefault) IsRedirect() bool

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

func (*ReadVersionDefault) IsServerError added in v0.97.0

func (o *ReadVersionDefault) IsServerError() bool

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

func (*ReadVersionDefault) IsSuccess added in v0.97.0

func (o *ReadVersionDefault) IsSuccess() bool

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

func (*ReadVersionDefault) String added in v0.97.0

func (o *ReadVersionDefault) String() string

type ReadVersionOK added in v0.97.0

type ReadVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadVersionResponse
}

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

A successful response.

func NewReadVersionOK added in v0.97.0

func NewReadVersionOK() *ReadVersionOK

NewReadVersionOK creates a ReadVersionOK with default headers values

func (*ReadVersionOK) Code added in v0.97.0

func (o *ReadVersionOK) Code() int

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

func (*ReadVersionOK) Error added in v0.97.0

func (o *ReadVersionOK) Error() string

func (*ReadVersionOK) GetPayload added in v0.97.0

func (*ReadVersionOK) IsClientError added in v0.97.0

func (o *ReadVersionOK) IsClientError() bool

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

func (*ReadVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReadVersionOK) IsRedirect() bool

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

func (*ReadVersionOK) IsServerError added in v0.97.0

func (o *ReadVersionOK) IsServerError() bool

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

func (*ReadVersionOK) IsSuccess added in v0.97.0

func (o *ReadVersionOK) IsSuccess() bool

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

func (*ReadVersionOK) String added in v0.97.0

func (o *ReadVersionOK) String() string

type ReadVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewReadVersionParamsWithContext(ctx context.Context) *ReadVersionParams

NewReadVersionParamsWithContext creates a new ReadVersionParams object with the ability to set a context for a request.

func NewReadVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ReadVersionParams) SetBox(box string)

SetBox adds the box to the read version params

func (*ReadVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the read version params

func (*ReadVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetExpanded adds the expanded to the read version params

func (*ReadVersionParams) SetHTTPClient added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the read version params

func (*ReadVersionParams) SetRegistry added in v0.97.0

func (o *ReadVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the read version params

func (*ReadVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the read version params

func (*ReadVersionParams) SetVersion added in v0.97.0

func (o *ReadVersionParams) SetVersion(version string)

SetVersion adds the version to the read version params

func (*ReadVersionParams) WithBox added in v0.97.0

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

WithBox adds the box to the read version params

func (*ReadVersionParams) WithContext added in v0.97.0

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

WithContext adds the context to the read version params

func (*ReadVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithExpanded adds the expanded to the read version params

func (*ReadVersionParams) WithHTTPClient added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the read version params

func (*ReadVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the read version params

func (*ReadVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the read version params

func (*ReadVersionParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the read version params

func (*ReadVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ReadVersionReader added in v0.97.0

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

ReadVersionReader is a Reader for the ReadVersion structure.

func (*ReadVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type ReleaseVersionDefault added in v0.97.0

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 added in v0.97.0

func NewReleaseVersionDefault(code int) *ReleaseVersionDefault

NewReleaseVersionDefault creates a ReleaseVersionDefault with default headers values

func (*ReleaseVersionDefault) Code added in v0.97.0

func (o *ReleaseVersionDefault) Code() int

Code gets the status code for the release version default response

func (*ReleaseVersionDefault) Error added in v0.97.0

func (o *ReleaseVersionDefault) Error() string

func (*ReleaseVersionDefault) GetPayload added in v0.97.0

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

func (*ReleaseVersionDefault) IsClientError added in v0.97.0

func (o *ReleaseVersionDefault) IsClientError() bool

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

func (*ReleaseVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReleaseVersionDefault) IsRedirect() bool

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

func (*ReleaseVersionDefault) IsServerError added in v0.97.0

func (o *ReleaseVersionDefault) IsServerError() bool

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

func (*ReleaseVersionDefault) IsSuccess added in v0.97.0

func (o *ReleaseVersionDefault) IsSuccess() bool

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

func (*ReleaseVersionDefault) String added in v0.97.0

func (o *ReleaseVersionDefault) String() string

type ReleaseVersionOK added in v0.97.0

type ReleaseVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930ReleaseVersionResponse
}

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

A successful response.

func NewReleaseVersionOK added in v0.97.0

func NewReleaseVersionOK() *ReleaseVersionOK

NewReleaseVersionOK creates a ReleaseVersionOK with default headers values

func (*ReleaseVersionOK) Code added in v0.97.0

func (o *ReleaseVersionOK) Code() int

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

func (*ReleaseVersionOK) Error added in v0.97.0

func (o *ReleaseVersionOK) Error() string

func (*ReleaseVersionOK) GetPayload added in v0.97.0

func (*ReleaseVersionOK) IsClientError added in v0.97.0

func (o *ReleaseVersionOK) IsClientError() bool

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

func (*ReleaseVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *ReleaseVersionOK) IsRedirect() bool

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

func (*ReleaseVersionOK) IsServerError added in v0.97.0

func (o *ReleaseVersionOK) IsServerError() bool

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

func (*ReleaseVersionOK) IsSuccess added in v0.97.0

func (o *ReleaseVersionOK) IsSuccess() bool

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

func (*ReleaseVersionOK) String added in v0.97.0

func (o *ReleaseVersionOK) String() string

type ReleaseVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewReleaseVersionParamsWithContext(ctx context.Context) *ReleaseVersionParams

NewReleaseVersionParamsWithContext creates a new ReleaseVersionParams object with the ability to set a context for a request.

func NewReleaseVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *ReleaseVersionParams) SetBox(box string)

SetBox adds the box to the release version params

func (*ReleaseVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the release version params

func (*ReleaseVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the release version params

func (*ReleaseVersionParams) SetRegistry added in v0.97.0

func (o *ReleaseVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the release version params

func (*ReleaseVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the release version params

func (*ReleaseVersionParams) SetVersion added in v0.97.0

func (o *ReleaseVersionParams) SetVersion(version string)

SetVersion adds the version to the release version params

func (*ReleaseVersionParams) WithBox added in v0.97.0

WithBox adds the box to the release version params

func (*ReleaseVersionParams) WithContext added in v0.97.0

WithContext adds the context to the release version params

func (*ReleaseVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the release version params

func (*ReleaseVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the release version params

func (*ReleaseVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the release version params

func (*ReleaseVersionParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the release version params

func (*ReleaseVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type ReleaseVersionReader added in v0.97.0

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

ReleaseVersionReader is a Reader for the ReleaseVersion structure.

func (*ReleaseVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type RevokeVersionDefault added in v0.97.0

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 added in v0.97.0

func NewRevokeVersionDefault(code int) *RevokeVersionDefault

NewRevokeVersionDefault creates a RevokeVersionDefault with default headers values

func (*RevokeVersionDefault) Code added in v0.97.0

func (o *RevokeVersionDefault) Code() int

Code gets the status code for the revoke version default response

func (*RevokeVersionDefault) Error added in v0.97.0

func (o *RevokeVersionDefault) Error() string

func (*RevokeVersionDefault) GetPayload added in v0.97.0

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

func (*RevokeVersionDefault) IsClientError added in v0.97.0

func (o *RevokeVersionDefault) IsClientError() bool

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

func (*RevokeVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *RevokeVersionDefault) IsRedirect() bool

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

func (*RevokeVersionDefault) IsServerError added in v0.97.0

func (o *RevokeVersionDefault) IsServerError() bool

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

func (*RevokeVersionDefault) IsSuccess added in v0.97.0

func (o *RevokeVersionDefault) IsSuccess() bool

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

func (*RevokeVersionDefault) String added in v0.97.0

func (o *RevokeVersionDefault) String() string

type RevokeVersionOK added in v0.97.0

type RevokeVersionOK struct {
	Payload models.HashicorpCloudVagrant20220930RevokeVersionResponse
}

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

A successful response.

func NewRevokeVersionOK added in v0.97.0

func NewRevokeVersionOK() *RevokeVersionOK

NewRevokeVersionOK creates a RevokeVersionOK with default headers values

func (*RevokeVersionOK) Code added in v0.97.0

func (o *RevokeVersionOK) Code() int

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

func (*RevokeVersionOK) Error added in v0.97.0

func (o *RevokeVersionOK) Error() string

func (*RevokeVersionOK) GetPayload added in v0.97.0

func (*RevokeVersionOK) IsClientError added in v0.97.0

func (o *RevokeVersionOK) IsClientError() bool

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

func (*RevokeVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *RevokeVersionOK) IsRedirect() bool

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

func (*RevokeVersionOK) IsServerError added in v0.97.0

func (o *RevokeVersionOK) IsServerError() bool

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

func (*RevokeVersionOK) IsSuccess added in v0.97.0

func (o *RevokeVersionOK) IsSuccess() bool

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

func (*RevokeVersionOK) String added in v0.97.0

func (o *RevokeVersionOK) String() string

type RevokeVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewRevokeVersionParamsWithContext(ctx context.Context) *RevokeVersionParams

NewRevokeVersionParamsWithContext creates a new RevokeVersionParams object with the ability to set a context for a request.

func NewRevokeVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *RevokeVersionParams) SetBox(box string)

SetBox adds the box to the revoke version params

func (*RevokeVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the revoke version params

func (*RevokeVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the revoke version params

func (*RevokeVersionParams) SetRegistry added in v0.97.0

func (o *RevokeVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the revoke version params

func (*RevokeVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the revoke version params

func (*RevokeVersionParams) SetVersion added in v0.97.0

func (o *RevokeVersionParams) SetVersion(version string)

SetVersion adds the version to the revoke version params

func (*RevokeVersionParams) WithBox added in v0.97.0

WithBox adds the box to the revoke version params

func (*RevokeVersionParams) WithContext added in v0.97.0

WithContext adds the context to the revoke version params

func (*RevokeVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the revoke version params

func (*RevokeVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the revoke version params

func (*RevokeVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the revoke version params

func (*RevokeVersionParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the revoke version params

func (*RevokeVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type RevokeVersionReader added in v0.97.0

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

RevokeVersionReader is a Reader for the RevokeVersion structure.

func (*RevokeVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type SearchDefault added in v0.97.0

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 added in v0.97.0

func NewSearchDefault(code int) *SearchDefault

NewSearchDefault creates a SearchDefault with default headers values

func (*SearchDefault) Code added in v0.97.0

func (o *SearchDefault) Code() int

Code gets the status code for the search default response

func (*SearchDefault) Error added in v0.97.0

func (o *SearchDefault) Error() string

func (*SearchDefault) GetPayload added in v0.97.0

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

func (*SearchDefault) IsClientError added in v0.97.0

func (o *SearchDefault) IsClientError() bool

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

func (*SearchDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *SearchDefault) IsRedirect() bool

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

func (*SearchDefault) IsServerError added in v0.97.0

func (o *SearchDefault) IsServerError() bool

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

func (*SearchDefault) IsSuccess added in v0.97.0

func (o *SearchDefault) IsSuccess() bool

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

func (*SearchDefault) String added in v0.97.0

func (o *SearchDefault) String() string

type SearchOK added in v0.97.0

type SearchOK struct {
	Payload *models.HashicorpCloudVagrant20220930SearchIndexResponse
}

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

A successful response.

func NewSearchOK added in v0.97.0

func NewSearchOK() *SearchOK

NewSearchOK creates a SearchOK with default headers values

func (*SearchOK) Code added in v0.97.0

func (o *SearchOK) Code() int

Code gets the status code for the search o k response

func (*SearchOK) Error added in v0.97.0

func (o *SearchOK) Error() string

func (*SearchOK) GetPayload added in v0.97.0

func (*SearchOK) IsClientError added in v0.97.0

func (o *SearchOK) IsClientError() bool

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

func (*SearchOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *SearchOK) IsRedirect() bool

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

func (*SearchOK) IsServerError added in v0.97.0

func (o *SearchOK) IsServerError() bool

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

func (*SearchOK) IsSuccess added in v0.97.0

func (o *SearchOK) IsSuccess() bool

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

func (*SearchOK) String added in v0.97.0

func (o *SearchOK) String() string

type SearchParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewSearchParamsWithContext(ctx context.Context) *SearchParams

NewSearchParamsWithContext creates a new SearchParams object with the ability to set a context for a request.

func NewSearchParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *SearchParams) SetArchitectures(architectures []string)

SetArchitectures adds the architectures to the search params

func (*SearchParams) SetContext added in v0.97.0

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

SetContext adds the context to the search params

func (*SearchParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the search params

func (*SearchParams) SetPaginationNextPageToken added in v0.97.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the search params

func (*SearchParams) SetPaginationPageSize added in v0.97.0

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

SetPaginationPageSize adds the paginationPageSize to the search params

func (*SearchParams) SetPaginationPreviousPageToken added in v0.97.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params

func (*SearchParams) SetProviders added in v0.97.0

func (o *SearchParams) SetProviders(providers []string)

SetProviders adds the providers to the search params

func (*SearchParams) SetQ added in v0.97.0

func (o *SearchParams) SetQ(q *string)

SetQ adds the q to the search params

func (*SearchParams) SetSortOrderBy added in v0.97.0

func (o *SearchParams) SetSortOrderBy(sortOrderBy []string)

SetSortOrderBy adds the sortOrderBy to the search params

func (*SearchParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the search params

func (*SearchParams) WithArchitectures added in v0.97.0

func (o *SearchParams) WithArchitectures(architectures []string) *SearchParams

WithArchitectures adds the architectures to the search params

func (*SearchParams) WithContext added in v0.97.0

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

WithContext adds the context to the search params

func (*SearchParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the search params

func (*SearchParams) WithPaginationNextPageToken added in v0.97.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the search params

func (*SearchParams) WithPaginationPageSize added in v0.97.0

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

WithPaginationPageSize adds the paginationPageSize to the search params

func (*SearchParams) WithPaginationPreviousPageToken added in v0.97.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params

func (*SearchParams) WithProviders added in v0.97.0

func (o *SearchParams) WithProviders(providers []string) *SearchParams

WithProviders adds the providers to the search params

func (*SearchParams) WithQ added in v0.97.0

func (o *SearchParams) WithQ(q *string) *SearchParams

WithQ adds the q to the search params

func (*SearchParams) WithSortOrderBy added in v0.97.0

func (o *SearchParams) WithSortOrderBy(sortOrderBy []string) *SearchParams

WithSortOrderBy adds the sortOrderBy to the search params

func (*SearchParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the search params

func (*SearchParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type SearchReader added in v0.97.0

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

SearchReader is a Reader for the Search structure.

func (*SearchReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type UpdateArchitectureDefault added in v0.97.0

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 added in v0.97.0

func NewUpdateArchitectureDefault(code int) *UpdateArchitectureDefault

NewUpdateArchitectureDefault creates a UpdateArchitectureDefault with default headers values

func (*UpdateArchitectureDefault) Code added in v0.97.0

func (o *UpdateArchitectureDefault) Code() int

Code gets the status code for the update architecture default response

func (*UpdateArchitectureDefault) Error added in v0.97.0

func (o *UpdateArchitectureDefault) Error() string

func (*UpdateArchitectureDefault) GetPayload added in v0.97.0

func (*UpdateArchitectureDefault) IsClientError added in v0.97.0

func (o *UpdateArchitectureDefault) IsClientError() bool

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

func (*UpdateArchitectureDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateArchitectureDefault) IsRedirect() bool

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

func (*UpdateArchitectureDefault) IsServerError added in v0.97.0

func (o *UpdateArchitectureDefault) IsServerError() bool

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

func (*UpdateArchitectureDefault) IsSuccess added in v0.97.0

func (o *UpdateArchitectureDefault) IsSuccess() bool

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

func (*UpdateArchitectureDefault) String added in v0.97.0

func (o *UpdateArchitectureDefault) String() string

type UpdateArchitectureOK added in v0.97.0

type UpdateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
}

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

A successful response.

func NewUpdateArchitectureOK added in v0.97.0

func NewUpdateArchitectureOK() *UpdateArchitectureOK

NewUpdateArchitectureOK creates a UpdateArchitectureOK with default headers values

func (*UpdateArchitectureOK) Code added in v0.97.0

func (o *UpdateArchitectureOK) Code() int

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

func (*UpdateArchitectureOK) Error added in v0.97.0

func (o *UpdateArchitectureOK) Error() string

func (*UpdateArchitectureOK) GetPayload added in v0.97.0

func (*UpdateArchitectureOK) IsClientError added in v0.97.0

func (o *UpdateArchitectureOK) IsClientError() bool

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

func (*UpdateArchitectureOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateArchitectureOK) IsRedirect() bool

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

func (*UpdateArchitectureOK) IsServerError added in v0.97.0

func (o *UpdateArchitectureOK) IsServerError() bool

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

func (*UpdateArchitectureOK) IsSuccess added in v0.97.0

func (o *UpdateArchitectureOK) IsSuccess() bool

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

func (*UpdateArchitectureOK) String added in v0.97.0

func (o *UpdateArchitectureOK) String() string

type UpdateArchitectureParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewUpdateArchitectureParamsWithContext(ctx context.Context) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithContext creates a new UpdateArchitectureParams object with the ability to set a context for a request.

func NewUpdateArchitectureParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *UpdateArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) SetBox added in v0.97.0

func (o *UpdateArchitectureParams) SetBox(box string)

SetBox adds the box to the update architecture params

func (*UpdateArchitectureParams) SetContext added in v0.97.0

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

SetContext adds the context to the update architecture params

func (*UpdateArchitectureParams) SetData added in v0.97.0

SetData adds the data to the update architecture params

func (*UpdateArchitectureParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) SetProvider added in v0.97.0

func (o *UpdateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) SetRegistry added in v0.97.0

func (o *UpdateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) SetVersion added in v0.97.0

func (o *UpdateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) WithBox added in v0.97.0

WithBox adds the box to the update architecture params

func (*UpdateArchitectureParams) WithContext added in v0.97.0

WithContext adds the context to the update architecture params

func (*UpdateArchitectureParams) WithData added in v0.97.0

WithData adds the data to the update architecture params

func (*UpdateArchitectureParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) WithTimeout added in v0.97.0

WithTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WriteToRequest added in v0.97.0

WriteToRequest writes these params to a swagger request

type UpdateArchitectureReader added in v0.97.0

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

UpdateArchitectureReader is a Reader for the UpdateArchitecture structure.

func (*UpdateArchitectureReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type UpdateBoxDefault added in v0.97.0

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 added in v0.97.0

func NewUpdateBoxDefault(code int) *UpdateBoxDefault

NewUpdateBoxDefault creates a UpdateBoxDefault with default headers values

func (*UpdateBoxDefault) Code added in v0.97.0

func (o *UpdateBoxDefault) Code() int

Code gets the status code for the update box default response

func (*UpdateBoxDefault) Error added in v0.97.0

func (o *UpdateBoxDefault) Error() string

func (*UpdateBoxDefault) GetPayload added in v0.97.0

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

func (*UpdateBoxDefault) IsClientError added in v0.97.0

func (o *UpdateBoxDefault) IsClientError() bool

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

func (*UpdateBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateBoxDefault) IsRedirect() bool

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

func (*UpdateBoxDefault) IsServerError added in v0.97.0

func (o *UpdateBoxDefault) IsServerError() bool

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

func (*UpdateBoxDefault) IsSuccess added in v0.97.0

func (o *UpdateBoxDefault) IsSuccess() bool

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

func (*UpdateBoxDefault) String added in v0.97.0

func (o *UpdateBoxDefault) String() string

type UpdateBoxOK added in v0.97.0

type UpdateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateBoxResponse
}

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

A successful response.

func NewUpdateBoxOK added in v0.97.0

func NewUpdateBoxOK() *UpdateBoxOK

NewUpdateBoxOK creates a UpdateBoxOK with default headers values

func (*UpdateBoxOK) Code added in v0.97.0

func (o *UpdateBoxOK) Code() int

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

func (*UpdateBoxOK) Error added in v0.97.0

func (o *UpdateBoxOK) Error() string

func (*UpdateBoxOK) GetPayload added in v0.97.0

func (*UpdateBoxOK) IsClientError added in v0.97.0

func (o *UpdateBoxOK) IsClientError() bool

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

func (*UpdateBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateBoxOK) IsRedirect() bool

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

func (*UpdateBoxOK) IsServerError added in v0.97.0

func (o *UpdateBoxOK) IsServerError() bool

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

func (*UpdateBoxOK) IsSuccess added in v0.97.0

func (o *UpdateBoxOK) IsSuccess() bool

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

func (*UpdateBoxOK) String added in v0.97.0

func (o *UpdateBoxOK) String() string

type UpdateBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewUpdateBoxParamsWithContext(ctx context.Context) *UpdateBoxParams

NewUpdateBoxParamsWithContext creates a new UpdateBoxParams object with the ability to set a context for a request.

func NewUpdateBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *UpdateBoxParams) SetBox(box string)

SetBox adds the box to the update box params

func (*UpdateBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the update box params

func (*UpdateBoxParams) SetData added in v0.97.0

SetData adds the data to the update box params

func (*UpdateBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) SetRegistry added in v0.97.0

func (o *UpdateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the update box params

func (*UpdateBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WithBox added in v0.97.0

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

WithBox adds the box to the update box params

func (*UpdateBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the update box params

func (*UpdateBoxParams) WithData added in v0.97.0

WithData adds the data to the update box params

func (*UpdateBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the update box params

func (*UpdateBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type UpdateBoxReader added in v0.97.0

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

UpdateBoxReader is a Reader for the UpdateBox structure.

func (*UpdateBoxReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type UpdateProviderDefault added in v0.97.0

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 added in v0.97.0

func NewUpdateProviderDefault(code int) *UpdateProviderDefault

NewUpdateProviderDefault creates a UpdateProviderDefault with default headers values

func (*UpdateProviderDefault) Code added in v0.97.0

func (o *UpdateProviderDefault) Code() int

Code gets the status code for the update provider default response

func (*UpdateProviderDefault) Error added in v0.97.0

func (o *UpdateProviderDefault) Error() string

func (*UpdateProviderDefault) GetPayload added in v0.97.0

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

func (*UpdateProviderDefault) IsClientError added in v0.97.0

func (o *UpdateProviderDefault) IsClientError() bool

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

func (*UpdateProviderDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateProviderDefault) IsRedirect() bool

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

func (*UpdateProviderDefault) IsServerError added in v0.97.0

func (o *UpdateProviderDefault) IsServerError() bool

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

func (*UpdateProviderDefault) IsSuccess added in v0.97.0

func (o *UpdateProviderDefault) IsSuccess() bool

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

func (*UpdateProviderDefault) String added in v0.97.0

func (o *UpdateProviderDefault) String() string

type UpdateProviderOK added in v0.97.0

type UpdateProviderOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateProviderResponse
}

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

A successful response.

func NewUpdateProviderOK added in v0.97.0

func NewUpdateProviderOK() *UpdateProviderOK

NewUpdateProviderOK creates a UpdateProviderOK with default headers values

func (*UpdateProviderOK) Code added in v0.97.0

func (o *UpdateProviderOK) Code() int

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

func (*UpdateProviderOK) Error added in v0.97.0

func (o *UpdateProviderOK) Error() string

func (*UpdateProviderOK) GetPayload added in v0.97.0

func (*UpdateProviderOK) IsClientError added in v0.97.0

func (o *UpdateProviderOK) IsClientError() bool

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

func (*UpdateProviderOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateProviderOK) IsRedirect() bool

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

func (*UpdateProviderOK) IsServerError added in v0.97.0

func (o *UpdateProviderOK) IsServerError() bool

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

func (*UpdateProviderOK) IsSuccess added in v0.97.0

func (o *UpdateProviderOK) IsSuccess() bool

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

func (*UpdateProviderOK) String added in v0.97.0

func (o *UpdateProviderOK) String() string

type UpdateProviderParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewUpdateProviderParamsWithContext(ctx context.Context) *UpdateProviderParams

NewUpdateProviderParamsWithContext creates a new UpdateProviderParams object with the ability to set a context for a request.

func NewUpdateProviderParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *UpdateProviderParams) SetBox(box string)

SetBox adds the box to the update provider params

func (*UpdateProviderParams) SetContext added in v0.97.0

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

SetContext adds the context to the update provider params

func (*UpdateProviderParams) SetData added in v0.97.0

SetData adds the data to the update provider params

func (*UpdateProviderParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the update provider params

func (*UpdateProviderParams) SetProvider added in v0.97.0

func (o *UpdateProviderParams) SetProvider(provider string)

SetProvider adds the provider to the update provider params

func (*UpdateProviderParams) SetRegistry added in v0.97.0

func (o *UpdateProviderParams) SetRegistry(registry string)

SetRegistry adds the registry to the update provider params

func (*UpdateProviderParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the update provider params

func (*UpdateProviderParams) SetVersion added in v0.97.0

func (o *UpdateProviderParams) SetVersion(version string)

SetVersion adds the version to the update provider params

func (*UpdateProviderParams) WithBox added in v0.97.0

WithBox adds the box to the update provider params

func (*UpdateProviderParams) WithContext added in v0.97.0

WithContext adds the context to the update provider params

func (*UpdateProviderParams) WithData added in v0.97.0

WithData adds the data to the update provider params

func (*UpdateProviderParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the update provider params

func (*UpdateProviderParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the update provider params

func (*UpdateProviderParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the update provider params

func (*UpdateProviderParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the update provider params

func (*UpdateProviderParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the update provider params

func (*UpdateProviderParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type UpdateProviderReader added in v0.97.0

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

UpdateProviderReader is a Reader for the UpdateProvider structure.

func (*UpdateProviderReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type UpdateVersionDefault added in v0.97.0

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 added in v0.97.0

func NewUpdateVersionDefault(code int) *UpdateVersionDefault

NewUpdateVersionDefault creates a UpdateVersionDefault with default headers values

func (*UpdateVersionDefault) Code added in v0.97.0

func (o *UpdateVersionDefault) Code() int

Code gets the status code for the update version default response

func (*UpdateVersionDefault) Error added in v0.97.0

func (o *UpdateVersionDefault) Error() string

func (*UpdateVersionDefault) GetPayload added in v0.97.0

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

func (*UpdateVersionDefault) IsClientError added in v0.97.0

func (o *UpdateVersionDefault) IsClientError() bool

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

func (*UpdateVersionDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateVersionDefault) IsRedirect() bool

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

func (*UpdateVersionDefault) IsServerError added in v0.97.0

func (o *UpdateVersionDefault) IsServerError() bool

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

func (*UpdateVersionDefault) IsSuccess added in v0.97.0

func (o *UpdateVersionDefault) IsSuccess() bool

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

func (*UpdateVersionDefault) String added in v0.97.0

func (o *UpdateVersionDefault) String() string

type UpdateVersionOK added in v0.97.0

type UpdateVersionOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateVersionResponse
}

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

A successful response.

func NewUpdateVersionOK added in v0.97.0

func NewUpdateVersionOK() *UpdateVersionOK

NewUpdateVersionOK creates a UpdateVersionOK with default headers values

func (*UpdateVersionOK) Code added in v0.97.0

func (o *UpdateVersionOK) Code() int

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

func (*UpdateVersionOK) Error added in v0.97.0

func (o *UpdateVersionOK) Error() string

func (*UpdateVersionOK) GetPayload added in v0.97.0

func (*UpdateVersionOK) IsClientError added in v0.97.0

func (o *UpdateVersionOK) IsClientError() bool

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

func (*UpdateVersionOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UpdateVersionOK) IsRedirect() bool

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

func (*UpdateVersionOK) IsServerError added in v0.97.0

func (o *UpdateVersionOK) IsServerError() bool

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

func (*UpdateVersionOK) IsSuccess added in v0.97.0

func (o *UpdateVersionOK) IsSuccess() bool

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

func (*UpdateVersionOK) String added in v0.97.0

func (o *UpdateVersionOK) String() string

type UpdateVersionParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewUpdateVersionParamsWithContext(ctx context.Context) *UpdateVersionParams

NewUpdateVersionParamsWithContext creates a new UpdateVersionParams object with the ability to set a context for a request.

func NewUpdateVersionParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *UpdateVersionParams) SetBox(box string)

SetBox adds the box to the update version params

func (*UpdateVersionParams) SetContext added in v0.97.0

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

SetContext adds the context to the update version params

func (*UpdateVersionParams) SetData added in v0.97.0

SetData adds the data to the update version params

func (*UpdateVersionParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the update version params

func (*UpdateVersionParams) SetRegistry added in v0.97.0

func (o *UpdateVersionParams) SetRegistry(registry string)

SetRegistry adds the registry to the update version params

func (*UpdateVersionParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the update version params

func (*UpdateVersionParams) SetVersion added in v0.97.0

func (o *UpdateVersionParams) SetVersion(version string)

SetVersion adds the version to the update version params

func (*UpdateVersionParams) WithBox added in v0.97.0

WithBox adds the box to the update version params

func (*UpdateVersionParams) WithContext added in v0.97.0

WithContext adds the context to the update version params

func (*UpdateVersionParams) WithData added in v0.97.0

WithData adds the data to the update version params

func (*UpdateVersionParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the update version params

func (*UpdateVersionParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the update version params

func (*UpdateVersionParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the update version params

func (*UpdateVersionParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the update version params

func (*UpdateVersionParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type UpdateVersionReader added in v0.97.0

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

UpdateVersionReader is a Reader for the UpdateVersion structure.

func (*UpdateVersionReader) ReadResponse added in v0.97.0

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

ReadResponse reads a server response into the received o.

type UploadBoxDefault added in v0.97.0

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 added in v0.97.0

func NewUploadBoxDefault(code int) *UploadBoxDefault

NewUploadBoxDefault creates a UploadBoxDefault with default headers values

func (*UploadBoxDefault) Code added in v0.97.0

func (o *UploadBoxDefault) Code() int

Code gets the status code for the upload box default response

func (*UploadBoxDefault) Error added in v0.97.0

func (o *UploadBoxDefault) Error() string

func (*UploadBoxDefault) GetPayload added in v0.97.0

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

func (*UploadBoxDefault) IsClientError added in v0.97.0

func (o *UploadBoxDefault) IsClientError() bool

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

func (*UploadBoxDefault) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UploadBoxDefault) IsRedirect() bool

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

func (*UploadBoxDefault) IsServerError added in v0.97.0

func (o *UploadBoxDefault) IsServerError() bool

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

func (*UploadBoxDefault) IsSuccess added in v0.97.0

func (o *UploadBoxDefault) IsSuccess() bool

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

func (*UploadBoxDefault) String added in v0.97.0

func (o *UploadBoxDefault) String() string

type UploadBoxOK added in v0.97.0

type UploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}

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

A successful response.

func NewUploadBoxOK added in v0.97.0

func NewUploadBoxOK() *UploadBoxOK

NewUploadBoxOK creates a UploadBoxOK with default headers values

func (*UploadBoxOK) Code added in v0.97.0

func (o *UploadBoxOK) Code() int

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

func (*UploadBoxOK) Error added in v0.97.0

func (o *UploadBoxOK) Error() string

func (*UploadBoxOK) GetPayload added in v0.97.0

func (*UploadBoxOK) IsClientError added in v0.97.0

func (o *UploadBoxOK) IsClientError() bool

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

func (*UploadBoxOK) IsCode added in v0.97.0

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 added in v0.97.0

func (o *UploadBoxOK) IsRedirect() bool

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

func (*UploadBoxOK) IsServerError added in v0.97.0

func (o *UploadBoxOK) IsServerError() bool

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

func (*UploadBoxOK) IsSuccess added in v0.97.0

func (o *UploadBoxOK) IsSuccess() bool

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

func (*UploadBoxOK) String added in v0.97.0

func (o *UploadBoxOK) String() string

type UploadBoxParams added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func NewUploadBoxParamsWithContext(ctx context.Context) *UploadBoxParams

NewUploadBoxParamsWithContext creates a new UploadBoxParams object with the ability to set a context for a request.

func NewUploadBoxParamsWithHTTPClient added in v0.97.0

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 added in v0.97.0

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 added in v0.97.0

func (o *UploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) SetBox added in v0.97.0

func (o *UploadBoxParams) SetBox(box string)

SetBox adds the box to the upload box params

func (*UploadBoxParams) SetContext added in v0.97.0

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

SetContext adds the context to the upload box params

func (*UploadBoxParams) SetDefaults added in v0.97.0

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 added in v0.97.0

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

SetHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) SetProvider added in v0.97.0

func (o *UploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the upload box params

func (*UploadBoxParams) SetRegistry added in v0.97.0

func (o *UploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the upload box params

func (*UploadBoxParams) SetTimeout added in v0.97.0

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

SetTimeout adds the timeout to the upload box params

func (*UploadBoxParams) SetVersion added in v0.97.0

func (o *UploadBoxParams) SetVersion(version string)

SetVersion adds the version to the upload box params

func (*UploadBoxParams) WithArchitecture added in v0.97.0

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

WithArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) WithBox added in v0.97.0

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

WithBox adds the box to the upload box params

func (*UploadBoxParams) WithContext added in v0.97.0

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

WithContext adds the context to the upload box params

func (*UploadBoxParams) WithDefaults added in v0.97.0

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 added in v0.97.0

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

WithHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) WithProvider added in v0.97.0

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

WithProvider adds the provider to the upload box params

func (*UploadBoxParams) WithRegistry added in v0.97.0

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

WithRegistry adds the registry to the upload box params

func (*UploadBoxParams) WithTimeout added in v0.97.0

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

WithTimeout adds the timeout to the upload box params

func (*UploadBoxParams) WithVersion added in v0.97.0

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

WithVersion adds the version to the upload box params

func (*UploadBoxParams) WriteToRequest added in v0.97.0

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

WriteToRequest writes these params to a swagger request

type UploadBoxReader added in v0.97.0

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

UploadBoxReader is a Reader for the UploadBox structure.

func (*UploadBoxReader) ReadResponse added in v0.97.0

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