Documentation
¶
Index ¶
- func CreateTeamProjectsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateTeamProjectsGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type TeamProjectsGetResponse
- func (m *TeamProjectsGetResponse) GetAdditionalData() map[string]any
- func (m *TeamProjectsGetResponse) GetData() ...
- func (m *TeamProjectsGetResponse) GetFieldDeserializers() ...
- func (m *TeamProjectsGetResponse) GetLinks() ...
- func (m *TeamProjectsGetResponse) GetMeta() TeamProjectsGetResponse_metaable
- func (m *TeamProjectsGetResponse) Serialize(...) error
- func (m *TeamProjectsGetResponse) SetAdditionalData(value map[string]any)
- func (m *TeamProjectsGetResponse) SetData(...)
- func (m *TeamProjectsGetResponse) SetLinks(...)
- func (m *TeamProjectsGetResponse) SetMeta(value TeamProjectsGetResponse_metaable)
- type TeamProjectsGetResponse_meta
- func (m *TeamProjectsGetResponse_meta) GetAdditionalData() map[string]any
- func (m *TeamProjectsGetResponse_meta) GetFieldDeserializers() ...
- func (m *TeamProjectsGetResponse_meta) GetPagination() ...
- func (m *TeamProjectsGetResponse_meta) Serialize(...) error
- func (m *TeamProjectsGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *TeamProjectsGetResponse_meta) SetPagination(...)
- type TeamProjectsGetResponse_metaable
- type TeamProjectsGetResponseable
- type TeamProjectsRequestBuilder
- func (m *TeamProjectsRequestBuilder) ByTeam_project_id(team_project_id string) *WithTeam_project_ItemRequestBuilder
- func (m *TeamProjectsRequestBuilder) Get(ctx context.Context, ...) (TeamProjectsGetResponseable, error)
- func (m *TeamProjectsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *TeamProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *TeamProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *TeamProjectsRequestBuilder) WithUrl(rawUrl string) *TeamProjectsRequestBuilder
- type TeamProjectsRequestBuilderGetQueryParameters
- type WithTeam_project_ItemRequestBuilder
- func (m *WithTeam_project_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *WithTeam_project_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithTeam_project_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *WithTeam_project_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithTeam_project_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithTeam_project_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *WithTeam_project_ItemRequestBuilder) WithUrl(rawUrl string) *WithTeam_project_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTeamProjectsGetResponseFromDiscriminatorValue ¶
func CreateTeamProjectsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateTeamProjectsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateTeamProjectsGetResponse_metaFromDiscriminatorValue ¶
func CreateTeamProjectsGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func (m *TeamProjectsGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsable
GetData gets the data property value. The data property returns a []TeamProjectsable when successful
func (*TeamProjectsGetResponse) GetFieldDeserializers ¶
func (m *TeamProjectsGetResponse) 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 (*TeamProjectsGetResponse) GetLinks ¶
func (m *TeamProjectsGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*TeamProjectsGetResponse) GetMeta ¶
func (m *TeamProjectsGetResponse) GetMeta() TeamProjectsGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a TeamProjectsGetResponse_metaable when successful
func (*TeamProjectsGetResponse) Serialize ¶
func (m *TeamProjectsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *TeamProjectsGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsable)
SetData sets the data property value. The data property
func (*TeamProjectsGetResponse) SetLinks ¶
func (m *TeamProjectsGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*TeamProjectsGetResponse) SetMeta ¶
func (m *TeamProjectsGetResponse) SetMeta(value TeamProjectsGetResponse_metaable)
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 ¶
func (m *TeamProjectsGetResponse_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 (*TeamProjectsGetResponse_meta) GetPagination ¶
func (m *TeamProjectsGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*TeamProjectsGetResponse_meta) Serialize ¶
func (m *TeamProjectsGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *TeamProjectsGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type TeamProjectsGetResponse_metaable ¶
type TeamProjectsGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type TeamProjectsGetResponseable ¶
type TeamProjectsGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() TeamProjectsGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value TeamProjectsGetResponse_metaable)
}
type TeamProjectsRequestBuilder ¶
type TeamProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
TeamProjectsRequestBuilder builds and executes requests for operations under \team-projects
func NewTeamProjectsRequestBuilder ¶
func NewTeamProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamProjectsRequestBuilder
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 ¶
func (m *TeamProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TeamProjectsRequestBuilderGetQueryParameters]) (TeamProjectsGetResponseable, error)
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 ¶
func (m *TeamProjectsRequestBuilder) Post(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, error)
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 ¶
func (m *TeamProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TeamProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all team access grants for a project. returns a *RequestInformation when successful
func (*TeamProjectsRequestBuilder) ToPostRequestInformation ¶
func (m *TeamProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation add a team's access to a project. returns a *RequestInformation when successful
func (*TeamProjectsRequestBuilder) WithUrl ¶
func (m *TeamProjectsRequestBuilder) WithUrl(rawUrl string) *TeamProjectsRequestBuilder
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 ¶
type WithTeam_project_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithTeam_project_ItemRequestBuilder builds and executes requests for operations under \team-projects\{team_project_id}
func NewWithTeam_project_ItemRequestBuilder ¶
func NewWithTeam_project_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithTeam_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 ¶
func (m *WithTeam_project_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *WithTeam_project_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, error)
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 ¶
func (m *WithTeam_project_ItemRequestBuilder) Patch(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, error)
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 ¶
func (m *WithTeam_project_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove a team's access from a project. returns a *RequestInformation when successful
func (*WithTeam_project_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithTeam_project_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get details about a team's access to a project. returns a *RequestInformation when successful
func (*WithTeam_project_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithTeam_project_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.TeamProjectsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation update a team's access level on a project. returns a *RequestInformation when successful
func (*WithTeam_project_ItemRequestBuilder) WithUrl ¶
func (m *WithTeam_project_ItemRequestBuilder) WithUrl(rawUrl string) *WithTeam_project_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 *WithTeam_project_ItemRequestBuilder when successful