stateversions

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemOutputsGetResponseFromDiscriminatorValue

CreateItemOutputsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemOutputsGetResponse_metaFromDiscriminatorValue

CreateItemOutputsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateStateVersionsGetResponseFromDiscriminatorValue

CreateStateVersionsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateStateVersionsGetResponse_metaFromDiscriminatorValue

CreateStateVersionsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ItemOutputsGetResponse

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

func NewItemOutputsGetResponse

func NewItemOutputsGetResponse() *ItemOutputsGetResponse

NewItemOutputsGetResponse instantiates a new ItemOutputsGetResponse and sets the default values.

func (*ItemOutputsGetResponse) GetAdditionalData

func (m *ItemOutputsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOutputsGetResponse) GetData

GetData gets the data property value. The data property returns a []StateVersionOutputsable when successful

func (*ItemOutputsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful

func (*ItemOutputsGetResponse) GetMeta

GetMeta gets the meta property value. The meta property returns a ItemOutputsGetResponse_metaable when successful

func (*ItemOutputsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemOutputsGetResponse) SetAdditionalData

func (m *ItemOutputsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutputsGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemOutputsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemOutputsGetResponse_meta

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

func NewItemOutputsGetResponse_meta

func NewItemOutputsGetResponse_meta() *ItemOutputsGetResponse_meta

NewItemOutputsGetResponse_meta instantiates a new ItemOutputsGetResponse_meta and sets the default values.

func (*ItemOutputsGetResponse_meta) GetAdditionalData

func (m *ItemOutputsGetResponse_meta) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOutputsGetResponse_meta) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemOutputsGetResponse_meta) GetPagination

GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful

func (*ItemOutputsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemOutputsGetResponse_meta) SetAdditionalData

func (m *ItemOutputsGetResponse_meta) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutputsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemOutputsRequestBuilder

ItemOutputsRequestBuilder builds and executes requests for operations under \state-versions\{state_version_id}\outputs

func NewItemOutputsRequestBuilder

NewItemOutputsRequestBuilder instantiates a new ItemOutputsRequestBuilder and sets the default values.

func NewItemOutputsRequestBuilderInternal

func NewItemOutputsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutputsRequestBuilder

NewItemOutputsRequestBuilderInternal instantiates a new ItemOutputsRequestBuilder and sets the default values.

func (*ItemOutputsRequestBuilder) Get

Get list the output values associated with a specific state version. returns a ItemOutputsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemOutputsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the output values associated with a specific state version. returns a *RequestInformation when successful

func (*ItemOutputsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemOutputsRequestBuilder when successful

type ItemOutputsRequestBuilderGetQueryParameters

type ItemOutputsRequestBuilderGetQueryParameters struct {
	// The page number to retrieve.
	Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
	// The number of items to retrieve per page. Defaults to 20.
	Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}

ItemOutputsRequestBuilderGetQueryParameters list the output values associated with a specific state version.

type StateVersionsGetResponse

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

func NewStateVersionsGetResponse

func NewStateVersionsGetResponse() *StateVersionsGetResponse

NewStateVersionsGetResponse instantiates a new StateVersionsGetResponse and sets the default values.

func (*StateVersionsGetResponse) GetAdditionalData

func (m *StateVersionsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*StateVersionsGetResponse) GetData

GetData gets the data property value. The data property returns a []StateVersionsable when successful

func (*StateVersionsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful

func (*StateVersionsGetResponse) GetMeta

GetMeta gets the meta property value. The meta property returns a StateVersionsGetResponse_metaable when successful

func (*StateVersionsGetResponse) Serialize

Serialize serializes information the current object

func (*StateVersionsGetResponse) SetAdditionalData

func (m *StateVersionsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*StateVersionsGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*StateVersionsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type StateVersionsGetResponse_meta

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

func NewStateVersionsGetResponse_meta

func NewStateVersionsGetResponse_meta() *StateVersionsGetResponse_meta

NewStateVersionsGetResponse_meta instantiates a new StateVersionsGetResponse_meta and sets the default values.

func (*StateVersionsGetResponse_meta) GetAdditionalData

func (m *StateVersionsGetResponse_meta) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*StateVersionsGetResponse_meta) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*StateVersionsGetResponse_meta) GetPagination

GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful

func (*StateVersionsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*StateVersionsGetResponse_meta) SetAdditionalData

func (m *StateVersionsGetResponse_meta) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*StateVersionsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type StateVersionsRequestBuilder

StateVersionsRequestBuilder builds and executes requests for operations under \state-versions

func NewStateVersionsRequestBuilder

NewStateVersionsRequestBuilder instantiates a new StateVersionsRequestBuilder and sets the default values.

func NewStateVersionsRequestBuilderInternal

func NewStateVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StateVersionsRequestBuilder

NewStateVersionsRequestBuilderInternal instantiates a new StateVersionsRequestBuilder and sets the default values.

func (*StateVersionsRequestBuilder) ByState_version_id

func (m *StateVersionsRequestBuilder) ByState_version_id(state_version_id string) *WithState_version_ItemRequestBuilder

ByState_version_id gets an item from the github.com/hashicorp/go-tfe/v2/api.stateVersions.item collection returns a *WithState_version_ItemRequestBuilder when successful

func (*StateVersionsRequestBuilder) Get

Get list state versions for a workspace, filtered by organization and workspace name. returns a StateVersionsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*StateVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list state versions for a workspace, filtered by organization and workspace name. returns a *RequestInformation when successful

func (*StateVersionsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *StateVersionsRequestBuilder when successful

type StateVersionsRequestBuilderGetQueryParameters

type StateVersionsRequestBuilderGetQueryParameters struct {
	// The name of the organization that owns the workspace.
	Filterorganizationname *string "uriparametername:\"filter%5Borganization%5D%5Bname%5D\""
	// Filter state versions by status. One or more comma-separated values from pending, finalized, or discarded.
	Filterstatus *string "uriparametername:\"filter%5Bstatus%5D\""
	// The name of the workspace to list state versions for.
	Filterworkspacename *string "uriparametername:\"filter%5Bworkspace%5D%5Bname%5D\""
	// The page number to retrieve.
	Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
	// The number of items to retrieve per page. Defaults to 20.
	Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}

StateVersionsRequestBuilderGetQueryParameters list state versions for a workspace, filtered by organization and workspace name.

type WithState_version_ItemRequestBuilder

type WithState_version_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

WithState_version_ItemRequestBuilder builds and executes requests for operations under \state-versions\{state_version_id}

func NewWithState_version_ItemRequestBuilder

NewWithState_version_ItemRequestBuilder instantiates a new WithState_version_ItemRequestBuilder and sets the default values.

func NewWithState_version_ItemRequestBuilderInternal

func NewWithState_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithState_version_ItemRequestBuilder

NewWithState_version_ItemRequestBuilderInternal instantiates a new WithState_version_ItemRequestBuilder and sets the default values.

func (*WithState_version_ItemRequestBuilder) Get

Get show details for a specific state version. returns a StateVersionsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithState_version_ItemRequestBuilder) Outputs

Outputs the outputs property returns a *ItemOutputsRequestBuilder when successful

func (*WithState_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation show details for a specific state version. returns a *RequestInformation when successful

func (*WithState_version_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithState_version_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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