box_service

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MPL-2.0 Imports: 11 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 box service API

func (*Client) CreateBox

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

CreateBox creates box creates a new vagrant box

func (*Client) DeleteBox

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

Deleting a Box removes all its Versions and Providers as

well. This operation cannot be undone.

func (*Client) ListBoxes

func (a *Client) ListBoxes(params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBoxesOK, error)

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

func (*Client) ReadBox

func (a *Client) ReadBox(params *ReadBoxParams, authInfo runtime.ClientAuthInfoWriter) (*ReadBoxOK, error)

ReadBox reads box reads a vagrant box

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateBox

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

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

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

type ClientService

type ClientService interface {
	CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBoxOK, error)

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

	ListBoxes(params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBoxesOK, error)

	ReadBox(params *ReadBoxParams, authInfo runtime.ClientAuthInfoWriter) (*ReadBoxOK, error)

	UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBoxOK, 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 box service API client.

type CreateBoxOK

type CreateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930CreateBoxResponse
}

CreateBoxOK handles this case with default header values.

A successful response.

func NewCreateBoxOK

func NewCreateBoxOK() *CreateBoxOK

NewCreateBoxOK creates a CreateBoxOK with default headers values

func (*CreateBoxOK) Error

func (o *CreateBoxOK) Error() string

func (*CreateBoxOK) GetPayload

type CreateBoxParams

type CreateBoxParams struct {

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

	*/
	Registry string

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

CreateBoxParams contains all the parameters to send to the API endpoint for the create box operation typically these are written to a http.Request

func NewCreateBoxParams

func NewCreateBoxParams() *CreateBoxParams

NewCreateBoxParams creates a new CreateBoxParams object with the default values initialized.

func NewCreateBoxParamsWithContext

func NewCreateBoxParamsWithContext(ctx context.Context) *CreateBoxParams

NewCreateBoxParamsWithContext creates a new CreateBoxParams object with the default values initialized, and the ability to set a context for a request

func NewCreateBoxParamsWithHTTPClient

func NewCreateBoxParamsWithHTTPClient(client *http.Client) *CreateBoxParams

NewCreateBoxParamsWithHTTPClient creates a new CreateBoxParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateBoxParamsWithTimeout

func NewCreateBoxParamsWithTimeout(timeout time.Duration) *CreateBoxParams

NewCreateBoxParamsWithTimeout creates a new CreateBoxParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateBoxParams) SetBody

SetBody adds the body to the create box params

func (*CreateBoxParams) SetContext

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

SetContext adds the context to the create box params

func (*CreateBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) SetRegistry

func (o *CreateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the create box params

func (*CreateBoxParams) SetTimeout

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

SetTimeout adds the timeout to the create box params

func (*CreateBoxParams) WithBody

WithBody adds the body to the create box params

func (*CreateBoxParams) WithContext

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

WithContext adds the context to the create box params

func (*CreateBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create box params

func (*CreateBoxParams) WithRegistry

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

WithRegistry adds the registry to the create box params

func (*CreateBoxParams) WithTimeout

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

WithTimeout adds the timeout to the create box params

func (*CreateBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBoxReader

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

CreateBoxReader is a Reader for the CreateBox structure.

func (*CreateBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBoxOK

type DeleteBoxOK struct {
	Payload models.HashicorpCloudVagrant20220930DeleteBoxResponse
}

DeleteBoxOK handles this case with default header values.

A successful response.

func NewDeleteBoxOK

func NewDeleteBoxOK() *DeleteBoxOK

NewDeleteBoxOK creates a DeleteBoxOK with default headers values

func (*DeleteBoxOK) Error

func (o *DeleteBoxOK) Error() string

type DeleteBoxParams

type DeleteBoxParams struct {

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

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

	*/
	Registry string

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

DeleteBoxParams contains all the parameters to send to the API endpoint for the delete box operation typically these are written to a http.Request

func NewDeleteBoxParams

func NewDeleteBoxParams() *DeleteBoxParams

NewDeleteBoxParams creates a new DeleteBoxParams object with the default values initialized.

func NewDeleteBoxParamsWithContext

func NewDeleteBoxParamsWithContext(ctx context.Context) *DeleteBoxParams

NewDeleteBoxParamsWithContext creates a new DeleteBoxParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteBoxParamsWithHTTPClient

func NewDeleteBoxParamsWithHTTPClient(client *http.Client) *DeleteBoxParams

NewDeleteBoxParamsWithHTTPClient creates a new DeleteBoxParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteBoxParamsWithTimeout

func NewDeleteBoxParamsWithTimeout(timeout time.Duration) *DeleteBoxParams

NewDeleteBoxParamsWithTimeout creates a new DeleteBoxParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteBoxParams) SetBox

func (o *DeleteBoxParams) SetBox(box string)

SetBox adds the box to the delete box params

func (*DeleteBoxParams) SetContext

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

SetContext adds the context to the delete box params

func (*DeleteBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) SetRegistry

func (o *DeleteBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the delete box params

func (*DeleteBoxParams) SetTimeout

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

SetTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WithBox

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

WithBox adds the box to the delete box params

func (*DeleteBoxParams) WithContext

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

WithContext adds the context to the delete box params

func (*DeleteBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete box params

func (*DeleteBoxParams) WithRegistry

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

WithRegistry adds the registry to the delete box params

func (*DeleteBoxParams) WithTimeout

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

WithTimeout adds the timeout to the delete box params

func (*DeleteBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBoxReader

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

DeleteBoxReader is a Reader for the DeleteBox structure.

func (*DeleteBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBoxesOK

type ListBoxesOK struct {
	Payload *models.HashicorpCloudVagrant20220930ListBoxesResponse
}

ListBoxesOK handles this case with default header values.

A successful response.

func NewListBoxesOK

func NewListBoxesOK() *ListBoxesOK

NewListBoxesOK creates a ListBoxesOK with default headers values

func (*ListBoxesOK) Error

func (o *ListBoxesOK) Error() string

func (*ListBoxesOK) GetPayload

type ListBoxesParams

type ListBoxesParams struct {

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

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

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

	*/
	Registry string

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

ListBoxesParams contains all the parameters to send to the API endpoint for the list boxes operation typically these are written to a http.Request

func NewListBoxesParams

func NewListBoxesParams() *ListBoxesParams

NewListBoxesParams creates a new ListBoxesParams object with the default values initialized.

func NewListBoxesParamsWithContext

func NewListBoxesParamsWithContext(ctx context.Context) *ListBoxesParams

NewListBoxesParamsWithContext creates a new ListBoxesParams object with the default values initialized, and the ability to set a context for a request

func NewListBoxesParamsWithHTTPClient

func NewListBoxesParamsWithHTTPClient(client *http.Client) *ListBoxesParams

NewListBoxesParamsWithHTTPClient creates a new ListBoxesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListBoxesParamsWithTimeout

func NewListBoxesParamsWithTimeout(timeout time.Duration) *ListBoxesParams

NewListBoxesParamsWithTimeout creates a new ListBoxesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListBoxesParams) SetContext

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

SetContext adds the context to the list boxes params

func (*ListBoxesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) SetRegistry

func (o *ListBoxesParams) SetRegistry(registry string)

SetRegistry adds the registry to the list boxes params

func (*ListBoxesParams) SetTimeout

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

SetTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WithContext

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

WithContext adds the context to the list boxes params

func (*ListBoxesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list boxes params

func (*ListBoxesParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the list boxes params

func (*ListBoxesParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the list boxes params

func (*ListBoxesParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params

func (*ListBoxesParams) WithRegistry

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

WithRegistry adds the registry to the list boxes params

func (*ListBoxesParams) WithTimeout

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

WithTimeout adds the timeout to the list boxes params

func (*ListBoxesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListBoxesReader

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

ListBoxesReader is a Reader for the ListBoxes structure.

func (*ListBoxesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadBoxOK

type ReadBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930ReadBoxResponse
}

ReadBoxOK handles this case with default header values.

A successful response.

func NewReadBoxOK

func NewReadBoxOK() *ReadBoxOK

NewReadBoxOK creates a ReadBoxOK with default headers values

func (*ReadBoxOK) Error

func (o *ReadBoxOK) Error() string

func (*ReadBoxOK) GetPayload

type ReadBoxParams

type ReadBoxParams struct {

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

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

	*/
	Registry string

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

ReadBoxParams contains all the parameters to send to the API endpoint for the read box operation typically these are written to a http.Request

func NewReadBoxParams

func NewReadBoxParams() *ReadBoxParams

NewReadBoxParams creates a new ReadBoxParams object with the default values initialized.

func NewReadBoxParamsWithContext

func NewReadBoxParamsWithContext(ctx context.Context) *ReadBoxParams

NewReadBoxParamsWithContext creates a new ReadBoxParams object with the default values initialized, and the ability to set a context for a request

func NewReadBoxParamsWithHTTPClient

func NewReadBoxParamsWithHTTPClient(client *http.Client) *ReadBoxParams

NewReadBoxParamsWithHTTPClient creates a new ReadBoxParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReadBoxParamsWithTimeout

func NewReadBoxParamsWithTimeout(timeout time.Duration) *ReadBoxParams

NewReadBoxParamsWithTimeout creates a new ReadBoxParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReadBoxParams) SetBox

func (o *ReadBoxParams) SetBox(box string)

SetBox adds the box to the read box params

func (*ReadBoxParams) SetContext

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

SetContext adds the context to the read box params

func (*ReadBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) SetRegistry

func (o *ReadBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the read box params

func (*ReadBoxParams) SetTimeout

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

SetTimeout adds the timeout to the read box params

func (*ReadBoxParams) WithBox

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

WithBox adds the box to the read box params

func (*ReadBoxParams) WithContext

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

WithContext adds the context to the read box params

func (*ReadBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read box params

func (*ReadBoxParams) WithRegistry

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

WithRegistry adds the registry to the read box params

func (*ReadBoxParams) WithTimeout

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

WithTimeout adds the timeout to the read box params

func (*ReadBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadBoxReader

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

ReadBoxReader is a Reader for the ReadBox structure.

func (*ReadBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBoxOK

type UpdateBoxOK struct {
	Payload *models.HashicorpCloudVagrant20220930UpdateBoxResponse
}

UpdateBoxOK handles this case with default header values.

A successful response.

func NewUpdateBoxOK

func NewUpdateBoxOK() *UpdateBoxOK

NewUpdateBoxOK creates a UpdateBoxOK with default headers values

func (*UpdateBoxOK) Error

func (o *UpdateBoxOK) Error() string

func (*UpdateBoxOK) GetPayload

type UpdateBoxParams

type UpdateBoxParams struct {

	/*Body*/
	Body *models.HashicorpCloudVagrant20220930UpdateBoxRequest
	/*Box
	  The name segment of the Box to update. As an example, this field would
	represent the "vagrant" in "hashicorp/vagrant".

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

	*/
	Registry string

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

UpdateBoxParams contains all the parameters to send to the API endpoint for the update box operation typically these are written to a http.Request

func NewUpdateBoxParams

func NewUpdateBoxParams() *UpdateBoxParams

NewUpdateBoxParams creates a new UpdateBoxParams object with the default values initialized.

func NewUpdateBoxParamsWithContext

func NewUpdateBoxParamsWithContext(ctx context.Context) *UpdateBoxParams

NewUpdateBoxParamsWithContext creates a new UpdateBoxParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateBoxParamsWithHTTPClient

func NewUpdateBoxParamsWithHTTPClient(client *http.Client) *UpdateBoxParams

NewUpdateBoxParamsWithHTTPClient creates a new UpdateBoxParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateBoxParamsWithTimeout

func NewUpdateBoxParamsWithTimeout(timeout time.Duration) *UpdateBoxParams

NewUpdateBoxParamsWithTimeout creates a new UpdateBoxParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateBoxParams) SetBody

SetBody adds the body to the update box params

func (*UpdateBoxParams) SetBox

func (o *UpdateBoxParams) SetBox(box string)

SetBox adds the box to the update box params

func (*UpdateBoxParams) SetContext

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

SetContext adds the context to the update box params

func (*UpdateBoxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) SetRegistry

func (o *UpdateBoxParams) SetRegistry(registry string)

SetRegistry adds the registry to the update box params

func (*UpdateBoxParams) SetTimeout

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

SetTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WithBody

WithBody adds the body to the update box params

func (*UpdateBoxParams) WithBox

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

WithBox adds the box to the update box params

func (*UpdateBoxParams) WithContext

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

WithContext adds the context to the update box params

func (*UpdateBoxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update box params

func (*UpdateBoxParams) WithRegistry

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

WithRegistry adds the registry to the update box params

func (*UpdateBoxParams) WithTimeout

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

WithTimeout adds the timeout to the update box params

func (*UpdateBoxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateBoxReader

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

UpdateBoxReader is a Reader for the UpdateBox structure.

func (*UpdateBoxReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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