installation

package
v0.0.6-GHES.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRepositoriesGetResponseFromDiscriminatorValue

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

Types

type InstallationRequestBuilder

InstallationRequestBuilder builds and executes requests for operations under \installation

func NewInstallationRequestBuilder

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) Repositories

Repositories the repositories property returns a *RepositoriesRequestBuilder when successful

func (*InstallationRequestBuilder) Token

Token the token property returns a *TokenRequestBuilder when successful

type RepositoriesGetResponse

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

func NewRepositoriesGetResponse

func NewRepositoriesGetResponse() *RepositoriesGetResponse

NewRepositoriesGetResponse instantiates a new RepositoriesGetResponse and sets the default values.

func (*RepositoriesGetResponse) GetAdditionalData

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

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

func (*RepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []Repositoryable when successful

func (*RepositoriesGetResponse) GetRepositorySelection

func (m *RepositoriesGetResponse) GetRepositorySelection() *string

GetRepositorySelection gets the repository_selection property value. The repository_selection property returns a *string when successful

func (*RepositoriesGetResponse) GetTotalCount

func (m *RepositoriesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*RepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*RepositoriesGetResponse) SetAdditionalData

func (m *RepositoriesGetResponse) 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 (*RepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*RepositoriesGetResponse) SetRepositorySelection

func (m *RepositoriesGetResponse) SetRepositorySelection(value *string)

SetRepositorySelection sets the repository_selection property value. The repository_selection property

func (*RepositoriesGetResponse) SetTotalCount

func (m *RepositoriesGetResponse) SetTotalCount(value *int32)

SetTotalCount sets the total_count property value. The total_count property

type RepositoriesRequestBuilder

RepositoriesRequestBuilder builds and executes requests for operations under \installation\repositories

func NewRepositoriesRequestBuilder

NewRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.

func NewRepositoriesRequestBuilderInternal

func NewRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RepositoriesRequestBuilder

NewRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*RepositoriesRequestBuilder) Get

Get list repositories that an app installation can access. returns a RepositoriesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*RepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list repositories that an app installation can access. returns a *RequestInformation when successful

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

type RepositoriesRequestBuilderGetQueryParameters

type RepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.14/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.14/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

RepositoriesRequestBuilderGetQueryParameters list repositories that an app installation can access.

type TokenRequestBuilder

TokenRequestBuilder builds and executes requests for operations under \installation\token

func NewTokenRequestBuilder

NewTokenRequestBuilder instantiates a new TokenRequestBuilder and sets the default values.

func NewTokenRequestBuilderInternal

func NewTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TokenRequestBuilder

NewTokenRequestBuilderInternal instantiates a new TokenRequestBuilder and sets the default values.

func (*TokenRequestBuilder) Delete

Delete revokes the installation token you're using to authenticate as an installation and access this endpoint.Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.14/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint. API method documentation

func (*TokenRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation revokes the installation token you're using to authenticate as an installation and access this endpoint.Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/enterprise-server@3.14/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint. returns a *RequestInformation when successful

func (*TokenRequestBuilder) WithUrl

func (m *TokenRequestBuilder) WithUrl(rawUrl string) *TokenRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *TokenRequestBuilder when successful

Jump to

Keyboard shortcuts

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