tasks

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIntegrationsGetResponseFromDiscriminatorValue

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

func CreateIntegrationsGetResponse_metaFromDiscriminatorValue

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

func CreateItemRelationshipsWorkspaceTasksGetResponseFromDiscriminatorValue

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

func CreateItemRelationshipsWorkspaceTasksGetResponse_metaFromDiscriminatorValue

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

Types

type IntegrationsGetResponse

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

func NewIntegrationsGetResponse

func NewIntegrationsGetResponse() *IntegrationsGetResponse

NewIntegrationsGetResponse instantiates a new IntegrationsGetResponse and sets the default values.

func (*IntegrationsGetResponse) GetAdditionalData

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

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

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

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

func (*IntegrationsGetResponse) Serialize

Serialize serializes information the current object

func (*IntegrationsGetResponse) SetAdditionalData

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

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*IntegrationsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type IntegrationsGetResponse_meta

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

func NewIntegrationsGetResponse_meta

func NewIntegrationsGetResponse_meta() *IntegrationsGetResponse_meta

NewIntegrationsGetResponse_meta instantiates a new IntegrationsGetResponse_meta and sets the default values.

func (*IntegrationsGetResponse_meta) GetAdditionalData

func (m *IntegrationsGetResponse_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 (*IntegrationsGetResponse_meta) GetFieldDeserializers

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

func (*IntegrationsGetResponse_meta) GetPagination

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

func (*IntegrationsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*IntegrationsGetResponse_meta) SetAdditionalData

func (m *IntegrationsGetResponse_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 (*IntegrationsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type IntegrationsRequestBuilder

IntegrationsRequestBuilder builds and executes requests for operations under \tasks\integrations

func NewIntegrationsRequestBuilder

NewIntegrationsRequestBuilder instantiates a new IntegrationsRequestBuilder and sets the default values.

func NewIntegrationsRequestBuilderInternal

func NewIntegrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *IntegrationsRequestBuilder

NewIntegrationsRequestBuilderInternal instantiates a new IntegrationsRequestBuilder and sets the default values.

func (*IntegrationsRequestBuilder) Get

Get list all available integrations that can be used with tasks. By default, only active integrations are returned. returns a IntegrationsGetResponseable when successful returns a Errors error when the service returns a 401 status code returns a Errors error when the service returns a 422 status code

func (*IntegrationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all available integrations that can be used with tasks. By default, only active integrations are returned. returns a *RequestInformation when successful

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

type IntegrationsRequestBuilderGetQueryParameters

type IntegrationsRequestBuilderGetQueryParameters struct {
	// Filter integrations by category.
	Category *string "uriparametername:\"category\""
	// Include inactive integrations in the results.
	Include_inactive *i4ec19e3dd5dcc866a730b46570a0913c02df95f5fb18682d5f150f505e1bfb04.GetInclude_inactiveQueryParameterType "uriparametername:\"include_inactive\""
	// 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\""
	// Search integrations by name (case-insensitive, partial match).
	Search *string "uriparametername:\"search\""
}

IntegrationsRequestBuilderGetQueryParameters list all available integrations that can be used with tasks. By default, only active integrations are returned.

type ItemRelationshipsRequestBuilder

ItemRelationshipsRequestBuilder builds and executes requests for operations under \tasks\{id}\relationships

func NewItemRelationshipsRequestBuilder

NewItemRelationshipsRequestBuilder instantiates a new ItemRelationshipsRequestBuilder and sets the default values.

func NewItemRelationshipsRequestBuilderInternal

func NewItemRelationshipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsRequestBuilder

NewItemRelationshipsRequestBuilderInternal instantiates a new ItemRelationshipsRequestBuilder and sets the default values.

func (*ItemRelationshipsRequestBuilder) WorkspaceTasks

WorkspaceTasks the workspaceTasks property returns a *ItemRelationshipsWorkspaceTasksRequestBuilder when successful

type ItemRelationshipsWorkspaceTasksGetResponse

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

func NewItemRelationshipsWorkspaceTasksGetResponse

func NewItemRelationshipsWorkspaceTasksGetResponse() *ItemRelationshipsWorkspaceTasksGetResponse

NewItemRelationshipsWorkspaceTasksGetResponse instantiates a new ItemRelationshipsWorkspaceTasksGetResponse and sets the default values.

func (*ItemRelationshipsWorkspaceTasksGetResponse) GetAdditionalData

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

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

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

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

func (*ItemRelationshipsWorkspaceTasksGetResponse) Serialize

Serialize serializes information the current object

func (*ItemRelationshipsWorkspaceTasksGetResponse) SetAdditionalData

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

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemRelationshipsWorkspaceTasksGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemRelationshipsWorkspaceTasksGetResponse_meta

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

func NewItemRelationshipsWorkspaceTasksGetResponse_meta

func NewItemRelationshipsWorkspaceTasksGetResponse_meta() *ItemRelationshipsWorkspaceTasksGetResponse_meta

NewItemRelationshipsWorkspaceTasksGetResponse_meta instantiates a new ItemRelationshipsWorkspaceTasksGetResponse_meta and sets the default values.

func (*ItemRelationshipsWorkspaceTasksGetResponse_meta) GetAdditionalData

func (m *ItemRelationshipsWorkspaceTasksGetResponse_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 (*ItemRelationshipsWorkspaceTasksGetResponse_meta) GetFieldDeserializers

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

func (*ItemRelationshipsWorkspaceTasksGetResponse_meta) GetPagination

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

func (*ItemRelationshipsWorkspaceTasksGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemRelationshipsWorkspaceTasksGetResponse_meta) SetAdditionalData

func (m *ItemRelationshipsWorkspaceTasksGetResponse_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 (*ItemRelationshipsWorkspaceTasksGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemRelationshipsWorkspaceTasksRequestBuilder

type ItemRelationshipsWorkspaceTasksRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRelationshipsWorkspaceTasksRequestBuilder builds and executes requests for operations under \tasks\{id}\relationships\workspace-tasks

func NewItemRelationshipsWorkspaceTasksRequestBuilder

NewItemRelationshipsWorkspaceTasksRequestBuilder instantiates a new ItemRelationshipsWorkspaceTasksRequestBuilder and sets the default values.

func NewItemRelationshipsWorkspaceTasksRequestBuilderInternal

func NewItemRelationshipsWorkspaceTasksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsWorkspaceTasksRequestBuilder

NewItemRelationshipsWorkspaceTasksRequestBuilderInternal instantiates a new ItemRelationshipsWorkspaceTasksRequestBuilder and sets the default values.

func (*ItemRelationshipsWorkspaceTasksRequestBuilder) Get

Get list all workspace run tasks associated with a run task. returns a ItemRelationshipsWorkspaceTasksGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsWorkspaceTasksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all workspace run tasks associated with a run task. returns a *RequestInformation when successful

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

type ItemRelationshipsWorkspaceTasksRequestBuilderGetQueryParameters

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

ItemRelationshipsWorkspaceTasksRequestBuilderGetQueryParameters list all workspace run tasks associated with a run task.

type TasksItemRequestBuilder

TasksItemRequestBuilder builds and executes requests for operations under \tasks\{id}

func NewTasksItemRequestBuilder

NewTasksItemRequestBuilder instantiates a new TasksItemRequestBuilder and sets the default values.

func NewTasksItemRequestBuilderInternal

func NewTasksItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TasksItemRequestBuilder

NewTasksItemRequestBuilderInternal instantiates a new TasksItemRequestBuilder and sets the default values.

func (*TasksItemRequestBuilder) Delete

Delete delete a run task. returns a Errors error when the service returns a 4XX or 5XX status code

func (*TasksItemRequestBuilder) Get

Get get details about a run task. returns a TasksEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*TasksItemRequestBuilder) Relationships

Relationships the relationships property returns a *ItemRelationshipsRequestBuilder when successful

func (*TasksItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about a run task. returns a *RequestInformation when successful

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

type TasksItemRequestBuilderGetQueryParameters

type TasksItemRequestBuilderGetQueryParameters struct {
	// Allows including related resource data. Value must be a comma-separated list containing one or more of `workspace_tasks` or `workspace_tasks.workspace`.
	Include *string "uriparametername:\"include\""
}

TasksItemRequestBuilderGetQueryParameters get details about a run task.

type TasksRequestBuilder

TasksRequestBuilder builds and executes requests for operations under \tasks

func NewTasksRequestBuilder

NewTasksRequestBuilder instantiates a new TasksRequestBuilder and sets the default values.

func NewTasksRequestBuilderInternal

func NewTasksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TasksRequestBuilder

NewTasksRequestBuilderInternal instantiates a new TasksRequestBuilder and sets the default values.

func (*TasksRequestBuilder) ById

ById gets an item from the github.com/hashicorp/go-tfe/v2/api.tasks.item collection returns a *TasksItemRequestBuilder when successful

func (*TasksRequestBuilder) Integrations

Integrations the integrations property returns a *IntegrationsRequestBuilder when successful

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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