Documentation
¶
Index ¶
- func CreateItemPolicySetOutcomesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPolicySetOutcomesGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemPolicySetOutcomesGetResponse
- func (m *ItemPolicySetOutcomesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemPolicySetOutcomesGetResponse) GetData() ...
- func (m *ItemPolicySetOutcomesGetResponse) GetFieldDeserializers() ...
- func (m *ItemPolicySetOutcomesGetResponse) GetLinks() ...
- func (m *ItemPolicySetOutcomesGetResponse) GetMeta() ItemPolicySetOutcomesGetResponse_metaable
- func (m *ItemPolicySetOutcomesGetResponse) Serialize(...) error
- func (m *ItemPolicySetOutcomesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemPolicySetOutcomesGetResponse) SetData(...)
- func (m *ItemPolicySetOutcomesGetResponse) SetLinks(...)
- func (m *ItemPolicySetOutcomesGetResponse) SetMeta(value ItemPolicySetOutcomesGetResponse_metaable)
- type ItemPolicySetOutcomesGetResponse_meta
- func (m *ItemPolicySetOutcomesGetResponse_meta) GetAdditionalData() map[string]any
- func (m *ItemPolicySetOutcomesGetResponse_meta) GetFieldDeserializers() ...
- func (m *ItemPolicySetOutcomesGetResponse_meta) GetPagination() ...
- func (m *ItemPolicySetOutcomesGetResponse_meta) Serialize(...) error
- func (m *ItemPolicySetOutcomesGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *ItemPolicySetOutcomesGetResponse_meta) SetPagination(...)
- type ItemPolicySetOutcomesGetResponse_metaable
- type ItemPolicySetOutcomesGetResponseable
- type ItemPolicySetOutcomesRequestBuilder
- func (m *ItemPolicySetOutcomesRequestBuilder) Get(ctx context.Context, ...) (ItemPolicySetOutcomesGetResponseable, error)
- func (m *ItemPolicySetOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPolicySetOutcomesRequestBuilder) WithUrl(rawUrl string) *ItemPolicySetOutcomesRequestBuilder
- type ItemPolicySetOutcomesRequestBuilderGetQueryParameters
- type PolicyEvaluationsRequestBuilder
- type WithPolicy_evaluation_ItemRequestBuilder
- func (m *WithPolicy_evaluation_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithPolicy_evaluation_ItemRequestBuilder) PolicySetOutcomes() *ItemPolicySetOutcomesRequestBuilder
- func (m *WithPolicy_evaluation_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithPolicy_evaluation_ItemRequestBuilder) WithUrl(rawUrl string) *WithPolicy_evaluation_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemPolicySetOutcomesGetResponseFromDiscriminatorValue ¶
func CreateItemPolicySetOutcomesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPolicySetOutcomesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPolicySetOutcomesGetResponse_metaFromDiscriminatorValue ¶
func CreateItemPolicySetOutcomesGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func (m *ItemPolicySetOutcomesGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.PolicySetOutcomesable
GetData gets the data property value. The data property returns a []PolicySetOutcomesable when successful
func (*ItemPolicySetOutcomesGetResponse) GetFieldDeserializers ¶
func (m *ItemPolicySetOutcomesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPolicySetOutcomesGetResponse) GetLinks ¶
func (m *ItemPolicySetOutcomesGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*ItemPolicySetOutcomesGetResponse) GetMeta ¶
func (m *ItemPolicySetOutcomesGetResponse) GetMeta() ItemPolicySetOutcomesGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a ItemPolicySetOutcomesGetResponse_metaable when successful
func (*ItemPolicySetOutcomesGetResponse) Serialize ¶
func (m *ItemPolicySetOutcomesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemPolicySetOutcomesGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.PolicySetOutcomesable)
SetData sets the data property value. The data property
func (*ItemPolicySetOutcomesGetResponse) SetLinks ¶
func (m *ItemPolicySetOutcomesGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*ItemPolicySetOutcomesGetResponse) SetMeta ¶
func (m *ItemPolicySetOutcomesGetResponse) SetMeta(value ItemPolicySetOutcomesGetResponse_metaable)
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 ¶
func (m *ItemPolicySetOutcomesGetResponse_meta) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPolicySetOutcomesGetResponse_meta) GetPagination ¶
func (m *ItemPolicySetOutcomesGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*ItemPolicySetOutcomesGetResponse_meta) Serialize ¶
func (m *ItemPolicySetOutcomesGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemPolicySetOutcomesGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type ItemPolicySetOutcomesGetResponse_metaable ¶
type ItemPolicySetOutcomesGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type ItemPolicySetOutcomesGetResponseable ¶
type ItemPolicySetOutcomesGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.PolicySetOutcomesable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() ItemPolicySetOutcomesGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.PolicySetOutcomesable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value ItemPolicySetOutcomesGetResponse_metaable)
}
type ItemPolicySetOutcomesRequestBuilder ¶
type ItemPolicySetOutcomesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPolicySetOutcomesRequestBuilder builds and executes requests for operations under \policy-evaluations\{policy_evaluation_id}\policy-set-outcomes
func NewItemPolicySetOutcomesRequestBuilder ¶
func NewItemPolicySetOutcomesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPolicySetOutcomesRequestBuilder
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 ¶
func (m *ItemPolicySetOutcomesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPolicySetOutcomesRequestBuilderGetQueryParameters]) (ItemPolicySetOutcomesGetResponseable, error)
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 ¶
func (m *ItemPolicySetOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPolicySetOutcomesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the policy set outcomes associated with a policy evaluation. returns a *RequestInformation when successful
func (*ItemPolicySetOutcomesRequestBuilder) WithUrl ¶
func (m *ItemPolicySetOutcomesRequestBuilder) WithUrl(rawUrl string) *ItemPolicySetOutcomesRequestBuilder
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 ¶
type PolicyEvaluationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PolicyEvaluationsRequestBuilder builds and executes requests for operations under \policy-evaluations
func NewPolicyEvaluationsRequestBuilder ¶
func NewPolicyEvaluationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PolicyEvaluationsRequestBuilder
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 ¶
func NewWithPolicy_evaluation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithPolicy_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 ¶
func (m *WithPolicy_evaluation_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.PolicyEvaluationsEnvelopeable, error)
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 ¶
func (m *WithPolicy_evaluation_ItemRequestBuilder) PolicySetOutcomes() *ItemPolicySetOutcomesRequestBuilder
PolicySetOutcomes the policySetOutcomes property returns a *ItemPolicySetOutcomesRequestBuilder when successful
func (*WithPolicy_evaluation_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithPolicy_evaluation_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get details about a specific policy evaluation. returns a *RequestInformation when successful
func (*WithPolicy_evaluation_ItemRequestBuilder) WithUrl ¶
func (m *WithPolicy_evaluation_ItemRequestBuilder) WithUrl(rawUrl string) *WithPolicy_evaluation_ItemRequestBuilder
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