projects

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 CreateItemNotificationConfigurationsGetResponseFromDiscriminatorValue

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

func CreateItemVarsetsGetResponseFromDiscriminatorValue

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

Types

type ItemNotificationConfigurationsGetResponse

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

func NewItemNotificationConfigurationsGetResponse

func NewItemNotificationConfigurationsGetResponse() *ItemNotificationConfigurationsGetResponse

NewItemNotificationConfigurationsGetResponse instantiates a new ItemNotificationConfigurationsGetResponse and sets the default values.

func (*ItemNotificationConfigurationsGetResponse) GetAdditionalData

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

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

func (*ItemNotificationConfigurationsGetResponse) GetFieldDeserializers

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

func (*ItemNotificationConfigurationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemNotificationConfigurationsGetResponse) SetAdditionalData

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

SetData sets the data property value. The data property

type ItemNotificationConfigurationsRequestBuilder

type ItemNotificationConfigurationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemNotificationConfigurationsRequestBuilder builds and executes requests for operations under \projects\{project_id}\notification-configurations

func NewItemNotificationConfigurationsRequestBuilder

NewItemNotificationConfigurationsRequestBuilder instantiates a new ItemNotificationConfigurationsRequestBuilder and sets the default values.

func NewItemNotificationConfigurationsRequestBuilderInternal

func NewItemNotificationConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemNotificationConfigurationsRequestBuilder

NewItemNotificationConfigurationsRequestBuilderInternal instantiates a new ItemNotificationConfigurationsRequestBuilder and sets the default values.

func (*ItemNotificationConfigurationsRequestBuilder) Get

Get list all notification configurations for a given project. returns a ItemNotificationConfigurationsGetResponseable when successful

func (*ItemNotificationConfigurationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all notification configurations for a given project. returns a *RequestInformation when successful

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

type ItemRelationshipsRequestBuilder

ItemRelationshipsRequestBuilder builds and executes requests for operations under \projects\{project_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) TagBindings

TagBindings the tagBindings property returns a *ItemRelationshipsTagBindingsRequestBuilder when successful

func (*ItemRelationshipsRequestBuilder) Workspaces

Workspaces the workspaces property returns a *ItemRelationshipsWorkspacesRequestBuilder when successful

type ItemRelationshipsTagBindingsRequestBuilder

type ItemRelationshipsTagBindingsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRelationshipsTagBindingsRequestBuilder builds and executes requests for operations under \projects\{project_id}\relationships\tag-bindings

func NewItemRelationshipsTagBindingsRequestBuilder

NewItemRelationshipsTagBindingsRequestBuilder instantiates a new ItemRelationshipsTagBindingsRequestBuilder and sets the default values.

func NewItemRelationshipsTagBindingsRequestBuilderInternal

func NewItemRelationshipsTagBindingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsTagBindingsRequestBuilder

NewItemRelationshipsTagBindingsRequestBuilderInternal instantiates a new ItemRelationshipsTagBindingsRequestBuilder and sets the default values.

func (*ItemRelationshipsTagBindingsRequestBuilder) Get

Get list all tags associated with a project. returns a TagBindingsCollectionable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsTagBindingsRequestBuilder) Patch

Patch replace all tag bindings in a project. returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsTagBindingsRequestBuilder) Post

Post add one or more tag bindings to a project. returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsTagBindingsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all tags associated with a project. returns a *RequestInformation when successful

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

type ItemRelationshipsWorkspacesRequestBuilder

type ItemRelationshipsWorkspacesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRelationshipsWorkspacesRequestBuilder builds and executes requests for operations under \projects\{project_id}\relationships\workspaces

func NewItemRelationshipsWorkspacesRequestBuilder

NewItemRelationshipsWorkspacesRequestBuilder instantiates a new ItemRelationshipsWorkspacesRequestBuilder and sets the default values.

func NewItemRelationshipsWorkspacesRequestBuilderInternal

func NewItemRelationshipsWorkspacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRelationshipsWorkspacesRequestBuilder

NewItemRelationshipsWorkspacesRequestBuilderInternal instantiates a new ItemRelationshipsWorkspacesRequestBuilder and sets the default values.

func (*ItemRelationshipsWorkspacesRequestBuilder) Post

Post move one or more workspaces into a project. You must have permission to move workspaces on the destination project as well as any source project(s). If you are not authorized to move any of the workspaces in the request, or if any workspaces in the request are not found, then no workspaces will be moved. returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemRelationshipsWorkspacesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation move one or more workspaces into a project. You must have permission to move workspaces on the destination project as well as any source project(s). If you are not authorized to move any of the workspaces in the request, or if any workspaces in the request are not found, then no workspaces will be moved. returns a *RequestInformation when successful

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

type ItemVarsetsGetResponse

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

func NewItemVarsetsGetResponse

func NewItemVarsetsGetResponse() *ItemVarsetsGetResponse

NewItemVarsetsGetResponse instantiates a new ItemVarsetsGetResponse and sets the default values.

func (*ItemVarsetsGetResponse) GetAdditionalData

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

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

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

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

func (*ItemVarsetsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemVarsetsGetResponse) SetAdditionalData

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

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemVarsetsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemVarsetsRequestBuilder

ItemVarsetsRequestBuilder builds and executes requests for operations under \projects\{project_id}\varsets

func NewItemVarsetsRequestBuilder

NewItemVarsetsRequestBuilder instantiates a new ItemVarsetsRequestBuilder and sets the default values.

func NewItemVarsetsRequestBuilderInternal

func NewItemVarsetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemVarsetsRequestBuilder

NewItemVarsetsRequestBuilderInternal instantiates a new ItemVarsetsRequestBuilder and sets the default values.

func (*ItemVarsetsRequestBuilder) Get

Get list all variable sets for a project. This includes global variable sets from the project's organization. returns a ItemVarsetsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemVarsetsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all variable sets for a project. This includes global variable sets from the project's organization. returns a *RequestInformation when successful

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

type ItemVarsetsRequestBuilderGetQueryParameters

type ItemVarsetsRequestBuilderGetQueryParameters 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\""
	// A search query string. You can search for a variable set using its name.
	Q *string "uriparametername:\"q\""
	// Filter variable sets by scope relative to the project.
	Scope *id9b1cd05c1aed4a221a26914a10d3fb317a479fef370fc0d10c23974bb8a2e86.GetScopeQueryParameterType "uriparametername:\"scope\""
}

ItemVarsetsRequestBuilderGetQueryParameters list all variable sets for a project. This includes global variable sets from the project's organization.

type ProjectsRequestBuilder

ProjectsRequestBuilder builds and executes requests for operations under \projects

func NewProjectsRequestBuilder

NewProjectsRequestBuilder instantiates a new ProjectsRequestBuilder and sets the default values.

func NewProjectsRequestBuilderInternal

func NewProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ProjectsRequestBuilder

NewProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.

func (*ProjectsRequestBuilder) ByProject_id

func (m *ProjectsRequestBuilder) ByProject_id(project_id string) *WithProject_ItemRequestBuilder

ByProject_id gets an item from the github.com/hashicorp/go-tfe/v2/api.projects.item collection returns a *WithProject_ItemRequestBuilder when successful

type WithProject_ItemRequestBuilder

WithProject_ItemRequestBuilder builds and executes requests for operations under \projects\{project_id}

func NewWithProject_ItemRequestBuilder

NewWithProject_ItemRequestBuilder instantiates a new WithProject_ItemRequestBuilder and sets the default values.

func NewWithProject_ItemRequestBuilderInternal

func NewWithProject_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithProject_ItemRequestBuilder

NewWithProject_ItemRequestBuilderInternal instantiates a new WithProject_ItemRequestBuilder and sets the default values.

func (*WithProject_ItemRequestBuilder) Delete

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

func (*WithProject_ItemRequestBuilder) Get

Get get details of a specific project. returns a ProjectsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithProject_ItemRequestBuilder) NotificationConfigurations

NotificationConfigurations the notificationConfigurations property returns a *ItemNotificationConfigurationsRequestBuilder when successful

func (*WithProject_ItemRequestBuilder) Relationships

Relationships the relationships property returns a *ItemRelationshipsRequestBuilder when successful

func (*WithProject_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details of a specific project. returns a *RequestInformation when successful

func (*WithProject_ItemRequestBuilder) Varsets

Varsets the varsets property returns a *ItemVarsetsRequestBuilder when successful

func (*WithProject_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 *WithProject_ItemRequestBuilder when successful

Directories

Path Synopsis
item

Jump to

Keyboard shortcuts

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