Documentation
¶
Index ¶
- type ItemActionsEnableRequestBuilder
- type ItemActionsRequestBuilder
- type ItemActionsVerifyRequestBuilder
- type NotificationConfigurationsRequestBuilder
- type WithNotification_configuration_ItemRequestBuilder
- func (m *WithNotification_configuration_ItemRequestBuilder) Actions() *ItemActionsRequestBuilder
- func (m *WithNotification_configuration_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *WithNotification_configuration_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithNotification_configuration_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *WithNotification_configuration_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithNotification_configuration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithNotification_configuration_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *WithNotification_configuration_ItemRequestBuilder) WithUrl(rawUrl string) *WithNotification_configuration_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemActionsEnableRequestBuilder ¶
type ItemActionsEnableRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsEnableRequestBuilder builds and executes requests for operations under \notification-configurations\{notification_configuration_id}\actions\enable
func NewItemActionsEnableRequestBuilder ¶
func NewItemActionsEnableRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsEnableRequestBuilder
NewItemActionsEnableRequestBuilder instantiates a new ItemActionsEnableRequestBuilder and sets the default values.
func NewItemActionsEnableRequestBuilderInternal ¶
func NewItemActionsEnableRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsEnableRequestBuilder
NewItemActionsEnableRequestBuilderInternal instantiates a new ItemActionsEnableRequestBuilder and sets the default values.
func (*ItemActionsEnableRequestBuilder) Post ¶
func (m *ItemActionsEnableRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, error)
Post enable a notification configuration by triggering a verification request. returns a NotificationConfigurationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemActionsEnableRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsEnableRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation enable a notification configuration by triggering a verification request. returns a *RequestInformation when successful
func (*ItemActionsEnableRequestBuilder) WithUrl ¶
func (m *ItemActionsEnableRequestBuilder) WithUrl(rawUrl string) *ItemActionsEnableRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsEnableRequestBuilder when successful
type ItemActionsRequestBuilder ¶
type ItemActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRequestBuilder builds and executes requests for operations under \notification-configurations\{notification_configuration_id}\actions
func NewItemActionsRequestBuilder ¶
func NewItemActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
NewItemActionsRequestBuilder instantiates a new ItemActionsRequestBuilder and sets the default values.
func NewItemActionsRequestBuilderInternal ¶
func NewItemActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
NewItemActionsRequestBuilderInternal instantiates a new ItemActionsRequestBuilder and sets the default values.
func (*ItemActionsRequestBuilder) Enable ¶
func (m *ItemActionsRequestBuilder) Enable() *ItemActionsEnableRequestBuilder
Enable the enable property returns a *ItemActionsEnableRequestBuilder when successful
func (*ItemActionsRequestBuilder) Verify ¶
func (m *ItemActionsRequestBuilder) Verify() *ItemActionsVerifyRequestBuilder
Verify the verify property returns a *ItemActionsVerifyRequestBuilder when successful
type ItemActionsVerifyRequestBuilder ¶
type ItemActionsVerifyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsVerifyRequestBuilder builds and executes requests for operations under \notification-configurations\{notification_configuration_id}\actions\verify
func NewItemActionsVerifyRequestBuilder ¶
func NewItemActionsVerifyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVerifyRequestBuilder
NewItemActionsVerifyRequestBuilder instantiates a new ItemActionsVerifyRequestBuilder and sets the default values.
func NewItemActionsVerifyRequestBuilderInternal ¶
func NewItemActionsVerifyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVerifyRequestBuilder
NewItemActionsVerifyRequestBuilderInternal instantiates a new ItemActionsVerifyRequestBuilder and sets the default values.
func (*ItemActionsVerifyRequestBuilder) Post ¶
func (m *ItemActionsVerifyRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, error)
Post send a verification request to the configured destination URL. returns a NotificationConfigurationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemActionsVerifyRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsVerifyRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation send a verification request to the configured destination URL. returns a *RequestInformation when successful
func (*ItemActionsVerifyRequestBuilder) WithUrl ¶
func (m *ItemActionsVerifyRequestBuilder) WithUrl(rawUrl string) *ItemActionsVerifyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsVerifyRequestBuilder when successful
type NotificationConfigurationsRequestBuilder ¶
type NotificationConfigurationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
NotificationConfigurationsRequestBuilder builds and executes requests for operations under \notification-configurations
func NewNotificationConfigurationsRequestBuilder ¶
func NewNotificationConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *NotificationConfigurationsRequestBuilder
NewNotificationConfigurationsRequestBuilder instantiates a new NotificationConfigurationsRequestBuilder and sets the default values.
func NewNotificationConfigurationsRequestBuilderInternal ¶
func NewNotificationConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *NotificationConfigurationsRequestBuilder
NewNotificationConfigurationsRequestBuilderInternal instantiates a new NotificationConfigurationsRequestBuilder and sets the default values.
func (*NotificationConfigurationsRequestBuilder) ByNotification_configuration_id ¶
func (m *NotificationConfigurationsRequestBuilder) ByNotification_configuration_id(notification_configuration_id string) *WithNotification_configuration_ItemRequestBuilder
ByNotification_configuration_id gets an item from the github.com/hashicorp/go-tfe/v2/api.notificationConfigurations.item collection returns a *WithNotification_configuration_ItemRequestBuilder when successful
type WithNotification_configuration_ItemRequestBuilder ¶
type WithNotification_configuration_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithNotification_configuration_ItemRequestBuilder builds and executes requests for operations under \notification-configurations\{notification_configuration_id}
func NewWithNotification_configuration_ItemRequestBuilder ¶
func NewWithNotification_configuration_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithNotification_configuration_ItemRequestBuilder
NewWithNotification_configuration_ItemRequestBuilder instantiates a new WithNotification_configuration_ItemRequestBuilder and sets the default values.
func NewWithNotification_configuration_ItemRequestBuilderInternal ¶
func NewWithNotification_configuration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithNotification_configuration_ItemRequestBuilder
NewWithNotification_configuration_ItemRequestBuilderInternal instantiates a new WithNotification_configuration_ItemRequestBuilder and sets the default values.
func (*WithNotification_configuration_ItemRequestBuilder) Actions ¶
func (m *WithNotification_configuration_ItemRequestBuilder) Actions() *ItemActionsRequestBuilder
Actions the actions property returns a *ItemActionsRequestBuilder when successful
func (*WithNotification_configuration_ItemRequestBuilder) Delete ¶
func (m *WithNotification_configuration_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a notification configuration. returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithNotification_configuration_ItemRequestBuilder) Get ¶
func (m *WithNotification_configuration_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, error)
Get get details about a notification configuration. returns a NotificationConfigurationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithNotification_configuration_ItemRequestBuilder) Patch ¶
func (m *WithNotification_configuration_ItemRequestBuilder) Patch(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, error)
Patch update an existing notification configuration. returns a NotificationConfigurationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithNotification_configuration_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithNotification_configuration_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete a notification configuration. returns a *RequestInformation when successful
func (*WithNotification_configuration_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithNotification_configuration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get details about a notification configuration. returns a *RequestInformation when successful
func (*WithNotification_configuration_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithNotification_configuration_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.NotificationConfigurationsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation update an existing notification configuration. returns a *RequestInformation when successful
func (*WithNotification_configuration_ItemRequestBuilder) WithUrl ¶
func (m *WithNotification_configuration_ItemRequestBuilder) WithUrl(rawUrl string) *WithNotification_configuration_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 *WithNotification_configuration_ItemRequestBuilder when successful