Documentation
¶
Index ¶
- func CreateCodespacesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemMachinesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemPublishPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemWithCodespace_namePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesPostRequestBodyMember2_pull_requestFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCodespacesSecretsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateEmailVisibilityPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateEmailsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateEmailsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateGpg_keysPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInstallationsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInstallationsItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInstallationsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInteractionLimitsGetResponseMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateKeysPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateMigrationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateProjectsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateReposPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateSocial_accountsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateSocial_accountsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateSsh_signing_keysPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUserGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUserPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUserResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type BlocksRequestBuilder
- func (m *BlocksRequestBuilder) ByUsername(username string) *BlocksWithUsernameItemRequestBuilder
- func (m *BlocksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *BlocksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *BlocksRequestBuilder) WithUrl(rawUrl string) *BlocksRequestBuilder
- type BlocksRequestBuilderGetQueryParameters
- type BlocksRequestBuilderGetRequestConfiguration
- type BlocksWithUsernameItemRequestBuilder
- func (m *BlocksWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *BlocksWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *BlocksWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *BlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *BlocksWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *BlocksWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *BlocksWithUsernameItemRequestBuilder
- type BlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type BlocksWithUsernameItemRequestBuilderGetRequestConfiguration
- type BlocksWithUsernameItemRequestBuilderPutRequestConfiguration
- type CodespacesGetResponse
- func (m *CodespacesGetResponse) GetAdditionalData() map[string]any
- func (m *CodespacesGetResponse) GetCodespaces() ...
- func (m *CodespacesGetResponse) GetFieldDeserializers() ...
- func (m *CodespacesGetResponse) GetTotalCount() *int32
- func (m *CodespacesGetResponse) Serialize(...) error
- func (m *CodespacesGetResponse) SetAdditionalData(value map[string]any)
- func (m *CodespacesGetResponse) SetCodespaces(...)
- func (m *CodespacesGetResponse) SetTotalCount(value *int32)
- type CodespacesGetResponseable
- type CodespacesItemExportsRequestBuilder
- func (m *CodespacesItemExportsRequestBuilder) ByExport_id(export_id string) *CodespacesItemExportsWithExport_ItemRequestBuilder
- func (m *CodespacesItemExportsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *CodespacesItemExportsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesItemExportsRequestBuilder) WithUrl(rawUrl string) *CodespacesItemExportsRequestBuilder
- type CodespacesItemExportsRequestBuilderPostRequestConfiguration
- type CodespacesItemExportsWithExport_ItemRequestBuilder
- func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) WithUrl(rawUrl string) *CodespacesItemExportsWithExport_ItemRequestBuilder
- type CodespacesItemExportsWithExport_ItemRequestBuilderGetRequestConfiguration
- type CodespacesItemMachinesGetResponse
- func (m *CodespacesItemMachinesGetResponse) GetAdditionalData() map[string]any
- func (m *CodespacesItemMachinesGetResponse) GetFieldDeserializers() ...
- func (m *CodespacesItemMachinesGetResponse) GetMachines() ...
- func (m *CodespacesItemMachinesGetResponse) GetTotalCount() *int32
- func (m *CodespacesItemMachinesGetResponse) Serialize(...) error
- func (m *CodespacesItemMachinesGetResponse) SetAdditionalData(value map[string]any)
- func (m *CodespacesItemMachinesGetResponse) SetMachines(...)
- func (m *CodespacesItemMachinesGetResponse) SetTotalCount(value *int32)
- type CodespacesItemMachinesGetResponseable
- type CodespacesItemMachinesRequestBuilder
- func (m *CodespacesItemMachinesRequestBuilder) Get(ctx context.Context, ...) (CodespacesItemMachinesResponseable, error)
- func (m *CodespacesItemMachinesRequestBuilder) GetAsMachinesGetResponse(ctx context.Context, ...) (CodespacesItemMachinesGetResponseable, error)
- func (m *CodespacesItemMachinesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesItemMachinesRequestBuilder) WithUrl(rawUrl string) *CodespacesItemMachinesRequestBuilder
- type CodespacesItemMachinesRequestBuilderGetRequestConfiguration
- type CodespacesItemMachinesResponse
- type CodespacesItemMachinesResponseable
- type CodespacesItemPublishPostRequestBody
- func (m *CodespacesItemPublishPostRequestBody) GetAdditionalData() map[string]any
- func (m *CodespacesItemPublishPostRequestBody) GetFieldDeserializers() ...
- func (m *CodespacesItemPublishPostRequestBody) GetName() *string
- func (m *CodespacesItemPublishPostRequestBody) GetPrivate() *bool
- func (m *CodespacesItemPublishPostRequestBody) Serialize(...) error
- func (m *CodespacesItemPublishPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *CodespacesItemPublishPostRequestBody) SetName(value *string)
- func (m *CodespacesItemPublishPostRequestBody) SetPrivate(value *bool)
- type CodespacesItemPublishPostRequestBodyable
- type CodespacesItemPublishRequestBuilder
- func (m *CodespacesItemPublishRequestBuilder) Post(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, ...) (...)
- func (m *CodespacesItemPublishRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, ...) (...)
- func (m *CodespacesItemPublishRequestBuilder) WithUrl(rawUrl string) *CodespacesItemPublishRequestBuilder
- type CodespacesItemPublishRequestBuilderPostRequestConfiguration
- type CodespacesItemStartRequestBuilder
- type CodespacesItemStartRequestBuilderPostRequestConfiguration
- type CodespacesItemStopRequestBuilder
- type CodespacesItemStopRequestBuilderPostRequestConfiguration
- type CodespacesItemWithCodespace_nameDeleteResponse
- func (m *CodespacesItemWithCodespace_nameDeleteResponse) GetAdditionalData() map[string]any
- func (m *CodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers() ...
- func (m *CodespacesItemWithCodespace_nameDeleteResponse) Serialize(...) error
- func (m *CodespacesItemWithCodespace_nameDeleteResponse) SetAdditionalData(value map[string]any)
- type CodespacesItemWithCodespace_nameDeleteResponseable
- type CodespacesItemWithCodespace_namePatchRequestBody
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetAdditionalData() map[string]any
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetDisplayName() *string
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers() ...
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetMachine() *string
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetRecentFolders() []string
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) Serialize(...) error
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetDisplayName(value *string)
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetMachine(value *string)
- func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetRecentFolders(value []string)
- type CodespacesItemWithCodespace_namePatchRequestBodyable
- type CodespacesItemWithCodespace_nameResponse
- type CodespacesItemWithCodespace_nameResponseable
- type CodespacesPostRequestBody
- func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able
- func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
- func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able
- func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
- func (m *CodespacesPostRequestBody) GetFieldDeserializers() ...
- func (m *CodespacesPostRequestBody) GetIsComposedType() bool
- func (m *CodespacesPostRequestBody) Serialize(...) error
- func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)
- func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
- func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)
- func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
- type CodespacesPostRequestBodyMember1
- func (m *CodespacesPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *CodespacesPostRequestBodyMember1) GetClientIp() *string
- func (m *CodespacesPostRequestBodyMember1) GetDevcontainerPath() *string
- func (m *CodespacesPostRequestBodyMember1) GetDisplayName() *string
- func (m *CodespacesPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *CodespacesPostRequestBodyMember1) GetIdleTimeoutMinutes() *int32
- func (m *CodespacesPostRequestBodyMember1) GetLocation() *string
- func (m *CodespacesPostRequestBodyMember1) GetMachine() *string
- func (m *CodespacesPostRequestBodyMember1) GetMultiRepoPermissionsOptOut() *bool
- func (m *CodespacesPostRequestBodyMember1) GetRef() *string
- func (m *CodespacesPostRequestBodyMember1) GetRepositoryId() *int32
- func (m *CodespacesPostRequestBodyMember1) GetRetentionPeriodMinutes() *int32
- func (m *CodespacesPostRequestBodyMember1) GetWorkingDirectory() *string
- func (m *CodespacesPostRequestBodyMember1) Serialize(...) error
- func (m *CodespacesPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *CodespacesPostRequestBodyMember1) SetClientIp(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetDevcontainerPath(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetDisplayName(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetIdleTimeoutMinutes(value *int32)
- func (m *CodespacesPostRequestBodyMember1) SetLocation(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetMachine(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetMultiRepoPermissionsOptOut(value *bool)
- func (m *CodespacesPostRequestBodyMember1) SetRef(value *string)
- func (m *CodespacesPostRequestBodyMember1) SetRepositoryId(value *int32)
- func (m *CodespacesPostRequestBodyMember1) SetRetentionPeriodMinutes(value *int32)
- func (m *CodespacesPostRequestBodyMember1) SetWorkingDirectory(value *string)
- type CodespacesPostRequestBodyMember1able
- type CodespacesPostRequestBodyMember2
- func (m *CodespacesPostRequestBodyMember2) GetAdditionalData() map[string]any
- func (m *CodespacesPostRequestBodyMember2) GetDevcontainerPath() *string
- func (m *CodespacesPostRequestBodyMember2) GetFieldDeserializers() ...
- func (m *CodespacesPostRequestBodyMember2) GetIdleTimeoutMinutes() *int32
- func (m *CodespacesPostRequestBodyMember2) GetLocation() *string
- func (m *CodespacesPostRequestBodyMember2) GetMachine() *string
- func (m *CodespacesPostRequestBodyMember2) GetPullRequest() CodespacesPostRequestBodyMember2_pull_requestable
- func (m *CodespacesPostRequestBodyMember2) GetWorkingDirectory() *string
- func (m *CodespacesPostRequestBodyMember2) Serialize(...) error
- func (m *CodespacesPostRequestBodyMember2) SetAdditionalData(value map[string]any)
- func (m *CodespacesPostRequestBodyMember2) SetDevcontainerPath(value *string)
- func (m *CodespacesPostRequestBodyMember2) SetIdleTimeoutMinutes(value *int32)
- func (m *CodespacesPostRequestBodyMember2) SetLocation(value *string)
- func (m *CodespacesPostRequestBodyMember2) SetMachine(value *string)
- func (m *CodespacesPostRequestBodyMember2) SetPullRequest(value CodespacesPostRequestBodyMember2_pull_requestable)
- func (m *CodespacesPostRequestBodyMember2) SetWorkingDirectory(value *string)
- type CodespacesPostRequestBodyMember2_pull_request
- func (m *CodespacesPostRequestBodyMember2_pull_request) GetAdditionalData() map[string]any
- func (m *CodespacesPostRequestBodyMember2_pull_request) GetFieldDeserializers() ...
- func (m *CodespacesPostRequestBodyMember2_pull_request) GetPullRequestNumber() *int32
- func (m *CodespacesPostRequestBodyMember2_pull_request) GetRepositoryId() *int32
- func (m *CodespacesPostRequestBodyMember2_pull_request) Serialize(...) error
- func (m *CodespacesPostRequestBodyMember2_pull_request) SetAdditionalData(value map[string]any)
- func (m *CodespacesPostRequestBodyMember2_pull_request) SetPullRequestNumber(value *int32)
- func (m *CodespacesPostRequestBodyMember2_pull_request) SetRepositoryId(value *int32)
- type CodespacesPostRequestBodyMember2_pull_requestable
- type CodespacesPostRequestBodyMember2able
- type CodespacesPostRequestBodyable
- type CodespacesRequestBuilder
- func (m *CodespacesRequestBuilder) ByCodespace_name(codespace_name string) *CodespacesWithCodespace_nameItemRequestBuilder
- func (m *CodespacesRequestBuilder) Get(ctx context.Context, ...) (CodespacesResponseable, error)
- func (m *CodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, ...) (CodespacesGetResponseable, error)
- func (m *CodespacesRequestBuilder) Post(ctx context.Context, body CodespacesPostRequestBodyable, ...) (...)
- func (m *CodespacesRequestBuilder) Secrets() *CodespacesSecretsRequestBuilder
- func (m *CodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesPostRequestBodyable, ...) (...)
- func (m *CodespacesRequestBuilder) WithUrl(rawUrl string) *CodespacesRequestBuilder
- type CodespacesRequestBuilderGetQueryParameters
- type CodespacesRequestBuilderGetRequestConfiguration
- type CodespacesRequestBuilderPostRequestConfiguration
- type CodespacesResponse
- type CodespacesResponseable
- type CodespacesSecretsGetResponse
- func (m *CodespacesSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *CodespacesSecretsGetResponse) GetFieldDeserializers() ...
- func (m *CodespacesSecretsGetResponse) GetSecrets() ...
- func (m *CodespacesSecretsGetResponse) GetTotalCount() *int32
- func (m *CodespacesSecretsGetResponse) Serialize(...) error
- func (m *CodespacesSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *CodespacesSecretsGetResponse) SetSecrets(...)
- func (m *CodespacesSecretsGetResponse) SetTotalCount(value *int32)
- type CodespacesSecretsGetResponseable
- type CodespacesSecretsItemRepositoriesGetResponse
- func (m *CodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *CodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *CodespacesSecretsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *CodespacesSecretsItemRepositoriesGetResponse) Serialize(...) error
- func (m *CodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *CodespacesSecretsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *CodespacesSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type CodespacesSecretsItemRepositoriesGetResponseable
- type CodespacesSecretsItemRepositoriesPutRequestBody
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *CodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type CodespacesSecretsItemRepositoriesPutRequestBodyable
- type CodespacesSecretsItemRepositoriesRequestBuilder
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (CodespacesSecretsItemRepositoriesResponseable, error)
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, ...) (CodespacesSecretsItemRepositoriesGetResponseable, error)
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, ...) error
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, ...) (...)
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsItemRepositoriesRequestBuilder
- type CodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration
- type CodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration
- type CodespacesSecretsItemRepositoriesResponse
- type CodespacesSecretsItemRepositoriesResponseable
- type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- type CodespacesSecretsItemWithSecret_namePutRequestBody
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []int32)
- type CodespacesSecretsItemWithSecret_namePutRequestBodyable
- type CodespacesSecretsPublicKeyRequestBuilder
- func (m *CodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsPublicKeyRequestBuilder
- type CodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration
- type CodespacesSecretsRequestBuilder
- func (m *CodespacesSecretsRequestBuilder) BySecret_name(secret_name string) *CodespacesSecretsWithSecret_nameItemRequestBuilder
- func (m *CodespacesSecretsRequestBuilder) Get(ctx context.Context, ...) (CodespacesSecretsResponseable, error)
- func (m *CodespacesSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, ...) (CodespacesSecretsGetResponseable, error)
- func (m *CodespacesSecretsRequestBuilder) PublicKey() *CodespacesSecretsPublicKeyRequestBuilder
- func (m *CodespacesSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsRequestBuilder
- type CodespacesSecretsRequestBuilderGetQueryParameters
- type CodespacesSecretsRequestBuilderGetRequestConfiguration
- type CodespacesSecretsResponse
- type CodespacesSecretsResponseable
- type CodespacesSecretsWithSecret_nameItemRequestBuilder
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories() *CodespacesSecretsItemRepositoriesRequestBuilder
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsWithSecret_nameItemRequestBuilder
- type CodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration
- type CodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration
- type CodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration
- type CodespacesWithCodespace_nameItemRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Delete(ctx context.Context, ...) (CodespacesItemWithCodespace_nameResponseable, error)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse(ctx context.Context, ...) (CodespacesItemWithCodespace_nameDeleteResponseable, error)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Exports() *CodespacesItemExportsRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Machines() *CodespacesItemMachinesRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Patch(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, ...) (...)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Publish() *CodespacesItemPublishRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Start() *CodespacesItemStartRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Stop() *CodespacesItemStopRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, ...) (...)
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) WithUrl(rawUrl string) *CodespacesWithCodespace_nameItemRequestBuilder
- type CodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration
- type CodespacesWithCodespace_nameItemRequestBuilderGetRequestConfiguration
- type CodespacesWithCodespace_nameItemRequestBuilderPatchRequestConfiguration
- type DockerConflictsRequestBuilder
- type DockerConflictsRequestBuilderGetRequestConfiguration
- type DockerRequestBuilder
- type EmailRequestBuilder
- type EmailVisibilityPatchRequestBody
- type EmailVisibilityPatchRequestBodyable
- type EmailVisibilityRequestBuilder
- func (m *EmailVisibilityRequestBuilder) Patch(ctx context.Context, body EmailVisibilityPatchRequestBodyable, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, ...)
- func (m *EmailVisibilityRequestBuilder) ToPatchRequestInformation(ctx context.Context, body EmailVisibilityPatchRequestBodyable, ...) (...)
- func (m *EmailVisibilityRequestBuilder) WithUrl(rawUrl string) *EmailVisibilityRequestBuilder
- type EmailVisibilityRequestBuilderPatchRequestConfiguration
- type EmailsDeleteRequestBody
- func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able
- func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able
- func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyString() *string
- func (m *EmailsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *EmailsDeleteRequestBody) GetIsComposedType() bool
- func (m *EmailsDeleteRequestBody) GetString() *string
- func (m *EmailsDeleteRequestBody) Serialize(...) error
- func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)
- func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)
- func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyString(value *string)
- func (m *EmailsDeleteRequestBody) SetString(value *string)
- type EmailsDeleteRequestBodyMember1
- func (m *EmailsDeleteRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *EmailsDeleteRequestBodyMember1) GetEmails() []string
- func (m *EmailsDeleteRequestBodyMember1) GetFieldDeserializers() ...
- func (m *EmailsDeleteRequestBodyMember1) Serialize(...) error
- func (m *EmailsDeleteRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *EmailsDeleteRequestBodyMember1) SetEmails(value []string)
- type EmailsDeleteRequestBodyMember1able
- type EmailsDeleteRequestBodyable
- type EmailsPostRequestBody
- func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able
- func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able
- func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyString() *string
- func (m *EmailsPostRequestBody) GetFieldDeserializers() ...
- func (m *EmailsPostRequestBody) GetIsComposedType() bool
- func (m *EmailsPostRequestBody) GetString() *string
- func (m *EmailsPostRequestBody) Serialize(...) error
- func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)
- func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)
- func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyString(value *string)
- func (m *EmailsPostRequestBody) SetString(value *string)
- type EmailsPostRequestBodyMember1
- func (m *EmailsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *EmailsPostRequestBodyMember1) GetEmails() []string
- func (m *EmailsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *EmailsPostRequestBodyMember1) Serialize(...) error
- func (m *EmailsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *EmailsPostRequestBodyMember1) SetEmails(value []string)
- type EmailsPostRequestBodyMember1able
- type EmailsPostRequestBodyable
- type EmailsRequestBuilder
- func (m *EmailsRequestBuilder) Delete(ctx context.Context, body EmailsDeleteRequestBodyable, ...) error
- func (m *EmailsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, ...)
- func (m *EmailsRequestBuilder) Post(ctx context.Context, body EmailsPostRequestBodyable, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, ...)
- func (m *EmailsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body EmailsDeleteRequestBodyable, ...) (...)
- func (m *EmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *EmailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body EmailsPostRequestBodyable, ...) (...)
- func (m *EmailsRequestBuilder) WithUrl(rawUrl string) *EmailsRequestBuilder
- type EmailsRequestBuilderDeleteRequestConfiguration
- type EmailsRequestBuilderGetQueryParameters
- type EmailsRequestBuilderGetRequestConfiguration
- type EmailsRequestBuilderPostRequestConfiguration
- type FollowersRequestBuilder
- type FollowersRequestBuilderGetQueryParameters
- type FollowersRequestBuilderGetRequestConfiguration
- type FollowingRequestBuilder
- func (m *FollowingRequestBuilder) ByUsername(username string) *FollowingWithUsernameItemRequestBuilder
- func (m *FollowingRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *FollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *FollowingRequestBuilder) WithUrl(rawUrl string) *FollowingRequestBuilder
- type FollowingRequestBuilderGetQueryParameters
- type FollowingRequestBuilderGetRequestConfiguration
- type FollowingWithUsernameItemRequestBuilder
- func (m *FollowingWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *FollowingWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *FollowingWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *FollowingWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *FollowingWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *FollowingWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *FollowingWithUsernameItemRequestBuilder
- type FollowingWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type FollowingWithUsernameItemRequestBuilderGetRequestConfiguration
- type FollowingWithUsernameItemRequestBuilderPutRequestConfiguration
- type Gpg_keysPostRequestBody
- func (m *Gpg_keysPostRequestBody) GetAdditionalData() map[string]any
- func (m *Gpg_keysPostRequestBody) GetArmoredPublicKey() *string
- func (m *Gpg_keysPostRequestBody) GetFieldDeserializers() ...
- func (m *Gpg_keysPostRequestBody) GetName() *string
- func (m *Gpg_keysPostRequestBody) Serialize(...) error
- func (m *Gpg_keysPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *Gpg_keysPostRequestBody) SetArmoredPublicKey(value *string)
- func (m *Gpg_keysPostRequestBody) SetName(value *string)
- type Gpg_keysPostRequestBodyable
- type Gpg_keysRequestBuilder
- func (m *Gpg_keysRequestBuilder) ByGpg_key_id(gpg_key_id string) *Gpg_keysWithGpg_key_ItemRequestBuilder
- func (m *Gpg_keysRequestBuilder) ByGpg_key_idInteger(gpg_key_id int32) *Gpg_keysWithGpg_key_ItemRequestBuilder
- func (m *Gpg_keysRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, ...)
- func (m *Gpg_keysRequestBuilder) Post(ctx context.Context, body Gpg_keysPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, ...)
- func (m *Gpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Gpg_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Gpg_keysPostRequestBodyable, ...) (...)
- func (m *Gpg_keysRequestBuilder) WithUrl(rawUrl string) *Gpg_keysRequestBuilder
- type Gpg_keysRequestBuilderGetQueryParameters
- type Gpg_keysRequestBuilderGetRequestConfiguration
- type Gpg_keysRequestBuilderPostRequestConfiguration
- type Gpg_keysWithGpg_key_ItemRequestBuilder
- func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Get(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, ...)
- func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) WithUrl(rawUrl string) *Gpg_keysWithGpg_key_ItemRequestBuilder
- type Gpg_keysWithGpg_key_ItemRequestBuilderDeleteRequestConfiguration
- type Gpg_keysWithGpg_key_ItemRequestBuilderGetRequestConfiguration
- type InstallationsGetResponse
- func (m *InstallationsGetResponse) GetAdditionalData() map[string]any
- func (m *InstallationsGetResponse) GetFieldDeserializers() ...
- func (m *InstallationsGetResponse) GetInstallations() ...
- func (m *InstallationsGetResponse) GetTotalCount() *int32
- func (m *InstallationsGetResponse) Serialize(...) error
- func (m *InstallationsGetResponse) SetAdditionalData(value map[string]any)
- func (m *InstallationsGetResponse) SetInstallations(...)
- func (m *InstallationsGetResponse) SetTotalCount(value *int32)
- type InstallationsGetResponseable
- type InstallationsItemRepositoriesGetResponse
- func (m *InstallationsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *InstallationsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *InstallationsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *InstallationsItemRepositoriesGetResponse) GetRepositorySelection() *string
- func (m *InstallationsItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *InstallationsItemRepositoriesGetResponse) Serialize(...) error
- func (m *InstallationsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *InstallationsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *InstallationsItemRepositoriesGetResponse) SetRepositorySelection(value *string)
- func (m *InstallationsItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type InstallationsItemRepositoriesGetResponseable
- type InstallationsItemRepositoriesRequestBuilder
- func (m *InstallationsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *InstallationsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *InstallationsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (InstallationsItemRepositoriesResponseable, error)
- func (m *InstallationsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, ...) (InstallationsItemRepositoriesGetResponseable, error)
- func (m *InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *InstallationsItemRepositoriesRequestBuilder
- type InstallationsItemRepositoriesRequestBuilderGetQueryParameters
- type InstallationsItemRepositoriesRequestBuilderGetRequestConfiguration
- type InstallationsItemRepositoriesResponse
- type InstallationsItemRepositoriesResponseable
- type InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewInstallationsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- type InstallationsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type InstallationsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- type InstallationsRequestBuilder
- func (m *InstallationsRequestBuilder) ByInstallation_id(installation_id string) *InstallationsWithInstallation_ItemRequestBuilder
- func (m *InstallationsRequestBuilder) ByInstallation_idInteger(installation_id int32) *InstallationsWithInstallation_ItemRequestBuilder
- func (m *InstallationsRequestBuilder) Get(ctx context.Context, ...) (InstallationsResponseable, error)
- func (m *InstallationsRequestBuilder) GetAsInstallationsGetResponse(ctx context.Context, ...) (InstallationsGetResponseable, error)
- func (m *InstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsRequestBuilder) WithUrl(rawUrl string) *InstallationsRequestBuilder
- type InstallationsRequestBuilderGetQueryParameters
- type InstallationsRequestBuilderGetRequestConfiguration
- type InstallationsResponse
- type InstallationsResponseable
- type InstallationsWithInstallation_ItemRequestBuilder
- type InteractionLimitsGetResponseMember1
- type InteractionLimitsGetResponseMember1able
- type InteractionLimitsRequestBuilder
- func (m *InteractionLimitsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *InteractionLimitsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *InteractionLimitsRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *InteractionLimitsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *InteractionLimitsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InteractionLimitsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *InteractionLimitsRequestBuilder) WithUrl(rawUrl string) *InteractionLimitsRequestBuilder
- type InteractionLimitsRequestBuilderDeleteRequestConfiguration
- type InteractionLimitsRequestBuilderGetRequestConfiguration
- type InteractionLimitsRequestBuilderPutRequestConfiguration
- type IssuesRequestBuilder
- func (m *IssuesRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Issueable, ...)
- func (m *IssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *IssuesRequestBuilder) WithUrl(rawUrl string) *IssuesRequestBuilder
- type IssuesRequestBuilderGetQueryParameters
- type IssuesRequestBuilderGetRequestConfiguration
- type KeysPostRequestBody
- func (m *KeysPostRequestBody) GetAdditionalData() map[string]any
- func (m *KeysPostRequestBody) GetFieldDeserializers() ...
- func (m *KeysPostRequestBody) GetKey() *string
- func (m *KeysPostRequestBody) GetTitle() *string
- func (m *KeysPostRequestBody) Serialize(...) error
- func (m *KeysPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *KeysPostRequestBody) SetKey(value *string)
- func (m *KeysPostRequestBody) SetTitle(value *string)
- type KeysPostRequestBodyable
- type KeysRequestBuilder
- func (m *KeysRequestBuilder) ByKey_id(key_id string) *KeysWithKey_ItemRequestBuilder
- func (m *KeysRequestBuilder) ByKey_idInteger(key_id int32) *KeysWithKey_ItemRequestBuilder
- func (m *KeysRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, ...)
- func (m *KeysRequestBuilder) Post(ctx context.Context, body KeysPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, ...)
- func (m *KeysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *KeysRequestBuilder) ToPostRequestInformation(ctx context.Context, body KeysPostRequestBodyable, ...) (...)
- func (m *KeysRequestBuilder) WithUrl(rawUrl string) *KeysRequestBuilder
- type KeysRequestBuilderGetQueryParameters
- type KeysRequestBuilderGetRequestConfiguration
- type KeysRequestBuilderPostRequestConfiguration
- type KeysWithKey_ItemRequestBuilder
- func (m *KeysWithKey_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *KeysWithKey_ItemRequestBuilder) Get(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, ...)
- func (m *KeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *KeysWithKey_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *KeysWithKey_ItemRequestBuilder) WithUrl(rawUrl string) *KeysWithKey_ItemRequestBuilder
- type KeysWithKey_ItemRequestBuilderDeleteRequestConfiguration
- type KeysWithKey_ItemRequestBuilderGetRequestConfiguration
- type Marketplace_purchasesRequestBuilder
- func (m *Marketplace_purchasesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Marketplace_purchasesRequestBuilder) Stubbed() *Marketplace_purchasesStubbedRequestBuilder
- func (m *Marketplace_purchasesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Marketplace_purchasesRequestBuilder) WithUrl(rawUrl string) *Marketplace_purchasesRequestBuilder
- type Marketplace_purchasesRequestBuilderGetQueryParameters
- type Marketplace_purchasesRequestBuilderGetRequestConfiguration
- type Marketplace_purchasesStubbedRequestBuilder
- func (m *Marketplace_purchasesStubbedRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Marketplace_purchasesStubbedRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Marketplace_purchasesStubbedRequestBuilder) WithUrl(rawUrl string) *Marketplace_purchasesStubbedRequestBuilder
- type Marketplace_purchasesStubbedRequestBuilderGetQueryParameters
- type Marketplace_purchasesStubbedRequestBuilderGetRequestConfiguration
- type MembershipsOrgsItemWithOrgPatchRequestBody
- func (m *MembershipsOrgsItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any
- func (m *MembershipsOrgsItemWithOrgPatchRequestBody) GetFieldDeserializers() ...
- func (m *MembershipsOrgsItemWithOrgPatchRequestBody) Serialize(...) error
- func (m *MembershipsOrgsItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)
- type MembershipsOrgsItemWithOrgPatchRequestBodyable
- type MembershipsOrgsRequestBuilder
- func (m *MembershipsOrgsRequestBuilder) ByOrg(org string) *MembershipsOrgsWithOrgItemRequestBuilder
- func (m *MembershipsOrgsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MembershipsOrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MembershipsOrgsRequestBuilder) WithUrl(rawUrl string) *MembershipsOrgsRequestBuilder
- type MembershipsOrgsRequestBuilderGetQueryParameters
- type MembershipsOrgsRequestBuilderGetRequestConfiguration
- type MembershipsOrgsWithOrgItemRequestBuilder
- func (m *MembershipsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MembershipsOrgsWithOrgItemRequestBuilder) Patch(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, ...) (...)
- func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, ...) (...)
- func (m *MembershipsOrgsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *MembershipsOrgsWithOrgItemRequestBuilder
- type MembershipsOrgsWithOrgItemRequestBuilderGetRequestConfiguration
- type MembershipsOrgsWithOrgItemRequestBuilderPatchRequestConfiguration
- type MembershipsRequestBuilder
- type MigrationsItemArchiveRequestBuilder
- func (m *MigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *MigrationsItemArchiveRequestBuilder) Get(ctx context.Context, ...) ([]byte, error)
- func (m *MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *MigrationsItemArchiveRequestBuilder
- type MigrationsItemArchiveRequestBuilderDeleteRequestConfiguration
- type MigrationsItemArchiveRequestBuilderGetRequestConfiguration
- type MigrationsItemReposItemLockRequestBuilder
- func (m *MigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *MigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemReposItemLockRequestBuilder) WithUrl(rawUrl string) *MigrationsItemReposItemLockRequestBuilder
- type MigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration
- type MigrationsItemReposRequestBuilder
- type MigrationsItemReposWithRepo_nameItemRequestBuilder
- type MigrationsItemRepositoriesRequestBuilder
- func (m *MigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *MigrationsItemRepositoriesRequestBuilder
- type MigrationsItemRepositoriesRequestBuilderGetQueryParameters
- type MigrationsItemRepositoriesRequestBuilderGetRequestConfiguration
- type MigrationsPostRequestBody
- func (m *MigrationsPostRequestBody) GetAdditionalData() map[string]any
- func (m *MigrationsPostRequestBody) GetExcludeAttachments() *bool
- func (m *MigrationsPostRequestBody) GetExcludeGitData() *bool
- func (m *MigrationsPostRequestBody) GetExcludeMetadata() *bool
- func (m *MigrationsPostRequestBody) GetExcludeOwnerProjects() *bool
- func (m *MigrationsPostRequestBody) GetExcludeReleases() *bool
- func (m *MigrationsPostRequestBody) GetFieldDeserializers() ...
- func (m *MigrationsPostRequestBody) GetLockRepositories() *bool
- func (m *MigrationsPostRequestBody) GetOrgMetadataOnly() *bool
- func (m *MigrationsPostRequestBody) GetRepositories() []string
- func (m *MigrationsPostRequestBody) Serialize(...) error
- func (m *MigrationsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *MigrationsPostRequestBody) SetExcludeAttachments(value *bool)
- func (m *MigrationsPostRequestBody) SetExcludeGitData(value *bool)
- func (m *MigrationsPostRequestBody) SetExcludeMetadata(value *bool)
- func (m *MigrationsPostRequestBody) SetExcludeOwnerProjects(value *bool)
- func (m *MigrationsPostRequestBody) SetExcludeReleases(value *bool)
- func (m *MigrationsPostRequestBody) SetLockRepositories(value *bool)
- func (m *MigrationsPostRequestBody) SetOrgMetadataOnly(value *bool)
- func (m *MigrationsPostRequestBody) SetRepositories(value []string)
- type MigrationsPostRequestBodyable
- type MigrationsRequestBuilder
- func (m *MigrationsRequestBuilder) ByMigration_id(migration_id string) *MigrationsWithMigration_ItemRequestBuilder
- func (m *MigrationsRequestBuilder) ByMigration_idInteger(migration_id int32) *MigrationsWithMigration_ItemRequestBuilder
- func (m *MigrationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MigrationsRequestBuilder) Post(ctx context.Context, body MigrationsPostRequestBodyable, ...) (...)
- func (m *MigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body MigrationsPostRequestBodyable, ...) (...)
- func (m *MigrationsRequestBuilder) WithUrl(rawUrl string) *MigrationsRequestBuilder
- type MigrationsRequestBuilderGetQueryParameters
- type MigrationsRequestBuilderGetRequestConfiguration
- type MigrationsRequestBuilderPostRequestConfiguration
- type MigrationsWithMigration_ItemRequestBuilder
- func (m *MigrationsWithMigration_ItemRequestBuilder) Archive() *MigrationsItemArchiveRequestBuilder
- func (m *MigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MigrationsWithMigration_ItemRequestBuilder) Repos() *MigrationsItemReposRequestBuilder
- func (m *MigrationsWithMigration_ItemRequestBuilder) Repositories() *MigrationsItemRepositoriesRequestBuilder
- func (m *MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsWithMigration_ItemRequestBuilder) WithUrl(rawUrl string) *MigrationsWithMigration_ItemRequestBuilder
- type MigrationsWithMigration_ItemRequestBuilderGetQueryParameters
- type MigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration
- type OrgsRequestBuilder
- type OrgsRequestBuilderGetQueryParameters
- type OrgsRequestBuilderGetRequestConfiguration
- type PackagesItemItemRestoreRequestBuilder
- type PackagesItemItemRestoreRequestBuilderPostQueryParameters
- type PackagesItemItemRestoreRequestBuilderPostRequestConfiguration
- type PackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, ...) error
- func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsItemRestoreRequestBuilder
- type PackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration
- type PackagesItemItemVersionsRequestBuilder
- func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(package_version_id int32) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *PackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsRequestBuilder
- type PackagesItemItemVersionsRequestBuilderGetQueryParameters
- type PackagesItemItemVersionsRequestBuilderGetRequestConfiguration
- type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, ...) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *PackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration
- type PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration
- type PackagesItemWithPackage_nameItemRequestBuilder
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) Restore() *PackagesItemItemRestoreRequestBuilder
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) Versions() *PackagesItemItemVersionsRequestBuilder
- func (m *PackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *PackagesItemWithPackage_nameItemRequestBuilder
- type PackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration
- type PackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration
- type PackagesRequestBuilder
- func (m *PackagesRequestBuilder) ByPackage_type(package_type string) *PackagesWithPackage_typeItemRequestBuilder
- func (m *PackagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PackagesRequestBuilder) WithUrl(rawUrl string) *PackagesRequestBuilder
- type PackagesRequestBuilderGetQueryParameters
- type PackagesRequestBuilderGetRequestConfiguration
- type PackagesWithPackage_typeItemRequestBuilder
- type ProjectsPostRequestBody
- func (m *ProjectsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ProjectsPostRequestBody) GetBody() *string
- func (m *ProjectsPostRequestBody) GetFieldDeserializers() ...
- func (m *ProjectsPostRequestBody) GetName() *string
- func (m *ProjectsPostRequestBody) Serialize(...) error
- func (m *ProjectsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ProjectsPostRequestBody) SetBody(value *string)
- func (m *ProjectsPostRequestBody) SetName(value *string)
- type ProjectsPostRequestBodyable
- type ProjectsRequestBuilder
- func (m *ProjectsRequestBuilder) Post(ctx context.Context, body ProjectsPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Projectable, ...)
- func (m *ProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ProjectsPostRequestBodyable, ...) (...)
- func (m *ProjectsRequestBuilder) WithUrl(rawUrl string) *ProjectsRequestBuilder
- type ProjectsRequestBuilderPostRequestConfiguration
- type Public_emailsRequestBuilder
- func (m *Public_emailsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, ...)
- func (m *Public_emailsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Public_emailsRequestBuilder) WithUrl(rawUrl string) *Public_emailsRequestBuilder
- type Public_emailsRequestBuilderGetQueryParameters
- type Public_emailsRequestBuilderGetRequestConfiguration
- type ReposPostRequestBody
- func (m *ReposPostRequestBody) GetAdditionalData() map[string]any
- func (m *ReposPostRequestBody) GetAllowAutoMerge() *bool
- func (m *ReposPostRequestBody) GetAllowMergeCommit() *bool
- func (m *ReposPostRequestBody) GetAllowRebaseMerge() *bool
- func (m *ReposPostRequestBody) GetAllowSquashMerge() *bool
- func (m *ReposPostRequestBody) GetAutoInit() *bool
- func (m *ReposPostRequestBody) GetDeleteBranchOnMerge() *bool
- func (m *ReposPostRequestBody) GetDescription() *string
- func (m *ReposPostRequestBody) GetFieldDeserializers() ...
- func (m *ReposPostRequestBody) GetGitignoreTemplate() *string
- func (m *ReposPostRequestBody) GetHasDiscussions() *bool
- func (m *ReposPostRequestBody) GetHasDownloads() *bool
- func (m *ReposPostRequestBody) GetHasIssues() *bool
- func (m *ReposPostRequestBody) GetHasProjects() *bool
- func (m *ReposPostRequestBody) GetHasWiki() *bool
- func (m *ReposPostRequestBody) GetHomepage() *string
- func (m *ReposPostRequestBody) GetIsTemplate() *bool
- func (m *ReposPostRequestBody) GetLicenseTemplate() *string
- func (m *ReposPostRequestBody) GetName() *string
- func (m *ReposPostRequestBody) GetPrivate() *bool
- func (m *ReposPostRequestBody) GetTeamId() *int32
- func (m *ReposPostRequestBody) Serialize(...) error
- func (m *ReposPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ReposPostRequestBody) SetAllowAutoMerge(value *bool)
- func (m *ReposPostRequestBody) SetAllowMergeCommit(value *bool)
- func (m *ReposPostRequestBody) SetAllowRebaseMerge(value *bool)
- func (m *ReposPostRequestBody) SetAllowSquashMerge(value *bool)
- func (m *ReposPostRequestBody) SetAutoInit(value *bool)
- func (m *ReposPostRequestBody) SetDeleteBranchOnMerge(value *bool)
- func (m *ReposPostRequestBody) SetDescription(value *string)
- func (m *ReposPostRequestBody) SetGitignoreTemplate(value *string)
- func (m *ReposPostRequestBody) SetHasDiscussions(value *bool)
- func (m *ReposPostRequestBody) SetHasDownloads(value *bool)
- func (m *ReposPostRequestBody) SetHasIssues(value *bool)
- func (m *ReposPostRequestBody) SetHasProjects(value *bool)
- func (m *ReposPostRequestBody) SetHasWiki(value *bool)
- func (m *ReposPostRequestBody) SetHomepage(value *string)
- func (m *ReposPostRequestBody) SetIsTemplate(value *bool)
- func (m *ReposPostRequestBody) SetLicenseTemplate(value *string)
- func (m *ReposPostRequestBody) SetName(value *string)
- func (m *ReposPostRequestBody) SetPrivate(value *bool)
- func (m *ReposPostRequestBody) SetTeamId(value *int32)
- type ReposPostRequestBodyable
- type ReposRequestBuilder
- func (m *ReposRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ReposRequestBuilder) Post(ctx context.Context, body ReposPostRequestBodyable, ...) (...)
- func (m *ReposRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReposPostRequestBodyable, ...) (...)
- func (m *ReposRequestBuilder) WithUrl(rawUrl string) *ReposRequestBuilder
- type ReposRequestBuilderGetQueryParameters
- type ReposRequestBuilderGetRequestConfiguration
- type ReposRequestBuilderPostRequestConfiguration
- type Repository_invitationsRequestBuilder
- func (m *Repository_invitationsRequestBuilder) ByInvitation_id(invitation_id string) *Repository_invitationsWithInvitation_ItemRequestBuilder
- func (m *Repository_invitationsRequestBuilder) ByInvitation_idInteger(invitation_id int32) *Repository_invitationsWithInvitation_ItemRequestBuilder
- func (m *Repository_invitationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Repository_invitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Repository_invitationsRequestBuilder) WithUrl(rawUrl string) *Repository_invitationsRequestBuilder
- type Repository_invitationsRequestBuilderGetQueryParameters
- type Repository_invitationsRequestBuilderGetRequestConfiguration
- type Repository_invitationsWithInvitation_ItemRequestBuilder
- func NewRepository_invitationsWithInvitation_ItemRequestBuilder(rawUrl string, ...) *Repository_invitationsWithInvitation_ItemRequestBuilder
- func NewRepository_invitationsWithInvitation_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *Repository_invitationsWithInvitation_ItemRequestBuilder
- func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *Repository_invitationsWithInvitation_ItemRequestBuilder
- type Repository_invitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration
- type Repository_invitationsWithInvitation_ItemRequestBuilderPatchRequestConfiguration
- type Social_accountsDeleteRequestBody
- func (m *Social_accountsDeleteRequestBody) GetAccountUrls() []string
- func (m *Social_accountsDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *Social_accountsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *Social_accountsDeleteRequestBody) Serialize(...) error
- func (m *Social_accountsDeleteRequestBody) SetAccountUrls(value []string)
- func (m *Social_accountsDeleteRequestBody) SetAdditionalData(value map[string]any)
- type Social_accountsDeleteRequestBodyable
- type Social_accountsPostRequestBody
- func (m *Social_accountsPostRequestBody) GetAccountUrls() []string
- func (m *Social_accountsPostRequestBody) GetAdditionalData() map[string]any
- func (m *Social_accountsPostRequestBody) GetFieldDeserializers() ...
- func (m *Social_accountsPostRequestBody) Serialize(...) error
- func (m *Social_accountsPostRequestBody) SetAccountUrls(value []string)
- func (m *Social_accountsPostRequestBody) SetAdditionalData(value map[string]any)
- type Social_accountsPostRequestBodyable
- type Social_accountsRequestBuilder
- func (m *Social_accountsRequestBuilder) Delete(ctx context.Context, body Social_accountsDeleteRequestBodyable, ...) error
- func (m *Social_accountsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Social_accountsRequestBuilder) Post(ctx context.Context, body Social_accountsPostRequestBodyable, ...) (...)
- func (m *Social_accountsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body Social_accountsDeleteRequestBodyable, ...) (...)
- func (m *Social_accountsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Social_accountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body Social_accountsPostRequestBodyable, ...) (...)
- func (m *Social_accountsRequestBuilder) WithUrl(rawUrl string) *Social_accountsRequestBuilder
- type Social_accountsRequestBuilderDeleteRequestConfiguration
- type Social_accountsRequestBuilderGetQueryParameters
- type Social_accountsRequestBuilderGetRequestConfiguration
- type Social_accountsRequestBuilderPostRequestConfiguration
- type Ssh_signing_keysPostRequestBody
- func (m *Ssh_signing_keysPostRequestBody) GetAdditionalData() map[string]any
- func (m *Ssh_signing_keysPostRequestBody) GetFieldDeserializers() ...
- func (m *Ssh_signing_keysPostRequestBody) GetKey() *string
- func (m *Ssh_signing_keysPostRequestBody) GetTitle() *string
- func (m *Ssh_signing_keysPostRequestBody) Serialize(...) error
- func (m *Ssh_signing_keysPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *Ssh_signing_keysPostRequestBody) SetKey(value *string)
- func (m *Ssh_signing_keysPostRequestBody) SetTitle(value *string)
- type Ssh_signing_keysPostRequestBodyable
- type Ssh_signing_keysRequestBuilder
- func (m *Ssh_signing_keysRequestBuilder) BySsh_signing_key_id(ssh_signing_key_id string) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- func (m *Ssh_signing_keysRequestBuilder) BySsh_signing_key_idInteger(ssh_signing_key_id int32) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- func (m *Ssh_signing_keysRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Ssh_signing_keysRequestBuilder) Post(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, ...) (...)
- func (m *Ssh_signing_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Ssh_signing_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, ...) (...)
- func (m *Ssh_signing_keysRequestBuilder) WithUrl(rawUrl string) *Ssh_signing_keysRequestBuilder
- type Ssh_signing_keysRequestBuilderGetQueryParameters
- type Ssh_signing_keysRequestBuilderGetRequestConfiguration
- type Ssh_signing_keysRequestBuilderPostRequestConfiguration
- type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilder(rawUrl string, ...) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- func NewSsh_signing_keysWithSsh_signing_key_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) WithUrl(rawUrl string) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
- type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderDeleteRequestConfiguration
- type Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderGetRequestConfiguration
- type StarredItemWithRepoItemRequestBuilder
- func (m *StarredItemWithRepoItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *StarredItemWithRepoItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *StarredItemWithRepoItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *StarredItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *StarredItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *StarredItemWithRepoItemRequestBuilder
- type StarredItemWithRepoItemRequestBuilderDeleteRequestConfiguration
- type StarredItemWithRepoItemRequestBuilderGetRequestConfiguration
- type StarredItemWithRepoItemRequestBuilderPutRequestConfiguration
- type StarredRequestBuilder
- func (m *StarredRequestBuilder) ByOwner(owner string) *StarredWithOwnerItemRequestBuilder
- func (m *StarredRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *StarredRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *StarredRequestBuilder) WithUrl(rawUrl string) *StarredRequestBuilder
- type StarredRequestBuilderGetQueryParameters
- type StarredRequestBuilderGetRequestConfiguration
- type StarredWithOwnerItemRequestBuilder
- type SubscriptionsRequestBuilder
- type SubscriptionsRequestBuilderGetQueryParameters
- type SubscriptionsRequestBuilderGetRequestConfiguration
- type TeamsRequestBuilder
- type TeamsRequestBuilderGetQueryParameters
- type TeamsRequestBuilderGetRequestConfiguration
- type UserGetResponse
- func (m *UserGetResponse) GetFieldDeserializers() ...
- func (m *UserGetResponse) GetIsComposedType() bool
- func (m *UserGetResponse) GetPrivateUser() ...
- func (m *UserGetResponse) GetPublicUser() ...
- func (m *UserGetResponse) Serialize(...) error
- func (m *UserGetResponse) SetPrivateUser(...)
- func (m *UserGetResponse) SetPublicUser(...)
- type UserGetResponseable
- type UserPatchRequestBody
- func (m *UserPatchRequestBody) GetAdditionalData() map[string]any
- func (m *UserPatchRequestBody) GetBio() *string
- func (m *UserPatchRequestBody) GetBlog() *string
- func (m *UserPatchRequestBody) GetCompany() *string
- func (m *UserPatchRequestBody) GetEmail() *string
- func (m *UserPatchRequestBody) GetFieldDeserializers() ...
- func (m *UserPatchRequestBody) GetHireable() *bool
- func (m *UserPatchRequestBody) GetLocation() *string
- func (m *UserPatchRequestBody) GetName() *string
- func (m *UserPatchRequestBody) GetTwitterUsername() *string
- func (m *UserPatchRequestBody) Serialize(...) error
- func (m *UserPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *UserPatchRequestBody) SetBio(value *string)
- func (m *UserPatchRequestBody) SetBlog(value *string)
- func (m *UserPatchRequestBody) SetCompany(value *string)
- func (m *UserPatchRequestBody) SetEmail(value *string)
- func (m *UserPatchRequestBody) SetHireable(value *bool)
- func (m *UserPatchRequestBody) SetLocation(value *string)
- func (m *UserPatchRequestBody) SetName(value *string)
- func (m *UserPatchRequestBody) SetTwitterUsername(value *string)
- type UserPatchRequestBodyable
- type UserRequestBuilder
- func (m *UserRequestBuilder) Blocks() *BlocksRequestBuilder
- func (m *UserRequestBuilder) Codespaces() *CodespacesRequestBuilder
- func (m *UserRequestBuilder) Docker() *DockerRequestBuilder
- func (m *UserRequestBuilder) Email() *EmailRequestBuilder
- func (m *UserRequestBuilder) Emails() *EmailsRequestBuilder
- func (m *UserRequestBuilder) Followers() *FollowersRequestBuilder
- func (m *UserRequestBuilder) Following() *FollowingRequestBuilder
- func (m *UserRequestBuilder) Get(ctx context.Context, ...) (UserResponseable, error)
- func (m *UserRequestBuilder) GetAsUserGetResponse(ctx context.Context, ...) (UserGetResponseable, error)
- func (m *UserRequestBuilder) Gpg_keys() *Gpg_keysRequestBuilder
- func (m *UserRequestBuilder) Installations() *InstallationsRequestBuilder
- func (m *UserRequestBuilder) InteractionLimits() *InteractionLimitsRequestBuilder
- func (m *UserRequestBuilder) Issues() *IssuesRequestBuilder
- func (m *UserRequestBuilder) Keys() *KeysRequestBuilder
- func (m *UserRequestBuilder) Marketplace_purchases() *Marketplace_purchasesRequestBuilder
- func (m *UserRequestBuilder) Memberships() *MembershipsRequestBuilder
- func (m *UserRequestBuilder) Migrations() *MigrationsRequestBuilder
- func (m *UserRequestBuilder) Orgs() *OrgsRequestBuilder
- func (m *UserRequestBuilder) Packages() *PackagesRequestBuilder
- func (m *UserRequestBuilder) Patch(ctx context.Context, body UserPatchRequestBodyable, ...) (...)
- func (m *UserRequestBuilder) Projects() *ProjectsRequestBuilder
- func (m *UserRequestBuilder) Public_emails() *Public_emailsRequestBuilder
- func (m *UserRequestBuilder) Repos() *ReposRequestBuilder
- func (m *UserRequestBuilder) Repository_invitations() *Repository_invitationsRequestBuilder
- func (m *UserRequestBuilder) Social_accounts() *Social_accountsRequestBuilder
- func (m *UserRequestBuilder) Ssh_signing_keys() *Ssh_signing_keysRequestBuilder
- func (m *UserRequestBuilder) Starred() *StarredRequestBuilder
- func (m *UserRequestBuilder) Subscriptions() *SubscriptionsRequestBuilder
- func (m *UserRequestBuilder) Teams() *TeamsRequestBuilder
- func (m *UserRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *UserRequestBuilder) ToPatchRequestInformation(ctx context.Context, body UserPatchRequestBodyable, ...) (...)
- func (m *UserRequestBuilder) WithUrl(rawUrl string) *UserRequestBuilder
- type UserRequestBuilderGetRequestConfiguration
- type UserRequestBuilderPatchRequestConfiguration
- type UserResponse
- func (m *UserResponse) GetFieldDeserializers() ...
- func (m *UserResponse) GetIsComposedType() bool
- func (m *UserResponse) GetPrivateUser() ...
- func (m *UserResponse) GetPublicUser() ...
- func (m *UserResponse) Serialize(...) error
- func (m *UserResponse) SetPrivateUser(...)
- func (m *UserResponse) SetPublicUser(...)
- type UserResponseable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCodespacesGetResponseFromDiscriminatorValue ¶
func CreateCodespacesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue ¶
func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesItemMachinesResponseFromDiscriminatorValue ¶
func CreateCodespacesItemMachinesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesItemMachinesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesItemPublishPostRequestBodyFromDiscriminatorValue ¶
func CreateCodespacesItemPublishPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesItemPublishPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue ¶
func CreateCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesPostRequestBodyFromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesPostRequestBodyMember2_pull_requestFromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyMember2_pull_requestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyMember2_pull_requestFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesResponseFromDiscriminatorValue ¶
func CreateCodespacesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesSecretsGetResponseFromDiscriminatorValue ¶
func CreateCodespacesSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateCodespacesSecretsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateEmailVisibilityPatchRequestBodyFromDiscriminatorValue ¶
func CreateEmailVisibilityPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailVisibilityPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateEmailsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateEmailsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateEmailsPostRequestBodyFromDiscriminatorValue ¶
func CreateEmailsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateGpg_keysPostRequestBodyFromDiscriminatorValue ¶
func CreateGpg_keysPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateGpg_keysPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInstallationsGetResponseFromDiscriminatorValue ¶
func CreateInstallationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInstallationsItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateInstallationsItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsItemRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInstallationsResponseFromDiscriminatorValue ¶
func CreateInstallationsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInteractionLimitsGetResponseMember1FromDiscriminatorValue ¶
func CreateInteractionLimitsGetResponseMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInteractionLimitsGetResponseMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateKeysPostRequestBodyFromDiscriminatorValue ¶
func CreateKeysPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateKeysPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue ¶
func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateMigrationsPostRequestBodyFromDiscriminatorValue ¶
func CreateMigrationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMigrationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateProjectsPostRequestBodyFromDiscriminatorValue ¶
func CreateProjectsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateProjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateReposPostRequestBodyFromDiscriminatorValue ¶
func CreateReposPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateReposPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateSocial_accountsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateSocial_accountsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateSocial_accountsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateSocial_accountsPostRequestBodyFromDiscriminatorValue ¶
func CreateSocial_accountsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateSocial_accountsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateSsh_signing_keysPostRequestBodyFromDiscriminatorValue ¶
func CreateSsh_signing_keysPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateSsh_signing_keysPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateUserGetResponseFromDiscriminatorValue ¶
func CreateUserGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateUserPatchRequestBodyFromDiscriminatorValue ¶
func CreateUserPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateUserResponseFromDiscriminatorValue ¶
func CreateUserResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type BlocksRequestBuilder ¶
type BlocksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
BlocksRequestBuilder builds and executes requests for operations under \user\blocks
func NewBlocksRequestBuilder ¶
func NewBlocksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *BlocksRequestBuilder
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 ¶
func (m *BlocksRequestBuilder) ByUsername(username string) *BlocksWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.user.blocks.item collection
func (*BlocksRequestBuilder) Get ¶
func (m *BlocksRequestBuilder) Get(ctx context.Context, requestConfiguration *BlocksRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get list the users you've blocked on your personal account. API method documentation
func (*BlocksRequestBuilder) ToGetRequestInformation ¶
func (m *BlocksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BlocksRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func NewBlocksWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *BlocksWithUsernameItemRequestBuilder
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 ¶
func (m *BlocksWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration) error
Delete unblocks the given user and returns a 204. API method documentation
func (*BlocksWithUsernameItemRequestBuilder) Get ¶
func (m *BlocksWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderGetRequestConfiguration) error
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 ¶
func (m *BlocksWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation unblocks the given user and returns a 204.
func (*BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *BlocksWithUsernameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *BlocksWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *BlocksWithUsernameItemRequestBuilder
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 ¶
func (m *CodespacesGetResponse) GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable
GetCodespaces gets the codespaces property value. The codespaces property
func (*CodespacesGetResponse) GetFieldDeserializers ¶
func (m *CodespacesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesGetResponse) SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable)
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 CodespacesGetResponseable ¶
type CodespacesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable GetTotalCount() *int32 SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable) SetTotalCount(value *int32) }
CodespacesGetResponseable
type CodespacesItemExportsRequestBuilder ¶
type CodespacesItemExportsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesItemExportsRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\exports
func NewCodespacesItemExportsRequestBuilder ¶
func NewCodespacesItemExportsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemExportsRequestBuilder
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 ¶
func (m *CodespacesItemExportsRequestBuilder) ByExport_id(export_id string) *CodespacesItemExportsWithExport_ItemRequestBuilder
ByExport_id gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.item.exports.item collection
func (*CodespacesItemExportsRequestBuilder) Post ¶
func (m *CodespacesItemExportsRequestBuilder) Post(ctx context.Context, requestConfiguration *CodespacesItemExportsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceExportDetailsable, error)
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 ¶
func (m *CodespacesItemExportsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CodespacesItemExportsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemExportsRequestBuilder) WithUrl(rawUrl string) *CodespacesItemExportsRequestBuilder
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 ¶
func NewCodespacesItemExportsWithExport_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemExportsWithExport_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 ¶
func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesItemExportsWithExport_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceExportDetailsable, error)
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 ¶
func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesItemExportsWithExport_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) WithUrl(rawUrl string) *CodespacesItemExportsWithExport_ItemRequestBuilder
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 ¶
func (m *CodespacesItemMachinesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesItemMachinesGetResponse) GetMachines ¶
func (m *CodespacesItemMachinesGetResponse) GetMachines() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceMachineable
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 ¶
func (m *CodespacesItemMachinesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesItemMachinesGetResponse) SetMachines(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceMachineable)
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 CodespacesItemMachinesGetResponseable ¶
type CodespacesItemMachinesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMachines() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceMachineable GetTotalCount() *int32 SetMachines(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceMachineable) SetTotalCount(value *int32) }
CodespacesItemMachinesGetResponseable
type CodespacesItemMachinesRequestBuilder ¶
type CodespacesItemMachinesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesItemMachinesRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\machines
func NewCodespacesItemMachinesRequestBuilder ¶
func NewCodespacesItemMachinesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemMachinesRequestBuilder
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 ¶
func (m *CodespacesItemMachinesRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesItemMachinesRequestBuilderGetRequestConfiguration) (CodespacesItemMachinesResponseable, error)
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 ¶
func (m *CodespacesItemMachinesRequestBuilder) GetAsMachinesGetResponse(ctx context.Context, requestConfiguration *CodespacesItemMachinesRequestBuilderGetRequestConfiguration) (CodespacesItemMachinesGetResponseable, error)
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 ¶
func (m *CodespacesItemMachinesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesItemMachinesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemMachinesRequestBuilder) WithUrl(rawUrl string) *CodespacesItemMachinesRequestBuilder
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 ¶
type CodespacesItemMachinesResponseable interface { CodespacesItemMachinesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *CodespacesItemPublishPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesItemPublishPostRequestBody) GetName ¶
func (m *CodespacesItemPublishPostRequestBody) GetName() *string
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 ¶
func (m *CodespacesItemPublishPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type CodespacesItemPublishRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesItemPublishRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\publish
func NewCodespacesItemPublishRequestBuilder ¶
func NewCodespacesItemPublishRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemPublishRequestBuilder
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 ¶
func (m *CodespacesItemPublishRequestBuilder) Post(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, requestConfiguration *CodespacesItemPublishRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceWithFullRepositoryable, error)
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 ¶
func (m *CodespacesItemPublishRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, requestConfiguration *CodespacesItemPublishRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemPublishRequestBuilder) WithUrl(rawUrl string) *CodespacesItemPublishRequestBuilder
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 ¶
type CodespacesItemStartRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesItemStartRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\start
func NewCodespacesItemStartRequestBuilder ¶
func NewCodespacesItemStartRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStartRequestBuilder
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 ¶
func (m *CodespacesItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *CodespacesItemStartRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
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 ¶
func (m *CodespacesItemStartRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CodespacesItemStartRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemStartRequestBuilder) WithUrl(rawUrl string) *CodespacesItemStartRequestBuilder
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 ¶
type CodespacesItemStopRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesItemStopRequestBuilder builds and executes requests for operations under \user\codespaces\{codespace_name}\stop
func NewCodespacesItemStopRequestBuilder ¶
func NewCodespacesItemStopRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStopRequestBuilder
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 ¶
func (m *CodespacesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *CodespacesItemStopRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
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 ¶
func (m *CodespacesItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CodespacesItemStopRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesItemStopRequestBuilder) WithUrl(rawUrl string) *CodespacesItemStopRequestBuilder
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 ¶
func (m *CodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesItemWithCodespace_nameDeleteResponse) Serialize ¶
func (m *CodespacesItemWithCodespace_nameDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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_nameDeleteResponseable ¶
type CodespacesItemWithCodespace_nameDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
CodespacesItemWithCodespace_nameDeleteResponseable
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 ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetDisplayName() *string
GetDisplayName gets the display_name property value. Display name for this codespace
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetMachine ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetMachine() *string
GetMachine gets the machine property value. A valid machine to transition this codespace to.
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetRecentFolders ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetRecentFolders() []string
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 ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) SetMachine(value *string)
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 ¶
type CodespacesItemWithCodespace_nameResponseable interface { CodespacesItemWithCodespace_nameDeleteResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *CodespacesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesPostRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesPostRequestBodyMember1) GetRef() *string
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 ¶
func (m *CodespacesPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesPostRequestBodyMember2) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesPostRequestBodyMember2) GetPullRequest() CodespacesPostRequestBodyMember2_pull_requestable
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 ¶
func (m *CodespacesPostRequestBodyMember2) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesPostRequestBodyMember2) SetPullRequest(value CodespacesPostRequestBodyMember2_pull_requestable)
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 ¶
func (m *CodespacesPostRequestBodyMember2_pull_request) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesPostRequestBodyMember2_pull_request) GetRepositoryId() *int32
GetRepositoryId gets the repository_id property value. Repository id for this codespace
func (*CodespacesPostRequestBodyMember2_pull_request) Serialize ¶
func (m *CodespacesPostRequestBodyMember2_pull_request) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type CodespacesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesRequestBuilder builds and executes requests for operations under \user\codespaces
func NewCodespacesRequestBuilder ¶
func NewCodespacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesRequestBuilder
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 ¶
func (m *CodespacesRequestBuilder) ByCodespace_name(codespace_name string) *CodespacesWithCodespace_nameItemRequestBuilder
ByCodespace_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.item collection
func (*CodespacesRequestBuilder) Get ¶
func (m *CodespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesRequestBuilderGetRequestConfiguration) (CodespacesResponseable, error)
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 ¶
func (m *CodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, requestConfiguration *CodespacesRequestBuilderGetRequestConfiguration) (CodespacesGetResponseable, error)
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 ¶
func (m *CodespacesRequestBuilder) Post(ctx context.Context, body CodespacesPostRequestBodyable, requestConfiguration *CodespacesRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
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 ¶
func (m *CodespacesRequestBuilder) Secrets() *CodespacesSecretsRequestBuilder
Secrets the secrets property
func (*CodespacesRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesPostRequestBodyable, requestConfiguration *CodespacesRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesRequestBuilder) WithUrl(rawUrl string) *CodespacesRequestBuilder
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 ¶
type CodespacesResponseable interface { CodespacesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *CodespacesSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesSecretsGetResponse) GetSecrets ¶
func (m *CodespacesSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable
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 ¶
func (m *CodespacesSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesSecretsGetResponse) SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable)
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 CodespacesSecretsGetResponseable ¶
type CodespacesSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable GetTotalCount() *int32 SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable) SetTotalCount(value *int32) }
CodespacesSecretsGetResponseable
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 ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property
func (*CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*CodespacesSecretsItemRepositoriesGetResponse) Serialize ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable)
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 CodespacesSecretsItemRepositoriesGetResponseable ¶
type CodespacesSecretsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable) SetTotalCount(value *int32) }
CodespacesSecretsItemRepositoriesGetResponseable
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 ¶
func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CodespacesSecretsItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func NewCodespacesSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsItemRepositoriesRequestBuilder
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.secrets.item.repositories.item collection
func (*CodespacesSecretsItemRepositoriesRequestBuilder) Get ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (CodespacesSecretsItemRepositoriesResponseable, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (CodespacesSecretsItemRepositoriesGetResponseable, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *CodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *CodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsItemRepositoriesRequestBuilder
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 ¶
type CodespacesSecretsItemRepositoriesResponseable interface { CodespacesSecretsItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) 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 (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
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 ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
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 ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
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 ¶
func NewCodespacesSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsPublicKeyRequestBuilder
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 ¶
func (m *CodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesUserPublicKeyable, error)
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 ¶
func (m *CodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsPublicKeyRequestBuilder
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 ¶
type CodespacesSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CodespacesSecretsRequestBuilder builds and executes requests for operations under \user\codespaces\secrets
func NewCodespacesSecretsRequestBuilder ¶
func NewCodespacesSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsRequestBuilder
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 ¶
func (m *CodespacesSecretsRequestBuilder) BySecret_name(secret_name string) *CodespacesSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.user.codespaces.secrets.item collection
func (*CodespacesSecretsRequestBuilder) Get ¶
func (m *CodespacesSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesSecretsRequestBuilderGetRequestConfiguration) (CodespacesSecretsResponseable, error)
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 ¶
func (m *CodespacesSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, requestConfiguration *CodespacesSecretsRequestBuilderGetRequestConfiguration) (CodespacesSecretsGetResponseable, error)
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 ¶
func (m *CodespacesSecretsRequestBuilder) PublicKey() *CodespacesSecretsPublicKeyRequestBuilder
PublicKey the publicKey property
func (*CodespacesSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsRequestBuilder
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 ¶
type CodespacesSecretsResponseable interface { CodespacesSecretsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func NewCodespacesSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsWithSecret_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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable, error)
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body CodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories() *CodespacesSecretsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body CodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *CodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *CodespacesSecretsWithSecret_nameItemRequestBuilder
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 ¶
func NewCodespacesWithCodespace_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesWithCodespace_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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (CodespacesItemWithCodespace_nameResponseable, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse(ctx context.Context, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (CodespacesItemWithCodespace_nameDeleteResponseable, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Exports() *CodespacesItemExportsRequestBuilder
Exports the exports property
func (*CodespacesWithCodespace_nameItemRequestBuilder) Get ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Machines() *CodespacesItemMachinesRequestBuilder
Machines the machines property
func (*CodespacesWithCodespace_nameItemRequestBuilder) Patch ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Patch(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Publish() *CodespacesItemPublishRequestBuilder
Publish the publish property
func (*CodespacesWithCodespace_nameItemRequestBuilder) Start ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Start() *CodespacesItemStartRequestBuilder
Start the start property
func (*CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, requestConfiguration *CodespacesWithCodespace_nameItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) WithUrl(rawUrl string) *CodespacesWithCodespace_nameItemRequestBuilder
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 ¶
type DockerConflictsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
DockerConflictsRequestBuilder builds and executes requests for operations under \user\docker\conflicts
func NewDockerConflictsRequestBuilder ¶
func NewDockerConflictsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DockerConflictsRequestBuilder
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 ¶
func (m *DockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *DockerConflictsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
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 ¶
func (m *DockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DockerConflictsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *DockerConflictsRequestBuilder) WithUrl(rawUrl string) *DockerConflictsRequestBuilder
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 ¶
type DockerRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
DockerRequestBuilder builds and executes requests for operations under \user\docker
func NewDockerRequestBuilder ¶
func NewDockerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DockerRequestBuilder
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 ¶
func (m *DockerRequestBuilder) Conflicts() *DockerConflictsRequestBuilder
Conflicts the conflicts property
type EmailRequestBuilder ¶
type EmailRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
EmailRequestBuilder builds and executes requests for operations under \user\email
func NewEmailRequestBuilder ¶
func NewEmailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailRequestBuilder
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 ¶
func (m *EmailRequestBuilder) Visibility() *EmailVisibilityRequestBuilder
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 ¶
func (m *EmailVisibilityPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*EmailVisibilityPatchRequestBody) Serialize ¶
func (m *EmailVisibilityPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 EmailVisibilityPatchRequestBodyable ¶
type EmailVisibilityPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
EmailVisibilityPatchRequestBodyable
type EmailVisibilityRequestBuilder ¶
type EmailVisibilityRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
EmailVisibilityRequestBuilder builds and executes requests for operations under \user\email\visibility
func NewEmailVisibilityRequestBuilder ¶
func NewEmailVisibilityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailVisibilityRequestBuilder
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 ¶
func (m *EmailVisibilityRequestBuilder) Patch(ctx context.Context, body EmailVisibilityPatchRequestBodyable, requestConfiguration *EmailVisibilityRequestBuilderPatchRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
Patch sets the visibility for your primary email addresses. API method documentation
func (*EmailVisibilityRequestBuilder) ToPatchRequestInformation ¶
func (m *EmailVisibilityRequestBuilder) ToPatchRequestInformation(ctx context.Context, body EmailVisibilityPatchRequestBodyable, requestConfiguration *EmailVisibilityRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation sets the visibility for your primary email addresses.
func (*EmailVisibilityRequestBuilder) WithUrl ¶
func (m *EmailVisibilityRequestBuilder) WithUrl(rawUrl string) *EmailVisibilityRequestBuilder
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 ¶
func (m *EmailsDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *EmailsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *EmailsDeleteRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*EmailsDeleteRequestBodyMember1) Serialize ¶
func (m *EmailsDeleteRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 EmailsDeleteRequestBodyMember1able ¶
type EmailsDeleteRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmails() []string SetEmails(value []string) }
EmailsDeleteRequestBodyMember1able
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 ¶
func (m *EmailsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *EmailsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *EmailsPostRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*EmailsPostRequestBodyMember1) Serialize ¶
func (m *EmailsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 EmailsPostRequestBodyMember1able ¶
type EmailsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmails() []string SetEmails(value []string) }
EmailsPostRequestBodyMember1able
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 ¶
type EmailsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
EmailsRequestBuilder builds and executes requests for operations under \user\emails
func NewEmailsRequestBuilder ¶
func NewEmailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailsRequestBuilder
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 ¶
func (m *EmailsRequestBuilder) Delete(ctx context.Context, body EmailsDeleteRequestBodyable, requestConfiguration *EmailsRequestBuilderDeleteRequestConfiguration) error
Delete this endpoint is accessible with the `user` scope. API method documentation
func (*EmailsRequestBuilder) Get ¶
func (m *EmailsRequestBuilder) Get(ctx context.Context, requestConfiguration *EmailsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
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 ¶
func (m *EmailsRequestBuilder) Post(ctx context.Context, body EmailsPostRequestBodyable, requestConfiguration *EmailsRequestBuilderPostRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
Post this endpoint is accessible with the `user` scope. API method documentation
func (*EmailsRequestBuilder) ToDeleteRequestInformation ¶
func (m *EmailsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body EmailsDeleteRequestBodyable, requestConfiguration *EmailsRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation this endpoint is accessible with the `user` scope.
func (*EmailsRequestBuilder) ToGetRequestInformation ¶
func (m *EmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmailsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *EmailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body EmailsPostRequestBodyable, requestConfiguration *EmailsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
type FollowersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
FollowersRequestBuilder builds and executes requests for operations under \user\followers
func NewFollowersRequestBuilder ¶
func NewFollowersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowersRequestBuilder
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 ¶
func (m *FollowersRequestBuilder) Get(ctx context.Context, requestConfiguration *FollowersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people following the authenticated user. API method documentation
func (*FollowersRequestBuilder) ToGetRequestInformation ¶
func (m *FollowersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FollowersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people following the authenticated user.
func (*FollowersRequestBuilder) WithUrl ¶
func (m *FollowersRequestBuilder) WithUrl(rawUrl string) *FollowersRequestBuilder
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 ¶
type FollowingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
FollowingRequestBuilder builds and executes requests for operations under \user\following
func NewFollowingRequestBuilder ¶
func NewFollowingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowingRequestBuilder
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 ¶
func (m *FollowingRequestBuilder) ByUsername(username string) *FollowingWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.user.following.item collection
func (*FollowingRequestBuilder) Get ¶
func (m *FollowingRequestBuilder) Get(ctx context.Context, requestConfiguration *FollowingRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people who the authenticated user follows. API method documentation
func (*FollowingRequestBuilder) ToGetRequestInformation ¶
func (m *FollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FollowingRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people who the authenticated user follows.
func (*FollowingRequestBuilder) WithUrl ¶
func (m *FollowingRequestBuilder) WithUrl(rawUrl string) *FollowingRequestBuilder
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 ¶
func NewFollowingWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowingWithUsernameItemRequestBuilder
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 ¶
func (m *FollowingWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *FollowingWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderGetRequestConfiguration) error
Get check if a person is followed by the authenticated user API method documentation
func (*FollowingWithUsernameItemRequestBuilder) Put ¶
func (m *FollowingWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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) ToGetRequestInformation ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
func (*FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *FollowingWithUsernameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *FollowingWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *FollowingWithUsernameItemRequestBuilder
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 ¶
func (m *Gpg_keysPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *Gpg_keysPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type Gpg_keysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Gpg_keysRequestBuilder builds and executes requests for operations under \user\gpg_keys
func NewGpg_keysRequestBuilder ¶
func NewGpg_keysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Gpg_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 ¶
func (m *Gpg_keysRequestBuilder) ByGpg_key_id(gpg_key_id string) *Gpg_keysWithGpg_key_ItemRequestBuilder
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 ¶
func (m *Gpg_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *Gpg_keysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
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 ¶
func (m *Gpg_keysRequestBuilder) Post(ctx context.Context, body Gpg_keysPostRequestBodyable, requestConfiguration *Gpg_keysRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
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 ¶
func (m *Gpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Gpg_keysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Gpg_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Gpg_keysPostRequestBodyable, requestConfiguration *Gpg_keysRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Gpg_keysRequestBuilder) WithUrl(rawUrl string) *Gpg_keysRequestBuilder
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 ¶
func NewGpg_keysWithGpg_key_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Gpg_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 ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *Gpg_keysWithGpg_key_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *Gpg_keysWithGpg_key_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
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 ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *Gpg_keysWithGpg_key_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Gpg_keysWithGpg_key_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) WithUrl(rawUrl string) *Gpg_keysWithGpg_key_ItemRequestBuilder
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 ¶
func (m *InstallationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*InstallationsGetResponse) GetInstallations ¶
func (m *InstallationsGetResponse) GetInstallations() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable
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 ¶
func (m *InstallationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InstallationsGetResponse) SetAdditionalData ¶
func (m *InstallationsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*InstallationsGetResponse) SetInstallations ¶
func (m *InstallationsGetResponse) SetInstallations(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable)
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 InstallationsGetResponseable ¶
type InstallationsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInstallations() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable GetTotalCount() *int32 SetInstallations(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable) SetTotalCount(value *int32) }
InstallationsGetResponseable
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 ¶
func (m *InstallationsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*InstallationsItemRepositoriesGetResponse) GetRepositories ¶
func (m *InstallationsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable
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 ¶
func (m *InstallationsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *InstallationsItemRepositoriesGetResponse) SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable)
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 ¶
type InstallationsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable GetRepositorySelection() *string GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable) SetRepositorySelection(value *string) SetTotalCount(value *int32) }
InstallationsItemRepositoriesGetResponseable
type InstallationsItemRepositoriesRequestBuilder ¶
type InstallationsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InstallationsItemRepositoriesRequestBuilder builds and executes requests for operations under \user\installations\{installation_id}\repositories
func NewInstallationsItemRepositoriesRequestBuilder ¶
func NewInstallationsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsItemRepositoriesRequestBuilder
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 ¶
func (m *InstallationsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *InstallationsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.installations.item.repositories.item collection
func (*InstallationsItemRepositoriesRequestBuilder) Get ¶
func (m *InstallationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesRequestBuilderGetRequestConfiguration) (InstallationsItemRepositoriesResponseable, error)
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 ¶
func (m *InstallationsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesRequestBuilderGetRequestConfiguration) (InstallationsItemRepositoriesGetResponseable, error)
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 ¶
func (m *InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *InstallationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *InstallationsItemRepositoriesRequestBuilder
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 ¶
type InstallationsItemRepositoriesResponseable interface { InstallationsItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *InstallationsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
type InstallationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InstallationsRequestBuilder builds and executes requests for operations under \user\installations
func NewInstallationsRequestBuilder ¶
func NewInstallationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsRequestBuilder
NewInstallationsRequestBuilder instantiates a new InstallationsRequestBuilder and sets the default values.
func NewInstallationsRequestBuilderInternal ¶
func NewInstallationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsRequestBuilder
NewInstallationsRequestBuilderInternal instantiates a new InstallationsRequestBuilder and sets the default values.
func (*InstallationsRequestBuilder) ByInstallation_id ¶
func (m *InstallationsRequestBuilder) ByInstallation_id(installation_id string) *InstallationsWithInstallation_ItemRequestBuilder
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 ¶
func (m *InstallationsRequestBuilder) Get(ctx context.Context, requestConfiguration *InstallationsRequestBuilderGetRequestConfiguration) (InstallationsResponseable, error)
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 ¶
func (m *InstallationsRequestBuilder) GetAsInstallationsGetResponse(ctx context.Context, requestConfiguration *InstallationsRequestBuilderGetRequestConfiguration) (InstallationsGetResponseable, error)
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 ¶
func (m *InstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InstallationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *InstallationsRequestBuilder) WithUrl(rawUrl string) *InstallationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
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 ¶
type InstallationsResponseable interface { InstallationsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func NewInstallationsWithInstallation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsWithInstallation_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 ¶
func (m *InstallationsWithInstallation_ItemRequestBuilder) Repositories() *InstallationsItemRepositoriesRequestBuilder
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 ¶
func (m *InteractionLimitsGetResponseMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*InteractionLimitsGetResponseMember1) Serialize ¶
func (m *InteractionLimitsGetResponseMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
type InteractionLimitsGetResponseMember1able ¶
type InteractionLimitsGetResponseMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
InteractionLimitsGetResponseMember1able
type InteractionLimitsRequestBuilder ¶
type InteractionLimitsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
InteractionLimitsRequestBuilder builds and executes requests for operations under \user\interaction-limits
func NewInteractionLimitsRequestBuilder ¶
func NewInteractionLimitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InteractionLimitsRequestBuilder
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 ¶
func (m *InteractionLimitsRequestBuilder) Delete(ctx context.Context, requestConfiguration *InteractionLimitsRequestBuilderDeleteRequestConfiguration) error
Delete removes any interaction restrictions from your public repositories. API method documentation
func (*InteractionLimitsRequestBuilder) Get ¶
func (m *InteractionLimitsRequestBuilder) Get(ctx context.Context, requestConfiguration *InteractionLimitsRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable, error)
Get shows which type of GitHub user can interact with your public repositories and when the restriction expires. API method documentation
func (*InteractionLimitsRequestBuilder) Put ¶
func (m *InteractionLimitsRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *InteractionLimitsRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable, error)
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 ¶
func (m *InteractionLimitsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *InteractionLimitsRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes any interaction restrictions from your public repositories.
func (*InteractionLimitsRequestBuilder) ToGetRequestInformation ¶
func (m *InteractionLimitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InteractionLimitsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows which type of GitHub user can interact with your public repositories and when the restriction expires.
func (*InteractionLimitsRequestBuilder) ToPutRequestInformation ¶
func (m *InteractionLimitsRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *InteractionLimitsRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *InteractionLimitsRequestBuilder) WithUrl(rawUrl string) *InteractionLimitsRequestBuilder
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 ¶
type IssuesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
IssuesRequestBuilder builds and executes requests for operations under \user\issues
func NewIssuesRequestBuilder ¶
func NewIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *IssuesRequestBuilder
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 ¶
func (m *IssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *IssuesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Issueable, error)
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 ¶
func (m *IssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IssuesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *KeysPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *KeysPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 KeysPostRequestBodyable ¶
type KeysPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetKey() *string GetTitle() *string SetKey(value *string) SetTitle(value *string) }
KeysPostRequestBodyable
type KeysRequestBuilder ¶
type KeysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
KeysRequestBuilder builds and executes requests for operations under \user\keys
func NewKeysRequestBuilder ¶
func NewKeysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysRequestBuilder
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 ¶
func (m *KeysRequestBuilder) ByKey_id(key_id string) *KeysWithKey_ItemRequestBuilder
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 ¶
func (m *KeysRequestBuilder) Get(ctx context.Context, requestConfiguration *KeysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
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 ¶
func (m *KeysRequestBuilder) Post(ctx context.Context, body KeysPostRequestBodyable, requestConfiguration *KeysRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
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 ¶
func (m *KeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *KeysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *KeysRequestBuilder) ToPostRequestInformation(ctx context.Context, body KeysPostRequestBodyable, requestConfiguration *KeysRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
type KeysWithKey_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
KeysWithKey_ItemRequestBuilder builds and executes requests for operations under \user\keys\{key_id}
func NewKeysWithKey_ItemRequestBuilder ¶
func NewKeysWithKey_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysWithKey_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 ¶
func (m *KeysWithKey_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *KeysWithKey_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *KeysWithKey_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *KeysWithKey_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
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 ¶
func (m *KeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *KeysWithKey_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *KeysWithKey_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *KeysWithKey_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *KeysWithKey_ItemRequestBuilder) WithUrl(rawUrl string) *KeysWithKey_ItemRequestBuilder
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 ¶
type Marketplace_purchasesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Marketplace_purchasesRequestBuilder builds and executes requests for operations under \user\marketplace_purchases
func NewMarketplace_purchasesRequestBuilder ¶
func NewMarketplace_purchasesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_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 ¶
func (m *Marketplace_purchasesRequestBuilder) Get(ctx context.Context, requestConfiguration *Marketplace_purchasesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.UserMarketplacePurchaseable, error)
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 ¶
func (m *Marketplace_purchasesRequestBuilder) Stubbed() *Marketplace_purchasesStubbedRequestBuilder
Stubbed the stubbed property
func (*Marketplace_purchasesRequestBuilder) ToGetRequestInformation ¶
func (m *Marketplace_purchasesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Marketplace_purchasesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Marketplace_purchasesRequestBuilder) WithUrl(rawUrl string) *Marketplace_purchasesRequestBuilder
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 ¶
func NewMarketplace_purchasesStubbedRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Marketplace_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 ¶
func (m *Marketplace_purchasesStubbedRequestBuilder) Get(ctx context.Context, requestConfiguration *Marketplace_purchasesStubbedRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.UserMarketplacePurchaseable, error)
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 ¶
func (m *Marketplace_purchasesStubbedRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Marketplace_purchasesStubbedRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Marketplace_purchasesStubbedRequestBuilder) WithUrl(rawUrl string) *Marketplace_purchasesStubbedRequestBuilder
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 ¶
func (m *MembershipsOrgsItemWithOrgPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*MembershipsOrgsItemWithOrgPatchRequestBody) Serialize ¶
func (m *MembershipsOrgsItemWithOrgPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 MembershipsOrgsItemWithOrgPatchRequestBodyable ¶
type MembershipsOrgsItemWithOrgPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
MembershipsOrgsItemWithOrgPatchRequestBodyable
type MembershipsOrgsRequestBuilder ¶
type MembershipsOrgsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
MembershipsOrgsRequestBuilder builds and executes requests for operations under \user\memberships\orgs
func NewMembershipsOrgsRequestBuilder ¶
func NewMembershipsOrgsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsRequestBuilder
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 ¶
func (m *MembershipsOrgsRequestBuilder) ByOrg(org string) *MembershipsOrgsWithOrgItemRequestBuilder
ByOrg gets an item from the github.com/octokit/go-sdk/pkg/github/.user.memberships.orgs.item collection
func (*MembershipsOrgsRequestBuilder) Get ¶
func (m *MembershipsOrgsRequestBuilder) Get(ctx context.Context, requestConfiguration *MembershipsOrgsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgMembershipable, error)
Get lists all of the authenticated user's organization memberships. API method documentation
func (*MembershipsOrgsRequestBuilder) ToGetRequestInformation ¶
func (m *MembershipsOrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MembershipsOrgsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all of the authenticated user's organization memberships.
func (*MembershipsOrgsRequestBuilder) WithUrl ¶
func (m *MembershipsOrgsRequestBuilder) WithUrl(rawUrl string) *MembershipsOrgsRequestBuilder
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 ¶
func NewMembershipsOrgsWithOrgItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsWithOrgItemRequestBuilder
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 ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MembershipsOrgsWithOrgItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgMembershipable, error)
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 ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) Patch(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, requestConfiguration *MembershipsOrgsWithOrgItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgMembershipable, error)
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 ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MembershipsOrgsWithOrgItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, requestConfiguration *MembershipsOrgsWithOrgItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *MembershipsOrgsWithOrgItemRequestBuilder
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 ¶
type MembershipsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
MembershipsRequestBuilder builds and executes requests for operations under \user\memberships
func NewMembershipsRequestBuilder ¶
func NewMembershipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsRequestBuilder
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 ¶
func (m *MembershipsRequestBuilder) Orgs() *MembershipsOrgsRequestBuilder
Orgs the orgs property
type MigrationsItemArchiveRequestBuilder ¶
type MigrationsItemArchiveRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
MigrationsItemArchiveRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\archive
func NewMigrationsItemArchiveRequestBuilder ¶
func NewMigrationsItemArchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemArchiveRequestBuilder
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 ¶
func (m *MigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, requestConfiguration *MigrationsItemArchiveRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *MigrationsItemArchiveRequestBuilder) Get(ctx context.Context, requestConfiguration *MigrationsItemArchiveRequestBuilderGetRequestConfiguration) ([]byte, error)
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 ¶
func (m *MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MigrationsItemArchiveRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MigrationsItemArchiveRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *MigrationsItemArchiveRequestBuilder
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 ¶
func NewMigrationsItemReposItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposItemLockRequestBuilder
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 ¶
func (m *MigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, requestConfiguration *MigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *MigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MigrationsItemReposItemLockRequestBuilder) WithUrl(rawUrl string) *MigrationsItemReposItemLockRequestBuilder
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 ¶
type MigrationsItemReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
MigrationsItemReposRequestBuilder builds and executes requests for operations under \user\migrations\{migration_id}\repos
func NewMigrationsItemReposRequestBuilder ¶
func NewMigrationsItemReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposRequestBuilder
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 ¶
func (m *MigrationsItemReposRequestBuilder) ByRepo_name(repo_name string) *MigrationsItemReposWithRepo_nameItemRequestBuilder
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 ¶
func NewMigrationsItemReposWithRepo_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposWithRepo_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 ¶
func (m *MigrationsItemReposWithRepo_nameItemRequestBuilder) Lock() *MigrationsItemReposItemLockRequestBuilder
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 ¶
func NewMigrationsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemRepositoriesRequestBuilder
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 ¶
func (m *MigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *MigrationsItemRepositoriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists all the repositories for this user migration. API method documentation
func (*MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MigrationsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all the repositories for this user migration.
func (*MigrationsItemRepositoriesRequestBuilder) WithUrl ¶
func (m *MigrationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *MigrationsItemRepositoriesRequestBuilder
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 ¶
func (m *MigrationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *MigrationsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type MigrationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
MigrationsRequestBuilder builds and executes requests for operations under \user\migrations
func NewMigrationsRequestBuilder ¶
func NewMigrationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsRequestBuilder
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 ¶
func (m *MigrationsRequestBuilder) ByMigration_id(migration_id string) *MigrationsWithMigration_ItemRequestBuilder
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 ¶
func (m *MigrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *MigrationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
Get lists all migrations a user has started. API method documentation
func (*MigrationsRequestBuilder) Post ¶
func (m *MigrationsRequestBuilder) Post(ctx context.Context, body MigrationsPostRequestBodyable, requestConfiguration *MigrationsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
Post initiates the generation of a user migration archive. API method documentation
func (*MigrationsRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MigrationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all migrations a user has started.
func (*MigrationsRequestBuilder) ToPostRequestInformation ¶
func (m *MigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body MigrationsPostRequestBodyable, requestConfiguration *MigrationsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation initiates the generation of a user migration archive.
func (*MigrationsRequestBuilder) WithUrl ¶
func (m *MigrationsRequestBuilder) WithUrl(rawUrl string) *MigrationsRequestBuilder
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 ¶
func NewMigrationsWithMigration_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsWithMigration_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 ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Archive() *MigrationsItemArchiveRequestBuilder
Archive the archive property
func (*MigrationsWithMigration_ItemRequestBuilder) Get ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
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 ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Repos() *MigrationsItemReposRequestBuilder
Repos the repos property
func (*MigrationsWithMigration_ItemRequestBuilder) Repositories ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Repositories() *MigrationsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) WithUrl(rawUrl string) *MigrationsWithMigration_ItemRequestBuilder
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 ¶
type OrgsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OrgsRequestBuilder builds and executes requests for operations under \user\orgs
func NewOrgsRequestBuilder ¶
func NewOrgsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrgsRequestBuilder
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 ¶
func (m *OrgsRequestBuilder) Get(ctx context.Context, requestConfiguration *OrgsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationSimpleable, error)
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 ¶
func (m *OrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrgsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func NewPackagesItemItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemRestoreRequestBuilder
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 ¶
func (m *PackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *PackagesItemItemRestoreRequestBuilderPostRequestConfiguration) error
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 ¶
func (m *PackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *PackagesItemItemRestoreRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemItemRestoreRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemRestoreRequestBuilder
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 ¶
func NewPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsItemRestoreRequestBuilder
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 ¶
func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *PackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) error
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 ¶
func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *PackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsItemRestoreRequestBuilder
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 ¶
func NewPackagesItemItemVersionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsRequestBuilder
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 ¶
func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
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 ¶
func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(package_version_id int32) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
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 ¶
func (m *PackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *PackagesItemItemVersionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
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 ¶
func (m *PackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PackagesItemItemVersionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsRequestBuilder
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 ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
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 ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *PackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
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 ¶
func NewPackagesItemWithPackage_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemWithPackage_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 ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
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 ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Restore() *PackagesItemItemRestoreRequestBuilder
Restore the restore property
func (*PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Versions() *PackagesItemItemVersionsRequestBuilder
Versions the versions property
func (*PackagesItemWithPackage_nameItemRequestBuilder) WithUrl ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *PackagesItemWithPackage_nameItemRequestBuilder
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 ¶
type PackagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PackagesRequestBuilder builds and executes requests for operations under \user\packages
func NewPackagesRequestBuilder ¶
func NewPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesRequestBuilder
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 ¶
func (m *PackagesRequestBuilder) ByPackage_type(package_type string) *PackagesWithPackage_typeItemRequestBuilder
ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github/.user.packages.item collection
func (*PackagesRequestBuilder) Get ¶
func (m *PackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *PackagesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
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 ¶
func (m *PackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PackagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *PackagesRequestBuilder) WithUrl(rawUrl string) *PackagesRequestBuilder
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 ¶
func NewPackagesWithPackage_typeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesWithPackage_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 ¶
func (m *PackagesWithPackage_typeItemRequestBuilder) ByPackage_name(package_name string) *PackagesItemWithPackage_nameItemRequestBuilder
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 ¶
func (m *ProjectsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *ProjectsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type ProjectsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetName() *string SetBody(value *string) SetName(value *string) }
ProjectsPostRequestBodyable
type ProjectsRequestBuilder ¶
type ProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ProjectsRequestBuilder builds and executes requests for operations under \user\projects
func NewProjectsRequestBuilder ¶
func NewProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ProjectsRequestBuilder
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 ¶
func (m *ProjectsRequestBuilder) Post(ctx context.Context, body ProjectsPostRequestBodyable, requestConfiguration *ProjectsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Projectable, error)
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 ¶
func (m *ProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ProjectsPostRequestBodyable, requestConfiguration *ProjectsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ProjectsRequestBuilder) WithUrl(rawUrl string) *ProjectsRequestBuilder
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 ¶
type Public_emailsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Public_emailsRequestBuilder builds and executes requests for operations under \user\public_emails
func NewPublic_emailsRequestBuilder ¶
func NewPublic_emailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Public_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 ¶
func (m *Public_emailsRequestBuilder) Get(ctx context.Context, requestConfiguration *Public_emailsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
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 ¶
func (m *Public_emailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Public_emailsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Public_emailsRequestBuilder) WithUrl(rawUrl string) *Public_emailsRequestBuilder
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 ¶
func (m *ReposPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *ReposPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type ReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ReposRequestBuilder builds and executes requests for operations under \user\repos
func NewReposRequestBuilder ¶
func NewReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ReposRequestBuilder
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 ¶
func (m *ReposRequestBuilder) Get(ctx context.Context, requestConfiguration *ReposRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable, error)
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 ¶
func (m *ReposRequestBuilder) Post(ctx context.Context, body ReposPostRequestBodyable, requestConfiguration *ReposRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.FullRepositoryable, error)
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 ¶
func (m *ReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReposRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReposPostRequestBodyable, requestConfiguration *ReposRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func NewRepository_invitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Repository_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 ¶
func (m *Repository_invitationsRequestBuilder) ByInvitation_id(invitation_id string) *Repository_invitationsWithInvitation_ItemRequestBuilder
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 ¶
func (m *Repository_invitationsRequestBuilder) ByInvitation_idInteger(invitation_id int32) *Repository_invitationsWithInvitation_ItemRequestBuilder
ByInvitation_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.user.repository_invitations.item collection
func (*Repository_invitationsRequestBuilder) Get ¶
func (m *Repository_invitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *Repository_invitationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryInvitationable, error)
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 ¶
func (m *Repository_invitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Repository_invitationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation when authenticating as a user, this endpoint will list all currently open repository invitations for that user.
func (*Repository_invitationsRequestBuilder) WithUrl ¶
func (m *Repository_invitationsRequestBuilder) WithUrl(rawUrl string) *Repository_invitationsRequestBuilder
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 ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *Repository_invitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration) error
Delete decline a repository invitation API method documentation
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) Patch ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Patch(ctx context.Context, requestConfiguration *Repository_invitationsWithInvitation_ItemRequestBuilderPatchRequestConfiguration) error
Patch accept a repository invitation API method documentation
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *Repository_invitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestConfiguration *Repository_invitationsWithInvitation_ItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) WithUrl ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *Repository_invitationsWithInvitation_ItemRequestBuilder
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 ¶
func (m *Social_accountsDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*Social_accountsDeleteRequestBody) Serialize ¶
func (m *Social_accountsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type Social_accountsDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccountUrls() []string SetAccountUrls(value []string) }
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 ¶
func (m *Social_accountsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*Social_accountsPostRequestBody) Serialize ¶
func (m *Social_accountsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type Social_accountsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccountUrls() []string SetAccountUrls(value []string) }
Social_accountsPostRequestBodyable
type Social_accountsRequestBuilder ¶
type Social_accountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Social_accountsRequestBuilder builds and executes requests for operations under \user\social_accounts
func NewSocial_accountsRequestBuilder ¶
func NewSocial_accountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Social_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 ¶
func (m *Social_accountsRequestBuilder) Delete(ctx context.Context, body Social_accountsDeleteRequestBodyable, requestConfiguration *Social_accountsRequestBuilderDeleteRequestConfiguration) error
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) Get ¶
func (m *Social_accountsRequestBuilder) Get(ctx context.Context, requestConfiguration *Social_accountsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SocialAccountable, error)
Get lists all of your social accounts. API method documentation
func (*Social_accountsRequestBuilder) Post ¶
func (m *Social_accountsRequestBuilder) Post(ctx context.Context, body Social_accountsPostRequestBodyable, requestConfiguration *Social_accountsRequestBuilderPostRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SocialAccountable, error)
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 ¶
func (m *Social_accountsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body Social_accountsDeleteRequestBodyable, requestConfiguration *Social_accountsRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Social_accountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Social_accountsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all of your social accounts.
func (*Social_accountsRequestBuilder) ToPostRequestInformation ¶
func (m *Social_accountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body Social_accountsPostRequestBodyable, requestConfiguration *Social_accountsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Social_accountsRequestBuilder) WithUrl(rawUrl string) *Social_accountsRequestBuilder
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 ¶
func (m *Ssh_signing_keysPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*Ssh_signing_keysPostRequestBody) GetKey ¶
func (m *Ssh_signing_keysPostRequestBody) GetKey() *string
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 ¶
func (m *Ssh_signing_keysPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type Ssh_signing_keysPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetKey() *string GetTitle() *string SetKey(value *string) SetTitle(value *string) }
Ssh_signing_keysPostRequestBodyable
type Ssh_signing_keysRequestBuilder ¶
type Ssh_signing_keysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
Ssh_signing_keysRequestBuilder builds and executes requests for operations under \user\ssh_signing_keys
func NewSsh_signing_keysRequestBuilder ¶
func NewSsh_signing_keysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Ssh_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 ¶
func (m *Ssh_signing_keysRequestBuilder) BySsh_signing_key_id(ssh_signing_key_id string) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
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 ¶
func (m *Ssh_signing_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *Ssh_signing_keysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
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 ¶
func (m *Ssh_signing_keysRequestBuilder) Post(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, requestConfiguration *Ssh_signing_keysRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
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 ¶
func (m *Ssh_signing_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Ssh_signing_keysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Ssh_signing_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, requestConfiguration *Ssh_signing_keysRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Ssh_signing_keysRequestBuilder) WithUrl(rawUrl string) *Ssh_signing_keysRequestBuilder
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 ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderDeleteRequestConfiguration) error
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 ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
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 ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) WithUrl(rawUrl string) *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder
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 ¶
func NewStarredItemWithRepoItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredItemWithRepoItemRequestBuilder
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 ¶
func (m *StarredItemWithRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderDeleteRequestConfiguration) error
Delete unstar a repository that the authenticated user has previously starred. API method documentation
func (*StarredItemWithRepoItemRequestBuilder) Get ¶
func (m *StarredItemWithRepoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderGetRequestConfiguration) error
Get whether the authenticated user has starred the repository. API method documentation
func (*StarredItemWithRepoItemRequestBuilder) Put ¶
func (m *StarredItemWithRepoItemRequestBuilder) Put(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderPutRequestConfiguration) error
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 ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation unstar a repository that the authenticated user has previously starred.
func (*StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation whether the authenticated user has starred the repository.
func (*StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *StarredItemWithRepoItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *StarredItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *StarredItemWithRepoItemRequestBuilder
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 ¶
type StarredRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StarredRequestBuilder builds and executes requests for operations under \user\starred
func NewStarredRequestBuilder ¶
func NewStarredRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredRequestBuilder
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 ¶
func (m *StarredRequestBuilder) ByOwner(owner string) *StarredWithOwnerItemRequestBuilder
ByOwner gets an item from the github.com/octokit/go-sdk/pkg/github/.user.starred.item collection
func (*StarredRequestBuilder) Get ¶
func (m *StarredRequestBuilder) Get(ctx context.Context, requestConfiguration *StarredRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable, error)
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 ¶
func (m *StarredRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *StarredRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *StarredRequestBuilder) WithUrl(rawUrl string) *StarredRequestBuilder
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 ¶
type StarredWithOwnerItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
StarredWithOwnerItemRequestBuilder builds and executes requests for operations under \user\starred\{owner}
func NewStarredWithOwnerItemRequestBuilder ¶
func NewStarredWithOwnerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredWithOwnerItemRequestBuilder
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 ¶
func (m *StarredWithOwnerItemRequestBuilder) ByRepo(repo string) *StarredItemWithRepoItemRequestBuilder
ByRepo gets an item from the github.com/octokit/go-sdk/pkg/github/.user.starred.item.item collection
type SubscriptionsRequestBuilder ¶
type SubscriptionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
SubscriptionsRequestBuilder builds and executes requests for operations under \user\subscriptions
func NewSubscriptionsRequestBuilder ¶
func NewSubscriptionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsRequestBuilder
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 ¶
func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists repositories the authenticated user is watching. API method documentation
func (*SubscriptionsRequestBuilder) ToGetRequestInformation ¶
func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories the authenticated user is watching.
func (*SubscriptionsRequestBuilder) WithUrl ¶
func (m *SubscriptionsRequestBuilder) WithUrl(rawUrl string) *SubscriptionsRequestBuilder
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 ¶
type TeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
TeamsRequestBuilder builds and executes requests for operations under \user\teams
func NewTeamsRequestBuilder ¶
func NewTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamsRequestBuilder
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 ¶
func (m *TeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, error)
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 ¶
func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *UserGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *UserGetResponse) GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser
func (*UserGetResponse) GetPublicUser ¶
func (m *UserGetResponse) GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type publicUser
func (*UserGetResponse) Serialize ¶
func (m *UserGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UserGetResponse) SetPrivateUser ¶
func (m *UserGetResponse) SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable)
SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser
func (*UserGetResponse) SetPublicUser ¶
func (m *UserGetResponse) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type publicUser
type UserGetResponseable ¶
type UserGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable) }
UserGetResponseable
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 ¶
func (m *UserPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *UserPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type UserRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UserRequestBuilder builds and executes requests for operations under \user
func NewUserRequestBuilder ¶
func NewUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UserRequestBuilder
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 ¶
func (m *UserRequestBuilder) Blocks() *BlocksRequestBuilder
Blocks the blocks property
func (*UserRequestBuilder) Codespaces ¶
func (m *UserRequestBuilder) Codespaces() *CodespacesRequestBuilder
Codespaces the codespaces property
func (*UserRequestBuilder) Docker ¶
func (m *UserRequestBuilder) Docker() *DockerRequestBuilder
Docker the docker property
func (*UserRequestBuilder) Email ¶
func (m *UserRequestBuilder) Email() *EmailRequestBuilder
Email the email property
func (*UserRequestBuilder) Emails ¶
func (m *UserRequestBuilder) Emails() *EmailsRequestBuilder
Emails the emails property
func (*UserRequestBuilder) Followers ¶
func (m *UserRequestBuilder) Followers() *FollowersRequestBuilder
Followers the followers property
func (*UserRequestBuilder) Following ¶
func (m *UserRequestBuilder) Following() *FollowingRequestBuilder
Following the following property
func (*UserRequestBuilder) Get ¶
func (m *UserRequestBuilder) Get(ctx context.Context, requestConfiguration *UserRequestBuilderGetRequestConfiguration) (UserResponseable, error)
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 ¶
func (m *UserRequestBuilder) Gpg_keys() *Gpg_keysRequestBuilder
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 ¶
func (m *UserRequestBuilder) Issues() *IssuesRequestBuilder
Issues the issues property
func (*UserRequestBuilder) Keys ¶
func (m *UserRequestBuilder) Keys() *KeysRequestBuilder
Keys the keys property
func (*UserRequestBuilder) Marketplace_purchases ¶
func (m *UserRequestBuilder) Marketplace_purchases() *Marketplace_purchasesRequestBuilder
Marketplace_purchases the marketplace_purchases property
func (*UserRequestBuilder) Memberships ¶
func (m *UserRequestBuilder) Memberships() *MembershipsRequestBuilder
Memberships the memberships property
func (*UserRequestBuilder) Migrations ¶
func (m *UserRequestBuilder) Migrations() *MigrationsRequestBuilder
Migrations the migrations property
func (*UserRequestBuilder) Orgs ¶
func (m *UserRequestBuilder) Orgs() *OrgsRequestBuilder
Orgs the orgs property
func (*UserRequestBuilder) Packages ¶
func (m *UserRequestBuilder) Packages() *PackagesRequestBuilder
Packages the packages property
func (*UserRequestBuilder) Patch ¶
func (m *UserRequestBuilder) Patch(ctx context.Context, body UserPatchRequestBodyable, requestConfiguration *UserRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable, error)
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 ¶
func (m *UserRequestBuilder) Projects() *ProjectsRequestBuilder
Projects the projects property
func (*UserRequestBuilder) Public_emails ¶
func (m *UserRequestBuilder) Public_emails() *Public_emailsRequestBuilder
Public_emails the public_emails property
func (*UserRequestBuilder) Repos ¶
func (m *UserRequestBuilder) Repos() *ReposRequestBuilder
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 ¶
func (m *UserRequestBuilder) Starred() *StarredRequestBuilder
Starred the starred property
func (*UserRequestBuilder) Subscriptions ¶
func (m *UserRequestBuilder) Subscriptions() *SubscriptionsRequestBuilder
Subscriptions the subscriptions property
func (*UserRequestBuilder) Teams ¶
func (m *UserRequestBuilder) Teams() *TeamsRequestBuilder
Teams the teams property
func (*UserRequestBuilder) ToGetRequestInformation ¶
func (m *UserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *UserRequestBuilder) ToPatchRequestInformation(ctx context.Context, body UserPatchRequestBodyable, requestConfiguration *UserRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *UserResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *UserResponse) GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser
func (*UserResponse) GetPublicUser ¶
func (m *UserResponse) GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type publicUser
func (*UserResponse) Serialize ¶
func (m *UserResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UserResponse) SetPrivateUser ¶
func (m *UserResponse) SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable)
SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser
func (*UserResponse) SetPublicUser ¶
func (m *UserResponse) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type publicUser
type UserResponseable ¶
type UserResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable) }
UserResponseable
Source Files
¶
- blocks_request_builder.go
- blocks_with_username_item_request_builder.go
- codespaces_get_response.go
- codespaces_item_exports_request_builder.go
- codespaces_item_exports_with_export_item_request_builder.go
- codespaces_item_machines_get_response.go
- codespaces_item_machines_request_builder.go
- codespaces_item_machines_response.go
- codespaces_item_publish_post_request_body.go
- codespaces_item_publish_request_builder.go
- codespaces_item_start_request_builder.go
- codespaces_item_stop_request_builder.go
- codespaces_item_with_codespace_name_delete_response.go
- codespaces_item_with_codespace_name_patch_request_body.go
- codespaces_item_with_codespace_name_response.go
- codespaces_post_request_body_member1.go
- codespaces_post_request_body_member2.go
- codespaces_post_request_body_member2_pull_request.go
- codespaces_request_builder.go
- codespaces_response.go
- codespaces_secrets_get_response.go
- codespaces_secrets_item_repositories_get_response.go
- codespaces_secrets_item_repositories_put_request_body.go
- codespaces_secrets_item_repositories_request_builder.go
- codespaces_secrets_item_repositories_response.go
- codespaces_secrets_item_repositories_with_repository_item_request_builder.go
- codespaces_secrets_item_with_secret_name_put_request_body.go
- codespaces_secrets_public_key_request_builder.go
- codespaces_secrets_request_builder.go
- codespaces_secrets_response.go
- codespaces_secrets_with_secret_name_item_request_builder.go
- codespaces_with_codespace_name_item_request_builder.go
- docker_conflicts_request_builder.go
- docker_request_builder.go
- email_request_builder.go
- email_visibility_patch_request_body.go
- email_visibility_request_builder.go
- emails_delete_request_body_member1.go
- emails_post_request_body_member1.go
- emails_request_builder.go
- followers_request_builder.go
- following_request_builder.go
- following_with_username_item_request_builder.go
- gpg_keys_post_request_body.go
- gpg_keys_request_builder.go
- gpg_keys_with_gpg_key_item_request_builder.go
- installations_get_response.go
- installations_item_repositories_get_response.go
- installations_item_repositories_request_builder.go
- installations_item_repositories_response.go
- installations_item_repositories_with_repository_item_request_builder.go
- installations_request_builder.go
- installations_response.go
- installations_with_installation_item_request_builder.go
- interaction_limits_get_response_member1.go
- interaction_limits_request_builder.go
- issues_request_builder.go
- keys_post_request_body.go
- keys_request_builder.go
- keys_with_key_item_request_builder.go
- marketplace_purchases_request_builder.go
- marketplace_purchases_stubbed_request_builder.go
- memberships_orgs_item_with_org_patch_request_body.go
- memberships_orgs_request_builder.go
- memberships_orgs_with_org_item_request_builder.go
- memberships_request_builder.go
- migrations_item_archive_request_builder.go
- migrations_item_repos_item_lock_request_builder.go
- migrations_item_repos_request_builder.go
- migrations_item_repos_with_repo_name_item_request_builder.go
- migrations_item_repositories_request_builder.go
- migrations_post_request_body.go
- migrations_request_builder.go
- migrations_with_migration_item_request_builder.go
- orgs_request_builder.go
- packages_item_item_restore_request_builder.go
- packages_item_item_versions_item_restore_request_builder.go
- packages_item_item_versions_request_builder.go
- packages_item_item_versions_with_package_version_item_request_builder.go
- packages_item_with_package_name_item_request_builder.go
- packages_request_builder.go
- packages_with_package_type_item_request_builder.go
- projects_post_request_body.go
- projects_request_builder.go
- public_emails_request_builder.go
- repos_post_request_body.go
- repos_request_builder.go
- repository_invitations_request_builder.go
- repository_invitations_with_invitation_item_request_builder.go
- social_accounts_delete_request_body.go
- social_accounts_post_request_body.go
- social_accounts_request_builder.go
- ssh_signing_keys_post_request_body.go
- ssh_signing_keys_request_builder.go
- ssh_signing_keys_with_ssh_signing_key_item_request_builder.go
- starred_item_with_repo_item_request_builder.go
- starred_request_builder.go
- starred_with_owner_item_request_builder.go
- subscriptions_request_builder.go
- teams_request_builder.go
- user_patch_request_body.go
- user_request_builder.go