teamprojects

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 CreateTeamProjectsGetResponseFromDiscriminatorValue

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

func CreateTeamProjectsGetResponse_metaFromDiscriminatorValue

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

Types

type TeamProjectsGetResponse

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

func NewTeamProjectsGetResponse

func NewTeamProjectsGetResponse() *TeamProjectsGetResponse

NewTeamProjectsGetResponse instantiates a new TeamProjectsGetResponse and sets the default values.

func (*TeamProjectsGetResponse) GetAdditionalData

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

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

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

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

func (*TeamProjectsGetResponse) Serialize

Serialize serializes information the current object

func (*TeamProjectsGetResponse) SetAdditionalData

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

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*TeamProjectsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type TeamProjectsGetResponse_meta

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

func NewTeamProjectsGetResponse_meta

func NewTeamProjectsGetResponse_meta() *TeamProjectsGetResponse_meta

NewTeamProjectsGetResponse_meta instantiates a new TeamProjectsGetResponse_meta and sets the default values.

func (*TeamProjectsGetResponse_meta) GetAdditionalData

func (m *TeamProjectsGetResponse_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 (*TeamProjectsGetResponse_meta) GetFieldDeserializers

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

func (*TeamProjectsGetResponse_meta) GetPagination

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

func (*TeamProjectsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*TeamProjectsGetResponse_meta) SetAdditionalData

func (m *TeamProjectsGetResponse_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 (*TeamProjectsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type TeamProjectsRequestBuilder

TeamProjectsRequestBuilder builds and executes requests for operations under \team-projects

func NewTeamProjectsRequestBuilder

NewTeamProjectsRequestBuilder instantiates a new TeamProjectsRequestBuilder and sets the default values.

func NewTeamProjectsRequestBuilderInternal

func NewTeamProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamProjectsRequestBuilder

NewTeamProjectsRequestBuilderInternal instantiates a new TeamProjectsRequestBuilder and sets the default values.

func (*TeamProjectsRequestBuilder) ByTeam_project_id

func (m *TeamProjectsRequestBuilder) ByTeam_project_id(team_project_id string) *WithTeam_project_ItemRequestBuilder

ByTeam_project_id gets an item from the github.com/hashicorp/go-tfe/v2/api.teamProjects.item collection returns a *WithTeam_project_ItemRequestBuilder when successful

func (*TeamProjectsRequestBuilder) Get

Get list all team access grants for a project. returns a TeamProjectsGetResponseable 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 (*TeamProjectsRequestBuilder) Post

Post add a team's access to a project. returns a TeamProjectsEnvelopeable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*TeamProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all team access grants for a project. returns a *RequestInformation when successful

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

type TeamProjectsRequestBuilderGetQueryParameters

type TeamProjectsRequestBuilderGetQueryParameters struct {
	// The project ID to list team access for.
	Filterprojectid *string "uriparametername:\"filter%5Bproject%5D%5Bid%5D\""
	// Optionally filter by team ID.
	Filterteamid *string "uriparametername:\"filter%5Bteam%5D%5Bid%5D\""
	// 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\""
}

TeamProjectsRequestBuilderGetQueryParameters list all team access grants for a project.

type WithTeam_project_ItemRequestBuilder

WithTeam_project_ItemRequestBuilder builds and executes requests for operations under \team-projects\{team_project_id}

func NewWithTeam_project_ItemRequestBuilder

NewWithTeam_project_ItemRequestBuilder instantiates a new WithTeam_project_ItemRequestBuilder and sets the default values.

func NewWithTeam_project_ItemRequestBuilderInternal

func NewWithTeam_project_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithTeam_project_ItemRequestBuilder

NewWithTeam_project_ItemRequestBuilderInternal instantiates a new WithTeam_project_ItemRequestBuilder and sets the default values.

func (*WithTeam_project_ItemRequestBuilder) Delete

Delete remove a team's access from 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 (*WithTeam_project_ItemRequestBuilder) Get

Get get details about a team's access to a project. returns a TeamProjectsEnvelopeable 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 (*WithTeam_project_ItemRequestBuilder) Patch

Patch update a team's access level on a project. returns a TeamProjectsEnvelopeable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithTeam_project_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove a team's access from a project. returns a *RequestInformation when successful

func (*WithTeam_project_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about a team's access to a project. returns a *RequestInformation when successful

func (*WithTeam_project_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 *WithTeam_project_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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