policyevaluations

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemPolicySetOutcomesGetResponseFromDiscriminatorValue

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

func CreateItemPolicySetOutcomesGetResponse_metaFromDiscriminatorValue

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

Types

type ItemPolicySetOutcomesGetResponse

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

func NewItemPolicySetOutcomesGetResponse

func NewItemPolicySetOutcomesGetResponse() *ItemPolicySetOutcomesGetResponse

NewItemPolicySetOutcomesGetResponse instantiates a new ItemPolicySetOutcomesGetResponse and sets the default values.

func (*ItemPolicySetOutcomesGetResponse) GetAdditionalData

func (m *ItemPolicySetOutcomesGetResponse) 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 (*ItemPolicySetOutcomesGetResponse) GetData

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

func (*ItemPolicySetOutcomesGetResponse) 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 (*ItemPolicySetOutcomesGetResponse) GetMeta

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

func (*ItemPolicySetOutcomesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemPolicySetOutcomesGetResponse) SetAdditionalData

func (m *ItemPolicySetOutcomesGetResponse) 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 (*ItemPolicySetOutcomesGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemPolicySetOutcomesGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemPolicySetOutcomesGetResponse_meta

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

func NewItemPolicySetOutcomesGetResponse_meta

func NewItemPolicySetOutcomesGetResponse_meta() *ItemPolicySetOutcomesGetResponse_meta

NewItemPolicySetOutcomesGetResponse_meta instantiates a new ItemPolicySetOutcomesGetResponse_meta and sets the default values.

func (*ItemPolicySetOutcomesGetResponse_meta) GetAdditionalData

func (m *ItemPolicySetOutcomesGetResponse_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 (*ItemPolicySetOutcomesGetResponse_meta) GetFieldDeserializers

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

func (*ItemPolicySetOutcomesGetResponse_meta) GetPagination

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

func (*ItemPolicySetOutcomesGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemPolicySetOutcomesGetResponse_meta) SetAdditionalData

func (m *ItemPolicySetOutcomesGetResponse_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 (*ItemPolicySetOutcomesGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemPolicySetOutcomesRequestBuilder

ItemPolicySetOutcomesRequestBuilder builds and executes requests for operations under \policy-evaluations\{policy_evaluation_id}\policy-set-outcomes

func NewItemPolicySetOutcomesRequestBuilder

NewItemPolicySetOutcomesRequestBuilder instantiates a new ItemPolicySetOutcomesRequestBuilder and sets the default values.

func NewItemPolicySetOutcomesRequestBuilderInternal

func NewItemPolicySetOutcomesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPolicySetOutcomesRequestBuilder

NewItemPolicySetOutcomesRequestBuilderInternal instantiates a new ItemPolicySetOutcomesRequestBuilder and sets the default values.

func (*ItemPolicySetOutcomesRequestBuilder) Get

Get list the policy set outcomes associated with a policy evaluation. returns a ItemPolicySetOutcomesGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemPolicySetOutcomesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the policy set outcomes associated with a policy evaluation. returns a *RequestInformation when successful

func (*ItemPolicySetOutcomesRequestBuilder) 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 *ItemPolicySetOutcomesRequestBuilder when successful

type ItemPolicySetOutcomesRequestBuilderGetQueryParameters

type ItemPolicySetOutcomesRequestBuilderGetQueryParameters 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\""
}

ItemPolicySetOutcomesRequestBuilderGetQueryParameters list the policy set outcomes associated with a policy evaluation.

type PolicyEvaluationsRequestBuilder

PolicyEvaluationsRequestBuilder builds and executes requests for operations under \policy-evaluations

func NewPolicyEvaluationsRequestBuilder

NewPolicyEvaluationsRequestBuilder instantiates a new PolicyEvaluationsRequestBuilder and sets the default values.

func NewPolicyEvaluationsRequestBuilderInternal

func NewPolicyEvaluationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PolicyEvaluationsRequestBuilder

NewPolicyEvaluationsRequestBuilderInternal instantiates a new PolicyEvaluationsRequestBuilder and sets the default values.

func (*PolicyEvaluationsRequestBuilder) ByPolicy_evaluation_id

func (m *PolicyEvaluationsRequestBuilder) ByPolicy_evaluation_id(policy_evaluation_id string) *WithPolicy_evaluation_ItemRequestBuilder

ByPolicy_evaluation_id gets an item from the github.com/hashicorp/go-tfe/v2/api.policyEvaluations.item collection returns a *WithPolicy_evaluation_ItemRequestBuilder when successful

type WithPolicy_evaluation_ItemRequestBuilder

type WithPolicy_evaluation_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

WithPolicy_evaluation_ItemRequestBuilder builds and executes requests for operations under \policy-evaluations\{policy_evaluation_id}

func NewWithPolicy_evaluation_ItemRequestBuilder

NewWithPolicy_evaluation_ItemRequestBuilder instantiates a new WithPolicy_evaluation_ItemRequestBuilder and sets the default values.

func NewWithPolicy_evaluation_ItemRequestBuilderInternal

func NewWithPolicy_evaluation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithPolicy_evaluation_ItemRequestBuilder

NewWithPolicy_evaluation_ItemRequestBuilderInternal instantiates a new WithPolicy_evaluation_ItemRequestBuilder and sets the default values.

func (*WithPolicy_evaluation_ItemRequestBuilder) Get

Get get details about a specific policy evaluation. returns a PolicyEvaluationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithPolicy_evaluation_ItemRequestBuilder) PolicySetOutcomes

PolicySetOutcomes the policySetOutcomes property returns a *ItemPolicySetOutcomesRequestBuilder when successful

func (*WithPolicy_evaluation_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about a specific policy evaluation. returns a *RequestInformation when successful

func (*WithPolicy_evaluation_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 *WithPolicy_evaluation_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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