architecture_service

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 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 Client

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

Client for architecture service API

func (*Client) CompleteDirectUploadBox

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

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

func (*Client) CompleteUploadBox

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

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

func (*Client) CreateArchitecture

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

CreateArchitecture creates architecture creates a architecture in the specified version

func (*Client) DeleteArchitecture

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

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

func (*Client) DirectUploadBox

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

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

func (*Client) DownloadBox

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

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

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

func (*Client) ListArchitectures

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

ListArchitectures lists architectures lists all architectures within a provider

func (*Client) ReadArchitecture

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

ReadArchitecture reads architecture fetches a architecture for the specified provider

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateArchitecture

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

UpdateArchitecture updates architecture updates details about a specified architecture

func (*Client) UploadBox

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

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

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	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)

	DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, 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)

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

	UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, 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 architecture service API client.

type CompleteDirectUploadBoxDefault

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

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

An unexpected error response.

func NewCompleteDirectUploadBoxDefault

func NewCompleteDirectUploadBoxDefault(code int) *CompleteDirectUploadBoxDefault

NewCompleteDirectUploadBoxDefault creates a CompleteDirectUploadBoxDefault with default headers values

func (*CompleteDirectUploadBoxDefault) Code

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

func (*CompleteDirectUploadBoxDefault) Error

func (*CompleteDirectUploadBoxDefault) GetPayload

func (*CompleteDirectUploadBoxDefault) IsClientError

func (o *CompleteDirectUploadBoxDefault) IsClientError() bool

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

func (*CompleteDirectUploadBoxDefault) IsCode

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

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

func (*CompleteDirectUploadBoxDefault) IsRedirect

func (o *CompleteDirectUploadBoxDefault) IsRedirect() bool

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

func (*CompleteDirectUploadBoxDefault) IsServerError

func (o *CompleteDirectUploadBoxDefault) IsServerError() bool

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

func (*CompleteDirectUploadBoxDefault) IsSuccess

func (o *CompleteDirectUploadBoxDefault) IsSuccess() bool

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

func (*CompleteDirectUploadBoxDefault) String

type CompleteDirectUploadBoxOK

type CompleteDirectUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}

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

A successful response.

func NewCompleteDirectUploadBoxOK

func NewCompleteDirectUploadBoxOK() *CompleteDirectUploadBoxOK

NewCompleteDirectUploadBoxOK creates a CompleteDirectUploadBoxOK with default headers values

func (*CompleteDirectUploadBoxOK) Code

func (o *CompleteDirectUploadBoxOK) Code() int

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

func (*CompleteDirectUploadBoxOK) Error

func (o *CompleteDirectUploadBoxOK) Error() string

func (*CompleteDirectUploadBoxOK) IsClientError

func (o *CompleteDirectUploadBoxOK) IsClientError() bool

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

func (*CompleteDirectUploadBoxOK) IsCode

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

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

func (*CompleteDirectUploadBoxOK) IsRedirect

func (o *CompleteDirectUploadBoxOK) IsRedirect() bool

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

func (*CompleteDirectUploadBoxOK) IsServerError

func (o *CompleteDirectUploadBoxOK) IsServerError() bool

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

func (*CompleteDirectUploadBoxOK) IsSuccess

func (o *CompleteDirectUploadBoxOK) IsSuccess() bool

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

func (*CompleteDirectUploadBoxOK) String

func (o *CompleteDirectUploadBoxOK) String() string

type CompleteDirectUploadBoxParams

type CompleteDirectUploadBoxParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* 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

func NewCompleteDirectUploadBoxParams() *CompleteDirectUploadBoxParams

NewCompleteDirectUploadBoxParams creates a new CompleteDirectUploadBoxParams object, with the default timeout for this client.

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

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

func NewCompleteDirectUploadBoxParamsWithContext

func NewCompleteDirectUploadBoxParamsWithContext(ctx context.Context) *CompleteDirectUploadBoxParams

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

func NewCompleteDirectUploadBoxParamsWithHTTPClient

func NewCompleteDirectUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams

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

func NewCompleteDirectUploadBoxParamsWithTimeout

func NewCompleteDirectUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams

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

func (*CompleteDirectUploadBoxParams) SetArchitecture

func (o *CompleteDirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetBox

func (o *CompleteDirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetBytes

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

SetBytes adds the bytes to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetContext

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

SetContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetDefaults

func (o *CompleteDirectUploadBoxParams) SetDefaults()

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

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

func (*CompleteDirectUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetKey

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

SetKey adds the key to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetObject

func (o *CompleteDirectUploadBoxParams) SetObject(object string)

SetObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetProvider

func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetRegistry

func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetSuccess

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

SetSuccess adds the success to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) SetVersion

func (o *CompleteDirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithArchitecture

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

WithArchitecture adds the architecture to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithBox

WithBox adds the box to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithBytes

WithBytes adds the bytes to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithContext

WithContext adds the context to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithDefaults

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

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

func (*CompleteDirectUploadBoxParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithKey

WithKey adds the key to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithObject

WithObject adds the object to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithProvider

WithProvider adds the provider to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithRegistry

WithRegistry adds the registry to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithSuccess

WithSuccess adds the success to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithTimeout

WithTimeout adds the timeout to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WithVersion

WithVersion adds the version to the complete direct upload box params

func (*CompleteDirectUploadBoxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteDirectUploadBoxReader

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

CompleteDirectUploadBoxReader is a Reader for the CompleteDirectUploadBox structure.

func (*CompleteDirectUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteUploadBoxBody

type CompleteUploadBoxBody struct {

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

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

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

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

CompleteUploadBoxBody complete upload box body swagger:model CompleteUploadBoxBody

func (*CompleteUploadBoxBody) ContextValidate

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

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

func (*CompleteUploadBoxBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CompleteUploadBoxBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CompleteUploadBoxBody) Validate

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

Validate validates this complete upload box body

type CompleteUploadBoxDefault

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

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

An unexpected error response.

func NewCompleteUploadBoxDefault

func NewCompleteUploadBoxDefault(code int) *CompleteUploadBoxDefault

NewCompleteUploadBoxDefault creates a CompleteUploadBoxDefault with default headers values

func (*CompleteUploadBoxDefault) Code

func (o *CompleteUploadBoxDefault) Code() int

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

func (*CompleteUploadBoxDefault) Error

func (o *CompleteUploadBoxDefault) Error() string

func (*CompleteUploadBoxDefault) GetPayload

func (*CompleteUploadBoxDefault) IsClientError

func (o *CompleteUploadBoxDefault) IsClientError() bool

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

func (*CompleteUploadBoxDefault) IsCode

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

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

func (*CompleteUploadBoxDefault) IsRedirect

func (o *CompleteUploadBoxDefault) IsRedirect() bool

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

func (*CompleteUploadBoxDefault) IsServerError

func (o *CompleteUploadBoxDefault) IsServerError() bool

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

func (*CompleteUploadBoxDefault) IsSuccess

func (o *CompleteUploadBoxDefault) IsSuccess() bool

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

func (*CompleteUploadBoxDefault) String

func (o *CompleteUploadBoxDefault) String() string

type CompleteUploadBoxOK

type CompleteUploadBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}

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

A successful response.

func NewCompleteUploadBoxOK

func NewCompleteUploadBoxOK() *CompleteUploadBoxOK

NewCompleteUploadBoxOK creates a CompleteUploadBoxOK with default headers values

func (*CompleteUploadBoxOK) Code

func (o *CompleteUploadBoxOK) Code() int

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

func (*CompleteUploadBoxOK) Error

func (o *CompleteUploadBoxOK) Error() string

func (*CompleteUploadBoxOK) IsClientError

func (o *CompleteUploadBoxOK) IsClientError() bool

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

func (*CompleteUploadBoxOK) IsCode

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

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

func (*CompleteUploadBoxOK) IsRedirect

func (o *CompleteUploadBoxOK) IsRedirect() bool

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

func (*CompleteUploadBoxOK) IsServerError

func (o *CompleteUploadBoxOK) IsServerError() bool

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

func (*CompleteUploadBoxOK) IsSuccess

func (o *CompleteUploadBoxOK) IsSuccess() bool

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

func (*CompleteUploadBoxOK) String

func (o *CompleteUploadBoxOK) String() string

type CompleteUploadBoxParams

type CompleteUploadBoxParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	// Body.
	Body CompleteUploadBoxBody

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

CompleteUploadBoxParams contains all the parameters to send to the API endpoint

for the complete upload box operation.

Typically these are written to a http.Request.

func NewCompleteUploadBoxParams

func NewCompleteUploadBoxParams() *CompleteUploadBoxParams

NewCompleteUploadBoxParams creates a new CompleteUploadBoxParams object, with the default timeout for this client.

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

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

func NewCompleteUploadBoxParamsWithContext

func NewCompleteUploadBoxParamsWithContext(ctx context.Context) *CompleteUploadBoxParams

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

func NewCompleteUploadBoxParamsWithHTTPClient

func NewCompleteUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteUploadBoxParams

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

func NewCompleteUploadBoxParamsWithTimeout

func NewCompleteUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteUploadBoxParams

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

func (*CompleteUploadBoxParams) SetArchitecture

func (o *CompleteUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) SetBody

SetBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) SetBox

func (o *CompleteUploadBoxParams) SetBox(box string)

SetBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) SetContext

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

SetContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) SetDefaults

func (o *CompleteUploadBoxParams) SetDefaults()

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

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

func (*CompleteUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) SetProvider

func (o *CompleteUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) SetRegistry

func (o *CompleteUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) SetVersion

func (o *CompleteUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WithArchitecture

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

WithArchitecture adds the architecture to the complete upload box params

func (*CompleteUploadBoxParams) WithBody

WithBody adds the body to the complete upload box params

func (*CompleteUploadBoxParams) WithBox

WithBox adds the box to the complete upload box params

func (*CompleteUploadBoxParams) WithContext

WithContext adds the context to the complete upload box params

func (*CompleteUploadBoxParams) WithDefaults

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

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

func (*CompleteUploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the complete upload box params

func (*CompleteUploadBoxParams) WithProvider

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

WithProvider adds the provider to the complete upload box params

func (*CompleteUploadBoxParams) WithRegistry

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

WithRegistry adds the registry to the complete upload box params

func (*CompleteUploadBoxParams) WithTimeout

WithTimeout adds the timeout to the complete upload box params

func (*CompleteUploadBoxParams) WithVersion

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

WithVersion adds the version to the complete upload box params

func (*CompleteUploadBoxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteUploadBoxReader

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

CompleteUploadBoxReader is a Reader for the CompleteUploadBox structure.

func (*CompleteUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateArchitectureBody

type CreateArchitectureBody struct {

	// Details of the Architecture to create.
	Data *models.HashicorpCloudVagrant20220930Architecture `json:"data,omitempty"`
}

CreateArchitectureBody create architecture body swagger:model CreateArchitectureBody

func (*CreateArchitectureBody) ContextValidate

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

ContextValidate validate this create architecture body based on the context it is used

func (*CreateArchitectureBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateArchitectureBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateArchitectureBody) Validate

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

Validate validates this create architecture body

type CreateArchitectureDefault

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

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

An unexpected error response.

func NewCreateArchitectureDefault

func NewCreateArchitectureDefault(code int) *CreateArchitectureDefault

NewCreateArchitectureDefault creates a CreateArchitectureDefault with default headers values

func (*CreateArchitectureDefault) Code

func (o *CreateArchitectureDefault) Code() int

Code gets the status code for the create architecture default response

func (*CreateArchitectureDefault) Error

func (o *CreateArchitectureDefault) Error() string

func (*CreateArchitectureDefault) GetPayload

func (*CreateArchitectureDefault) IsClientError

func (o *CreateArchitectureDefault) IsClientError() bool

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

func (*CreateArchitectureDefault) IsCode

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

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

func (*CreateArchitectureDefault) IsRedirect

func (o *CreateArchitectureDefault) IsRedirect() bool

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

func (*CreateArchitectureDefault) IsServerError

func (o *CreateArchitectureDefault) IsServerError() bool

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

func (*CreateArchitectureDefault) IsSuccess

func (o *CreateArchitectureDefault) IsSuccess() bool

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

func (*CreateArchitectureDefault) String

func (o *CreateArchitectureDefault) String() string

type CreateArchitectureOK

type CreateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
}

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

A successful response.

func NewCreateArchitectureOK

func NewCreateArchitectureOK() *CreateArchitectureOK

NewCreateArchitectureOK creates a CreateArchitectureOK with default headers values

func (*CreateArchitectureOK) Code

func (o *CreateArchitectureOK) Code() int

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

func (*CreateArchitectureOK) Error

func (o *CreateArchitectureOK) Error() string

func (*CreateArchitectureOK) IsClientError

func (o *CreateArchitectureOK) IsClientError() bool

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

func (*CreateArchitectureOK) IsCode

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

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

func (*CreateArchitectureOK) IsRedirect

func (o *CreateArchitectureOK) IsRedirect() bool

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

func (*CreateArchitectureOK) IsServerError

func (o *CreateArchitectureOK) IsServerError() bool

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

func (*CreateArchitectureOK) IsSuccess

func (o *CreateArchitectureOK) IsSuccess() bool

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

func (*CreateArchitectureOK) String

func (o *CreateArchitectureOK) String() string

type CreateArchitectureParams

type CreateArchitectureParams struct {

	// Body.
	Body CreateArchitectureBody

	/* 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 to create the Architecture in.
	*/
	Provider string

	/* Registry.

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

	/* Version.

	   The name of the Version.
	*/
	Version string

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

CreateArchitectureParams contains all the parameters to send to the API endpoint

for the create architecture operation.

Typically these are written to a http.Request.

func NewCreateArchitectureParams

func NewCreateArchitectureParams() *CreateArchitectureParams

NewCreateArchitectureParams creates a new CreateArchitectureParams object, with the default timeout for this client.

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

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

func NewCreateArchitectureParamsWithContext

func NewCreateArchitectureParamsWithContext(ctx context.Context) *CreateArchitectureParams

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

func NewCreateArchitectureParamsWithHTTPClient

func NewCreateArchitectureParamsWithHTTPClient(client *http.Client) *CreateArchitectureParams

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

func NewCreateArchitectureParamsWithTimeout

func NewCreateArchitectureParamsWithTimeout(timeout time.Duration) *CreateArchitectureParams

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

func (*CreateArchitectureParams) SetBody

SetBody adds the body to the create architecture params

func (*CreateArchitectureParams) SetBox

func (o *CreateArchitectureParams) SetBox(box string)

SetBox adds the box to the create architecture params

func (*CreateArchitectureParams) SetContext

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

SetContext adds the context to the create architecture params

func (*CreateArchitectureParams) SetDefaults

func (o *CreateArchitectureParams) SetDefaults()

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

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

func (*CreateArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) SetProvider

func (o *CreateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) SetRegistry

func (o *CreateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) SetVersion

func (o *CreateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WithBody

WithBody adds the body to the create architecture params

func (*CreateArchitectureParams) WithBox

WithBox adds the box to the create architecture params

func (*CreateArchitectureParams) WithContext

WithContext adds the context to the create architecture params

func (*CreateArchitectureParams) WithDefaults

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

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

func (*CreateArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create architecture params

func (*CreateArchitectureParams) WithProvider

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

WithProvider adds the provider to the create architecture params

func (*CreateArchitectureParams) WithRegistry

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

WithRegistry adds the registry to the create architecture params

func (*CreateArchitectureParams) WithTimeout

WithTimeout adds the timeout to the create architecture params

func (*CreateArchitectureParams) WithVersion

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

WithVersion adds the version to the create architecture params

func (*CreateArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateArchitectureReader

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

CreateArchitectureReader is a Reader for the CreateArchitecture structure.

func (*CreateArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteArchitectureDefault

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

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

An unexpected error response.

func NewDeleteArchitectureDefault

func NewDeleteArchitectureDefault(code int) *DeleteArchitectureDefault

NewDeleteArchitectureDefault creates a DeleteArchitectureDefault with default headers values

func (*DeleteArchitectureDefault) Code

func (o *DeleteArchitectureDefault) Code() int

Code gets the status code for the delete architecture default response

func (*DeleteArchitectureDefault) Error

func (o *DeleteArchitectureDefault) Error() string

func (*DeleteArchitectureDefault) GetPayload

func (*DeleteArchitectureDefault) IsClientError

func (o *DeleteArchitectureDefault) IsClientError() bool

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

func (*DeleteArchitectureDefault) IsCode

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

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

func (*DeleteArchitectureDefault) IsRedirect

func (o *DeleteArchitectureDefault) IsRedirect() bool

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

func (*DeleteArchitectureDefault) IsServerError

func (o *DeleteArchitectureDefault) IsServerError() bool

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

func (*DeleteArchitectureDefault) IsSuccess

func (o *DeleteArchitectureDefault) IsSuccess() bool

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

func (*DeleteArchitectureDefault) String

func (o *DeleteArchitectureDefault) String() string

type DeleteArchitectureOK

type DeleteArchitectureOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
}

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

A successful response.

func NewDeleteArchitectureOK

func NewDeleteArchitectureOK() *DeleteArchitectureOK

NewDeleteArchitectureOK creates a DeleteArchitectureOK with default headers values

func (*DeleteArchitectureOK) Code

func (o *DeleteArchitectureOK) Code() int

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

func (*DeleteArchitectureOK) Error

func (o *DeleteArchitectureOK) Error() string

func (*DeleteArchitectureOK) IsClientError

func (o *DeleteArchitectureOK) IsClientError() bool

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

func (*DeleteArchitectureOK) IsCode

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

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

func (*DeleteArchitectureOK) IsRedirect

func (o *DeleteArchitectureOK) IsRedirect() bool

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

func (*DeleteArchitectureOK) IsServerError

func (o *DeleteArchitectureOK) IsServerError() bool

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

func (*DeleteArchitectureOK) IsSuccess

func (o *DeleteArchitectureOK) IsSuccess() bool

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

func (*DeleteArchitectureOK) String

func (o *DeleteArchitectureOK) String() string

type DeleteArchitectureParams

type DeleteArchitectureParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

DeleteArchitectureParams contains all the parameters to send to the API endpoint

for the delete architecture operation.

Typically these are written to a http.Request.

func NewDeleteArchitectureParams

func NewDeleteArchitectureParams() *DeleteArchitectureParams

NewDeleteArchitectureParams creates a new DeleteArchitectureParams object, with the default timeout for this client.

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

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

func NewDeleteArchitectureParamsWithContext

func NewDeleteArchitectureParamsWithContext(ctx context.Context) *DeleteArchitectureParams

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

func NewDeleteArchitectureParamsWithHTTPClient

func NewDeleteArchitectureParamsWithHTTPClient(client *http.Client) *DeleteArchitectureParams

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

func NewDeleteArchitectureParamsWithTimeout

func NewDeleteArchitectureParamsWithTimeout(timeout time.Duration) *DeleteArchitectureParams

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

func (*DeleteArchitectureParams) SetArchitecture

func (o *DeleteArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) SetBox

func (o *DeleteArchitectureParams) SetBox(box string)

SetBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) SetContext

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

SetContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) SetDefaults

func (o *DeleteArchitectureParams) SetDefaults()

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

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

func (*DeleteArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) SetProvider

func (o *DeleteArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) SetRegistry

func (o *DeleteArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) SetVersion

func (o *DeleteArchitectureParams) SetVersion(version string)

SetVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WithArchitecture

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

WithArchitecture adds the architecture to the delete architecture params

func (*DeleteArchitectureParams) WithBox

WithBox adds the box to the delete architecture params

func (*DeleteArchitectureParams) WithContext

WithContext adds the context to the delete architecture params

func (*DeleteArchitectureParams) WithDefaults

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

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

func (*DeleteArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete architecture params

func (*DeleteArchitectureParams) WithProvider

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

WithProvider adds the provider to the delete architecture params

func (*DeleteArchitectureParams) WithRegistry

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

WithRegistry adds the registry to the delete architecture params

func (*DeleteArchitectureParams) WithTimeout

WithTimeout adds the timeout to the delete architecture params

func (*DeleteArchitectureParams) WithVersion

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

WithVersion adds the version to the delete architecture params

func (*DeleteArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteArchitectureReader

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

DeleteArchitectureReader is a Reader for the DeleteArchitecture structure.

func (*DeleteArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DirectUploadBoxDefault

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

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

An unexpected error response.

func NewDirectUploadBoxDefault

func NewDirectUploadBoxDefault(code int) *DirectUploadBoxDefault

NewDirectUploadBoxDefault creates a DirectUploadBoxDefault with default headers values

func (*DirectUploadBoxDefault) Code

func (o *DirectUploadBoxDefault) Code() int

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

func (*DirectUploadBoxDefault) Error

func (o *DirectUploadBoxDefault) Error() string

func (*DirectUploadBoxDefault) GetPayload

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

func (*DirectUploadBoxDefault) IsClientError

func (o *DirectUploadBoxDefault) IsClientError() bool

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

func (*DirectUploadBoxDefault) IsCode

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

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

func (*DirectUploadBoxDefault) IsRedirect

func (o *DirectUploadBoxDefault) IsRedirect() bool

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

func (*DirectUploadBoxDefault) IsServerError

func (o *DirectUploadBoxDefault) IsServerError() bool

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

func (*DirectUploadBoxDefault) IsSuccess

func (o *DirectUploadBoxDefault) IsSuccess() bool

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

func (*DirectUploadBoxDefault) String

func (o *DirectUploadBoxDefault) String() string

type DirectUploadBoxOK

type DirectUploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}

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

A successful response.

func NewDirectUploadBoxOK

func NewDirectUploadBoxOK() *DirectUploadBoxOK

NewDirectUploadBoxOK creates a DirectUploadBoxOK with default headers values

func (*DirectUploadBoxOK) Code

func (o *DirectUploadBoxOK) Code() int

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

func (*DirectUploadBoxOK) Error

func (o *DirectUploadBoxOK) Error() string

func (*DirectUploadBoxOK) GetPayload

func (*DirectUploadBoxOK) IsClientError

func (o *DirectUploadBoxOK) IsClientError() bool

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

func (*DirectUploadBoxOK) IsCode

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

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

func (*DirectUploadBoxOK) IsRedirect

func (o *DirectUploadBoxOK) IsRedirect() bool

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

func (*DirectUploadBoxOK) IsServerError

func (o *DirectUploadBoxOK) IsServerError() bool

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

func (*DirectUploadBoxOK) IsSuccess

func (o *DirectUploadBoxOK) IsSuccess() bool

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

func (*DirectUploadBoxOK) String

func (o *DirectUploadBoxOK) String() string

type DirectUploadBoxParams

type DirectUploadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

DirectUploadBoxParams contains all the parameters to send to the API endpoint

for the direct upload box operation.

Typically these are written to a http.Request.

func NewDirectUploadBoxParams

func NewDirectUploadBoxParams() *DirectUploadBoxParams

NewDirectUploadBoxParams creates a new DirectUploadBoxParams object, with the default timeout for this client.

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

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

func NewDirectUploadBoxParamsWithContext

func NewDirectUploadBoxParamsWithContext(ctx context.Context) *DirectUploadBoxParams

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

func NewDirectUploadBoxParamsWithHTTPClient

func NewDirectUploadBoxParamsWithHTTPClient(client *http.Client) *DirectUploadBoxParams

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

func NewDirectUploadBoxParamsWithTimeout

func NewDirectUploadBoxParamsWithTimeout(timeout time.Duration) *DirectUploadBoxParams

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

func (*DirectUploadBoxParams) SetArchitecture

func (o *DirectUploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) SetBox

func (o *DirectUploadBoxParams) SetBox(box string)

SetBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) SetContext

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

SetContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) SetDefaults

func (o *DirectUploadBoxParams) SetDefaults()

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

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

func (*DirectUploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) SetProvider

func (o *DirectUploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) SetRegistry

func (o *DirectUploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) SetVersion

func (o *DirectUploadBoxParams) SetVersion(version string)

SetVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WithArchitecture

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

WithArchitecture adds the architecture to the direct upload box params

func (*DirectUploadBoxParams) WithBox

WithBox adds the box to the direct upload box params

func (*DirectUploadBoxParams) WithContext

WithContext adds the context to the direct upload box params

func (*DirectUploadBoxParams) WithDefaults

func (o *DirectUploadBoxParams) WithDefaults() *DirectUploadBoxParams

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

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

func (*DirectUploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the direct upload box params

func (*DirectUploadBoxParams) WithProvider

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

WithProvider adds the provider to the direct upload box params

func (*DirectUploadBoxParams) WithRegistry

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

WithRegistry adds the registry to the direct upload box params

func (*DirectUploadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the direct upload box params

func (*DirectUploadBoxParams) WithVersion

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

WithVersion adds the version to the direct upload box params

func (*DirectUploadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DirectUploadBoxReader

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

DirectUploadBoxReader is a Reader for the DirectUploadBox structure.

func (*DirectUploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadBoxDefault

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

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

An unexpected error response.

func NewDownloadBoxDefault

func NewDownloadBoxDefault(code int) *DownloadBoxDefault

NewDownloadBoxDefault creates a DownloadBoxDefault with default headers values

func (*DownloadBoxDefault) Code

func (o *DownloadBoxDefault) Code() int

Code gets the status code for the download box default response

func (*DownloadBoxDefault) Error

func (o *DownloadBoxDefault) Error() string

func (*DownloadBoxDefault) GetPayload

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

func (*DownloadBoxDefault) IsClientError

func (o *DownloadBoxDefault) IsClientError() bool

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

func (*DownloadBoxDefault) IsCode

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

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

func (*DownloadBoxDefault) IsRedirect

func (o *DownloadBoxDefault) IsRedirect() bool

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

func (*DownloadBoxDefault) IsServerError

func (o *DownloadBoxDefault) IsServerError() bool

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

func (*DownloadBoxDefault) IsSuccess

func (o *DownloadBoxDefault) IsSuccess() bool

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

func (*DownloadBoxDefault) String

func (o *DownloadBoxDefault) String() string

type DownloadBoxOK

type DownloadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930DownloadBoxResponse
}

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

A successful response.

func NewDownloadBoxOK

func NewDownloadBoxOK() *DownloadBoxOK

NewDownloadBoxOK creates a DownloadBoxOK with default headers values

func (*DownloadBoxOK) Code

func (o *DownloadBoxOK) Code() int

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

func (*DownloadBoxOK) Error

func (o *DownloadBoxOK) Error() string

func (*DownloadBoxOK) IsClientError

func (o *DownloadBoxOK) IsClientError() bool

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

func (*DownloadBoxOK) IsCode

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

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

func (*DownloadBoxOK) IsRedirect

func (o *DownloadBoxOK) IsRedirect() bool

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

func (*DownloadBoxOK) IsServerError

func (o *DownloadBoxOK) IsServerError() bool

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

func (*DownloadBoxOK) IsSuccess

func (o *DownloadBoxOK) IsSuccess() bool

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

func (*DownloadBoxOK) String

func (o *DownloadBoxOK) String() string

type DownloadBoxParams

type DownloadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

DownloadBoxParams contains all the parameters to send to the API endpoint

for the download box operation.

Typically these are written to a http.Request.

func NewDownloadBoxParams

func NewDownloadBoxParams() *DownloadBoxParams

NewDownloadBoxParams creates a new DownloadBoxParams object, with the default timeout for this client.

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

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

func NewDownloadBoxParamsWithContext

func NewDownloadBoxParamsWithContext(ctx context.Context) *DownloadBoxParams

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

func NewDownloadBoxParamsWithHTTPClient

func NewDownloadBoxParamsWithHTTPClient(client *http.Client) *DownloadBoxParams

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

func NewDownloadBoxParamsWithTimeout

func NewDownloadBoxParamsWithTimeout(timeout time.Duration) *DownloadBoxParams

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

func (*DownloadBoxParams) SetArchitecture

func (o *DownloadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) SetBox

func (o *DownloadBoxParams) SetBox(box string)

SetBox adds the box to the download box params

func (*DownloadBoxParams) SetContext

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

SetContext adds the context to the download box params

func (*DownloadBoxParams) SetDefaults

func (o *DownloadBoxParams) SetDefaults()

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

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

func (*DownloadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) SetProvider

func (o *DownloadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the download box params

func (*DownloadBoxParams) SetRegistry

func (o *DownloadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the download box params

func (*DownloadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the download box params

func (*DownloadBoxParams) SetVersion

func (o *DownloadBoxParams) SetVersion(version string)

SetVersion adds the version to the download box params

func (*DownloadBoxParams) WithArchitecture

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

WithArchitecture adds the architecture to the download box params

func (*DownloadBoxParams) WithBox

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

WithBox adds the box to the download box params

func (*DownloadBoxParams) WithContext

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

WithContext adds the context to the download box params

func (*DownloadBoxParams) WithDefaults

func (o *DownloadBoxParams) WithDefaults() *DownloadBoxParams

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

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

func (*DownloadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the download box params

func (*DownloadBoxParams) WithProvider

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

WithProvider adds the provider to the download box params

func (*DownloadBoxParams) WithRegistry

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

WithRegistry adds the registry to the download box params

func (*DownloadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the download box params

func (*DownloadBoxParams) WithVersion

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

WithVersion adds the version to the download box params

func (*DownloadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DownloadBoxReader

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

DownloadBoxReader is a Reader for the DownloadBox structure.

func (*DownloadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListArchitecturesDefault

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

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

An unexpected error response.

func NewListArchitecturesDefault

func NewListArchitecturesDefault(code int) *ListArchitecturesDefault

NewListArchitecturesDefault creates a ListArchitecturesDefault with default headers values

func (*ListArchitecturesDefault) Code

func (o *ListArchitecturesDefault) Code() int

Code gets the status code for the list architectures default response

func (*ListArchitecturesDefault) Error

func (o *ListArchitecturesDefault) Error() string

func (*ListArchitecturesDefault) GetPayload

func (*ListArchitecturesDefault) IsClientError

func (o *ListArchitecturesDefault) IsClientError() bool

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

func (*ListArchitecturesDefault) IsCode

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

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

func (*ListArchitecturesDefault) IsRedirect

func (o *ListArchitecturesDefault) IsRedirect() bool

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

func (*ListArchitecturesDefault) IsServerError

func (o *ListArchitecturesDefault) IsServerError() bool

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

func (*ListArchitecturesDefault) IsSuccess

func (o *ListArchitecturesDefault) IsSuccess() bool

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

func (*ListArchitecturesDefault) String

func (o *ListArchitecturesDefault) String() string

type ListArchitecturesOK

type ListArchitecturesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
}

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

A successful response.

func NewListArchitecturesOK

func NewListArchitecturesOK() *ListArchitecturesOK

NewListArchitecturesOK creates a ListArchitecturesOK with default headers values

func (*ListArchitecturesOK) Code

func (o *ListArchitecturesOK) Code() int

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

func (*ListArchitecturesOK) Error

func (o *ListArchitecturesOK) Error() string

func (*ListArchitecturesOK) IsClientError

func (o *ListArchitecturesOK) IsClientError() bool

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

func (*ListArchitecturesOK) IsCode

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

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

func (*ListArchitecturesOK) IsRedirect

func (o *ListArchitecturesOK) IsRedirect() bool

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

func (*ListArchitecturesOK) IsServerError

func (o *ListArchitecturesOK) IsServerError() bool

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

func (*ListArchitecturesOK) IsSuccess

func (o *ListArchitecturesOK) IsSuccess() bool

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

func (*ListArchitecturesOK) String

func (o *ListArchitecturesOK) String() string

type ListArchitecturesParams

type ListArchitecturesParams struct {

	/* Box.

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

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

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

	/* Provider.

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

	/* Registry.

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

	/* Version.

	   The name of the Version.
	*/
	Version string

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

ListArchitecturesParams contains all the parameters to send to the API endpoint

for the list architectures operation.

Typically these are written to a http.Request.

func NewListArchitecturesParams

func NewListArchitecturesParams() *ListArchitecturesParams

NewListArchitecturesParams creates a new ListArchitecturesParams object, with the default timeout for this client.

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

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

func NewListArchitecturesParamsWithContext

func NewListArchitecturesParamsWithContext(ctx context.Context) *ListArchitecturesParams

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

func NewListArchitecturesParamsWithHTTPClient

func NewListArchitecturesParamsWithHTTPClient(client *http.Client) *ListArchitecturesParams

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

func NewListArchitecturesParamsWithTimeout

func NewListArchitecturesParamsWithTimeout(timeout time.Duration) *ListArchitecturesParams

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

func (*ListArchitecturesParams) SetBox

func (o *ListArchitecturesParams) SetBox(box string)

SetBox adds the box to the list architectures params

func (*ListArchitecturesParams) SetContext

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

SetContext adds the context to the list architectures params

func (*ListArchitecturesParams) SetDefaults

func (o *ListArchitecturesParams) SetDefaults()

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

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

func (*ListArchitecturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) SetProvider

func (o *ListArchitecturesParams) SetProvider(provider string)

SetProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) SetRegistry

func (o *ListArchitecturesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) SetTimeout

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

SetTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) SetVersion

func (o *ListArchitecturesParams) SetVersion(version string)

SetVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WithBox

WithBox adds the box to the list architectures params

func (*ListArchitecturesParams) WithContext

WithContext adds the context to the list architectures params

func (*ListArchitecturesParams) WithDefaults

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

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

func (*ListArchitecturesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list architectures params

func (*ListArchitecturesParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list architectures params

func (*ListArchitecturesParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the list architectures params

func (*ListArchitecturesParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params

func (*ListArchitecturesParams) WithProvider

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

WithProvider adds the provider to the list architectures params

func (*ListArchitecturesParams) WithRegistry

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

WithRegistry adds the registry to the list architectures params

func (*ListArchitecturesParams) WithTimeout

WithTimeout adds the timeout to the list architectures params

func (*ListArchitecturesParams) WithVersion

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

WithVersion adds the version to the list architectures params

func (*ListArchitecturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListArchitecturesReader

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

ListArchitecturesReader is a Reader for the ListArchitectures structure.

func (*ListArchitecturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadArchitectureDefault

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

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

An unexpected error response.

func NewReadArchitectureDefault

func NewReadArchitectureDefault(code int) *ReadArchitectureDefault

NewReadArchitectureDefault creates a ReadArchitectureDefault with default headers values

func (*ReadArchitectureDefault) Code

func (o *ReadArchitectureDefault) Code() int

Code gets the status code for the read architecture default response

func (*ReadArchitectureDefault) Error

func (o *ReadArchitectureDefault) Error() string

func (*ReadArchitectureDefault) GetPayload

func (*ReadArchitectureDefault) IsClientError

func (o *ReadArchitectureDefault) IsClientError() bool

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

func (*ReadArchitectureDefault) IsCode

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

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

func (*ReadArchitectureDefault) IsRedirect

func (o *ReadArchitectureDefault) IsRedirect() bool

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

func (*ReadArchitectureDefault) IsServerError

func (o *ReadArchitectureDefault) IsServerError() bool

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

func (*ReadArchitectureDefault) IsSuccess

func (o *ReadArchitectureDefault) IsSuccess() bool

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

func (*ReadArchitectureDefault) String

func (o *ReadArchitectureDefault) String() string

type ReadArchitectureOK

type ReadArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
}

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

A successful response.

func NewReadArchitectureOK

func NewReadArchitectureOK() *ReadArchitectureOK

NewReadArchitectureOK creates a ReadArchitectureOK with default headers values

func (*ReadArchitectureOK) Code

func (o *ReadArchitectureOK) Code() int

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

func (*ReadArchitectureOK) Error

func (o *ReadArchitectureOK) Error() string

func (*ReadArchitectureOK) IsClientError

func (o *ReadArchitectureOK) IsClientError() bool

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

func (*ReadArchitectureOK) IsCode

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

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

func (*ReadArchitectureOK) IsRedirect

func (o *ReadArchitectureOK) IsRedirect() bool

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

func (*ReadArchitectureOK) IsServerError

func (o *ReadArchitectureOK) IsServerError() bool

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

func (*ReadArchitectureOK) IsSuccess

func (o *ReadArchitectureOK) IsSuccess() bool

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

func (*ReadArchitectureOK) String

func (o *ReadArchitectureOK) String() string

type ReadArchitectureParams

type ReadArchitectureParams struct {

	/* Architecture.

	   The name of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

ReadArchitectureParams contains all the parameters to send to the API endpoint

for the read architecture operation.

Typically these are written to a http.Request.

func NewReadArchitectureParams

func NewReadArchitectureParams() *ReadArchitectureParams

NewReadArchitectureParams creates a new ReadArchitectureParams object, with the default timeout for this client.

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

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

func NewReadArchitectureParamsWithContext

func NewReadArchitectureParamsWithContext(ctx context.Context) *ReadArchitectureParams

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

func NewReadArchitectureParamsWithHTTPClient

func NewReadArchitectureParamsWithHTTPClient(client *http.Client) *ReadArchitectureParams

NewReadArchitectureParamsWithHTTPClient creates a new ReadArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewReadArchitectureParamsWithTimeout

func NewReadArchitectureParamsWithTimeout(timeout time.Duration) *ReadArchitectureParams

NewReadArchitectureParamsWithTimeout creates a new ReadArchitectureParams object with the ability to set a timeout on a request.

func (*ReadArchitectureParams) SetArchitecture

func (o *ReadArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) SetBox

func (o *ReadArchitectureParams) SetBox(box string)

SetBox adds the box to the read architecture params

func (*ReadArchitectureParams) SetContext

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

SetContext adds the context to the read architecture params

func (*ReadArchitectureParams) SetDefaults

func (o *ReadArchitectureParams) SetDefaults()

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

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

func (*ReadArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) SetProvider

func (o *ReadArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) SetRegistry

func (o *ReadArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) SetVersion

func (o *ReadArchitectureParams) SetVersion(version string)

SetVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WithArchitecture

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

WithArchitecture adds the architecture to the read architecture params

func (*ReadArchitectureParams) WithBox

WithBox adds the box to the read architecture params

func (*ReadArchitectureParams) WithContext

WithContext adds the context to the read architecture params

func (*ReadArchitectureParams) WithDefaults

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

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

func (*ReadArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read architecture params

func (*ReadArchitectureParams) WithProvider

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

WithProvider adds the provider to the read architecture params

func (*ReadArchitectureParams) WithRegistry

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

WithRegistry adds the registry to the read architecture params

func (*ReadArchitectureParams) WithTimeout

WithTimeout adds the timeout to the read architecture params

func (*ReadArchitectureParams) WithVersion

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

WithVersion adds the version to the read architecture params

func (*ReadArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadArchitectureReader

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

ReadArchitectureReader is a Reader for the ReadArchitecture structure.

func (*ReadArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateArchitectureBody

type UpdateArchitectureBody struct {

	// Details of the Architecture to update. Note that some fields are ignored on
	// input and should not be set.
	Data *models.HashicorpCloudVagrant20220930Architecture `json:"data,omitempty"`
}

UpdateArchitectureBody update architecture body swagger:model UpdateArchitectureBody

func (*UpdateArchitectureBody) ContextValidate

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

ContextValidate validate this update architecture body based on the context it is used

func (*UpdateArchitectureBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateArchitectureBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateArchitectureBody) Validate

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

Validate validates this update architecture body

type UpdateArchitectureDefault

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

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

An unexpected error response.

func NewUpdateArchitectureDefault

func NewUpdateArchitectureDefault(code int) *UpdateArchitectureDefault

NewUpdateArchitectureDefault creates a UpdateArchitectureDefault with default headers values

func (*UpdateArchitectureDefault) Code

func (o *UpdateArchitectureDefault) Code() int

Code gets the status code for the update architecture default response

func (*UpdateArchitectureDefault) Error

func (o *UpdateArchitectureDefault) Error() string

func (*UpdateArchitectureDefault) GetPayload

func (*UpdateArchitectureDefault) IsClientError

func (o *UpdateArchitectureDefault) IsClientError() bool

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

func (*UpdateArchitectureDefault) IsCode

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

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

func (*UpdateArchitectureDefault) IsRedirect

func (o *UpdateArchitectureDefault) IsRedirect() bool

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

func (*UpdateArchitectureDefault) IsServerError

func (o *UpdateArchitectureDefault) IsServerError() bool

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

func (*UpdateArchitectureDefault) IsSuccess

func (o *UpdateArchitectureDefault) IsSuccess() bool

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

func (*UpdateArchitectureDefault) String

func (o *UpdateArchitectureDefault) String() string

type UpdateArchitectureOK

type UpdateArchitectureOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
}

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

A successful response.

func NewUpdateArchitectureOK

func NewUpdateArchitectureOK() *UpdateArchitectureOK

NewUpdateArchitectureOK creates a UpdateArchitectureOK with default headers values

func (*UpdateArchitectureOK) Code

func (o *UpdateArchitectureOK) Code() int

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

func (*UpdateArchitectureOK) Error

func (o *UpdateArchitectureOK) Error() string

func (*UpdateArchitectureOK) IsClientError

func (o *UpdateArchitectureOK) IsClientError() bool

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

func (*UpdateArchitectureOK) IsCode

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

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

func (*UpdateArchitectureOK) IsRedirect

func (o *UpdateArchitectureOK) IsRedirect() bool

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

func (*UpdateArchitectureOK) IsServerError

func (o *UpdateArchitectureOK) IsServerError() bool

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

func (*UpdateArchitectureOK) IsSuccess

func (o *UpdateArchitectureOK) IsSuccess() bool

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

func (*UpdateArchitectureOK) String

func (o *UpdateArchitectureOK) String() string

type UpdateArchitectureParams

type UpdateArchitectureParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	// Body.
	Body UpdateArchitectureBody

	/* 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
}

UpdateArchitectureParams contains all the parameters to send to the API endpoint

for the update architecture operation.

Typically these are written to a http.Request.

func NewUpdateArchitectureParams

func NewUpdateArchitectureParams() *UpdateArchitectureParams

NewUpdateArchitectureParams creates a new UpdateArchitectureParams object, with the default timeout for this client.

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

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

func NewUpdateArchitectureParamsWithContext

func NewUpdateArchitectureParamsWithContext(ctx context.Context) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithContext creates a new UpdateArchitectureParams object with the ability to set a context for a request.

func NewUpdateArchitectureParamsWithHTTPClient

func NewUpdateArchitectureParamsWithHTTPClient(client *http.Client) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithHTTPClient creates a new UpdateArchitectureParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateArchitectureParamsWithTimeout

func NewUpdateArchitectureParamsWithTimeout(timeout time.Duration) *UpdateArchitectureParams

NewUpdateArchitectureParamsWithTimeout creates a new UpdateArchitectureParams object with the ability to set a timeout on a request.

func (*UpdateArchitectureParams) SetArchitecture

func (o *UpdateArchitectureParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) SetBody

SetBody adds the body to the update architecture params

func (*UpdateArchitectureParams) SetBox

func (o *UpdateArchitectureParams) SetBox(box string)

SetBox adds the box to the update architecture params

func (*UpdateArchitectureParams) SetContext

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

SetContext adds the context to the update architecture params

func (*UpdateArchitectureParams) SetDefaults

func (o *UpdateArchitectureParams) SetDefaults()

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

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

func (*UpdateArchitectureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) SetProvider

func (o *UpdateArchitectureParams) SetProvider(provider string)

SetProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) SetRegistry

func (o *UpdateArchitectureParams) SetRegistry(registry string)

SetRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) SetTimeout

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

SetTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) SetVersion

func (o *UpdateArchitectureParams) SetVersion(version string)

SetVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WithArchitecture

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

WithArchitecture adds the architecture to the update architecture params

func (*UpdateArchitectureParams) WithBody

WithBody adds the body to the update architecture params

func (*UpdateArchitectureParams) WithBox

WithBox adds the box to the update architecture params

func (*UpdateArchitectureParams) WithContext

WithContext adds the context to the update architecture params

func (*UpdateArchitectureParams) WithDefaults

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

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

func (*UpdateArchitectureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update architecture params

func (*UpdateArchitectureParams) WithProvider

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

WithProvider adds the provider to the update architecture params

func (*UpdateArchitectureParams) WithRegistry

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

WithRegistry adds the registry to the update architecture params

func (*UpdateArchitectureParams) WithTimeout

WithTimeout adds the timeout to the update architecture params

func (*UpdateArchitectureParams) WithVersion

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

WithVersion adds the version to the update architecture params

func (*UpdateArchitectureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateArchitectureReader

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

UpdateArchitectureReader is a Reader for the UpdateArchitecture structure.

func (*UpdateArchitectureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadBoxDefault

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

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

An unexpected error response.

func NewUploadBoxDefault

func NewUploadBoxDefault(code int) *UploadBoxDefault

NewUploadBoxDefault creates a UploadBoxDefault with default headers values

func (*UploadBoxDefault) Code

func (o *UploadBoxDefault) Code() int

Code gets the status code for the upload box default response

func (*UploadBoxDefault) Error

func (o *UploadBoxDefault) Error() string

func (*UploadBoxDefault) GetPayload

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

func (*UploadBoxDefault) IsClientError

func (o *UploadBoxDefault) IsClientError() bool

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

func (*UploadBoxDefault) IsCode

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

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

func (*UploadBoxDefault) IsRedirect

func (o *UploadBoxDefault) IsRedirect() bool

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

func (*UploadBoxDefault) IsServerError

func (o *UploadBoxDefault) IsServerError() bool

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

func (*UploadBoxDefault) IsSuccess

func (o *UploadBoxDefault) IsSuccess() bool

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

func (*UploadBoxDefault) String

func (o *UploadBoxDefault) String() string

type UploadBoxOK

type UploadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}

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

A successful response.

func NewUploadBoxOK

func NewUploadBoxOK() *UploadBoxOK

NewUploadBoxOK creates a UploadBoxOK with default headers values

func (*UploadBoxOK) Code

func (o *UploadBoxOK) Code() int

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

func (*UploadBoxOK) Error

func (o *UploadBoxOK) Error() string

func (*UploadBoxOK) GetPayload

func (*UploadBoxOK) IsClientError

func (o *UploadBoxOK) IsClientError() bool

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

func (*UploadBoxOK) IsCode

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

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

func (*UploadBoxOK) IsRedirect

func (o *UploadBoxOK) IsRedirect() bool

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

func (*UploadBoxOK) IsServerError

func (o *UploadBoxOK) IsServerError() bool

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

func (*UploadBoxOK) IsSuccess

func (o *UploadBoxOK) IsSuccess() bool

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

func (*UploadBoxOK) String

func (o *UploadBoxOK) String() string

type UploadBoxParams

type UploadBoxParams struct {

	/* Architecture.

	   The type of the Architecture.
	*/
	Architecture string

	/* Box.

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

	/* Provider.

	   The name of the Provider.
	*/
	Provider string

	/* Registry.

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

	/* Version.

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

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

UploadBoxParams contains all the parameters to send to the API endpoint

for the upload box operation.

Typically these are written to a http.Request.

func NewUploadBoxParams

func NewUploadBoxParams() *UploadBoxParams

NewUploadBoxParams creates a new UploadBoxParams object, with the default timeout for this client.

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

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

func NewUploadBoxParamsWithContext

func NewUploadBoxParamsWithContext(ctx context.Context) *UploadBoxParams

NewUploadBoxParamsWithContext creates a new UploadBoxParams object with the ability to set a context for a request.

func NewUploadBoxParamsWithHTTPClient

func NewUploadBoxParamsWithHTTPClient(client *http.Client) *UploadBoxParams

NewUploadBoxParamsWithHTTPClient creates a new UploadBoxParams object with the ability to set a custom HTTPClient for a request.

func NewUploadBoxParamsWithTimeout

func NewUploadBoxParamsWithTimeout(timeout time.Duration) *UploadBoxParams

NewUploadBoxParamsWithTimeout creates a new UploadBoxParams object with the ability to set a timeout on a request.

func (*UploadBoxParams) SetArchitecture

func (o *UploadBoxParams) SetArchitecture(architecture string)

SetArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) SetBox

func (o *UploadBoxParams) SetBox(box string)

SetBox adds the box to the upload box params

func (*UploadBoxParams) SetContext

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

SetContext adds the context to the upload box params

func (*UploadBoxParams) SetDefaults

func (o *UploadBoxParams) SetDefaults()

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

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

func (*UploadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) SetProvider

func (o *UploadBoxParams) SetProvider(provider string)

SetProvider adds the provider to the upload box params

func (*UploadBoxParams) SetRegistry

func (o *UploadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the upload box params

func (*UploadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the upload box params

func (*UploadBoxParams) SetVersion

func (o *UploadBoxParams) SetVersion(version string)

SetVersion adds the version to the upload box params

func (*UploadBoxParams) WithArchitecture

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

WithArchitecture adds the architecture to the upload box params

func (*UploadBoxParams) WithBox

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

WithBox adds the box to the upload box params

func (*UploadBoxParams) WithContext

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

WithContext adds the context to the upload box params

func (*UploadBoxParams) WithDefaults

func (o *UploadBoxParams) WithDefaults() *UploadBoxParams

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

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

func (*UploadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload box params

func (*UploadBoxParams) WithProvider

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

WithProvider adds the provider to the upload box params

func (*UploadBoxParams) WithRegistry

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

WithRegistry adds the registry to the upload box params

func (*UploadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the upload box params

func (*UploadBoxParams) WithVersion

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

WithVersion adds the version to the upload box params

func (*UploadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadBoxReader

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

UploadBoxReader is a Reader for the UploadBox structure.

func (*UploadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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