user

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCodespacesGetResponseFromDiscriminatorValue

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

func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue

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

func CreateCodespacesItemMachinesResponseFromDiscriminatorValue

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

func CreateCodespacesItemPublishPostRequestBodyFromDiscriminatorValue

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

func CreateCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue

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

func CreateCodespacesItemWithCodespace_namePatchRequestBodyFromDiscriminatorValue

func CreateCodespacesItemWithCodespace_namePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

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

func CreateCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue

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

func CreateCodespacesPostRequestBodyFromDiscriminatorValue

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

func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue

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

func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue

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

func CreateCodespacesPostRequestBodyMember2_pull_requestFromDiscriminatorValue

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

func CreateCodespacesResponseFromDiscriminatorValue

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

func CreateCodespacesSecretsGetResponseFromDiscriminatorValue

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

func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

func CreateCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue

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

func CreateCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

func CreateCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

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

func CreateCodespacesSecretsResponseFromDiscriminatorValue

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

func CreateEmailVisibilityPatchRequestBodyFromDiscriminatorValue

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

func CreateEmailsDeleteRequestBodyFromDiscriminatorValue

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

func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue

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

func CreateEmailsPostRequestBodyFromDiscriminatorValue

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

func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue

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

func CreateGpg_keysPostRequestBodyFromDiscriminatorValue

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

func CreateInstallationsGetResponseFromDiscriminatorValue

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

func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateInstallationsItemRepositoriesResponseFromDiscriminatorValue

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

func CreateInstallationsResponseFromDiscriminatorValue

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

func CreateInteractionLimitsGetResponseMember1FromDiscriminatorValue

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

func CreateKeysPostRequestBodyFromDiscriminatorValue

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

func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue

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

func CreateMigrationsPostRequestBodyFromDiscriminatorValue

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

func CreateProjectsPostRequestBodyFromDiscriminatorValue

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

func CreateReposPostRequestBodyFromDiscriminatorValue

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

func CreateSocial_accountsDeleteRequestBodyFromDiscriminatorValue

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

func CreateSocial_accountsPostRequestBodyFromDiscriminatorValue

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

func CreateSsh_signing_keysPostRequestBodyFromDiscriminatorValue

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

func CreateUserGetResponseFromDiscriminatorValue

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

func CreateUserPatchRequestBodyFromDiscriminatorValue

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

func CreateUserResponseFromDiscriminatorValue

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

Types

type BlocksRequestBuilder

BlocksRequestBuilder builds and executes requests for operations under \user\blocks

func NewBlocksRequestBuilder

NewBlocksRequestBuilder instantiates a new BlocksRequestBuilder and sets the default values.

func NewBlocksRequestBuilderInternal

func NewBlocksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *BlocksRequestBuilder

NewBlocksRequestBuilderInternal instantiates a new BlocksRequestBuilder and sets the default values.

func (*BlocksRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.user.blocks.item collection

func (*BlocksRequestBuilder) Get

Get list the users you've blocked on your personal account. API method documentation

func (*BlocksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the users you've blocked on your personal account.

func (*BlocksRequestBuilder) WithUrl

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

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

type BlocksRequestBuilderGetQueryParameters

type BlocksRequestBuilderGetQueryParameters 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"`
}

BlocksRequestBuilderGetQueryParameters list the users you've blocked on your personal account.

type BlocksRequestBuilderGetRequestConfiguration

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

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

type BlocksWithUsernameItemRequestBuilder

type BlocksWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

BlocksWithUsernameItemRequestBuilder builds and executes requests for operations under \user\blocks\{username}

func NewBlocksWithUsernameItemRequestBuilder

NewBlocksWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func NewBlocksWithUsernameItemRequestBuilderInternal

func NewBlocksWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *BlocksWithUsernameItemRequestBuilder

NewBlocksWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func (*BlocksWithUsernameItemRequestBuilder) Delete

Delete unblocks the given user and returns a 204. API method documentation

func (*BlocksWithUsernameItemRequestBuilder) Get

Get returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub. API method documentation

func (*BlocksWithUsernameItemRequestBuilder) Put

Put blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned. API method documentation

func (*BlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unblocks the given user and returns a 204.

func (*BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub.

func (*BlocksWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned.

func (*BlocksWithUsernameItemRequestBuilder) WithUrl

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

type BlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration

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

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

type BlocksWithUsernameItemRequestBuilderGetRequestConfiguration

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

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

type BlocksWithUsernameItemRequestBuilderPutRequestConfiguration

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

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

type CodespacesGetResponse

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

CodespacesGetResponse

func NewCodespacesGetResponse

func NewCodespacesGetResponse() *CodespacesGetResponse

NewCodespacesGetResponse instantiates a new CodespacesGetResponse and sets the default values.

func (*CodespacesGetResponse) GetAdditionalData

func (m *CodespacesGetResponse) 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 (*CodespacesGetResponse) GetCodespaces

GetCodespaces gets the codespaces property value. The codespaces property

func (*CodespacesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesGetResponse) GetTotalCount

func (m *CodespacesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*CodespacesGetResponse) Serialize

Serialize serializes information the current object

func (*CodespacesGetResponse) SetAdditionalData

func (m *CodespacesGetResponse) 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 (*CodespacesGetResponse) SetCodespaces

SetCodespaces sets the codespaces property value. The codespaces property

func (*CodespacesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type CodespacesItemExportsRequestBuilder

CodespacesItemExportsRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\exports

func NewCodespacesItemExportsRequestBuilder

NewCodespacesItemExportsRequestBuilder instantiates a new ExportsRequestBuilder and sets the default values.

func NewCodespacesItemExportsRequestBuilderInternal

func NewCodespacesItemExportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemExportsRequestBuilder

NewCodespacesItemExportsRequestBuilderInternal instantiates a new ExportsRequestBuilder and sets the default values.

func (*CodespacesItemExportsRequestBuilder) ByExport_id

ByExport_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.item.exports.item collection

func (*CodespacesItemExportsRequestBuilder) Post

Post triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.If changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint. API method documentation

func (*CodespacesItemExportsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.If changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.

func (*CodespacesItemExportsRequestBuilder) WithUrl

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

type CodespacesItemExportsRequestBuilderPostRequestConfiguration

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

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

type CodespacesItemExportsWithExport_ItemRequestBuilder

type CodespacesItemExportsWithExport_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesItemExportsWithExport_ItemRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\exports\{export_id}

func NewCodespacesItemExportsWithExport_ItemRequestBuilder

NewCodespacesItemExportsWithExport_ItemRequestBuilder instantiates a new WithExport_ItemRequestBuilder and sets the default values.

func NewCodespacesItemExportsWithExport_ItemRequestBuilderInternal

func NewCodespacesItemExportsWithExport_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemExportsWithExport_ItemRequestBuilder

NewCodespacesItemExportsWithExport_ItemRequestBuilderInternal instantiates a new WithExport_ItemRequestBuilder and sets the default values.

func (*CodespacesItemExportsWithExport_ItemRequestBuilder) Get

Get gets information about an export of a codespace.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces_lifecycle_admin` repository permission to use this endpoint. API method documentation

func (*CodespacesItemExportsWithExport_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about an export of a codespace.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.

func (*CodespacesItemExportsWithExport_ItemRequestBuilder) WithUrl

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

type CodespacesItemExportsWithExport_ItemRequestBuilderGetRequestConfiguration

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

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

type CodespacesItemMachinesGetResponse

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

CodespacesItemMachinesGetResponse

func NewCodespacesItemMachinesGetResponse

func NewCodespacesItemMachinesGetResponse() *CodespacesItemMachinesGetResponse

NewCodespacesItemMachinesGetResponse instantiates a new CodespacesItemMachinesGetResponse and sets the default values.

func (*CodespacesItemMachinesGetResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesItemMachinesGetResponse) GetMachines

GetMachines gets the machines property value. The machines property

func (*CodespacesItemMachinesGetResponse) GetTotalCount

func (m *CodespacesItemMachinesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*CodespacesItemMachinesGetResponse) Serialize

Serialize serializes information the current object

func (*CodespacesItemMachinesGetResponse) SetAdditionalData

func (m *CodespacesItemMachinesGetResponse) 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 (*CodespacesItemMachinesGetResponse) SetMachines

SetMachines sets the machines property value. The machines property

func (*CodespacesItemMachinesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type CodespacesItemMachinesRequestBuilder

type CodespacesItemMachinesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesItemMachinesRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\machines

func NewCodespacesItemMachinesRequestBuilder

NewCodespacesItemMachinesRequestBuilder instantiates a new MachinesRequestBuilder and sets the default values.

func NewCodespacesItemMachinesRequestBuilderInternal

func NewCodespacesItemMachinesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemMachinesRequestBuilder

NewCodespacesItemMachinesRequestBuilderInternal instantiates a new MachinesRequestBuilder and sets the default values.

func (*CodespacesItemMachinesRequestBuilder) Get

Get list the machine types a codespace can transition to use.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsMachinesGetResponse instead. API method documentation

func (*CodespacesItemMachinesRequestBuilder) GetAsMachinesGetResponse

GetAsMachinesGetResponse list the machine types a codespace can transition to use.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint. API method documentation

func (*CodespacesItemMachinesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the machine types a codespace can transition to use.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces_metadata` repository permission to use this endpoint.

func (*CodespacesItemMachinesRequestBuilder) WithUrl

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

type CodespacesItemMachinesRequestBuilderGetRequestConfiguration

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

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

type CodespacesItemMachinesResponse

type CodespacesItemMachinesResponse struct {
	CodespacesItemMachinesGetResponse
}

CodespacesItemMachinesResponse Deprecated: This class is obsolete. Use machinesGetResponse instead.

func NewCodespacesItemMachinesResponse

func NewCodespacesItemMachinesResponse() *CodespacesItemMachinesResponse

NewCodespacesItemMachinesResponse instantiates a new CodespacesItemMachinesResponse and sets the default values.

type CodespacesItemMachinesResponseable

CodespacesItemMachinesResponseable Deprecated: This class is obsolete. Use machinesGetResponse instead.

type CodespacesItemPublishPostRequestBody

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

CodespacesItemPublishPostRequestBody

func NewCodespacesItemPublishPostRequestBody

func NewCodespacesItemPublishPostRequestBody() *CodespacesItemPublishPostRequestBody

NewCodespacesItemPublishPostRequestBody instantiates a new CodespacesItemPublishPostRequestBody and sets the default values.

func (*CodespacesItemPublishPostRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesItemPublishPostRequestBody) GetName

GetName gets the name property value. A name for the new repository.

func (*CodespacesItemPublishPostRequestBody) GetPrivate

func (m *CodespacesItemPublishPostRequestBody) GetPrivate() *bool

GetPrivate gets the private property value. Whether the new repository should be private.

func (*CodespacesItemPublishPostRequestBody) Serialize

Serialize serializes information the current object

func (*CodespacesItemPublishPostRequestBody) SetAdditionalData

func (m *CodespacesItemPublishPostRequestBody) 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 (*CodespacesItemPublishPostRequestBody) SetName

func (m *CodespacesItemPublishPostRequestBody) SetName(value *string)

SetName sets the name property value. A name for the new repository.

func (*CodespacesItemPublishPostRequestBody) SetPrivate

func (m *CodespacesItemPublishPostRequestBody) SetPrivate(value *bool)

SetPrivate sets the private property value. Whether the new repository should be private.

type CodespacesItemPublishPostRequestBodyable

type CodespacesItemPublishPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetName() *string
	GetPrivate() *bool
	SetName(value *string)
	SetPrivate(value *bool)
}

CodespacesItemPublishPostRequestBodyable

type CodespacesItemPublishRequestBuilder

CodespacesItemPublishRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\publish

func NewCodespacesItemPublishRequestBuilder

NewCodespacesItemPublishRequestBuilder instantiates a new PublishRequestBuilder and sets the default values.

func NewCodespacesItemPublishRequestBuilderInternal

func NewCodespacesItemPublishRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemPublishRequestBuilder

NewCodespacesItemPublishRequestBuilderInternal instantiates a new PublishRequestBuilder and sets the default values.

func (*CodespacesItemPublishRequestBuilder) Post

Post publishes an unpublished codespace, creating a new repository and assigning it to the codespace.The codespace's token is granted write permissions to the repository, allowing the user to push their changes.This will fail for a codespace that is already published, meaning it has an associated repository.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesItemPublishRequestBuilder) ToPostRequestInformation

ToPostRequestInformation publishes an unpublished codespace, creating a new repository and assigning it to the codespace.The codespace's token is granted write permissions to the repository, allowing the user to push their changes.This will fail for a codespace that is already published, meaning it has an associated repository.You must authenticate using a personal access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesItemPublishRequestBuilder) WithUrl

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

type CodespacesItemPublishRequestBuilderPostRequestConfiguration

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

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

type CodespacesItemStartRequestBuilder

CodespacesItemStartRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\start

func NewCodespacesItemStartRequestBuilder

NewCodespacesItemStartRequestBuilder instantiates a new StartRequestBuilder and sets the default values.

func NewCodespacesItemStartRequestBuilderInternal

func NewCodespacesItemStartRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStartRequestBuilder

NewCodespacesItemStartRequestBuilderInternal instantiates a new StartRequestBuilder and sets the default values.

func (*CodespacesItemStartRequestBuilder) Post

Post starts a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint. API method documentation

func (*CodespacesItemStartRequestBuilder) ToPostRequestInformation

ToPostRequestInformation starts a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.

func (*CodespacesItemStartRequestBuilder) WithUrl

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

type CodespacesItemStartRequestBuilderPostRequestConfiguration

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

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

type CodespacesItemStopRequestBuilder

CodespacesItemStopRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\stop

func NewCodespacesItemStopRequestBuilder

NewCodespacesItemStopRequestBuilder instantiates a new StopRequestBuilder and sets the default values.

func NewCodespacesItemStopRequestBuilderInternal

func NewCodespacesItemStopRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStopRequestBuilder

NewCodespacesItemStopRequestBuilderInternal instantiates a new StopRequestBuilder and sets the default values.

func (*CodespacesItemStopRequestBuilder) Post

Post stops a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint. API method documentation

func (*CodespacesItemStopRequestBuilder) ToPostRequestInformation

ToPostRequestInformation stops a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces_lifecycle_admin` repository permission to use this endpoint.

func (*CodespacesItemStopRequestBuilder) WithUrl

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

type CodespacesItemStopRequestBuilderPostRequestConfiguration

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

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

type CodespacesItemWithCodespace_nameDeleteResponse

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

CodespacesItemWithCodespace_nameDeleteResponse

func NewCodespacesItemWithCodespace_nameDeleteResponse

func NewCodespacesItemWithCodespace_nameDeleteResponse() *CodespacesItemWithCodespace_nameDeleteResponse

NewCodespacesItemWithCodespace_nameDeleteResponse instantiates a new CodespacesItemWithCodespace_nameDeleteResponse and sets the default values.

func (*CodespacesItemWithCodespace_nameDeleteResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesItemWithCodespace_nameDeleteResponse) Serialize

Serialize serializes information the current object

func (*CodespacesItemWithCodespace_nameDeleteResponse) SetAdditionalData

func (m *CodespacesItemWithCodespace_nameDeleteResponse) 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.

type CodespacesItemWithCodespace_namePatchRequestBody

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

CodespacesItemWithCodespace_namePatchRequestBody

func NewCodespacesItemWithCodespace_namePatchRequestBody

func NewCodespacesItemWithCodespace_namePatchRequestBody() *CodespacesItemWithCodespace_namePatchRequestBody

NewCodespacesItemWithCodespace_namePatchRequestBody instantiates a new CodespacesItemWithCodespace_namePatchRequestBody and sets the default values.

func (*CodespacesItemWithCodespace_namePatchRequestBody) GetAdditionalData

func (m *CodespacesItemWithCodespace_namePatchRequestBody) 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 (*CodespacesItemWithCodespace_namePatchRequestBody) GetDisplayName

GetDisplayName gets the display_name property value. Display name for this codespace

func (*CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesItemWithCodespace_namePatchRequestBody) GetMachine

GetMachine gets the machine property value. A valid machine to transition this codespace to.

func (*CodespacesItemWithCodespace_namePatchRequestBody) GetRecentFolders

GetRecentFolders gets the recent_folders property value. Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in.

func (*CodespacesItemWithCodespace_namePatchRequestBody) Serialize

Serialize serializes information the current object

func (*CodespacesItemWithCodespace_namePatchRequestBody) SetAdditionalData

func (m *CodespacesItemWithCodespace_namePatchRequestBody) 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 (*CodespacesItemWithCodespace_namePatchRequestBody) SetDisplayName

func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetDisplayName(value *string)

SetDisplayName sets the display_name property value. Display name for this codespace

func (*CodespacesItemWithCodespace_namePatchRequestBody) SetMachine

SetMachine sets the machine property value. A valid machine to transition this codespace to.

func (*CodespacesItemWithCodespace_namePatchRequestBody) SetRecentFolders

func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetRecentFolders(value []string)

SetRecentFolders sets the recent_folders property value. Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in.

type CodespacesItemWithCodespace_namePatchRequestBodyable

type CodespacesItemWithCodespace_namePatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDisplayName() *string
	GetMachine() *string
	GetRecentFolders() []string
	SetDisplayName(value *string)
	SetMachine(value *string)
	SetRecentFolders(value []string)
}

CodespacesItemWithCodespace_namePatchRequestBodyable

type CodespacesItemWithCodespace_nameResponse

type CodespacesItemWithCodespace_nameResponse struct {
	CodespacesItemWithCodespace_nameDeleteResponse
}

CodespacesItemWithCodespace_nameResponse Deprecated: This class is obsolete. Use WithCodespace_nameDeleteResponse instead.

func NewCodespacesItemWithCodespace_nameResponse

func NewCodespacesItemWithCodespace_nameResponse() *CodespacesItemWithCodespace_nameResponse

NewCodespacesItemWithCodespace_nameResponse instantiates a new CodespacesItemWithCodespace_nameResponse and sets the default values.

type CodespacesItemWithCodespace_nameResponseable

CodespacesItemWithCodespace_nameResponseable Deprecated: This class is obsolete. Use WithCodespace_nameDeleteResponse instead.

type CodespacesPostRequestBody

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

CodespacesPostRequestBody composed type wrapper for classes CodespacesPostRequestBodyMember1, CodespacesPostRequestBodyMember2

func NewCodespacesPostRequestBody

func NewCodespacesPostRequestBody() *CodespacesPostRequestBody

NewCodespacesPostRequestBody instantiates a new codespacesPostRequestBody and sets the default values.

func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1

func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able

GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1 gets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1

func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2

func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able

GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 gets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2

func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember1

func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able

GetCodespacesPostRequestBodyMember1 gets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1

func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember2

func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able

GetCodespacesPostRequestBodyMember2 gets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2

func (*CodespacesPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesPostRequestBody) GetIsComposedType

func (m *CodespacesPostRequestBody) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*CodespacesPostRequestBody) Serialize

Serialize serializes information the current object

func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1

func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)

SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1 sets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1

func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2

func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)

SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 sets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2

func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember1

func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)

SetCodespacesPostRequestBodyMember1 sets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1

func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember2

func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)

SetCodespacesPostRequestBodyMember2 sets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2

type CodespacesPostRequestBodyMember1

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

CodespacesPostRequestBodyMember1

func NewCodespacesPostRequestBodyMember1

func NewCodespacesPostRequestBodyMember1() *CodespacesPostRequestBodyMember1

NewCodespacesPostRequestBodyMember1 instantiates a new CodespacesPostRequestBodyMember1 and sets the default values.

func (*CodespacesPostRequestBodyMember1) GetAdditionalData

func (m *CodespacesPostRequestBodyMember1) 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 (*CodespacesPostRequestBodyMember1) GetClientIp

func (m *CodespacesPostRequestBodyMember1) GetClientIp() *string

GetClientIp gets the client_ip property value. IP for location auto-detection when proxying a request

func (*CodespacesPostRequestBodyMember1) GetDevcontainerPath

func (m *CodespacesPostRequestBodyMember1) GetDevcontainerPath() *string

GetDevcontainerPath gets the devcontainer_path property value. Path to devcontainer.json config to use for this codespace

func (*CodespacesPostRequestBodyMember1) GetDisplayName

func (m *CodespacesPostRequestBodyMember1) GetDisplayName() *string

GetDisplayName gets the display_name property value. Display name for this codespace

func (*CodespacesPostRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesPostRequestBodyMember1) GetIdleTimeoutMinutes

func (m *CodespacesPostRequestBodyMember1) GetIdleTimeoutMinutes() *int32

GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity

func (*CodespacesPostRequestBodyMember1) GetLocation

func (m *CodespacesPostRequestBodyMember1) GetLocation() *string

GetLocation gets the location property value. The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided.

func (*CodespacesPostRequestBodyMember1) GetMachine

func (m *CodespacesPostRequestBodyMember1) GetMachine() *string

GetMachine gets the machine property value. Machine type to use for this codespace

func (*CodespacesPostRequestBodyMember1) GetMultiRepoPermissionsOptOut

func (m *CodespacesPostRequestBodyMember1) GetMultiRepoPermissionsOptOut() *bool

GetMultiRepoPermissionsOptOut gets the multi_repo_permissions_opt_out property value. Whether to authorize requested permissions from devcontainer.json

func (*CodespacesPostRequestBodyMember1) GetRef

GetRef gets the ref property value. Git ref (typically a branch name) for this codespace

func (*CodespacesPostRequestBodyMember1) GetRepositoryId

func (m *CodespacesPostRequestBodyMember1) GetRepositoryId() *int32

GetRepositoryId gets the repository_id property value. Repository id for this codespace

func (*CodespacesPostRequestBodyMember1) GetRetentionPeriodMinutes

func (m *CodespacesPostRequestBodyMember1) GetRetentionPeriodMinutes() *int32

GetRetentionPeriodMinutes gets the retention_period_minutes property value. Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).

func (*CodespacesPostRequestBodyMember1) GetWorkingDirectory

func (m *CodespacesPostRequestBodyMember1) GetWorkingDirectory() *string

GetWorkingDirectory gets the working_directory property value. Working directory for this codespace

func (*CodespacesPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*CodespacesPostRequestBodyMember1) SetAdditionalData

func (m *CodespacesPostRequestBodyMember1) 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 (*CodespacesPostRequestBodyMember1) SetClientIp

func (m *CodespacesPostRequestBodyMember1) SetClientIp(value *string)

SetClientIp sets the client_ip property value. IP for location auto-detection when proxying a request

func (*CodespacesPostRequestBodyMember1) SetDevcontainerPath

func (m *CodespacesPostRequestBodyMember1) SetDevcontainerPath(value *string)

SetDevcontainerPath sets the devcontainer_path property value. Path to devcontainer.json config to use for this codespace

func (*CodespacesPostRequestBodyMember1) SetDisplayName

func (m *CodespacesPostRequestBodyMember1) SetDisplayName(value *string)

SetDisplayName sets the display_name property value. Display name for this codespace

func (*CodespacesPostRequestBodyMember1) SetIdleTimeoutMinutes

func (m *CodespacesPostRequestBodyMember1) SetIdleTimeoutMinutes(value *int32)

SetIdleTimeoutMinutes sets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity

func (*CodespacesPostRequestBodyMember1) SetLocation

func (m *CodespacesPostRequestBodyMember1) SetLocation(value *string)

SetLocation sets the location property value. The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided.

func (*CodespacesPostRequestBodyMember1) SetMachine

func (m *CodespacesPostRequestBodyMember1) SetMachine(value *string)

SetMachine sets the machine property value. Machine type to use for this codespace

func (*CodespacesPostRequestBodyMember1) SetMultiRepoPermissionsOptOut

func (m *CodespacesPostRequestBodyMember1) SetMultiRepoPermissionsOptOut(value *bool)

SetMultiRepoPermissionsOptOut sets the multi_repo_permissions_opt_out property value. Whether to authorize requested permissions from devcontainer.json

func (*CodespacesPostRequestBodyMember1) SetRef

func (m *CodespacesPostRequestBodyMember1) SetRef(value *string)

SetRef sets the ref property value. Git ref (typically a branch name) for this codespace

func (*CodespacesPostRequestBodyMember1) SetRepositoryId

func (m *CodespacesPostRequestBodyMember1) SetRepositoryId(value *int32)

SetRepositoryId sets the repository_id property value. Repository id for this codespace

func (*CodespacesPostRequestBodyMember1) SetRetentionPeriodMinutes

func (m *CodespacesPostRequestBodyMember1) SetRetentionPeriodMinutes(value *int32)

SetRetentionPeriodMinutes sets the retention_period_minutes property value. Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).

func (*CodespacesPostRequestBodyMember1) SetWorkingDirectory

func (m *CodespacesPostRequestBodyMember1) SetWorkingDirectory(value *string)

SetWorkingDirectory sets the working_directory property value. Working directory for this codespace

type CodespacesPostRequestBodyMember1able

type CodespacesPostRequestBodyMember1able interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetClientIp() *string
	GetDevcontainerPath() *string
	GetDisplayName() *string
	GetIdleTimeoutMinutes() *int32
	GetLocation() *string
	GetMachine() *string
	GetMultiRepoPermissionsOptOut() *bool
	GetRef() *string
	GetRepositoryId() *int32
	GetRetentionPeriodMinutes() *int32
	GetWorkingDirectory() *string
	SetClientIp(value *string)
	SetDevcontainerPath(value *string)
	SetDisplayName(value *string)
	SetIdleTimeoutMinutes(value *int32)
	SetLocation(value *string)
	SetMachine(value *string)
	SetMultiRepoPermissionsOptOut(value *bool)
	SetRef(value *string)
	SetRepositoryId(value *int32)
	SetRetentionPeriodMinutes(value *int32)
	SetWorkingDirectory(value *string)
}

CodespacesPostRequestBodyMember1able

type CodespacesPostRequestBodyMember2

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

CodespacesPostRequestBodyMember2

func NewCodespacesPostRequestBodyMember2

func NewCodespacesPostRequestBodyMember2() *CodespacesPostRequestBodyMember2

NewCodespacesPostRequestBodyMember2 instantiates a new CodespacesPostRequestBodyMember2 and sets the default values.

func (*CodespacesPostRequestBodyMember2) GetAdditionalData

func (m *CodespacesPostRequestBodyMember2) 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 (*CodespacesPostRequestBodyMember2) GetDevcontainerPath

func (m *CodespacesPostRequestBodyMember2) GetDevcontainerPath() *string

GetDevcontainerPath gets the devcontainer_path property value. Path to devcontainer.json config to use for this codespace

func (*CodespacesPostRequestBodyMember2) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesPostRequestBodyMember2) GetIdleTimeoutMinutes

func (m *CodespacesPostRequestBodyMember2) GetIdleTimeoutMinutes() *int32

GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity

func (*CodespacesPostRequestBodyMember2) GetLocation

func (m *CodespacesPostRequestBodyMember2) GetLocation() *string

GetLocation gets the location property value. The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided.

func (*CodespacesPostRequestBodyMember2) GetMachine

func (m *CodespacesPostRequestBodyMember2) GetMachine() *string

GetMachine gets the machine property value. Machine type to use for this codespace

func (*CodespacesPostRequestBodyMember2) GetPullRequest

GetPullRequest gets the pull_request property value. Pull request number for this codespace

func (*CodespacesPostRequestBodyMember2) GetWorkingDirectory

func (m *CodespacesPostRequestBodyMember2) GetWorkingDirectory() *string

GetWorkingDirectory gets the working_directory property value. Working directory for this codespace

func (*CodespacesPostRequestBodyMember2) Serialize

Serialize serializes information the current object

func (*CodespacesPostRequestBodyMember2) SetAdditionalData

func (m *CodespacesPostRequestBodyMember2) 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 (*CodespacesPostRequestBodyMember2) SetDevcontainerPath

func (m *CodespacesPostRequestBodyMember2) SetDevcontainerPath(value *string)

SetDevcontainerPath sets the devcontainer_path property value. Path to devcontainer.json config to use for this codespace

func (*CodespacesPostRequestBodyMember2) SetIdleTimeoutMinutes

func (m *CodespacesPostRequestBodyMember2) SetIdleTimeoutMinutes(value *int32)

SetIdleTimeoutMinutes sets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity

func (*CodespacesPostRequestBodyMember2) SetLocation

func (m *CodespacesPostRequestBodyMember2) SetLocation(value *string)

SetLocation sets the location property value. The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided.

func (*CodespacesPostRequestBodyMember2) SetMachine

func (m *CodespacesPostRequestBodyMember2) SetMachine(value *string)

SetMachine sets the machine property value. Machine type to use for this codespace

func (*CodespacesPostRequestBodyMember2) SetPullRequest

SetPullRequest sets the pull_request property value. Pull request number for this codespace

func (*CodespacesPostRequestBodyMember2) SetWorkingDirectory

func (m *CodespacesPostRequestBodyMember2) SetWorkingDirectory(value *string)

SetWorkingDirectory sets the working_directory property value. Working directory for this codespace

type CodespacesPostRequestBodyMember2_pull_request

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

CodespacesPostRequestBodyMember2_pull_request pull request number for this codespace

func NewCodespacesPostRequestBodyMember2_pull_request

func NewCodespacesPostRequestBodyMember2_pull_request() *CodespacesPostRequestBodyMember2_pull_request

NewCodespacesPostRequestBodyMember2_pull_request instantiates a new CodespacesPostRequestBodyMember2_pull_request and sets the default values.

func (*CodespacesPostRequestBodyMember2_pull_request) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesPostRequestBodyMember2_pull_request) GetPullRequestNumber

func (m *CodespacesPostRequestBodyMember2_pull_request) GetPullRequestNumber() *int32

GetPullRequestNumber gets the pull_request_number property value. Pull request number

func (*CodespacesPostRequestBodyMember2_pull_request) GetRepositoryId

GetRepositoryId gets the repository_id property value. Repository id for this codespace

func (*CodespacesPostRequestBodyMember2_pull_request) Serialize

Serialize serializes information the current object

func (*CodespacesPostRequestBodyMember2_pull_request) SetAdditionalData

func (m *CodespacesPostRequestBodyMember2_pull_request) 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 (*CodespacesPostRequestBodyMember2_pull_request) SetPullRequestNumber

func (m *CodespacesPostRequestBodyMember2_pull_request) SetPullRequestNumber(value *int32)

SetPullRequestNumber sets the pull_request_number property value. Pull request number

func (*CodespacesPostRequestBodyMember2_pull_request) SetRepositoryId

func (m *CodespacesPostRequestBodyMember2_pull_request) SetRepositoryId(value *int32)

SetRepositoryId sets the repository_id property value. Repository id for this codespace

type CodespacesPostRequestBodyMember2_pull_requestable

type CodespacesPostRequestBodyMember2_pull_requestable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetPullRequestNumber() *int32
	GetRepositoryId() *int32
	SetPullRequestNumber(value *int32)
	SetRepositoryId(value *int32)
}

CodespacesPostRequestBodyMember2_pull_requestable

type CodespacesPostRequestBodyMember2able

type CodespacesPostRequestBodyMember2able interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDevcontainerPath() *string
	GetIdleTimeoutMinutes() *int32
	GetLocation() *string
	GetMachine() *string
	GetPullRequest() CodespacesPostRequestBodyMember2_pull_requestable
	GetWorkingDirectory() *string
	SetDevcontainerPath(value *string)
	SetIdleTimeoutMinutes(value *int32)
	SetLocation(value *string)
	SetMachine(value *string)
	SetPullRequest(value CodespacesPostRequestBodyMember2_pull_requestable)
	SetWorkingDirectory(value *string)
}

CodespacesPostRequestBodyMember2able

type CodespacesPostRequestBodyable

type CodespacesPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able
	GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
	GetCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able
	GetCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
	SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)
	SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
	SetCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)
	SetCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
}

CodespacesPostRequestBodyable

type CodespacesRequestBuilder

CodespacesRequestBuilder builds and executes requests for operations under \user\codespaces

func NewCodespacesRequestBuilder

NewCodespacesRequestBuilder instantiates a new CodespacesRequestBuilder and sets the default values.

func NewCodespacesRequestBuilderInternal

func NewCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesRequestBuilder

NewCodespacesRequestBuilderInternal instantiates a new CodespacesRequestBuilder and sets the default values.

func (*CodespacesRequestBuilder) ByCodespace_name

ByCodespace_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.item collection

func (*CodespacesRequestBuilder) Get

Get lists the authenticated user's codespaces.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsCodespacesGetResponse instead. API method documentation

func (*CodespacesRequestBuilder) GetAsCodespacesGetResponse

GetAsCodespacesGetResponse lists the authenticated user's codespaces.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesRequestBuilder) Post

Post creates a new codespace, owned by the authenticated user.This endpoint requires either a `repository_id` OR a `pull_request` but not both.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesRequestBuilder) Secrets

Secrets the secrets property

func (*CodespacesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the authenticated user's codespaces.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new codespace, owned by the authenticated user.This endpoint requires either a `repository_id` OR a `pull_request` but not both.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesRequestBuilder) WithUrl

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

type CodespacesRequestBuilderGetQueryParameters

type CodespacesRequestBuilderGetQueryParameters 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"`
	// ID of the Repository to filter on
	Repository_id *int32 `uriparametername:"repository_id"`
}

CodespacesRequestBuilderGetQueryParameters lists the authenticated user's codespaces.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.

type CodespacesRequestBuilderGetRequestConfiguration

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

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

type CodespacesRequestBuilderPostRequestConfiguration

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

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

type CodespacesResponse

type CodespacesResponse struct {
	CodespacesGetResponse
}

CodespacesResponse Deprecated: This class is obsolete. Use codespacesGetResponse instead.

func NewCodespacesResponse

func NewCodespacesResponse() *CodespacesResponse

NewCodespacesResponse instantiates a new CodespacesResponse and sets the default values.

type CodespacesResponseable

CodespacesResponseable Deprecated: This class is obsolete. Use codespacesGetResponse instead.

type CodespacesSecretsGetResponse

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

CodespacesSecretsGetResponse

func NewCodespacesSecretsGetResponse

func NewCodespacesSecretsGetResponse() *CodespacesSecretsGetResponse

NewCodespacesSecretsGetResponse instantiates a new CodespacesSecretsGetResponse and sets the default values.

func (*CodespacesSecretsGetResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property

func (*CodespacesSecretsGetResponse) GetTotalCount

func (m *CodespacesSecretsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*CodespacesSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*CodespacesSecretsGetResponse) SetAdditionalData

func (m *CodespacesSecretsGetResponse) 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 (*CodespacesSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*CodespacesSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type CodespacesSecretsItemRepositoriesGetResponse

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

CodespacesSecretsItemRepositoriesGetResponse

func NewCodespacesSecretsItemRepositoriesGetResponse

func NewCodespacesSecretsItemRepositoriesGetResponse() *CodespacesSecretsItemRepositoriesGetResponse

NewCodespacesSecretsItemRepositoriesGetResponse instantiates a new CodespacesSecretsItemRepositoriesGetResponse and sets the default values.

func (*CodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

func (*CodespacesSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*CodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData

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

SetRepositories sets the repositories property value. The repositories property

func (*CodespacesSecretsItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type CodespacesSecretsItemRepositoriesPutRequestBody

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

CodespacesSecretsItemRepositoriesPutRequestBody

func NewCodespacesSecretsItemRepositoriesPutRequestBody

func NewCodespacesSecretsItemRepositoriesPutRequestBody() *CodespacesSecretsItemRepositoriesPutRequestBody

NewCodespacesSecretsItemRepositoriesPutRequestBody instantiates a new CodespacesSecretsItemRepositoriesPutRequestBody and sets the default values.

func (*CodespacesSecretsItemRepositoriesPutRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.

func (*CodespacesSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*CodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData

func (m *CodespacesSecretsItemRepositoriesPutRequestBody) 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 (*CodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

func (m *CodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids for which a codespace can access the secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Add a selected repository to a user secret](https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.

type CodespacesSecretsItemRepositoriesPutRequestBodyable

type CodespacesSecretsItemRepositoriesPutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedRepositoryIds() []int32
	SetSelectedRepositoryIds(value []int32)
}

CodespacesSecretsItemRepositoriesPutRequestBodyable

type CodespacesSecretsItemRepositoriesRequestBuilder

type CodespacesSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \user\codespaces\secrets\{secret_name}\repositories

func NewCodespacesSecretsItemRepositoriesRequestBuilder

NewCodespacesSecretsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.

func NewCodespacesSecretsItemRepositoriesRequestBuilderInternal

func NewCodespacesSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsItemRepositoriesRequestBuilder

NewCodespacesSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.secrets.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger

ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.secrets.item.repositories.item collection

func (*CodespacesSecretsItemRepositoriesRequestBuilder) Get

Get list the repositories that have been granted the ability to use a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation

func (*CodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse

GetAsRepositoriesGetResponse list the repositories that have been granted the ability to use a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint. API method documentation

func (*CodespacesSecretsItemRepositoriesRequestBuilder) Put

Put select the repositories that will use a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint. API method documentation

func (*CodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the repositories that have been granted the ability to use a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.

func (*CodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation select the repositories that will use a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.

func (*CodespacesSecretsItemRepositoriesRequestBuilder) WithUrl

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

type CodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration

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

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

type CodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration

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

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

type CodespacesSecretsItemRepositoriesResponse

type CodespacesSecretsItemRepositoriesResponse struct {
	CodespacesSecretsItemRepositoriesGetResponse
}

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

func NewCodespacesSecretsItemRepositoriesResponse

func NewCodespacesSecretsItemRepositoriesResponse() *CodespacesSecretsItemRepositoriesResponse

NewCodespacesSecretsItemRepositoriesResponse instantiates a new CodespacesSecretsItemRepositoriesResponse and sets the default values.

type CodespacesSecretsItemRepositoriesResponseable

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

type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \user\codespaces\secrets\{secret_name}\repositories\{repository_id}

func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.

func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.

func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from the selected repositories for a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint. API method documentation

func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to the selected repositories for a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on the referenced repository to use this endpoint. API method documentation

func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from the selected repositories for a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.

func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to the selected repositories for a user's development environment secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and write access to the `codespaces_secrets` repository permission on the referenced repository to use this endpoint.

func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration

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

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

type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration

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

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

type CodespacesSecretsItemWithSecret_namePutRequestBody

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

CodespacesSecretsItemWithSecret_namePutRequestBody

func NewCodespacesSecretsItemWithSecret_namePutRequestBody

func NewCodespacesSecretsItemWithSecret_namePutRequestBody() *CodespacesSecretsItemWithSecret_namePutRequestBody

NewCodespacesSecretsItemWithSecret_namePutRequestBody instantiates a new CodespacesSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetAdditionalData

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 (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue

GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) 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 (*CodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue

func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)

SetEncryptedValue sets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId

SetKeyId sets the key_id property value. ID of the key you used to encrypt the secret.

func (*CodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds

func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []int32)

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the user secret. You can manage the list of selected repositories using the [List selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret), [Set selected repositories for a user secret](https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret), and [Remove a selected repository from a user secret](https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret) endpoints.

type CodespacesSecretsItemWithSecret_namePutRequestBodyable

type CodespacesSecretsItemWithSecret_namePutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetEncryptedValue() *string
	GetKeyId() *string
	GetSelectedRepositoryIds() []int32
	SetEncryptedValue(value *string)
	SetKeyId(value *string)
	SetSelectedRepositoryIds(value []int32)
}

CodespacesSecretsItemWithSecret_namePutRequestBodyable

type CodespacesSecretsPublicKeyRequestBuilder

type CodespacesSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesSecretsPublicKeyRequestBuilder builds and executes requests for operations under \user\codespaces\secrets\public-key

func NewCodespacesSecretsPublicKeyRequestBuilder

NewCodespacesSecretsPublicKeyRequestBuilder instantiates a new PublicKeyRequestBuilder and sets the default values.

func NewCodespacesSecretsPublicKeyRequestBuilderInternal

func NewCodespacesSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsPublicKeyRequestBuilder

NewCodespacesSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder and sets the default values.

func (*CodespacesSecretsPublicKeyRequestBuilder) Get

Get gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint. API method documentation

func (*CodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.

func (*CodespacesSecretsPublicKeyRequestBuilder) WithUrl

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

type CodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration

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

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

type CodespacesSecretsRequestBuilder

CodespacesSecretsRequestBuilder builds and executes requests for operations under \user\codespaces\secrets

func NewCodespacesSecretsRequestBuilder

NewCodespacesSecretsRequestBuilder instantiates a new SecretsRequestBuilder and sets the default values.

func NewCodespacesSecretsRequestBuilderInternal

func NewCodespacesSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsRequestBuilder

NewCodespacesSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder and sets the default values.

func (*CodespacesSecretsRequestBuilder) BySecret_name

BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.secrets.item collection

func (*CodespacesSecretsRequestBuilder) Get

Get lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsSecretsGetResponse instead. API method documentation

func (*CodespacesSecretsRequestBuilder) GetAsSecretsGetResponse

GetAsSecretsGetResponse lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint. API method documentation

func (*CodespacesSecretsRequestBuilder) PublicKey

PublicKey the publicKey property

func (*CodespacesSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.

func (*CodespacesSecretsRequestBuilder) WithUrl

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

type CodespacesSecretsRequestBuilderGetQueryParameters

type CodespacesSecretsRequestBuilderGetQueryParameters 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"`
}

CodespacesSecretsRequestBuilderGetQueryParameters lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.

type CodespacesSecretsRequestBuilderGetRequestConfiguration

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

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

type CodespacesSecretsResponse

type CodespacesSecretsResponse struct {
	CodespacesSecretsGetResponse
}

CodespacesSecretsResponse Deprecated: This class is obsolete. Use secretsGetResponse instead.

func NewCodespacesSecretsResponse

func NewCodespacesSecretsResponse() *CodespacesSecretsResponse

NewCodespacesSecretsResponse instantiates a new CodespacesSecretsResponse and sets the default values.

type CodespacesSecretsResponseable

CodespacesSecretsResponseable Deprecated: This class is obsolete. Use secretsGetResponse instead.

type CodespacesSecretsWithSecret_nameItemRequestBuilder

type CodespacesSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \user\codespaces\secrets\{secret_name}

func NewCodespacesSecretsWithSecret_nameItemRequestBuilder

NewCodespacesSecretsWithSecret_nameItemRequestBuilder instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.

func NewCodespacesSecretsWithSecret_nameItemRequestBuilderInternal

func NewCodespacesSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsWithSecret_nameItemRequestBuilder

NewCodespacesSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes a development environment secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint. API method documentation

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Get

Get gets a development environment secret available to a user's codespaces without revealing its encrypted value.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint. API method documentation

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must also have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and `codespaces_secrets` repository permission on all referenced repositories to use this endpoint. API method documentation

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a development environment secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission to use this endpoint.

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a development environment secret available to a user's codespaces without revealing its encrypted value.You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must have Codespaces access to use this endpoint.GitHub Apps must have read access to the `codespaces_user_secrets` user permission to use this endpoint.

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an access token with the `codespace` or `codespace:secrets` scope to use this endpoint. User must also have Codespaces access to use this endpoint.GitHub Apps must have write access to the `codespaces_user_secrets` user permission and `codespaces_secrets` repository permission on all referenced repositories to use this endpoint.

func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl

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

type CodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration

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

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

type CodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration

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

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

type CodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration

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

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

type CodespacesWithCodespace_nameItemRequestBuilder

type CodespacesWithCodespace_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

CodespacesWithCodespace_nameItemRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}

func NewCodespacesWithCodespace_nameItemRequestBuilder

NewCodespacesWithCodespace_nameItemRequestBuilder instantiates a new WithCodespace_nameItemRequestBuilder and sets the default values.

func NewCodespacesWithCodespace_nameItemRequestBuilderInternal

func NewCodespacesWithCodespace_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesWithCodespace_nameItemRequestBuilder

NewCodespacesWithCodespace_nameItemRequestBuilderInternal instantiates a new WithCodespace_nameItemRequestBuilder and sets the default values.

func (*CodespacesWithCodespace_nameItemRequestBuilder) Delete

Delete deletes a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint. Deprecated: This method is obsolete. Use DeleteAsWithCodespace_nameDeleteResponse instead. API method documentation

func (*CodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse

DeleteAsWithCodespace_nameDeleteResponse deletes a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesWithCodespace_nameItemRequestBuilder) Exports

Exports the exports property

func (*CodespacesWithCodespace_nameItemRequestBuilder) Get

Get gets information about a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesWithCodespace_nameItemRequestBuilder) Machines

Machines the machines property

func (*CodespacesWithCodespace_nameItemRequestBuilder) Patch

Patch updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.If you specify a new machine type it will be applied the next time your codespace is started.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint. API method documentation

func (*CodespacesWithCodespace_nameItemRequestBuilder) Publish

Publish the publish property

func (*CodespacesWithCodespace_nameItemRequestBuilder) Start

Start the start property

func (*CodespacesWithCodespace_nameItemRequestBuilder) Stop

Stop the stop property

func (*CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesWithCodespace_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about a user's codespace.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have read access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesWithCodespace_nameItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.If you specify a new machine type it will be applied the next time your codespace is started.You must authenticate using an access token with the `codespace` scope to use this endpoint.GitHub Apps must have write access to the `codespaces` repository permission to use this endpoint.

func (*CodespacesWithCodespace_nameItemRequestBuilder) WithUrl

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

type CodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration

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

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

type CodespacesWithCodespace_nameItemRequestBuilderGetRequestConfiguration

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

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

type CodespacesWithCodespace_nameItemRequestBuilderPatchRequestConfiguration

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

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

type DockerConflictsRequestBuilder

DockerConflictsRequestBuilder builds and executes requests for operations under \user\docker\conflicts

func NewDockerConflictsRequestBuilder

NewDockerConflictsRequestBuilder instantiates a new ConflictsRequestBuilder and sets the default values.

func NewDockerConflictsRequestBuilderInternal

func NewDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DockerConflictsRequestBuilder

NewDockerConflictsRequestBuilderInternal instantiates a new ConflictsRequestBuilder and sets the default values.

func (*DockerConflictsRequestBuilder) Get

Get lists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. API method documentation

func (*DockerConflictsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.To use this endpoint, you must authenticate using an access token with the `read:packages` scope.

func (*DockerConflictsRequestBuilder) WithUrl

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

type DockerConflictsRequestBuilderGetRequestConfiguration

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

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

type DockerRequestBuilder

DockerRequestBuilder builds and executes requests for operations under \user\docker

func NewDockerRequestBuilder

NewDockerRequestBuilder instantiates a new DockerRequestBuilder and sets the default values.

func NewDockerRequestBuilderInternal

func NewDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DockerRequestBuilder

NewDockerRequestBuilderInternal instantiates a new DockerRequestBuilder and sets the default values.

func (*DockerRequestBuilder) Conflicts

Conflicts the conflicts property

type EmailRequestBuilder

EmailRequestBuilder builds and executes requests for operations under \user\email

func NewEmailRequestBuilder

NewEmailRequestBuilder instantiates a new EmailRequestBuilder and sets the default values.

func NewEmailRequestBuilderInternal

func NewEmailRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailRequestBuilder

NewEmailRequestBuilderInternal instantiates a new EmailRequestBuilder and sets the default values.

func (*EmailRequestBuilder) Visibility

Visibility the visibility property

type EmailVisibilityPatchRequestBody

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

EmailVisibilityPatchRequestBody

func NewEmailVisibilityPatchRequestBody

func NewEmailVisibilityPatchRequestBody() *EmailVisibilityPatchRequestBody

NewEmailVisibilityPatchRequestBody instantiates a new EmailVisibilityPatchRequestBody and sets the default values.

func (*EmailVisibilityPatchRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*EmailVisibilityPatchRequestBody) Serialize

Serialize serializes information the current object

func (*EmailVisibilityPatchRequestBody) SetAdditionalData

func (m *EmailVisibilityPatchRequestBody) 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.

type EmailVisibilityRequestBuilder

EmailVisibilityRequestBuilder builds and executes requests for operations under \user\email\visibility

func NewEmailVisibilityRequestBuilder

NewEmailVisibilityRequestBuilder instantiates a new VisibilityRequestBuilder and sets the default values.

func NewEmailVisibilityRequestBuilderInternal

func NewEmailVisibilityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailVisibilityRequestBuilder

NewEmailVisibilityRequestBuilderInternal instantiates a new VisibilityRequestBuilder and sets the default values.

func (*EmailVisibilityRequestBuilder) Patch

Patch sets the visibility for your primary email addresses. API method documentation

func (*EmailVisibilityRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation sets the visibility for your primary email addresses.

func (*EmailVisibilityRequestBuilder) WithUrl

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

type EmailVisibilityRequestBuilderPatchRequestConfiguration

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

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

type EmailsDeleteRequestBody

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

EmailsDeleteRequestBody composed type wrapper for classes EmailsDeleteRequestBodyMember1, string

func NewEmailsDeleteRequestBody

func NewEmailsDeleteRequestBody() *EmailsDeleteRequestBody

NewEmailsDeleteRequestBody instantiates a new emailsDeleteRequestBody and sets the default values.

func (*EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1

func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able

GetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1 gets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1

func (*EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyMember1

func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able

GetEmailsDeleteRequestBodyMember1 gets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1

func (*EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyString

func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyString() *string

GetEmailsDeleteRequestBodyString gets the string property value. Composed type representation for type string

func (*EmailsDeleteRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*EmailsDeleteRequestBody) GetIsComposedType

func (m *EmailsDeleteRequestBody) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*EmailsDeleteRequestBody) GetString

func (m *EmailsDeleteRequestBody) GetString() *string

GetString gets the string property value. Composed type representation for type string

func (*EmailsDeleteRequestBody) Serialize

Serialize serializes information the current object

func (*EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1

func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)

SetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1 sets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1

func (*EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyMember1

func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)

SetEmailsDeleteRequestBodyMember1 sets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1

func (*EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyString

func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyString(value *string)

SetEmailsDeleteRequestBodyString sets the string property value. Composed type representation for type string

func (*EmailsDeleteRequestBody) SetString

func (m *EmailsDeleteRequestBody) SetString(value *string)

SetString sets the string property value. Composed type representation for type string

type EmailsDeleteRequestBodyMember1

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

EmailsDeleteRequestBodyMember1 deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.

func NewEmailsDeleteRequestBodyMember1

func NewEmailsDeleteRequestBodyMember1() *EmailsDeleteRequestBodyMember1

NewEmailsDeleteRequestBodyMember1 instantiates a new EmailsDeleteRequestBodyMember1 and sets the default values.

func (*EmailsDeleteRequestBodyMember1) GetAdditionalData

func (m *EmailsDeleteRequestBodyMember1) 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 (*EmailsDeleteRequestBodyMember1) GetEmails

func (m *EmailsDeleteRequestBodyMember1) GetEmails() []string

GetEmails gets the emails property value. Email addresses associated with the GitHub user account.

func (*EmailsDeleteRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*EmailsDeleteRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*EmailsDeleteRequestBodyMember1) SetAdditionalData

func (m *EmailsDeleteRequestBodyMember1) 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 (*EmailsDeleteRequestBodyMember1) SetEmails

func (m *EmailsDeleteRequestBodyMember1) SetEmails(value []string)

SetEmails sets the emails property value. Email addresses associated with the GitHub user account.

type EmailsDeleteRequestBodyable

type EmailsDeleteRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able
	GetEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able
	GetEmailsDeleteRequestBodyString() *string
	GetString() *string
	SetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)
	SetEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)
	SetEmailsDeleteRequestBodyString(value *string)
	SetString(value *string)
}

EmailsDeleteRequestBodyable

type EmailsPostRequestBody

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

EmailsPostRequestBody composed type wrapper for classes EmailsPostRequestBodyMember1, string

func NewEmailsPostRequestBody

func NewEmailsPostRequestBody() *EmailsPostRequestBody

NewEmailsPostRequestBody instantiates a new emailsPostRequestBody and sets the default values.

func (*EmailsPostRequestBody) GetEmailsPostRequestBodyEmailsPostRequestBodyMember1

func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able

GetEmailsPostRequestBodyEmailsPostRequestBodyMember1 gets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1

func (*EmailsPostRequestBody) GetEmailsPostRequestBodyMember1

func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able

GetEmailsPostRequestBodyMember1 gets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1

func (*EmailsPostRequestBody) GetEmailsPostRequestBodyString

func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyString() *string

GetEmailsPostRequestBodyString gets the string property value. Composed type representation for type string

func (*EmailsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*EmailsPostRequestBody) GetIsComposedType

func (m *EmailsPostRequestBody) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*EmailsPostRequestBody) GetString

func (m *EmailsPostRequestBody) GetString() *string

GetString gets the string property value. Composed type representation for type string

func (*EmailsPostRequestBody) Serialize

Serialize serializes information the current object

func (*EmailsPostRequestBody) SetEmailsPostRequestBodyEmailsPostRequestBodyMember1

func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)

SetEmailsPostRequestBodyEmailsPostRequestBodyMember1 sets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1

func (*EmailsPostRequestBody) SetEmailsPostRequestBodyMember1

func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)

SetEmailsPostRequestBodyMember1 sets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1

func (*EmailsPostRequestBody) SetEmailsPostRequestBodyString

func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyString(value *string)

SetEmailsPostRequestBodyString sets the string property value. Composed type representation for type string

func (*EmailsPostRequestBody) SetString

func (m *EmailsPostRequestBody) SetString(value *string)

SetString sets the string property value. Composed type representation for type string

type EmailsPostRequestBodyMember1

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

EmailsPostRequestBodyMember1

func NewEmailsPostRequestBodyMember1

func NewEmailsPostRequestBodyMember1() *EmailsPostRequestBodyMember1

NewEmailsPostRequestBodyMember1 instantiates a new EmailsPostRequestBodyMember1 and sets the default values.

func (*EmailsPostRequestBodyMember1) GetAdditionalData

func (m *EmailsPostRequestBodyMember1) 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 (*EmailsPostRequestBodyMember1) GetEmails

func (m *EmailsPostRequestBodyMember1) GetEmails() []string

GetEmails gets the emails property value. Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.

func (*EmailsPostRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*EmailsPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*EmailsPostRequestBodyMember1) SetAdditionalData

func (m *EmailsPostRequestBodyMember1) 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 (*EmailsPostRequestBodyMember1) SetEmails

func (m *EmailsPostRequestBodyMember1) SetEmails(value []string)

SetEmails sets the emails property value. Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.

type EmailsPostRequestBodyable

type EmailsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetEmailsPostRequestBodyEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able
	GetEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able
	GetEmailsPostRequestBodyString() *string
	GetString() *string
	SetEmailsPostRequestBodyEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)
	SetEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)
	SetEmailsPostRequestBodyString(value *string)
	SetString(value *string)
}

EmailsPostRequestBodyable

type EmailsRequestBuilder

EmailsRequestBuilder builds and executes requests for operations under \user\emails

func NewEmailsRequestBuilder

NewEmailsRequestBuilder instantiates a new EmailsRequestBuilder and sets the default values.

func NewEmailsRequestBuilderInternal

func NewEmailsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailsRequestBuilder

NewEmailsRequestBuilderInternal instantiates a new EmailsRequestBuilder and sets the default values.

func (*EmailsRequestBuilder) Delete

Delete this endpoint is accessible with the `user` scope. API method documentation

func (*EmailsRequestBuilder) Get

Get lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope. API method documentation

func (*EmailsRequestBuilder) Post

Post this endpoint is accessible with the `user` scope. API method documentation

func (*EmailsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation this endpoint is accessible with the `user` scope.

func (*EmailsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.

func (*EmailsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation this endpoint is accessible with the `user` scope.

func (*EmailsRequestBuilder) WithUrl

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

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

type EmailsRequestBuilderDeleteRequestConfiguration

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

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

type EmailsRequestBuilderGetQueryParameters

type EmailsRequestBuilderGetQueryParameters 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"`
}

EmailsRequestBuilderGetQueryParameters lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.

type EmailsRequestBuilderGetRequestConfiguration

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

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

type EmailsRequestBuilderPostRequestConfiguration

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

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

type FollowersRequestBuilder

FollowersRequestBuilder builds and executes requests for operations under \user\followers

func NewFollowersRequestBuilder

NewFollowersRequestBuilder instantiates a new FollowersRequestBuilder and sets the default values.

func NewFollowersRequestBuilderInternal

func NewFollowersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowersRequestBuilder

NewFollowersRequestBuilderInternal instantiates a new FollowersRequestBuilder and sets the default values.

func (*FollowersRequestBuilder) Get

Get lists the people following the authenticated user. API method documentation

func (*FollowersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people following the authenticated user.

func (*FollowersRequestBuilder) WithUrl

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

type FollowersRequestBuilderGetQueryParameters

type FollowersRequestBuilderGetQueryParameters 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"`
}

FollowersRequestBuilderGetQueryParameters lists the people following the authenticated user.

type FollowersRequestBuilderGetRequestConfiguration

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

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

type FollowingRequestBuilder

FollowingRequestBuilder builds and executes requests for operations under \user\following

func NewFollowingRequestBuilder

NewFollowingRequestBuilder instantiates a new FollowingRequestBuilder and sets the default values.

func NewFollowingRequestBuilderInternal

func NewFollowingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowingRequestBuilder

NewFollowingRequestBuilderInternal instantiates a new FollowingRequestBuilder and sets the default values.

func (*FollowingRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.user.following.item collection

func (*FollowingRequestBuilder) Get

Get lists the people who the authenticated user follows. API method documentation

func (*FollowingRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people who the authenticated user follows.

func (*FollowingRequestBuilder) WithUrl

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

type FollowingRequestBuilderGetQueryParameters

type FollowingRequestBuilderGetQueryParameters 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"`
}

FollowingRequestBuilderGetQueryParameters lists the people who the authenticated user follows.

type FollowingRequestBuilderGetRequestConfiguration

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

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

type FollowingWithUsernameItemRequestBuilder

type FollowingWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

FollowingWithUsernameItemRequestBuilder builds and executes requests for operations under \user\following\{username}

func NewFollowingWithUsernameItemRequestBuilder

NewFollowingWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func NewFollowingWithUsernameItemRequestBuilderInternal

func NewFollowingWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowingWithUsernameItemRequestBuilder

NewFollowingWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func (*FollowingWithUsernameItemRequestBuilder) Delete

Delete unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. API method documentation

func (*FollowingWithUsernameItemRequestBuilder) Get

Get check if a person is followed by the authenticated user API method documentation

func (*FollowingWithUsernameItemRequestBuilder) Put

Put note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope. API method documentation

func (*FollowingWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.

func (*FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.

func (*FollowingWithUsernameItemRequestBuilder) WithUrl

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

type FollowingWithUsernameItemRequestBuilderDeleteRequestConfiguration

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

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

type FollowingWithUsernameItemRequestBuilderGetRequestConfiguration

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

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

type FollowingWithUsernameItemRequestBuilderPutRequestConfiguration

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

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

type Gpg_keysPostRequestBody

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

Gpg_keysPostRequestBody

func NewGpg_keysPostRequestBody

func NewGpg_keysPostRequestBody() *Gpg_keysPostRequestBody

NewGpg_keysPostRequestBody instantiates a new Gpg_keysPostRequestBody and sets the default values.

func (*Gpg_keysPostRequestBody) GetAdditionalData

func (m *Gpg_keysPostRequestBody) 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 (*Gpg_keysPostRequestBody) GetArmoredPublicKey

func (m *Gpg_keysPostRequestBody) GetArmoredPublicKey() *string

GetArmoredPublicKey gets the armored_public_key property value. A GPG key in ASCII-armored format.

func (*Gpg_keysPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Gpg_keysPostRequestBody) GetName

func (m *Gpg_keysPostRequestBody) GetName() *string

GetName gets the name property value. A descriptive name for the new key.

func (*Gpg_keysPostRequestBody) Serialize

Serialize serializes information the current object

func (*Gpg_keysPostRequestBody) SetAdditionalData

func (m *Gpg_keysPostRequestBody) 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 (*Gpg_keysPostRequestBody) SetArmoredPublicKey

func (m *Gpg_keysPostRequestBody) SetArmoredPublicKey(value *string)

SetArmoredPublicKey sets the armored_public_key property value. A GPG key in ASCII-armored format.

func (*Gpg_keysPostRequestBody) SetName

func (m *Gpg_keysPostRequestBody) SetName(value *string)

SetName sets the name property value. A descriptive name for the new key.

type Gpg_keysPostRequestBodyable

type Gpg_keysPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetArmoredPublicKey() *string
	GetName() *string
	SetArmoredPublicKey(value *string)
	SetName(value *string)
}

Gpg_keysPostRequestBodyable

type Gpg_keysRequestBuilder

Gpg_keysRequestBuilder builds and executes requests for operations under \user\gpg_keys

func NewGpg_keysRequestBuilder

NewGpg_keysRequestBuilder instantiates a new Gpg_keysRequestBuilder and sets the default values.

func NewGpg_keysRequestBuilderInternal

func NewGpg_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Gpg_keysRequestBuilder

NewGpg_keysRequestBuilderInternal instantiates a new Gpg_keysRequestBuilder and sets the default values.

func (*Gpg_keysRequestBuilder) ByGpg_key_id

ByGpg_key_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.gpg_keys.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*Gpg_keysRequestBuilder) ByGpg_key_idInteger

func (m *Gpg_keysRequestBuilder) ByGpg_key_idInteger(gpg_key_id int32) *Gpg_keysWithGpg_key_ItemRequestBuilder

ByGpg_key_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.gpg_keys.item collection

func (*Gpg_keysRequestBuilder) Get

Get lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*Gpg_keysRequestBuilder) Post

Post adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*Gpg_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*Gpg_keysRequestBuilder) ToPostRequestInformation

ToPostRequestInformation adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*Gpg_keysRequestBuilder) WithUrl

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

type Gpg_keysRequestBuilderGetQueryParameters

type Gpg_keysRequestBuilderGetQueryParameters 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"`
}

Gpg_keysRequestBuilderGetQueryParameters lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

type Gpg_keysRequestBuilderGetRequestConfiguration

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

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

type Gpg_keysRequestBuilderPostRequestConfiguration

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

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

type Gpg_keysWithGpg_key_ItemRequestBuilder

type Gpg_keysWithGpg_key_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Gpg_keysWithGpg_key_ItemRequestBuilder builds and executes requests for operations under \user\gpg_keys\{gpg_key_id}

func NewGpg_keysWithGpg_key_ItemRequestBuilder

NewGpg_keysWithGpg_key_ItemRequestBuilder instantiates a new WithGpg_key_ItemRequestBuilder and sets the default values.

func NewGpg_keysWithGpg_key_ItemRequestBuilderInternal

func NewGpg_keysWithGpg_key_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Gpg_keysWithGpg_key_ItemRequestBuilder

NewGpg_keysWithGpg_key_ItemRequestBuilderInternal instantiates a new WithGpg_key_ItemRequestBuilder and sets the default values.

func (*Gpg_keysWithGpg_key_ItemRequestBuilder) Delete

Delete removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*Gpg_keysWithGpg_key_ItemRequestBuilder) Get

Get view extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*Gpg_keysWithGpg_key_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*Gpg_keysWithGpg_key_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation view extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*Gpg_keysWithGpg_key_ItemRequestBuilder) WithUrl

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

type Gpg_keysWithGpg_key_ItemRequestBuilderDeleteRequestConfiguration

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

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

type Gpg_keysWithGpg_key_ItemRequestBuilderGetRequestConfiguration

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

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

type InstallationsGetResponse

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

InstallationsGetResponse

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.

func (*InstallationsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*InstallationsGetResponse) GetInstallations

GetInstallations gets the installations property value. The installations property

func (*InstallationsGetResponse) GetTotalCount

func (m *InstallationsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*InstallationsGetResponse) Serialize

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

SetInstallations sets the installations property value. The installations property

func (*InstallationsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type InstallationsItemRepositoriesGetResponse

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

InstallationsItemRepositoriesGetResponse

func NewInstallationsItemRepositoriesGetResponse

func NewInstallationsItemRepositoriesGetResponse() *InstallationsItemRepositoriesGetResponse

NewInstallationsItemRepositoriesGetResponse instantiates a new InstallationsItemRepositoriesGetResponse and sets the default values.

func (*InstallationsItemRepositoriesGetResponse) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*InstallationsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*InstallationsItemRepositoriesGetResponse) GetRepositorySelection

func (m *InstallationsItemRepositoriesGetResponse) GetRepositorySelection() *string

GetRepositorySelection gets the repository_selection property value. The repository_selection property

func (*InstallationsItemRepositoriesGetResponse) GetTotalCount

func (m *InstallationsItemRepositoriesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*InstallationsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*InstallationsItemRepositoriesGetResponse) SetAdditionalData

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

SetRepositories sets the repositories property value. The repositories property

func (*InstallationsItemRepositoriesGetResponse) SetRepositorySelection

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

SetRepositorySelection sets the repository_selection property value. The repository_selection property

func (*InstallationsItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type InstallationsItemRepositoriesGetResponseable

InstallationsItemRepositoriesGetResponseable

type InstallationsItemRepositoriesRequestBuilder

type InstallationsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

InstallationsItemRepositoriesRequestBuilder builds and executes requests for operations under \user\installations\{installation_id}\repositories

func NewInstallationsItemRepositoriesRequestBuilder

NewInstallationsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.

func NewInstallationsItemRepositoriesRequestBuilderInternal

func NewInstallationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsItemRepositoriesRequestBuilder

NewInstallationsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*InstallationsItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.installations.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*InstallationsItemRepositoriesRequestBuilder) ByRepository_idInteger

ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.installations.item.repositories.item collection

func (*InstallationsItemRepositoriesRequestBuilder) Get

Get list repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The access the user has to each repository is included in the hash under the `permissions` key. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation

func (*InstallationsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse

GetAsRepositoriesGetResponse list repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The access the user has to each repository is included in the hash under the `permissions` key. API method documentation

func (*InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The access the user has to each repository is included in the hash under the `permissions` key.

func (*InstallationsItemRepositoriesRequestBuilder) WithUrl

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

type InstallationsItemRepositoriesRequestBuilderGetQueryParameters

type InstallationsItemRepositoriesRequestBuilderGetQueryParameters 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"`
}

InstallationsItemRepositoriesRequestBuilderGetQueryParameters list repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The access the user has to each repository is included in the hash under the `permissions` key.

type InstallationsItemRepositoriesRequestBuilderGetRequestConfiguration

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

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

type InstallationsItemRepositoriesResponse

type InstallationsItemRepositoriesResponse struct {
	InstallationsItemRepositoriesGetResponse
}

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

func NewInstallationsItemRepositoriesResponse

func NewInstallationsItemRepositoriesResponse() *InstallationsItemRepositoriesResponse

NewInstallationsItemRepositoriesResponse instantiates a new InstallationsItemRepositoriesResponse and sets the default values.

type InstallationsItemRepositoriesResponseable

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

type InstallationsItemRepositoriesWithRepository_ItemRequestBuilder

type InstallationsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

InstallationsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \user\installations\{installation_id}\repositories\{repository_id}

func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilder

func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder

NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.

func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder

NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.

func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. API method documentation

func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put add a single repository to an installation. The authenticated user must have admin access to the repository.You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint. API method documentation

func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`.You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.

func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation add a single repository to an installation. The authenticated user must have admin access to the repository.You must use a personal access token (which you can create via the [command line](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) or [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)) to access this endpoint.

func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type InstallationsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration

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

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

type InstallationsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration

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

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

type InstallationsRequestBuilder

InstallationsRequestBuilder builds and executes requests for operations under \user\installations

func NewInstallationsRequestBuilder

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

ByInstallation_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.installations.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*InstallationsRequestBuilder) ByInstallation_idInteger

func (m *InstallationsRequestBuilder) ByInstallation_idInteger(installation_id int32) *InstallationsWithInstallation_ItemRequestBuilder

ByInstallation_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.installations.item collection

func (*InstallationsRequestBuilder) Get

Get lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You can find the permissions for the installation under the `permissions` key. Deprecated: This method is obsolete. Use GetAsInstallationsGetResponse instead. API method documentation

func (*InstallationsRequestBuilder) GetAsInstallationsGetResponse

GetAsInstallationsGetResponse lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You can find the permissions for the installation under the `permissions` key. API method documentation

func (*InstallationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You can find the permissions for the installation under the `permissions` key.

func (*InstallationsRequestBuilder) WithUrl

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

type InstallationsRequestBuilderGetQueryParameters

type InstallationsRequestBuilderGetQueryParameters 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"`
}

InstallationsRequestBuilderGetQueryParameters lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.You must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.You can find the permissions for the installation under the `permissions` key.

type InstallationsRequestBuilderGetRequestConfiguration

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

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

type InstallationsResponse

type InstallationsResponse struct {
	InstallationsGetResponse
}

InstallationsResponse Deprecated: This class is obsolete. Use installationsGetResponse instead.

func NewInstallationsResponse

func NewInstallationsResponse() *InstallationsResponse

NewInstallationsResponse instantiates a new InstallationsResponse and sets the default values.

type InstallationsResponseable

InstallationsResponseable Deprecated: This class is obsolete. Use installationsGetResponse instead.

type InstallationsWithInstallation_ItemRequestBuilder

type InstallationsWithInstallation_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

InstallationsWithInstallation_ItemRequestBuilder builds and executes requests for operations under \user\installations\{installation_id}

func NewInstallationsWithInstallation_ItemRequestBuilder

NewInstallationsWithInstallation_ItemRequestBuilder instantiates a new WithInstallation_ItemRequestBuilder and sets the default values.

func NewInstallationsWithInstallation_ItemRequestBuilderInternal

func NewInstallationsWithInstallation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsWithInstallation_ItemRequestBuilder

NewInstallationsWithInstallation_ItemRequestBuilderInternal instantiates a new WithInstallation_ItemRequestBuilder and sets the default values.

func (*InstallationsWithInstallation_ItemRequestBuilder) Repositories

Repositories the repositories property

type InteractionLimitsGetResponseMember1

type InteractionLimitsGetResponseMember1 struct {
}

InteractionLimitsGetResponseMember1

func NewInteractionLimitsGetResponseMember1

func NewInteractionLimitsGetResponseMember1() *InteractionLimitsGetResponseMember1

NewInteractionLimitsGetResponseMember1 instantiates a new InteractionLimitsGetResponseMember1 and sets the default values.

func (*InteractionLimitsGetResponseMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*InteractionLimitsGetResponseMember1) Serialize

Serialize serializes information the current object

type InteractionLimitsGetResponseMember1able

type InteractionLimitsGetResponseMember1able interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
}

InteractionLimitsGetResponseMember1able

type InteractionLimitsRequestBuilder

InteractionLimitsRequestBuilder builds and executes requests for operations under \user\interaction-limits

func NewInteractionLimitsRequestBuilder

NewInteractionLimitsRequestBuilder instantiates a new InteractionLimitsRequestBuilder and sets the default values.

func NewInteractionLimitsRequestBuilderInternal

func NewInteractionLimitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InteractionLimitsRequestBuilder

NewInteractionLimitsRequestBuilderInternal instantiates a new InteractionLimitsRequestBuilder and sets the default values.

func (*InteractionLimitsRequestBuilder) Delete

Delete removes any interaction restrictions from your public repositories. API method documentation

func (*InteractionLimitsRequestBuilder) Get

Get shows which type of GitHub user can interact with your public repositories and when the restriction expires. API method documentation

func (*InteractionLimitsRequestBuilder) Put

Put temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. API method documentation

func (*InteractionLimitsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes any interaction restrictions from your public repositories.

func (*InteractionLimitsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation shows which type of GitHub user can interact with your public repositories and when the restriction expires.

func (*InteractionLimitsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user.

func (*InteractionLimitsRequestBuilder) WithUrl

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

type InteractionLimitsRequestBuilderDeleteRequestConfiguration

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

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

type InteractionLimitsRequestBuilderGetRequestConfiguration

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

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

type InteractionLimitsRequestBuilderPutRequestConfiguration

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

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

type IssuesRequestBuilder

IssuesRequestBuilder builds and executes requests for operations under \user\issues

func NewIssuesRequestBuilder

NewIssuesRequestBuilder instantiates a new IssuesRequestBuilder and sets the default values.

func NewIssuesRequestBuilderInternal

func NewIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *IssuesRequestBuilder

NewIssuesRequestBuilderInternal instantiates a new IssuesRequestBuilder and sets the default values.

func (*IssuesRequestBuilder) Get

Get list issues across owned and member repositories assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. API method documentation

func (*IssuesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list issues across owned and member repositories assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.

func (*IssuesRequestBuilder) WithUrl

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

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

type IssuesRequestBuilderGetQueryParameters

type IssuesRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	// Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead
	Direction *string `uriparametername:"direction"`
	// The direction to sort the results by.
	DirectionAsGetDirectionQueryParameterType *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetDirectionQueryParameterType `uriparametername:"direction"`
	// Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.
	// Deprecated: This property is deprecated, use filterAsGetFilterQueryParameterType instead
	Filter *string `uriparametername:"filter"`
	// Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.
	FilterAsGetFilterQueryParameterType *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetFilterQueryParameterType `uriparametername:"filter"`
	// A list of comma separated label names. Example: `bug,ui,@high`
	Labels *string `uriparametername:"labels"`
	// 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"`
	// Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"`
	// What to sort results by.
	// Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead
	Sort *string `uriparametername:"sort"`
	// What to sort results by.
	SortAsGetSortQueryParameterType *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetSortQueryParameterType `uriparametername:"sort"`
	// Indicates the state of the issues to return.
	// Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead
	State *string `uriparametername:"state"`
	// Indicates the state of the issues to return.
	StateAsGetStateQueryParameterType *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetStateQueryParameterType `uriparametername:"state"`
}

IssuesRequestBuilderGetQueryParameters list issues across owned and member repositories assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.

type IssuesRequestBuilderGetRequestConfiguration

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

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

type KeysPostRequestBody

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

KeysPostRequestBody

func NewKeysPostRequestBody

func NewKeysPostRequestBody() *KeysPostRequestBody

NewKeysPostRequestBody instantiates a new KeysPostRequestBody and sets the default values.

func (*KeysPostRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*KeysPostRequestBody) GetKey

func (m *KeysPostRequestBody) GetKey() *string

GetKey gets the key property value. The public SSH key to add to your GitHub account.

func (*KeysPostRequestBody) GetTitle

func (m *KeysPostRequestBody) GetTitle() *string

GetTitle gets the title property value. A descriptive name for the new key.

func (*KeysPostRequestBody) Serialize

Serialize serializes information the current object

func (*KeysPostRequestBody) SetAdditionalData

func (m *KeysPostRequestBody) 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 (*KeysPostRequestBody) SetKey

func (m *KeysPostRequestBody) SetKey(value *string)

SetKey sets the key property value. The public SSH key to add to your GitHub account.

func (*KeysPostRequestBody) SetTitle

func (m *KeysPostRequestBody) SetTitle(value *string)

SetTitle sets the title property value. A descriptive name for the new key.

type KeysRequestBuilder

KeysRequestBuilder builds and executes requests for operations under \user\keys

func NewKeysRequestBuilder

NewKeysRequestBuilder instantiates a new KeysRequestBuilder and sets the default values.

func NewKeysRequestBuilderInternal

func NewKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysRequestBuilder

NewKeysRequestBuilderInternal instantiates a new KeysRequestBuilder and sets the default values.

func (*KeysRequestBuilder) ByKey_id

ByKey_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.keys.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*KeysRequestBuilder) ByKey_idInteger

func (m *KeysRequestBuilder) ByKey_idInteger(key_id int32) *KeysWithKey_ItemRequestBuilder

ByKey_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.keys.item collection

func (*KeysRequestBuilder) Get

Get lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*KeysRequestBuilder) Post

Post adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*KeysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*KeysRequestBuilder) ToPostRequestInformation

ToPostRequestInformation adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*KeysRequestBuilder) WithUrl

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

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

type KeysRequestBuilderGetQueryParameters

type KeysRequestBuilderGetQueryParameters 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"`
}

KeysRequestBuilderGetQueryParameters lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

type KeysRequestBuilderGetRequestConfiguration

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

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

type KeysRequestBuilderPostRequestConfiguration

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

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

type KeysWithKey_ItemRequestBuilder

KeysWithKey_ItemRequestBuilder builds and executes requests for operations under \user\keys\{key_id}

func NewKeysWithKey_ItemRequestBuilder

NewKeysWithKey_ItemRequestBuilder instantiates a new WithKey_ItemRequestBuilder and sets the default values.

func NewKeysWithKey_ItemRequestBuilderInternal

func NewKeysWithKey_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysWithKey_ItemRequestBuilder

NewKeysWithKey_ItemRequestBuilderInternal instantiates a new WithKey_ItemRequestBuilder and sets the default values.

func (*KeysWithKey_ItemRequestBuilder) Delete

Delete removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*KeysWithKey_ItemRequestBuilder) Get

Get view extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation

func (*KeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*KeysWithKey_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation view extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).

func (*KeysWithKey_ItemRequestBuilder) WithUrl

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

type KeysWithKey_ItemRequestBuilderDeleteRequestConfiguration

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

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

type KeysWithKey_ItemRequestBuilderGetRequestConfiguration

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

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

type Marketplace_purchasesRequestBuilder

Marketplace_purchasesRequestBuilder builds and executes requests for operations under \user\marketplace_purchases

func NewMarketplace_purchasesRequestBuilder

NewMarketplace_purchasesRequestBuilder instantiates a new Marketplace_purchasesRequestBuilder and sets the default values.

func NewMarketplace_purchasesRequestBuilderInternal

func NewMarketplace_purchasesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_purchasesRequestBuilder

NewMarketplace_purchasesRequestBuilderInternal instantiates a new Marketplace_purchasesRequestBuilder and sets the default values.

func (*Marketplace_purchasesRequestBuilder) Get

Get lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps). API method documentation

func (*Marketplace_purchasesRequestBuilder) Stubbed

Stubbed the stubbed property

func (*Marketplace_purchasesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps).

func (*Marketplace_purchasesRequestBuilder) WithUrl

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

type Marketplace_purchasesRequestBuilderGetQueryParameters

type Marketplace_purchasesRequestBuilderGetQueryParameters 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"`
}

Marketplace_purchasesRequestBuilderGetQueryParameters lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps).

type Marketplace_purchasesRequestBuilderGetRequestConfiguration

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

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

type Marketplace_purchasesStubbedRequestBuilder

type Marketplace_purchasesStubbedRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Marketplace_purchasesStubbedRequestBuilder builds and executes requests for operations under \user\marketplace_purchases\stubbed

func NewMarketplace_purchasesStubbedRequestBuilder

NewMarketplace_purchasesStubbedRequestBuilder instantiates a new StubbedRequestBuilder and sets the default values.

func NewMarketplace_purchasesStubbedRequestBuilderInternal

func NewMarketplace_purchasesStubbedRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_purchasesStubbedRequestBuilder

NewMarketplace_purchasesStubbedRequestBuilderInternal instantiates a new StubbedRequestBuilder and sets the default values.

func (*Marketplace_purchasesStubbedRequestBuilder) Get

Get lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps). API method documentation

func (*Marketplace_purchasesStubbedRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps).

func (*Marketplace_purchasesStubbedRequestBuilder) WithUrl

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

type Marketplace_purchasesStubbedRequestBuilderGetQueryParameters

type Marketplace_purchasesStubbedRequestBuilderGetQueryParameters 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"`
}

Marketplace_purchasesStubbedRequestBuilderGetQueryParameters lists the active subscriptions for the authenticated user. GitHub Apps must use a [user access token](https://docs.github.com/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app), created for a user who has authorized your GitHub App, to access this endpoint. OAuth apps must authenticate using an [OAuth token](https://docs.github.com/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps).

type Marketplace_purchasesStubbedRequestBuilderGetRequestConfiguration

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

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

type MembershipsOrgsItemWithOrgPatchRequestBody

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

MembershipsOrgsItemWithOrgPatchRequestBody

func NewMembershipsOrgsItemWithOrgPatchRequestBody

func NewMembershipsOrgsItemWithOrgPatchRequestBody() *MembershipsOrgsItemWithOrgPatchRequestBody

NewMembershipsOrgsItemWithOrgPatchRequestBody instantiates a new MembershipsOrgsItemWithOrgPatchRequestBody and sets the default values.

func (*MembershipsOrgsItemWithOrgPatchRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*MembershipsOrgsItemWithOrgPatchRequestBody) Serialize

Serialize serializes information the current object

func (*MembershipsOrgsItemWithOrgPatchRequestBody) SetAdditionalData

func (m *MembershipsOrgsItemWithOrgPatchRequestBody) 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.

type MembershipsOrgsRequestBuilder

MembershipsOrgsRequestBuilder builds and executes requests for operations under \user\memberships\orgs

func NewMembershipsOrgsRequestBuilder

NewMembershipsOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewMembershipsOrgsRequestBuilderInternal

func NewMembershipsOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsRequestBuilder

NewMembershipsOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*MembershipsOrgsRequestBuilder) ByOrg

ByOrg gets an item from the github.com/octokit/go-sdk/pkg/github/.user.memberships.orgs.item collection

func (*MembershipsOrgsRequestBuilder) Get

Get lists all of the authenticated user's organization memberships. API method documentation

func (*MembershipsOrgsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all of the authenticated user's organization memberships.

func (*MembershipsOrgsRequestBuilder) WithUrl

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

type MembershipsOrgsRequestBuilderGetQueryParameters

type MembershipsOrgsRequestBuilderGetQueryParameters 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"`
	// Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.
	// Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead
	State *string `uriparametername:"state"`
	// Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.
	StateAsGetStateQueryParameterType *i6248a706a395d319f3e66611fac0b2654fe48b61e0e7152b109cc83e1d984972.GetStateQueryParameterType `uriparametername:"state"`
}

MembershipsOrgsRequestBuilderGetQueryParameters lists all of the authenticated user's organization memberships.

type MembershipsOrgsRequestBuilderGetRequestConfiguration

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

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

type MembershipsOrgsWithOrgItemRequestBuilder

type MembershipsOrgsWithOrgItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

MembershipsOrgsWithOrgItemRequestBuilder builds and executes requests for operations under \user\memberships\orgs\{org}

func NewMembershipsOrgsWithOrgItemRequestBuilder

NewMembershipsOrgsWithOrgItemRequestBuilder instantiates a new WithOrgItemRequestBuilder and sets the default values.

func NewMembershipsOrgsWithOrgItemRequestBuilderInternal

func NewMembershipsOrgsWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsWithOrgItemRequestBuilder

NewMembershipsOrgsWithOrgItemRequestBuilderInternal instantiates a new WithOrgItemRequestBuilder and sets the default values.

func (*MembershipsOrgsWithOrgItemRequestBuilder) Get

Get if the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a `404` is returned. This endpoint will return a `403` if the request is made by a GitHub App that is blocked by the organization. API method documentation

func (*MembershipsOrgsWithOrgItemRequestBuilder) Patch

Patch converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization. API method documentation

func (*MembershipsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation if the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a `404` is returned. This endpoint will return a `403` if the request is made by a GitHub App that is blocked by the organization.

func (*MembershipsOrgsWithOrgItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization.

func (*MembershipsOrgsWithOrgItemRequestBuilder) WithUrl

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

type MembershipsOrgsWithOrgItemRequestBuilderGetRequestConfiguration

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

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

type MembershipsOrgsWithOrgItemRequestBuilderPatchRequestConfiguration

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

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

type MembershipsRequestBuilder

MembershipsRequestBuilder builds and executes requests for operations under \user\memberships

func NewMembershipsRequestBuilder

NewMembershipsRequestBuilder instantiates a new MembershipsRequestBuilder and sets the default values.

func NewMembershipsRequestBuilderInternal

func NewMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsRequestBuilder

NewMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder and sets the default values.

func (*MembershipsRequestBuilder) Orgs

Orgs the orgs property

type MigrationsItemArchiveRequestBuilder

MigrationsItemArchiveRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\archive

func NewMigrationsItemArchiveRequestBuilder

NewMigrationsItemArchiveRequestBuilder instantiates a new ArchiveRequestBuilder and sets the default values.

func NewMigrationsItemArchiveRequestBuilderInternal

func NewMigrationsItemArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemArchiveRequestBuilder

NewMigrationsItemArchiveRequestBuilderInternal instantiates a new ArchiveRequestBuilder and sets the default values.

func (*MigrationsItemArchiveRequestBuilder) Delete

Delete deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. API method documentation

func (*MigrationsItemArchiveRequestBuilder) Get

Get fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:* attachments* bases* commit\_comments* issue\_comments* issue\_events* issues* milestones* organizations* projects* protected\_branches* pull\_request\_reviews* pull\_requests* releases* repositories* review\_comments* schema* usersThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. API method documentation

func (*MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.

func (*MigrationsItemArchiveRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:* attachments* bases* commit\_comments* issue\_comments* issue\_events* issues* milestones* organizations* projects* protected\_branches* pull\_request\_reviews* pull\_requests* releases* repositories* review\_comments* schema* usersThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.

func (*MigrationsItemArchiveRequestBuilder) WithUrl

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

type MigrationsItemArchiveRequestBuilderDeleteRequestConfiguration

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

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

type MigrationsItemArchiveRequestBuilderGetRequestConfiguration

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

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

type MigrationsItemReposItemLockRequestBuilder

type MigrationsItemReposItemLockRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

MigrationsItemReposItemLockRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\repos\{repo_name}\lock

func NewMigrationsItemReposItemLockRequestBuilder

NewMigrationsItemReposItemLockRequestBuilder instantiates a new LockRequestBuilder and sets the default values.

func NewMigrationsItemReposItemLockRequestBuilderInternal

func NewMigrationsItemReposItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposItemLockRequestBuilder

NewMigrationsItemReposItemLockRequestBuilderInternal instantiates a new LockRequestBuilder and sets the default values.

func (*MigrationsItemReposItemLockRequestBuilder) Delete

Delete unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. API method documentation

func (*MigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.

func (*MigrationsItemReposItemLockRequestBuilder) WithUrl

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

type MigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration

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

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

type MigrationsItemReposRequestBuilder

MigrationsItemReposRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\repos

func NewMigrationsItemReposRequestBuilder

NewMigrationsItemReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewMigrationsItemReposRequestBuilderInternal

func NewMigrationsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposRequestBuilder

NewMigrationsItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.

func (*MigrationsItemReposRequestBuilder) ByRepo_name

ByRepo_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.migrations.item.repos.item collection

type MigrationsItemReposWithRepo_nameItemRequestBuilder

type MigrationsItemReposWithRepo_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

MigrationsItemReposWithRepo_nameItemRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\repos\{repo_name}

func NewMigrationsItemReposWithRepo_nameItemRequestBuilder

NewMigrationsItemReposWithRepo_nameItemRequestBuilder instantiates a new WithRepo_nameItemRequestBuilder and sets the default values.

func NewMigrationsItemReposWithRepo_nameItemRequestBuilderInternal

func NewMigrationsItemReposWithRepo_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposWithRepo_nameItemRequestBuilder

NewMigrationsItemReposWithRepo_nameItemRequestBuilderInternal instantiates a new WithRepo_nameItemRequestBuilder and sets the default values.

func (*MigrationsItemReposWithRepo_nameItemRequestBuilder) Lock

Lock the lock property

type MigrationsItemRepositoriesRequestBuilder

type MigrationsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

MigrationsItemRepositoriesRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\repositories

func NewMigrationsItemRepositoriesRequestBuilder

NewMigrationsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.

func NewMigrationsItemRepositoriesRequestBuilderInternal

func NewMigrationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemRepositoriesRequestBuilder

NewMigrationsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*MigrationsItemRepositoriesRequestBuilder) Get

Get lists all the repositories for this user migration. API method documentation

func (*MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all the repositories for this user migration.

func (*MigrationsItemRepositoriesRequestBuilder) WithUrl

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

type MigrationsItemRepositoriesRequestBuilderGetQueryParameters

type MigrationsItemRepositoriesRequestBuilderGetQueryParameters 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"`
}

MigrationsItemRepositoriesRequestBuilderGetQueryParameters lists all the repositories for this user migration.

type MigrationsItemRepositoriesRequestBuilderGetRequestConfiguration

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

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

type MigrationsPostRequestBody

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

MigrationsPostRequestBody

func NewMigrationsPostRequestBody

func NewMigrationsPostRequestBody() *MigrationsPostRequestBody

NewMigrationsPostRequestBody instantiates a new MigrationsPostRequestBody and sets the default values.

func (*MigrationsPostRequestBody) GetAdditionalData

func (m *MigrationsPostRequestBody) 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 (*MigrationsPostRequestBody) GetExcludeAttachments

func (m *MigrationsPostRequestBody) GetExcludeAttachments() *bool

GetExcludeAttachments gets the exclude_attachments property value. Do not include attachments in the migration

func (*MigrationsPostRequestBody) GetExcludeGitData

func (m *MigrationsPostRequestBody) GetExcludeGitData() *bool

GetExcludeGitData gets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration.

func (*MigrationsPostRequestBody) GetExcludeMetadata

func (m *MigrationsPostRequestBody) GetExcludeMetadata() *bool

GetExcludeMetadata gets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration.

func (*MigrationsPostRequestBody) GetExcludeOwnerProjects

func (m *MigrationsPostRequestBody) GetExcludeOwnerProjects() *bool

GetExcludeOwnerProjects gets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded.

func (*MigrationsPostRequestBody) GetExcludeReleases

func (m *MigrationsPostRequestBody) GetExcludeReleases() *bool

GetExcludeReleases gets the exclude_releases property value. Do not include releases in the migration

func (*MigrationsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*MigrationsPostRequestBody) GetLockRepositories

func (m *MigrationsPostRequestBody) GetLockRepositories() *bool

GetLockRepositories gets the lock_repositories property value. Lock the repositories being migrated at the start of the migration

func (*MigrationsPostRequestBody) GetOrgMetadataOnly

func (m *MigrationsPostRequestBody) GetOrgMetadataOnly() *bool

GetOrgMetadataOnly gets the org_metadata_only property value. Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).

func (*MigrationsPostRequestBody) GetRepositories

func (m *MigrationsPostRequestBody) GetRepositories() []string

GetRepositories gets the repositories property value. The repositories property

func (*MigrationsPostRequestBody) Serialize

Serialize serializes information the current object

func (*MigrationsPostRequestBody) SetAdditionalData

func (m *MigrationsPostRequestBody) 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 (*MigrationsPostRequestBody) SetExcludeAttachments

func (m *MigrationsPostRequestBody) SetExcludeAttachments(value *bool)

SetExcludeAttachments sets the exclude_attachments property value. Do not include attachments in the migration

func (*MigrationsPostRequestBody) SetExcludeGitData

func (m *MigrationsPostRequestBody) SetExcludeGitData(value *bool)

SetExcludeGitData sets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration.

func (*MigrationsPostRequestBody) SetExcludeMetadata

func (m *MigrationsPostRequestBody) SetExcludeMetadata(value *bool)

SetExcludeMetadata sets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration.

func (*MigrationsPostRequestBody) SetExcludeOwnerProjects

func (m *MigrationsPostRequestBody) SetExcludeOwnerProjects(value *bool)

SetExcludeOwnerProjects sets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded.

func (*MigrationsPostRequestBody) SetExcludeReleases

func (m *MigrationsPostRequestBody) SetExcludeReleases(value *bool)

SetExcludeReleases sets the exclude_releases property value. Do not include releases in the migration

func (*MigrationsPostRequestBody) SetLockRepositories

func (m *MigrationsPostRequestBody) SetLockRepositories(value *bool)

SetLockRepositories sets the lock_repositories property value. Lock the repositories being migrated at the start of the migration

func (*MigrationsPostRequestBody) SetOrgMetadataOnly

func (m *MigrationsPostRequestBody) SetOrgMetadataOnly(value *bool)

SetOrgMetadataOnly sets the org_metadata_only property value. Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).

func (*MigrationsPostRequestBody) SetRepositories

func (m *MigrationsPostRequestBody) SetRepositories(value []string)

SetRepositories sets the repositories property value. The repositories property

type MigrationsPostRequestBodyable

type MigrationsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetExcludeAttachments() *bool
	GetExcludeGitData() *bool
	GetExcludeMetadata() *bool
	GetExcludeOwnerProjects() *bool
	GetExcludeReleases() *bool
	GetLockRepositories() *bool
	GetOrgMetadataOnly() *bool
	GetRepositories() []string
	SetExcludeAttachments(value *bool)
	SetExcludeGitData(value *bool)
	SetExcludeMetadata(value *bool)
	SetExcludeOwnerProjects(value *bool)
	SetExcludeReleases(value *bool)
	SetLockRepositories(value *bool)
	SetOrgMetadataOnly(value *bool)
	SetRepositories(value []string)
}

MigrationsPostRequestBodyable

type MigrationsRequestBuilder

MigrationsRequestBuilder builds and executes requests for operations under \user\migrations

func NewMigrationsRequestBuilder

NewMigrationsRequestBuilder instantiates a new MigrationsRequestBuilder and sets the default values.

func NewMigrationsRequestBuilderInternal

func NewMigrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsRequestBuilder

NewMigrationsRequestBuilderInternal instantiates a new MigrationsRequestBuilder and sets the default values.

func (*MigrationsRequestBuilder) ByMigration_id

ByMigration_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.migrations.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*MigrationsRequestBuilder) ByMigration_idInteger

func (m *MigrationsRequestBuilder) ByMigration_idInteger(migration_id int32) *MigrationsWithMigration_ItemRequestBuilder

ByMigration_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.migrations.item collection

func (*MigrationsRequestBuilder) Get

Get lists all migrations a user has started. API method documentation

func (*MigrationsRequestBuilder) Post

Post initiates the generation of a user migration archive. API method documentation

func (*MigrationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all migrations a user has started.

func (*MigrationsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation initiates the generation of a user migration archive.

func (*MigrationsRequestBuilder) WithUrl

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

type MigrationsRequestBuilderGetQueryParameters

type MigrationsRequestBuilderGetQueryParameters 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"`
}

MigrationsRequestBuilderGetQueryParameters lists all migrations a user has started.

type MigrationsRequestBuilderGetRequestConfiguration

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

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

type MigrationsRequestBuilderPostRequestConfiguration

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

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

type MigrationsWithMigration_ItemRequestBuilder

type MigrationsWithMigration_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

MigrationsWithMigration_ItemRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}

func NewMigrationsWithMigration_ItemRequestBuilder

NewMigrationsWithMigration_ItemRequestBuilder instantiates a new WithMigration_ItemRequestBuilder and sets the default values.

func NewMigrationsWithMigration_ItemRequestBuilderInternal

func NewMigrationsWithMigration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsWithMigration_ItemRequestBuilder

NewMigrationsWithMigration_ItemRequestBuilderInternal instantiates a new WithMigration_ItemRequestBuilder and sets the default values.

func (*MigrationsWithMigration_ItemRequestBuilder) Archive

Archive the archive property

func (*MigrationsWithMigration_ItemRequestBuilder) Get

Get fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:* `pending` - the migration hasn't started yet.* `exporting` - the migration is in progress.* `exported` - the migration finished successfully.* `failed` - the migration failed.Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive). API method documentation

func (*MigrationsWithMigration_ItemRequestBuilder) Repos

Repos the repos property

func (*MigrationsWithMigration_ItemRequestBuilder) Repositories

Repositories the repositories property

func (*MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:* `pending` - the migration hasn't started yet.* `exporting` - the migration is in progress.* `exported` - the migration finished successfully.* `failed` - the migration failed.Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive).

func (*MigrationsWithMigration_ItemRequestBuilder) WithUrl

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

type MigrationsWithMigration_ItemRequestBuilderGetQueryParameters

type MigrationsWithMigration_ItemRequestBuilderGetQueryParameters struct {
	//
	Exclude []string `uriparametername:"exclude"`
}

MigrationsWithMigration_ItemRequestBuilderGetQueryParameters fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:* `pending` - the migration hasn't started yet.* `exporting` - the migration is in progress.* `exported` - the migration finished successfully.* `failed` - the migration failed.Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive).

type MigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration

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

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

type OrgsRequestBuilder

OrgsRequestBuilder builds and executes requests for operations under \user\orgs

func NewOrgsRequestBuilder

NewOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewOrgsRequestBuilderInternal

func NewOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrgsRequestBuilder

NewOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*OrgsRequestBuilder) Get

Get list organizations for the authenticated user.**OAuth scope requirements**This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response. API method documentation

func (*OrgsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list organizations for the authenticated user.**OAuth scope requirements**This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.

func (*OrgsRequestBuilder) WithUrl

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

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

type OrgsRequestBuilderGetQueryParameters

type OrgsRequestBuilderGetQueryParameters 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"`
}

OrgsRequestBuilderGetQueryParameters list organizations for the authenticated user.**OAuth scope requirements**This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.

type OrgsRequestBuilderGetRequestConfiguration

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

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

type PackagesItemItemRestoreRequestBuilder

type PackagesItemItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesItemItemRestoreRequestBuilder builds and executes requests for operations under \user\packages\{package_type}\{package_name}\restore

func NewPackagesItemItemRestoreRequestBuilder

NewPackagesItemItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.

func NewPackagesItemItemRestoreRequestBuilderInternal

func NewPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemRestoreRequestBuilder

NewPackagesItemItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.

func (*PackagesItemItemRestoreRequestBuilder) Post

Post restores a package owned by the authenticated user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores a package owned by the authenticated user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemItemRestoreRequestBuilder) WithUrl

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

type PackagesItemItemRestoreRequestBuilderPostQueryParameters

type PackagesItemItemRestoreRequestBuilderPostQueryParameters struct {
	// package token
	Token *string `uriparametername:"token"`
}

PackagesItemItemRestoreRequestBuilderPostQueryParameters restores a package owned by the authenticated user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type PackagesItemItemRestoreRequestBuilderPostRequestConfiguration

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

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

type PackagesItemItemVersionsItemRestoreRequestBuilder

type PackagesItemItemVersionsItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \user\packages\{package_type}\{package_name}\versions\{package_version_id}\restore

func NewPackagesItemItemVersionsItemRestoreRequestBuilder

NewPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.

func NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal

func NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsItemRestoreRequestBuilder

NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.

func (*PackagesItemItemVersionsItemRestoreRequestBuilder) Post

Post restores a package version owned by the authenticated user.You can restore a deleted package version under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores a package version owned by the authenticated user.You can restore a deleted package version under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl

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

type PackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration

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

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

type PackagesItemItemVersionsRequestBuilder

type PackagesItemItemVersionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesItemItemVersionsRequestBuilder builds and executes requests for operations under \user\packages\{package_type}\{package_name}\versions

func NewPackagesItemItemVersionsRequestBuilder

NewPackagesItemItemVersionsRequestBuilder instantiates a new VersionsRequestBuilder and sets the default values.

func NewPackagesItemItemVersionsRequestBuilderInternal

func NewPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsRequestBuilder

NewPackagesItemItemVersionsRequestBuilderInternal instantiates a new VersionsRequestBuilder and sets the default values.

func (*PackagesItemItemVersionsRequestBuilder) ByPackage_version_id

ByPackage_version_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.packages.item.item.versions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*PackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger

ByPackage_version_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.packages.item.item.versions.item collection

func (*PackagesItemItemVersionsRequestBuilder) Get

Get lists package versions for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemItemVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists package versions for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemItemVersionsRequestBuilder) WithUrl

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

type PackagesItemItemVersionsRequestBuilderGetQueryParameters

type PackagesItemItemVersionsRequestBuilderGetQueryParameters 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"`
	// The state of the package, either active or deleted.
	// Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead
	State *string `uriparametername:"state"`
	// The state of the package, either active or deleted.
	StateAsGetStateQueryParameterType *i74b3087dddecf30253e135889419530355ad6be6bee6d9ec44ce931f8f78bc3f.GetStateQueryParameterType `uriparametername:"state"`
}

PackagesItemItemVersionsRequestBuilderGetQueryParameters lists package versions for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type PackagesItemItemVersionsRequestBuilderGetRequestConfiguration

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

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

type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \user\packages\{package_type}\{package_name}\versions\{package_version_id}

func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.

func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal

func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete

Delete deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get

Get gets a specific package version for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package version for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl

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

type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration

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

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

type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration

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

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

type PackagesItemWithPackage_nameItemRequestBuilder

type PackagesItemWithPackage_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesItemWithPackage_nameItemRequestBuilder builds and executes requests for operations under \user\packages\{package_type}\{package_name}

func NewPackagesItemWithPackage_nameItemRequestBuilder

NewPackagesItemWithPackage_nameItemRequestBuilder instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.

func NewPackagesItemWithPackage_nameItemRequestBuilderInternal

func NewPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemWithPackage_nameItemRequestBuilder

NewPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.

func (*PackagesItemWithPackage_nameItemRequestBuilder) Delete

Delete deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemWithPackage_nameItemRequestBuilder) Get

Get gets a specific package for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property

func (*PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package for a package owned by the authenticated user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property

func (*PackagesItemWithPackage_nameItemRequestBuilder) WithUrl

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

type PackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration

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

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

type PackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration

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

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

type PackagesRequestBuilder

PackagesRequestBuilder builds and executes requests for operations under \user\packages

func NewPackagesRequestBuilder

NewPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.

func NewPackagesRequestBuilderInternal

func NewPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesRequestBuilder

NewPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.

func (*PackagesRequestBuilder) ByPackage_type

ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github/.user.packages.item collection

func (*PackagesRequestBuilder) Get

Get lists packages owned by the authenticated user within the user's namespace.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*PackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists packages owned by the authenticated user within the user's namespace.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*PackagesRequestBuilder) WithUrl

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

type PackagesRequestBuilderGetQueryParameters

type PackagesRequestBuilderGetQueryParameters struct {
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	// Deprecated: This property is deprecated, use package_typeAsGetPackage_typeQueryParameterType instead
	Package_type *string `uriparametername:"package_type"`
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	Package_typeAsGetPackage_typeQueryParameterType *ia90ad7174ccc536446ffbf323e44f93ad4e7b5bc6ecfa01a7999e03949929e86.GetPackage_typeQueryParameterType `uriparametername:"package_type"`
	// 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"`
	// The selected visibility of the packages.  This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	// Deprecated: This property is deprecated, use visibilityAsGetVisibilityQueryParameterType instead
	Visibility *string `uriparametername:"visibility"`
	// The selected visibility of the packages.  This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	VisibilityAsGetVisibilityQueryParameterType *ia90ad7174ccc536446ffbf323e44f93ad4e7b5bc6ecfa01a7999e03949929e86.GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

PackagesRequestBuilderGetQueryParameters lists packages owned by the authenticated user within the user's namespace.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type PackagesRequestBuilderGetRequestConfiguration

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

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

type PackagesWithPackage_typeItemRequestBuilder

type PackagesWithPackage_typeItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

PackagesWithPackage_typeItemRequestBuilder builds and executes requests for operations under \user\packages\{package_type}

func NewPackagesWithPackage_typeItemRequestBuilder

NewPackagesWithPackage_typeItemRequestBuilder instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.

func NewPackagesWithPackage_typeItemRequestBuilderInternal

func NewPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesWithPackage_typeItemRequestBuilder

NewPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.

func (*PackagesWithPackage_typeItemRequestBuilder) ByPackage_name

ByPackage_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.packages.item.item collection

type ProjectsPostRequestBody

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

ProjectsPostRequestBody

func NewProjectsPostRequestBody

func NewProjectsPostRequestBody() *ProjectsPostRequestBody

NewProjectsPostRequestBody instantiates a new ProjectsPostRequestBody and sets the default values.

func (*ProjectsPostRequestBody) GetAdditionalData

func (m *ProjectsPostRequestBody) 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 (*ProjectsPostRequestBody) GetBody

func (m *ProjectsPostRequestBody) GetBody() *string

GetBody gets the body property value. Body of the project

func (*ProjectsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ProjectsPostRequestBody) GetName

func (m *ProjectsPostRequestBody) GetName() *string

GetName gets the name property value. Name of the project

func (*ProjectsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ProjectsPostRequestBody) SetAdditionalData

func (m *ProjectsPostRequestBody) 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 (*ProjectsPostRequestBody) SetBody

func (m *ProjectsPostRequestBody) SetBody(value *string)

SetBody sets the body property value. Body of the project

func (*ProjectsPostRequestBody) SetName

func (m *ProjectsPostRequestBody) SetName(value *string)

SetName sets the name property value. Name of the project

type ProjectsPostRequestBodyable

ProjectsPostRequestBodyable

type ProjectsRequestBuilder

ProjectsRequestBuilder builds and executes requests for operations under \user\projects

func NewProjectsRequestBuilder

NewProjectsRequestBuilder instantiates a new ProjectsRequestBuilder and sets the default values.

func NewProjectsRequestBuilderInternal

func NewProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ProjectsRequestBuilder

NewProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.

func (*ProjectsRequestBuilder) Post

Post creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. API method documentation

func (*ProjectsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.

func (*ProjectsRequestBuilder) WithUrl

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

type ProjectsRequestBuilderPostRequestConfiguration

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

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

type Public_emailsRequestBuilder

Public_emailsRequestBuilder builds and executes requests for operations under \user\public_emails

func NewPublic_emailsRequestBuilder

NewPublic_emailsRequestBuilder instantiates a new Public_emailsRequestBuilder and sets the default values.

func NewPublic_emailsRequestBuilderInternal

func NewPublic_emailsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Public_emailsRequestBuilder

NewPublic_emailsRequestBuilderInternal instantiates a new Public_emailsRequestBuilder and sets the default values.

func (*Public_emailsRequestBuilder) Get

Get lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope. API method documentation

func (*Public_emailsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.

func (*Public_emailsRequestBuilder) WithUrl

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

type Public_emailsRequestBuilderGetQueryParameters

type Public_emailsRequestBuilderGetQueryParameters 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"`
}

Public_emailsRequestBuilderGetQueryParameters lists your publicly visible email address, which you can set with the [Set primary email visibility for the authenticated user](https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user) endpoint. This endpoint is accessible with the `user:email` scope.

type Public_emailsRequestBuilderGetRequestConfiguration

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

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

type ReposPostRequestBody

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

ReposPostRequestBody

func NewReposPostRequestBody

func NewReposPostRequestBody() *ReposPostRequestBody

NewReposPostRequestBody instantiates a new ReposPostRequestBody and sets the default values.

func (*ReposPostRequestBody) GetAdditionalData

func (m *ReposPostRequestBody) 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 (*ReposPostRequestBody) GetAllowAutoMerge

func (m *ReposPostRequestBody) GetAllowAutoMerge() *bool

GetAllowAutoMerge gets the allow_auto_merge property value. Whether to allow Auto-merge to be used on pull requests.

func (*ReposPostRequestBody) GetAllowMergeCommit

func (m *ReposPostRequestBody) GetAllowMergeCommit() *bool

GetAllowMergeCommit gets the allow_merge_commit property value. Whether to allow merge commits for pull requests.

func (*ReposPostRequestBody) GetAllowRebaseMerge

func (m *ReposPostRequestBody) GetAllowRebaseMerge() *bool

GetAllowRebaseMerge gets the allow_rebase_merge property value. Whether to allow rebase merges for pull requests.

func (*ReposPostRequestBody) GetAllowSquashMerge

func (m *ReposPostRequestBody) GetAllowSquashMerge() *bool

GetAllowSquashMerge gets the allow_squash_merge property value. Whether to allow squash merges for pull requests.

func (*ReposPostRequestBody) GetAutoInit

func (m *ReposPostRequestBody) GetAutoInit() *bool

GetAutoInit gets the auto_init property value. Whether the repository is initialized with a minimal README.

func (*ReposPostRequestBody) GetDeleteBranchOnMerge

func (m *ReposPostRequestBody) GetDeleteBranchOnMerge() *bool

GetDeleteBranchOnMerge gets the delete_branch_on_merge property value. Whether to delete head branches when pull requests are merged

func (*ReposPostRequestBody) GetDescription

func (m *ReposPostRequestBody) GetDescription() *string

GetDescription gets the description property value. A short description of the repository.

func (*ReposPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ReposPostRequestBody) GetGitignoreTemplate

func (m *ReposPostRequestBody) GetGitignoreTemplate() *string

GetGitignoreTemplate gets the gitignore_template property value. The desired language or platform to apply to the .gitignore.

func (*ReposPostRequestBody) GetHasDiscussions

func (m *ReposPostRequestBody) GetHasDiscussions() *bool

GetHasDiscussions gets the has_discussions property value. Whether discussions are enabled.

func (*ReposPostRequestBody) GetHasDownloads

func (m *ReposPostRequestBody) GetHasDownloads() *bool

GetHasDownloads gets the has_downloads property value. Whether downloads are enabled.

func (*ReposPostRequestBody) GetHasIssues

func (m *ReposPostRequestBody) GetHasIssues() *bool

GetHasIssues gets the has_issues property value. Whether issues are enabled.

func (*ReposPostRequestBody) GetHasProjects

func (m *ReposPostRequestBody) GetHasProjects() *bool

GetHasProjects gets the has_projects property value. Whether projects are enabled.

func (*ReposPostRequestBody) GetHasWiki

func (m *ReposPostRequestBody) GetHasWiki() *bool

GetHasWiki gets the has_wiki property value. Whether the wiki is enabled.

func (*ReposPostRequestBody) GetHomepage

func (m *ReposPostRequestBody) GetHomepage() *string

GetHomepage gets the homepage property value. A URL with more information about the repository.

func (*ReposPostRequestBody) GetIsTemplate

func (m *ReposPostRequestBody) GetIsTemplate() *bool

GetIsTemplate gets the is_template property value. Whether this repository acts as a template that can be used to generate new repositories.

func (*ReposPostRequestBody) GetLicenseTemplate

func (m *ReposPostRequestBody) GetLicenseTemplate() *string

GetLicenseTemplate gets the license_template property value. The license keyword of the open source license for this repository.

func (*ReposPostRequestBody) GetName

func (m *ReposPostRequestBody) GetName() *string

GetName gets the name property value. The name of the repository.

func (*ReposPostRequestBody) GetPrivate

func (m *ReposPostRequestBody) GetPrivate() *bool

GetPrivate gets the private property value. Whether the repository is private.

func (*ReposPostRequestBody) GetTeamId

func (m *ReposPostRequestBody) GetTeamId() *int32

GetTeamId gets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.

func (*ReposPostRequestBody) Serialize

Serialize serializes information the current object

func (*ReposPostRequestBody) SetAdditionalData

func (m *ReposPostRequestBody) 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 (*ReposPostRequestBody) SetAllowAutoMerge

func (m *ReposPostRequestBody) SetAllowAutoMerge(value *bool)

SetAllowAutoMerge sets the allow_auto_merge property value. Whether to allow Auto-merge to be used on pull requests.

func (*ReposPostRequestBody) SetAllowMergeCommit

func (m *ReposPostRequestBody) SetAllowMergeCommit(value *bool)

SetAllowMergeCommit sets the allow_merge_commit property value. Whether to allow merge commits for pull requests.

func (*ReposPostRequestBody) SetAllowRebaseMerge

func (m *ReposPostRequestBody) SetAllowRebaseMerge(value *bool)

SetAllowRebaseMerge sets the allow_rebase_merge property value. Whether to allow rebase merges for pull requests.

func (*ReposPostRequestBody) SetAllowSquashMerge

func (m *ReposPostRequestBody) SetAllowSquashMerge(value *bool)

SetAllowSquashMerge sets the allow_squash_merge property value. Whether to allow squash merges for pull requests.

func (*ReposPostRequestBody) SetAutoInit

func (m *ReposPostRequestBody) SetAutoInit(value *bool)

SetAutoInit sets the auto_init property value. Whether the repository is initialized with a minimal README.

func (*ReposPostRequestBody) SetDeleteBranchOnMerge

func (m *ReposPostRequestBody) SetDeleteBranchOnMerge(value *bool)

SetDeleteBranchOnMerge sets the delete_branch_on_merge property value. Whether to delete head branches when pull requests are merged

func (*ReposPostRequestBody) SetDescription

func (m *ReposPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. A short description of the repository.

func (*ReposPostRequestBody) SetGitignoreTemplate

func (m *ReposPostRequestBody) SetGitignoreTemplate(value *string)

SetGitignoreTemplate sets the gitignore_template property value. The desired language or platform to apply to the .gitignore.

func (*ReposPostRequestBody) SetHasDiscussions

func (m *ReposPostRequestBody) SetHasDiscussions(value *bool)

SetHasDiscussions sets the has_discussions property value. Whether discussions are enabled.

func (*ReposPostRequestBody) SetHasDownloads

func (m *ReposPostRequestBody) SetHasDownloads(value *bool)

SetHasDownloads sets the has_downloads property value. Whether downloads are enabled.

func (*ReposPostRequestBody) SetHasIssues

func (m *ReposPostRequestBody) SetHasIssues(value *bool)

SetHasIssues sets the has_issues property value. Whether issues are enabled.

func (*ReposPostRequestBody) SetHasProjects

func (m *ReposPostRequestBody) SetHasProjects(value *bool)

SetHasProjects sets the has_projects property value. Whether projects are enabled.

func (*ReposPostRequestBody) SetHasWiki

func (m *ReposPostRequestBody) SetHasWiki(value *bool)

SetHasWiki sets the has_wiki property value. Whether the wiki is enabled.

func (*ReposPostRequestBody) SetHomepage

func (m *ReposPostRequestBody) SetHomepage(value *string)

SetHomepage sets the homepage property value. A URL with more information about the repository.

func (*ReposPostRequestBody) SetIsTemplate

func (m *ReposPostRequestBody) SetIsTemplate(value *bool)

SetIsTemplate sets the is_template property value. Whether this repository acts as a template that can be used to generate new repositories.

func (*ReposPostRequestBody) SetLicenseTemplate

func (m *ReposPostRequestBody) SetLicenseTemplate(value *string)

SetLicenseTemplate sets the license_template property value. The license keyword of the open source license for this repository.

func (*ReposPostRequestBody) SetName

func (m *ReposPostRequestBody) SetName(value *string)

SetName sets the name property value. The name of the repository.

func (*ReposPostRequestBody) SetPrivate

func (m *ReposPostRequestBody) SetPrivate(value *bool)

SetPrivate sets the private property value. Whether the repository is private.

func (*ReposPostRequestBody) SetTeamId

func (m *ReposPostRequestBody) SetTeamId(value *int32)

SetTeamId sets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.

type ReposPostRequestBodyable

type ReposPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowAutoMerge() *bool
	GetAllowMergeCommit() *bool
	GetAllowRebaseMerge() *bool
	GetAllowSquashMerge() *bool
	GetAutoInit() *bool
	GetDeleteBranchOnMerge() *bool
	GetDescription() *string
	GetGitignoreTemplate() *string
	GetHasDiscussions() *bool
	GetHasDownloads() *bool
	GetHasIssues() *bool
	GetHasProjects() *bool
	GetHasWiki() *bool
	GetHomepage() *string
	GetIsTemplate() *bool
	GetLicenseTemplate() *string
	GetName() *string
	GetPrivate() *bool
	GetTeamId() *int32
	SetAllowAutoMerge(value *bool)
	SetAllowMergeCommit(value *bool)
	SetAllowRebaseMerge(value *bool)
	SetAllowSquashMerge(value *bool)
	SetAutoInit(value *bool)
	SetDeleteBranchOnMerge(value *bool)
	SetDescription(value *string)
	SetGitignoreTemplate(value *string)
	SetHasDiscussions(value *bool)
	SetHasDownloads(value *bool)
	SetHasIssues(value *bool)
	SetHasProjects(value *bool)
	SetHasWiki(value *bool)
	SetHomepage(value *string)
	SetIsTemplate(value *bool)
	SetLicenseTemplate(value *string)
	SetName(value *string)
	SetPrivate(value *bool)
	SetTeamId(value *int32)
}

ReposPostRequestBodyable

type ReposRequestBuilder

ReposRequestBuilder builds and executes requests for operations under \user\repos

func NewReposRequestBuilder

NewReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewReposRequestBuilderInternal

func NewReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ReposRequestBuilder

NewReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.

func (*ReposRequestBuilder) Get

Get lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. API method documentation

func (*ReposRequestBuilder) Post

Post creates a new repository for the authenticated user.**OAuth scope requirements**When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:* `public_repo` scope or `repo` scope to create a public repository* `repo` scope to create a private repository API method documentation

func (*ReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.

func (*ReposRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new repository for the authenticated user.**OAuth scope requirements**When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:* `public_repo` scope or `repo` scope to create a public repository* `repo` scope to create a private repository

func (*ReposRequestBuilder) WithUrl

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

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

type ReposRequestBuilderGetQueryParameters

type ReposRequestBuilderGetQueryParameters struct {
	// Comma-separated list of values. Can include:   * `owner`: Repositories that are owned by the authenticated user.   * `collaborator`: Repositories that the user has been added to as a collaborator.   * `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
	Affiliation *string `uriparametername:"affiliation"`
	// Only show repositories updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Before *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"before"`
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	// Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead
	Direction *string `uriparametername:"direction"`
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	DirectionAsGetDirectionQueryParameterType *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetDirectionQueryParameterType `uriparametername:"direction"`
	// 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"`
	// Only show repositories updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"`
	// The property to sort the results by.
	// Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead
	Sort *string `uriparametername:"sort"`
	// The property to sort the results by.
	SortAsGetSortQueryParameterType *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetSortQueryParameterType `uriparametername:"sort"`
	// Limit results to repositories of the specified type. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.
	// Deprecated: This property is deprecated, use typeAsGetTypeQueryParameterType instead
	Type *string `uriparametername:"type"`
	// Limit results to repositories of the specified type. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.
	TypeAsGetTypeQueryParameterType *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetTypeQueryParameterType `uriparametername:"type"`
	// Limit results to repositories with the specified visibility.
	// Deprecated: This property is deprecated, use visibilityAsGetVisibilityQueryParameterType instead
	Visibility *string `uriparametername:"visibility"`
	// Limit results to repositories with the specified visibility.
	VisibilityAsGetVisibilityQueryParameterType *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

ReposRequestBuilderGetQueryParameters lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.

type ReposRequestBuilderGetRequestConfiguration

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

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

type ReposRequestBuilderPostRequestConfiguration

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

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

type Repository_invitationsRequestBuilder

type Repository_invitationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Repository_invitationsRequestBuilder builds and executes requests for operations under \user\repository_invitations

func NewRepository_invitationsRequestBuilder

NewRepository_invitationsRequestBuilder instantiates a new Repository_invitationsRequestBuilder and sets the default values.

func NewRepository_invitationsRequestBuilderInternal

func NewRepository_invitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Repository_invitationsRequestBuilder

NewRepository_invitationsRequestBuilderInternal instantiates a new Repository_invitationsRequestBuilder and sets the default values.

func (*Repository_invitationsRequestBuilder) ByInvitation_id

ByInvitation_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.repository_invitations.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*Repository_invitationsRequestBuilder) ByInvitation_idInteger

ByInvitation_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.repository_invitations.item collection

func (*Repository_invitationsRequestBuilder) Get

Get when authenticating as a user, this endpoint will list all currently open repository invitations for that user. API method documentation

func (*Repository_invitationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation when authenticating as a user, this endpoint will list all currently open repository invitations for that user.

func (*Repository_invitationsRequestBuilder) WithUrl

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

type Repository_invitationsRequestBuilderGetQueryParameters

type Repository_invitationsRequestBuilderGetQueryParameters 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"`
}

Repository_invitationsRequestBuilderGetQueryParameters when authenticating as a user, this endpoint will list all currently open repository invitations for that user.

type Repository_invitationsRequestBuilderGetRequestConfiguration

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

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

type Repository_invitationsWithInvitation_ItemRequestBuilder

type Repository_invitationsWithInvitation_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Repository_invitationsWithInvitation_ItemRequestBuilder builds and executes requests for operations under \user\repository_invitations\{invitation_id}

func NewRepository_invitationsWithInvitation_ItemRequestBuilder

func NewRepository_invitationsWithInvitation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Repository_invitationsWithInvitation_ItemRequestBuilder

NewRepository_invitationsWithInvitation_ItemRequestBuilder instantiates a new WithInvitation_ItemRequestBuilder and sets the default values.

func NewRepository_invitationsWithInvitation_ItemRequestBuilderInternal

func NewRepository_invitationsWithInvitation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Repository_invitationsWithInvitation_ItemRequestBuilder

NewRepository_invitationsWithInvitation_ItemRequestBuilderInternal instantiates a new WithInvitation_ItemRequestBuilder and sets the default values.

func (*Repository_invitationsWithInvitation_ItemRequestBuilder) Delete

Delete decline a repository invitation API method documentation

func (*Repository_invitationsWithInvitation_ItemRequestBuilder) Patch

Patch accept a repository invitation API method documentation

func (*Repository_invitationsWithInvitation_ItemRequestBuilder) WithUrl

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

type Repository_invitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration

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

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

type Repository_invitationsWithInvitation_ItemRequestBuilderPatchRequestConfiguration

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

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

type Social_accountsDeleteRequestBody

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

Social_accountsDeleteRequestBody

func NewSocial_accountsDeleteRequestBody

func NewSocial_accountsDeleteRequestBody() *Social_accountsDeleteRequestBody

NewSocial_accountsDeleteRequestBody instantiates a new Social_accountsDeleteRequestBody and sets the default values.

func (*Social_accountsDeleteRequestBody) GetAccountUrls

func (m *Social_accountsDeleteRequestBody) GetAccountUrls() []string

GetAccountUrls gets the account_urls property value. Full URLs for the social media profiles to delete.

func (*Social_accountsDeleteRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*Social_accountsDeleteRequestBody) Serialize

Serialize serializes information the current object

func (*Social_accountsDeleteRequestBody) SetAccountUrls

func (m *Social_accountsDeleteRequestBody) SetAccountUrls(value []string)

SetAccountUrls sets the account_urls property value. Full URLs for the social media profiles to delete.

func (*Social_accountsDeleteRequestBody) SetAdditionalData

func (m *Social_accountsDeleteRequestBody) 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.

type Social_accountsDeleteRequestBodyable

Social_accountsDeleteRequestBodyable

type Social_accountsPostRequestBody

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

Social_accountsPostRequestBody

func NewSocial_accountsPostRequestBody

func NewSocial_accountsPostRequestBody() *Social_accountsPostRequestBody

NewSocial_accountsPostRequestBody instantiates a new Social_accountsPostRequestBody and sets the default values.

func (*Social_accountsPostRequestBody) GetAccountUrls

func (m *Social_accountsPostRequestBody) GetAccountUrls() []string

GetAccountUrls gets the account_urls property value. Full URLs for the social media profiles to add.

func (*Social_accountsPostRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*Social_accountsPostRequestBody) Serialize

Serialize serializes information the current object

func (*Social_accountsPostRequestBody) SetAccountUrls

func (m *Social_accountsPostRequestBody) SetAccountUrls(value []string)

SetAccountUrls sets the account_urls property value. Full URLs for the social media profiles to add.

func (*Social_accountsPostRequestBody) SetAdditionalData

func (m *Social_accountsPostRequestBody) 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.

type Social_accountsPostRequestBodyable

Social_accountsPostRequestBodyable

type Social_accountsRequestBuilder

Social_accountsRequestBuilder builds and executes requests for operations under \user\social_accounts

func NewSocial_accountsRequestBuilder

NewSocial_accountsRequestBuilder instantiates a new Social_accountsRequestBuilder and sets the default values.

func NewSocial_accountsRequestBuilderInternal

func NewSocial_accountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Social_accountsRequestBuilder

NewSocial_accountsRequestBuilderInternal instantiates a new Social_accountsRequestBuilder and sets the default values.

func (*Social_accountsRequestBuilder) Delete

Delete deletes one or more social accounts from the authenticated user's profile. This endpoint is accessible with the `user` scope. API method documentation

func (*Social_accountsRequestBuilder) Post

Post add one or more social accounts to the authenticated user's profile. This endpoint is accessible with the `user` scope. API method documentation

func (*Social_accountsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes one or more social accounts from the authenticated user's profile. This endpoint is accessible with the `user` scope.

func (*Social_accountsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all of your social accounts.

func (*Social_accountsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation add one or more social accounts to the authenticated user's profile. This endpoint is accessible with the `user` scope.

func (*Social_accountsRequestBuilder) WithUrl

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

type Social_accountsRequestBuilderDeleteRequestConfiguration

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

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

type Social_accountsRequestBuilderGetQueryParameters

type Social_accountsRequestBuilderGetQueryParameters 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"`
}

Social_accountsRequestBuilderGetQueryParameters lists all of your social accounts.

type Social_accountsRequestBuilderGetRequestConfiguration

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

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

type Social_accountsRequestBuilderPostRequestConfiguration

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

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

type Ssh_signing_keysPostRequestBody

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

Ssh_signing_keysPostRequestBody

func NewSsh_signing_keysPostRequestBody

func NewSsh_signing_keysPostRequestBody() *Ssh_signing_keysPostRequestBody

NewSsh_signing_keysPostRequestBody instantiates a new Ssh_signing_keysPostRequestBody and sets the default values.

func (*Ssh_signing_keysPostRequestBody) GetAdditionalData

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

GetFieldDeserializers the deserialization information for the current model

func (*Ssh_signing_keysPostRequestBody) GetKey

GetKey gets the key property value. The public SSH key to add to your GitHub account. For more information, see "[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys)."

func (*Ssh_signing_keysPostRequestBody) GetTitle

func (m *Ssh_signing_keysPostRequestBody) GetTitle() *string

GetTitle gets the title property value. A descriptive name for the new key.

func (*Ssh_signing_keysPostRequestBody) Serialize

Serialize serializes information the current object

func (*Ssh_signing_keysPostRequestBody) SetAdditionalData

func (m *Ssh_signing_keysPostRequestBody) 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 (*Ssh_signing_keysPostRequestBody) SetKey

func (m *Ssh_signing_keysPostRequestBody) SetKey(value *string)

SetKey sets the key property value. The public SSH key to add to your GitHub account. For more information, see "[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys)."

func (*Ssh_signing_keysPostRequestBody) SetTitle

func (m *Ssh_signing_keysPostRequestBody) SetTitle(value *string)

SetTitle sets the title property value. A descriptive name for the new key.

type Ssh_signing_keysPostRequestBodyable

Ssh_signing_keysPostRequestBodyable

type Ssh_signing_keysRequestBuilder

Ssh_signing_keysRequestBuilder builds and executes requests for operations under \user\ssh_signing_keys

func NewSsh_signing_keysRequestBuilder

NewSsh_signing_keysRequestBuilder instantiates a new Ssh_signing_keysRequestBuilder and sets the default values.

func NewSsh_signing_keysRequestBuilderInternal

func NewSsh_signing_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Ssh_signing_keysRequestBuilder

NewSsh_signing_keysRequestBuilderInternal instantiates a new Ssh_signing_keysRequestBuilder and sets the default values.

func (*Ssh_signing_keysRequestBuilder) BySsh_signing_key_id

BySsh_signing_key_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.ssh_signing_keys.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*Ssh_signing_keysRequestBuilder) BySsh_signing_key_idInteger

func (m *Ssh_signing_keysRequestBuilder) BySsh_signing_key_idInteger(ssh_signing_key_id int32) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder

BySsh_signing_key_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.ssh_signing_keys.item collection

func (*Ssh_signing_keysRequestBuilder) Get

Get lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." API method documentation

func (*Ssh_signing_keysRequestBuilder) Post

Post creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." API method documentation

func (*Ssh_signing_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)."

func (*Ssh_signing_keysRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates an SSH signing key for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `write:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)."

func (*Ssh_signing_keysRequestBuilder) WithUrl

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

type Ssh_signing_keysRequestBuilderGetQueryParameters

type Ssh_signing_keysRequestBuilderGetQueryParameters 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"`
}

Ssh_signing_keysRequestBuilderGetQueryParameters lists the SSH signing keys for the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)."

type Ssh_signing_keysRequestBuilderGetRequestConfiguration

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

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

type Ssh_signing_keysRequestBuilderPostRequestConfiguration

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

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

type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder

type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder builds and executes requests for operations under \user\ssh_signing_keys\{ssh_signing_key_id}

func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilder

func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder

NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilder instantiates a new WithSsh_signing_key_ItemRequestBuilder and sets the default values.

func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilderInternal

func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder

NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilderInternal instantiates a new WithSsh_signing_key_ItemRequestBuilder and sets the default values.

func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Delete

Delete deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." API method documentation

func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Get

Get gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)." API method documentation

func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an SSH signing key from the authenticated user's GitHub account. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `admin:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)."

func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets extended details for an SSH signing key. You must authenticate with Basic Authentication, or you must authenticate with OAuth with at least `read:ssh_signing_key` scope. For more information, see "[Understanding scopes for OAuth apps](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/)."

func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) WithUrl

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

type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderDeleteRequestConfiguration

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

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

type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderGetRequestConfiguration

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

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

type StarredItemWithRepoItemRequestBuilder

type StarredItemWithRepoItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

StarredItemWithRepoItemRequestBuilder builds and executes requests for operations under \user\starred\{owner}\{repo}

func NewStarredItemWithRepoItemRequestBuilder

NewStarredItemWithRepoItemRequestBuilder instantiates a new WithRepoItemRequestBuilder and sets the default values.

func NewStarredItemWithRepoItemRequestBuilderInternal

func NewStarredItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredItemWithRepoItemRequestBuilder

NewStarredItemWithRepoItemRequestBuilderInternal instantiates a new WithRepoItemRequestBuilder and sets the default values.

func (*StarredItemWithRepoItemRequestBuilder) Delete

Delete unstar a repository that the authenticated user has previously starred. API method documentation

func (*StarredItemWithRepoItemRequestBuilder) Get

Get whether the authenticated user has starred the repository. API method documentation

func (*StarredItemWithRepoItemRequestBuilder) Put

Put note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." API method documentation

func (*StarredItemWithRepoItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unstar a repository that the authenticated user has previously starred.

func (*StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation whether the authenticated user has starred the repository.

func (*StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."

func (*StarredItemWithRepoItemRequestBuilder) WithUrl

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

type StarredItemWithRepoItemRequestBuilderDeleteRequestConfiguration

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

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

type StarredItemWithRepoItemRequestBuilderGetRequestConfiguration

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

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

type StarredItemWithRepoItemRequestBuilderPutRequestConfiguration

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

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

type StarredRequestBuilder

StarredRequestBuilder builds and executes requests for operations under \user\starred

func NewStarredRequestBuilder

NewStarredRequestBuilder instantiates a new StarredRequestBuilder and sets the default values.

func NewStarredRequestBuilderInternal

func NewStarredRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredRequestBuilder

NewStarredRequestBuilderInternal instantiates a new StarredRequestBuilder and sets the default values.

func (*StarredRequestBuilder) ByOwner

ByOwner gets an item from the github.com/octokit/go-sdk/pkg/github/.user.starred.item collection

func (*StarredRequestBuilder) Get

Get lists repositories the authenticated user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`. API method documentation

func (*StarredRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories the authenticated user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.

func (*StarredRequestBuilder) WithUrl

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

type StarredRequestBuilderGetQueryParameters

type StarredRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	// Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead
	Direction *string `uriparametername:"direction"`
	// The direction to sort the results by.
	DirectionAsGetDirectionQueryParameterType *ib70b7407366e940878b2bf2a2ba5d70a3ff5c77a8b73175161353f0ca9989d8b.GetDirectionQueryParameterType `uriparametername:"direction"`
	// 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"`
	// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
	// Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead
	Sort *string `uriparametername:"sort"`
	// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
	SortAsGetSortQueryParameterType *ib70b7407366e940878b2bf2a2ba5d70a3ff5c77a8b73175161353f0ca9989d8b.GetSortQueryParameterType `uriparametername:"sort"`
}

StarredRequestBuilderGetQueryParameters lists repositories the authenticated user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.

type StarredRequestBuilderGetRequestConfiguration

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

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

type StarredWithOwnerItemRequestBuilder

StarredWithOwnerItemRequestBuilder builds and executes requests for operations under \user\starred\{owner}

func NewStarredWithOwnerItemRequestBuilder

NewStarredWithOwnerItemRequestBuilder instantiates a new WithOwnerItemRequestBuilder and sets the default values.

func NewStarredWithOwnerItemRequestBuilderInternal

func NewStarredWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredWithOwnerItemRequestBuilder

NewStarredWithOwnerItemRequestBuilderInternal instantiates a new WithOwnerItemRequestBuilder and sets the default values.

func (*StarredWithOwnerItemRequestBuilder) ByRepo

ByRepo gets an item from the github.com/octokit/go-sdk/pkg/github/.user.starred.item.item collection

type SubscriptionsRequestBuilder

SubscriptionsRequestBuilder builds and executes requests for operations under \user\subscriptions

func NewSubscriptionsRequestBuilder

NewSubscriptionsRequestBuilder instantiates a new SubscriptionsRequestBuilder and sets the default values.

func NewSubscriptionsRequestBuilderInternal

func NewSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsRequestBuilder

NewSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values.

func (*SubscriptionsRequestBuilder) Get

Get lists repositories the authenticated user is watching. API method documentation

func (*SubscriptionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories the authenticated user is watching.

func (*SubscriptionsRequestBuilder) WithUrl

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

type SubscriptionsRequestBuilderGetQueryParameters

type SubscriptionsRequestBuilderGetQueryParameters 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"`
}

SubscriptionsRequestBuilderGetQueryParameters lists repositories the authenticated user is watching.

type SubscriptionsRequestBuilderGetRequestConfiguration

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

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

type TeamsRequestBuilder

TeamsRequestBuilder builds and executes requests for operations under \user\teams

func NewTeamsRequestBuilder

NewTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.

func NewTeamsRequestBuilderInternal

func NewTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamsRequestBuilder

NewTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.

func (*TeamsRequestBuilder) Get

Get list all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). When using a fine-grained personal access token, the resource owner of the token [must be a single organization](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#fine-grained-personal-access-tokens), and have at least read-only member organization permissions. The response payload only contains the teams from a single organization when using a fine-grained personal access token. API method documentation

func (*TeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). When using a fine-grained personal access token, the resource owner of the token [must be a single organization](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#fine-grained-personal-access-tokens), and have at least read-only member organization permissions. The response payload only contains the teams from a single organization when using a fine-grained personal access token.

func (*TeamsRequestBuilder) WithUrl

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

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

type TeamsRequestBuilderGetQueryParameters

type TeamsRequestBuilderGetQueryParameters 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"`
}

TeamsRequestBuilderGetQueryParameters list all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/). When using a fine-grained personal access token, the resource owner of the token [must be a single organization](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#fine-grained-personal-access-tokens), and have at least read-only member organization permissions. The response payload only contains the teams from a single organization when using a fine-grained personal access token.

type TeamsRequestBuilderGetRequestConfiguration

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

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

type UserGetResponse

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

UserGetResponse composed type wrapper for classes privateUser, publicUser

func NewUserGetResponse

func NewUserGetResponse() *UserGetResponse

NewUserGetResponse instantiates a new userGetResponse and sets the default values.

func (*UserGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*UserGetResponse) GetIsComposedType

func (m *UserGetResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*UserGetResponse) GetPrivateUser

GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser

func (*UserGetResponse) GetPublicUser

GetPublicUser gets the publicUser property value. Composed type representation for type publicUser

func (*UserGetResponse) Serialize

Serialize serializes information the current object

func (*UserGetResponse) SetPrivateUser

SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser

func (*UserGetResponse) SetPublicUser

SetPublicUser sets the publicUser property value. Composed type representation for type publicUser

type UserPatchRequestBody

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

UserPatchRequestBody

func NewUserPatchRequestBody

func NewUserPatchRequestBody() *UserPatchRequestBody

NewUserPatchRequestBody instantiates a new userPatchRequestBody and sets the default values.

func (*UserPatchRequestBody) GetAdditionalData

func (m *UserPatchRequestBody) 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 (*UserPatchRequestBody) GetBio

func (m *UserPatchRequestBody) GetBio() *string

GetBio gets the bio property value. The new short biography of the user.

func (*UserPatchRequestBody) GetBlog

func (m *UserPatchRequestBody) GetBlog() *string

GetBlog gets the blog property value. The new blog URL of the user.

func (*UserPatchRequestBody) GetCompany

func (m *UserPatchRequestBody) GetCompany() *string

GetCompany gets the company property value. The new company of the user.

func (*UserPatchRequestBody) GetEmail

func (m *UserPatchRequestBody) GetEmail() *string

GetEmail gets the email property value. The publicly visible email address of the user.

func (*UserPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*UserPatchRequestBody) GetHireable

func (m *UserPatchRequestBody) GetHireable() *bool

GetHireable gets the hireable property value. The new hiring availability of the user.

func (*UserPatchRequestBody) GetLocation

func (m *UserPatchRequestBody) GetLocation() *string

GetLocation gets the location property value. The new location of the user.

func (*UserPatchRequestBody) GetName

func (m *UserPatchRequestBody) GetName() *string

GetName gets the name property value. The new name of the user.

func (*UserPatchRequestBody) GetTwitterUsername

func (m *UserPatchRequestBody) GetTwitterUsername() *string

GetTwitterUsername gets the twitter_username property value. The new Twitter username of the user.

func (*UserPatchRequestBody) Serialize

Serialize serializes information the current object

func (*UserPatchRequestBody) SetAdditionalData

func (m *UserPatchRequestBody) 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 (*UserPatchRequestBody) SetBio

func (m *UserPatchRequestBody) SetBio(value *string)

SetBio sets the bio property value. The new short biography of the user.

func (*UserPatchRequestBody) SetBlog

func (m *UserPatchRequestBody) SetBlog(value *string)

SetBlog sets the blog property value. The new blog URL of the user.

func (*UserPatchRequestBody) SetCompany

func (m *UserPatchRequestBody) SetCompany(value *string)

SetCompany sets the company property value. The new company of the user.

func (*UserPatchRequestBody) SetEmail

func (m *UserPatchRequestBody) SetEmail(value *string)

SetEmail sets the email property value. The publicly visible email address of the user.

func (*UserPatchRequestBody) SetHireable

func (m *UserPatchRequestBody) SetHireable(value *bool)

SetHireable sets the hireable property value. The new hiring availability of the user.

func (*UserPatchRequestBody) SetLocation

func (m *UserPatchRequestBody) SetLocation(value *string)

SetLocation sets the location property value. The new location of the user.

func (*UserPatchRequestBody) SetName

func (m *UserPatchRequestBody) SetName(value *string)

SetName sets the name property value. The new name of the user.

func (*UserPatchRequestBody) SetTwitterUsername

func (m *UserPatchRequestBody) SetTwitterUsername(value *string)

SetTwitterUsername sets the twitter_username property value. The new Twitter username of the user.

type UserPatchRequestBodyable

type UserPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBio() *string
	GetBlog() *string
	GetCompany() *string
	GetEmail() *string
	GetHireable() *bool
	GetLocation() *string
	GetName() *string
	GetTwitterUsername() *string
	SetBio(value *string)
	SetBlog(value *string)
	SetCompany(value *string)
	SetEmail(value *string)
	SetHireable(value *bool)
	SetLocation(value *string)
	SetName(value *string)
	SetTwitterUsername(value *string)
}

UserPatchRequestBodyable

type UserRequestBuilder

UserRequestBuilder builds and executes requests for operations under \user

func NewUserRequestBuilder

NewUserRequestBuilder instantiates a new UserRequestBuilder and sets the default values.

func NewUserRequestBuilderInternal

func NewUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UserRequestBuilder

NewUserRequestBuilderInternal instantiates a new UserRequestBuilder and sets the default values.

func (*UserRequestBuilder) Blocks

Blocks the blocks property

func (*UserRequestBuilder) Codespaces

Codespaces the codespaces property

func (*UserRequestBuilder) Docker

Docker the docker property

func (*UserRequestBuilder) Email

Email the email property

func (*UserRequestBuilder) Emails

Emails the emails property

func (*UserRequestBuilder) Followers

Followers the followers property

func (*UserRequestBuilder) Following

Following the following property

func (*UserRequestBuilder) Get

Get if the authenticated user is authenticated with an OAuth token with the `user` scope, then the response lists public and private profile information.If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information. Deprecated: This method is obsolete. Use GetAsUserGetResponse instead. API method documentation

func (*UserRequestBuilder) GetAsUserGetResponse

func (m *UserRequestBuilder) GetAsUserGetResponse(ctx context.Context, requestConfiguration *UserRequestBuilderGetRequestConfiguration) (UserGetResponseable, error)

GetAsUserGetResponse if the authenticated user is authenticated with an OAuth token with the `user` scope, then the response lists public and private profile information.If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information. API method documentation

func (*UserRequestBuilder) Gpg_keys

Gpg_keys the gpg_keys property

func (*UserRequestBuilder) Installations

func (m *UserRequestBuilder) Installations() *InstallationsRequestBuilder

Installations the installations property

func (*UserRequestBuilder) InteractionLimits

func (m *UserRequestBuilder) InteractionLimits() *InteractionLimitsRequestBuilder

InteractionLimits the interactionLimits property

func (*UserRequestBuilder) Issues

Issues the issues property

func (*UserRequestBuilder) Keys

Keys the keys property

func (*UserRequestBuilder) Marketplace_purchases

func (m *UserRequestBuilder) Marketplace_purchases() *Marketplace_purchasesRequestBuilder

Marketplace_purchases the marketplace_purchases property

func (*UserRequestBuilder) Memberships

Memberships the memberships property

func (*UserRequestBuilder) Migrations

Migrations the migrations property

func (*UserRequestBuilder) Orgs

Orgs the orgs property

func (*UserRequestBuilder) Packages

Packages the packages property

func (*UserRequestBuilder) Patch

Patch **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. API method documentation

func (*UserRequestBuilder) Projects

Projects the projects property

func (*UserRequestBuilder) Public_emails

func (m *UserRequestBuilder) Public_emails() *Public_emailsRequestBuilder

Public_emails the public_emails property

func (*UserRequestBuilder) Repos

Repos the repos property

func (*UserRequestBuilder) Repository_invitations

func (m *UserRequestBuilder) Repository_invitations() *Repository_invitationsRequestBuilder

Repository_invitations the repository_invitations property

func (*UserRequestBuilder) Social_accounts

func (m *UserRequestBuilder) Social_accounts() *Social_accountsRequestBuilder

Social_accounts the social_accounts property

func (*UserRequestBuilder) Ssh_signing_keys

func (m *UserRequestBuilder) Ssh_signing_keys() *Ssh_signing_keysRequestBuilder

Ssh_signing_keys the ssh_signing_keys property

func (*UserRequestBuilder) Starred

Starred the starred property

func (*UserRequestBuilder) Subscriptions

func (m *UserRequestBuilder) Subscriptions() *SubscriptionsRequestBuilder

Subscriptions the subscriptions property

func (*UserRequestBuilder) Teams

Teams the teams property

func (*UserRequestBuilder) ToGetRequestInformation

ToGetRequestInformation if the authenticated user is authenticated with an OAuth token with the `user` scope, then the response lists public and private profile information.If the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.

func (*UserRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.

func (*UserRequestBuilder) WithUrl

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

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

type UserRequestBuilderGetRequestConfiguration

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

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

type UserRequestBuilderPatchRequestConfiguration

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

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

type UserResponse

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

UserResponse composed type wrapper for classes privateUser, publicUser

func NewUserResponse

func NewUserResponse() *UserResponse

NewUserResponse instantiates a new userResponse and sets the default values.

func (*UserResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*UserResponse) GetIsComposedType

func (m *UserResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*UserResponse) GetPrivateUser

GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser

func (*UserResponse) GetPublicUser

GetPublicUser gets the publicUser property value. Composed type representation for type publicUser

func (*UserResponse) Serialize

Serialize serializes information the current object

func (*UserResponse) SetPrivateUser

SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser

func (*UserResponse) SetPublicUser

SetPublicUser sets the publicUser property value. Composed type representation for type publicUser

Source Files

Directories

Path Synopsis
email
memberships

Jump to

Keyboard shortcuts

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