models

package
v0.94.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudOperationGetResponse

type HashicorpCloudOperationGetResponse struct {

	// operation is the requested operation.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudOperationGetResponse See OperationService.Get

swagger:model hashicorp.cloud.operation.GetResponse

func (*HashicorpCloudOperationGetResponse) ContextValidate

func (m *HashicorpCloudOperationGetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud operation get response based on the context it is used

func (*HashicorpCloudOperationGetResponse) MarshalBinary

func (m *HashicorpCloudOperationGetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudOperationGetResponse) UnmarshalBinary

func (m *HashicorpCloudOperationGetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudOperationGetResponse) Validate

Validate validates this hashicorp cloud operation get response

type HashicorpCloudOperationListResponse

type HashicorpCloudOperationListResponse struct {

	// operations is a list of Operation messages that matched the filters
	// in the request. They're akin to search results.
	Operations []*cloud.HashicorpCloudOperationOperation `json:"operations"`

	// pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudOperationListResponse ListResponse contains a list of operations.

swagger:model hashicorp.cloud.operation.ListResponse

func (*HashicorpCloudOperationListResponse) ContextValidate

func (m *HashicorpCloudOperationListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud operation list response based on the context it is used

func (*HashicorpCloudOperationListResponse) MarshalBinary

func (m *HashicorpCloudOperationListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudOperationListResponse) UnmarshalBinary

func (m *HashicorpCloudOperationListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudOperationListResponse) Validate

Validate validates this hashicorp cloud operation list response

type HashicorpCloudOperationWaitResponse

type HashicorpCloudOperationWaitResponse struct {

	// operation is the latest state of the requested operation.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudOperationWaitResponse See OperationService.Wait

swagger:model hashicorp.cloud.operation.WaitResponse

func (*HashicorpCloudOperationWaitResponse) ContextValidate

func (m *HashicorpCloudOperationWaitResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud operation wait response based on the context it is used

func (*HashicorpCloudOperationWaitResponse) MarshalBinary

func (m *HashicorpCloudOperationWaitResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudOperationWaitResponse) UnmarshalBinary

func (m *HashicorpCloudOperationWaitResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudOperationWaitResponse) Validate

Validate validates this hashicorp cloud operation wait response

Jump to

Keyboard shortcuts

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