installation

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 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

func CreateRepositoriesResponseFromDiscriminatorValue

CreateRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

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

func (*InstallationRequestBuilder) Token

Token the token property

type RepositoriesGetResponse

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

RepositoriesGetResponse

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.

func (*RepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*RepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*RepositoriesGetResponse) GetRepositorySelection

func (m *RepositoriesGetResponse) GetRepositorySelection() *string

GetRepositorySelection gets the repository_selection property value. The repository_selection property

func (*RepositoriesGetResponse) GetTotalCount

func (m *RepositoriesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation

func (*RepositoriesRequestBuilder) GetAsRepositoriesGetResponse

GetAsRepositoriesGetResponse list repositories that an app installation can access.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint. API method documentation

func (*RepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list repositories that an app installation can access.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.

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.

type RepositoriesRequestBuilderGetQueryParameters

type RepositoriesRequestBuilderGetQueryParameters struct {
	// Page number of the results to fetch.
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100).
	Per_page *int32 `uriparametername:"per_page"`
}

RepositoriesRequestBuilderGetQueryParameters list repositories that an app installation can access.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.

type RepositoriesRequestBuilderGetRequestConfiguration

type RepositoriesRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *RepositoriesRequestBuilderGetQueryParameters
}

RepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type RepositoriesResponse

type RepositoriesResponse struct {
	RepositoriesGetResponse
}

RepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.

func NewRepositoriesResponse

func NewRepositoriesResponse() *RepositoriesResponse

NewRepositoriesResponse instantiates a new RepositoriesResponse and sets the default values.

type RepositoriesResponseable

RepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.

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/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this 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/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint.You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.

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.

type TokenRequestBuilderDeleteRequestConfiguration

type TokenRequestBuilderDeleteRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

TokenRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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