Documentation
¶
Index ¶
- func CreateInstallationsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInstallationsGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type GithubAppRequestBuilder
- type InstallationRequestBuilder
- type InstallationWithGithub_app_installation_ItemRequestBuilder
- func NewInstallationWithGithub_app_installation_ItemRequestBuilder(rawUrl string, ...) *InstallationWithGithub_app_installation_ItemRequestBuilder
- func NewInstallationWithGithub_app_installation_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *InstallationWithGithub_app_installation_ItemRequestBuilder
- func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) WithUrl(rawUrl string) *InstallationWithGithub_app_installation_ItemRequestBuilder
- type InstallationsGetResponse
- func (m *InstallationsGetResponse) GetAdditionalData() map[string]any
- func (m *InstallationsGetResponse) GetData() ...
- func (m *InstallationsGetResponse) GetFieldDeserializers() ...
- func (m *InstallationsGetResponse) GetLinks() ...
- func (m *InstallationsGetResponse) GetMeta() InstallationsGetResponse_metaable
- func (m *InstallationsGetResponse) Serialize(...) error
- func (m *InstallationsGetResponse) SetAdditionalData(value map[string]any)
- func (m *InstallationsGetResponse) SetData(...)
- func (m *InstallationsGetResponse) SetLinks(...)
- func (m *InstallationsGetResponse) SetMeta(value InstallationsGetResponse_metaable)
- type InstallationsGetResponse_meta
- func (m *InstallationsGetResponse_meta) GetAdditionalData() map[string]any
- func (m *InstallationsGetResponse_meta) GetFieldDeserializers() ...
- func (m *InstallationsGetResponse_meta) GetPagination() ...
- func (m *InstallationsGetResponse_meta) Serialize(...) error
- func (m *InstallationsGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *InstallationsGetResponse_meta) SetPagination(...)
- type InstallationsGetResponse_metaable
- type InstallationsGetResponseable
- type InstallationsRequestBuilder
- type InstallationsRequestBuilderGetQueryParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInstallationsGetResponseFromDiscriminatorValue ¶
func CreateInstallationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateInstallationsGetResponse_metaFromDiscriminatorValue ¶
func CreateInstallationsGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type GithubAppRequestBuilder ¶
type GithubAppRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
GithubAppRequestBuilder builds and executes requests for operations under \github-app
func NewGithubAppRequestBuilder ¶
func NewGithubAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *GithubAppRequestBuilder
NewGithubAppRequestBuilder instantiates a new GithubAppRequestBuilder and sets the default values.
func NewGithubAppRequestBuilderInternal ¶
func NewGithubAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *GithubAppRequestBuilder
NewGithubAppRequestBuilderInternal instantiates a new GithubAppRequestBuilder and sets the default values.
func (*GithubAppRequestBuilder) Installation ¶
func (m *GithubAppRequestBuilder) Installation() *InstallationRequestBuilder
Installation the installation property returns a *InstallationRequestBuilder when successful
func (*GithubAppRequestBuilder) Installations ¶
func (m *GithubAppRequestBuilder) Installations() *InstallationsRequestBuilder
Installations the installations property returns a *InstallationsRequestBuilder when successful
type InstallationRequestBuilder ¶
type InstallationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InstallationRequestBuilder builds and executes requests for operations under \github-app\installation
func NewInstallationRequestBuilder ¶
func NewInstallationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationRequestBuilder
NewInstallationRequestBuilder instantiates a new InstallationRequestBuilder and sets the default values.
func NewInstallationRequestBuilderInternal ¶
func NewInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationRequestBuilder
NewInstallationRequestBuilderInternal instantiates a new InstallationRequestBuilder and sets the default values.
func (*InstallationRequestBuilder) ByGithub_app_installation_id ¶
func (m *InstallationRequestBuilder) ByGithub_app_installation_id(github_app_installation_id string) *InstallationWithGithub_app_installation_ItemRequestBuilder
ByGithub_app_installation_id gets an item from the github.com/hashicorp/go-tfe/v2/api.githubApp.installation.item collection returns a *InstallationWithGithub_app_installation_ItemRequestBuilder when successful
type InstallationWithGithub_app_installation_ItemRequestBuilder ¶
type InstallationWithGithub_app_installation_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InstallationWithGithub_app_installation_ItemRequestBuilder builds and executes requests for operations under \github-app\installation\{github_app_installation_id}
func NewInstallationWithGithub_app_installation_ItemRequestBuilder ¶
func NewInstallationWithGithub_app_installation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationWithGithub_app_installation_ItemRequestBuilder
NewInstallationWithGithub_app_installation_ItemRequestBuilder instantiates a new InstallationWithGithub_app_installation_ItemRequestBuilder and sets the default values.
func NewInstallationWithGithub_app_installation_ItemRequestBuilderInternal ¶
func NewInstallationWithGithub_app_installation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationWithGithub_app_installation_ItemRequestBuilder
NewInstallationWithGithub_app_installation_ItemRequestBuilderInternal instantiates a new InstallationWithGithub_app_installation_ItemRequestBuilder and sets the default values.
func (*InstallationWithGithub_app_installation_ItemRequestBuilder) Get ¶
func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppInstallationsEnvelopeable, error)
Get get details about a GitHub App installation. returns a GithubAppInstallationsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*InstallationWithGithub_app_installation_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get details about a GitHub App installation. returns a *RequestInformation when successful
func (*InstallationWithGithub_app_installation_ItemRequestBuilder) WithUrl ¶
func (m *InstallationWithGithub_app_installation_ItemRequestBuilder) WithUrl(rawUrl string) *InstallationWithGithub_app_installation_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 *InstallationWithGithub_app_installation_ItemRequestBuilder when successful
type InstallationsGetResponse ¶
type InstallationsGetResponse struct {
// contains filtered or unexported fields
}
func NewInstallationsGetResponse ¶
func NewInstallationsGetResponse() *InstallationsGetResponse
NewInstallationsGetResponse instantiates a new InstallationsGetResponse and sets the default values.
func (*InstallationsGetResponse) GetAdditionalData ¶
func (m *InstallationsGetResponse) 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 (*InstallationsGetResponse) GetData ¶
func (m *InstallationsGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppInstallationsable
GetData gets the data property value. The data property returns a []GithubAppInstallationsable when successful
func (*InstallationsGetResponse) GetFieldDeserializers ¶
func (m *InstallationsGetResponse) 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 (*InstallationsGetResponse) GetLinks ¶
func (m *InstallationsGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*InstallationsGetResponse) GetMeta ¶
func (m *InstallationsGetResponse) GetMeta() InstallationsGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a InstallationsGetResponse_metaable when successful
func (*InstallationsGetResponse) Serialize ¶
func (m *InstallationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InstallationsGetResponse) SetAdditionalData ¶
func (m *InstallationsGetResponse) 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 (*InstallationsGetResponse) SetData ¶
func (m *InstallationsGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppInstallationsable)
SetData sets the data property value. The data property
func (*InstallationsGetResponse) SetLinks ¶
func (m *InstallationsGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*InstallationsGetResponse) SetMeta ¶
func (m *InstallationsGetResponse) SetMeta(value InstallationsGetResponse_metaable)
SetMeta sets the meta property value. The meta property
type InstallationsGetResponse_meta ¶
type InstallationsGetResponse_meta struct {
// contains filtered or unexported fields
}
func NewInstallationsGetResponse_meta ¶
func NewInstallationsGetResponse_meta() *InstallationsGetResponse_meta
NewInstallationsGetResponse_meta instantiates a new InstallationsGetResponse_meta and sets the default values.
func (*InstallationsGetResponse_meta) GetAdditionalData ¶
func (m *InstallationsGetResponse_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 (*InstallationsGetResponse_meta) GetFieldDeserializers ¶
func (m *InstallationsGetResponse_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 (*InstallationsGetResponse_meta) GetPagination ¶
func (m *InstallationsGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*InstallationsGetResponse_meta) Serialize ¶
func (m *InstallationsGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InstallationsGetResponse_meta) SetAdditionalData ¶
func (m *InstallationsGetResponse_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 (*InstallationsGetResponse_meta) SetPagination ¶
func (m *InstallationsGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type InstallationsGetResponse_metaable ¶
type InstallationsGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type InstallationsGetResponseable ¶
type InstallationsGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppInstallationsable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() InstallationsGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppInstallationsable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value InstallationsGetResponse_metaable)
}
type InstallationsRequestBuilder ¶
type InstallationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InstallationsRequestBuilder builds and executes requests for operations under \github-app\installations
func NewInstallationsRequestBuilder ¶
func NewInstallationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsRequestBuilder
NewInstallationsRequestBuilder instantiates a new InstallationsRequestBuilder and sets the default values.
func NewInstallationsRequestBuilderInternal ¶
func NewInstallationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsRequestBuilder
NewInstallationsRequestBuilderInternal instantiates a new InstallationsRequestBuilder and sets the default values.
func (*InstallationsRequestBuilder) Get ¶
func (m *InstallationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsRequestBuilderGetQueryParameters]) (InstallationsGetResponseable, error)
Get list GitHub App installations accessible to the current authenticated user. returns a InstallationsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*InstallationsRequestBuilder) ToGetRequestInformation ¶
func (m *InstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list GitHub App installations accessible to the current authenticated user. returns a *RequestInformation when successful
func (*InstallationsRequestBuilder) WithUrl ¶
func (m *InstallationsRequestBuilder) WithUrl(rawUrl string) *InstallationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *InstallationsRequestBuilder when successful
type InstallationsRequestBuilderGetQueryParameters ¶
type InstallationsRequestBuilderGetQueryParameters struct {
// Filter by GitHub installation ID.
Filterinstallation_id *string "uriparametername:\"filter%5Binstallation_id%5D\""
// Filter by GitHub organization or login name.
Filtername *string "uriparametername:\"filter%5Bname%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\""
}
InstallationsRequestBuilderGetQueryParameters list GitHub App installations accessible to the current authenticated user.