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, ...)
- 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 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 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 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 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, ...) (CodespacesItemMachinesGetResponseable, error)
- func (m *CodespacesItemMachinesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *CodespacesItemMachinesRequestBuilder) WithUrl(rawUrl string) *CodespacesItemMachinesRequestBuilder
- 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 CodespacesItemStartRequestBuilder
- type CodespacesItemStopRequestBuilder
- 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, ...) (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 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 int32) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Get(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 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 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 CodespacesSecretsRequestBuilder
- func (m *CodespacesSecretsRequestBuilder) BySecret_name(secret_name string) *CodespacesSecretsWithSecret_nameItemRequestBuilder
- func (m *CodespacesSecretsRequestBuilder) Get(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 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 CodespacesWithCodespace_nameItemRequestBuilder
- func (m *CodespacesWithCodespace_nameItemRequestBuilder) Delete(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 DockerConflictsRequestBuilder
- 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 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 EmailsRequestBuilderGetQueryParameters
- type FollowersRequestBuilder
- type FollowersRequestBuilderGetQueryParameters
- 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 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 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 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_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 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 int32) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *InstallationsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (InstallationsItemRepositoriesGetResponseable, error)
- func (m *InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *InstallationsItemRepositoriesRequestBuilder
- type InstallationsItemRepositoriesRequestBuilderGetQueryParameters
- 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 InstallationsRequestBuilder
- func (m *InstallationsRequestBuilder) ByInstallation_id(installation_id int32) *InstallationsWithInstallation_ItemRequestBuilder
- func (m *InstallationsRequestBuilder) Get(ctx context.Context, ...) (InstallationsGetResponseable, error)
- func (m *InstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *InstallationsRequestBuilder) WithUrl(rawUrl string) *InstallationsRequestBuilder
- type InstallationsRequestBuilderGetQueryParameters
- 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 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 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 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 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 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_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 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 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 MembershipsRequestBuilder
- type MigrationsItemArchiveRequestBuilder
- func (m *MigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *MigrationsItemArchiveRequestBuilder) Get(ctx context.Context, ...) error
- func (m *MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *MigrationsItemArchiveRequestBuilder
- 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 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 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 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 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 OrgsRequestBuilder
- type OrgsRequestBuilderGetQueryParameters
- type PackagesItemItemRestoreRequestBuilder
- type PackagesItemItemRestoreRequestBuilderPostQueryParameters
- 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 PackagesItemItemVersionsRequestBuilder
- func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_id(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 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 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 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 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 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 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 Repository_invitationsRequestBuilder
- func (m *Repository_invitationsRequestBuilder) ByInvitation_id(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_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 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_accountsRequestBuilderGetQueryParameters
- 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 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_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 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 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 StarredWithOwnerItemRequestBuilder
- type SubscriptionsRequestBuilder
- type SubscriptionsRequestBuilderGetQueryParameters
- type TeamsRequestBuilder
- type TeamsRequestBuilderGetQueryParameters
- 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, ...) (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
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 returns a Parsable when successful
func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue ¶
func CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesItemMachinesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue ¶
func CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesPostRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
func CreateEmailsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateEmailsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateEmailsPostRequestBodyFromDiscriminatorValue ¶
func CreateEmailsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateEmailsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateEmailsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
func CreateInstallationsGetResponseFromDiscriminatorValue ¶
func CreateInstallationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInstallationsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue ¶
func CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMembershipsOrgsItemWithOrgPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateMigrationsPostRequestBodyFromDiscriminatorValue ¶
func CreateMigrationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateMigrationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateProjectsPostRequestBodyFromDiscriminatorValue ¶
func CreateProjectsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateProjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateReposPostRequestBodyFromDiscriminatorValue ¶
func CreateReposPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateReposPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
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 returns a Parsable when successful
func CreateUserGetResponseFromDiscriminatorValue ¶
func CreateUserGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUserPatchRequestBodyFromDiscriminatorValue ¶
func CreateUserPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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 returns a *BlocksWithUsernameItemRequestBuilder when successful
func (*BlocksRequestBuilder) Get ¶
func (m *BlocksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[BlocksRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get list the users you've blocked on your personal account. returns a []SimpleUserable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*BlocksRequestBuilder) ToGetRequestInformation ¶
func (m *BlocksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[BlocksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the users you've blocked on your personal account. returns a *RequestInformation when successful
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. returns a *BlocksRequestBuilder when successful
type BlocksRequestBuilderGetQueryParameters ¶
type BlocksRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
BlocksRequestBuilderGetQueryParameters list the users you've blocked on your personal account.
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 BlocksWithUsernameItemRequestBuilder and sets the default values.
func NewBlocksWithUsernameItemRequestBuilderInternal ¶
func NewBlocksWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *BlocksWithUsernameItemRequestBuilder
NewBlocksWithUsernameItemRequestBuilderInternal instantiates a new BlocksWithUsernameItemRequestBuilder and sets the default values.
func (*BlocksWithUsernameItemRequestBuilder) Delete ¶
func (m *BlocksWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete unblocks the given user and returns a 204. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*BlocksWithUsernameItemRequestBuilder) Get ¶
func (m *BlocksWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*BlocksWithUsernameItemRequestBuilder) Put ¶
func (m *BlocksWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*BlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation unblocks the given user and returns a 204. returns a *RequestInformation when successful
func (*BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
func (*BlocksWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *BlocksWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *BlocksWithUsernameItemRequestBuilder when successful
type CodespacesGetResponse ¶
type CodespacesGetResponse struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesGetResponse) GetCodespaces ¶
func (m *CodespacesGetResponse) GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable
GetCodespaces gets the codespaces property value. The codespaces property returns a []Codespaceable when successful
func (*CodespacesGetResponse) GetFieldDeserializers ¶
func (m *CodespacesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesGetResponse) GetTotalCount ¶
func (m *CodespacesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
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) }
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 CodespacesItemExportsRequestBuilder and sets the default values.
func NewCodespacesItemExportsRequestBuilderInternal ¶
func NewCodespacesItemExportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemExportsRequestBuilder
NewCodespacesItemExportsRequestBuilderInternal instantiates a new CodespacesItemExportsRequestBuilder 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 returns a *CodespacesItemExportsWithExport_ItemRequestBuilder when successful
func (*CodespacesItemExportsRequestBuilder) Post ¶
func (m *CodespacesItemExportsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespaceExportDetailsable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesItemExportsRequestBuilder) ToPostRequestInformation ¶
func (m *CodespacesItemExportsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemExportsRequestBuilder when successful
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 CodespacesItemExportsWithExport_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 CodespacesItemExportsWithExport_ItemRequestBuilder and sets the default values.
func (*CodespacesItemExportsWithExport_ItemRequestBuilder) Get ¶
func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceExportDetailsable, error)
Get gets information about an export of a codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespaceExportDetailsable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*CodespacesItemExportsWithExport_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesItemExportsWithExport_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about an export of a codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemExportsWithExport_ItemRequestBuilder when successful
type CodespacesItemMachinesGetResponse ¶
type CodespacesItemMachinesGetResponse struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesItemMachinesGetResponse) GetFieldDeserializers ¶
func (m *CodespacesItemMachinesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesItemMachinesGetResponse) GetMachines ¶
func (m *CodespacesItemMachinesGetResponse) GetMachines() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespaceMachineable
GetMachines gets the machines property value. The machines property returns a []CodespaceMachineable when successful
func (*CodespacesItemMachinesGetResponse) GetTotalCount ¶
func (m *CodespacesItemMachinesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
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) }
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 CodespacesItemMachinesRequestBuilder and sets the default values.
func NewCodespacesItemMachinesRequestBuilderInternal ¶
func NewCodespacesItemMachinesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemMachinesRequestBuilder
NewCodespacesItemMachinesRequestBuilderInternal instantiates a new CodespacesItemMachinesRequestBuilder and sets the default values.
func (*CodespacesItemMachinesRequestBuilder) Get ¶
func (m *CodespacesItemMachinesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (CodespacesItemMachinesGetResponseable, error)
Get list the machine types a codespace can transition to use.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespacesItemMachinesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesItemMachinesRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesItemMachinesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the machine types a codespace can transition to use.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemMachinesRequestBuilder when successful
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
}
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. returns a map[string]any when successful
func (*CodespacesItemPublishPostRequestBody) GetFieldDeserializers ¶
func (m *CodespacesItemPublishPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesItemPublishPostRequestBody) GetName ¶
func (m *CodespacesItemPublishPostRequestBody) GetName() *string
GetName gets the name property value. A name for the new repository. returns a *string when successful
func (*CodespacesItemPublishPostRequestBody) GetPrivate ¶
func (m *CodespacesItemPublishPostRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Whether the new repository should be private. returns a *bool when successful
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) }
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 CodespacesItemPublishRequestBuilder and sets the default values.
func NewCodespacesItemPublishRequestBuilderInternal ¶
func NewCodespacesItemPublishRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemPublishRequestBuilder
NewCodespacesItemPublishRequestBuilderInternal instantiates a new CodespacesItemPublishRequestBuilder and sets the default values.
func (*CodespacesItemPublishRequestBuilder) Post ¶
func (m *CodespacesItemPublishRequestBuilder) Post(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespaceWithFullRepositoryable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*CodespacesItemPublishRequestBuilder) ToPostRequestInformation ¶
func (m *CodespacesItemPublishRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesItemPublishPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemPublishRequestBuilder when successful
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 CodespacesItemStartRequestBuilder and sets the default values.
func NewCodespacesItemStartRequestBuilderInternal ¶
func NewCodespacesItemStartRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStartRequestBuilder
NewCodespacesItemStartRequestBuilderInternal instantiates a new CodespacesItemStartRequestBuilder and sets the default values.
func (*CodespacesItemStartRequestBuilder) Post ¶
func (m *CodespacesItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
Post starts a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 402 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 409 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesItemStartRequestBuilder) ToPostRequestInformation ¶
func (m *CodespacesItemStartRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation starts a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemStartRequestBuilder when successful
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 CodespacesItemStopRequestBuilder and sets the default values.
func NewCodespacesItemStopRequestBuilderInternal ¶
func NewCodespacesItemStopRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesItemStopRequestBuilder
NewCodespacesItemStopRequestBuilderInternal instantiates a new CodespacesItemStopRequestBuilder and sets the default values.
func (*CodespacesItemStopRequestBuilder) Post ¶
func (m *CodespacesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
Post stops a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesItemStopRequestBuilder) ToPostRequestInformation ¶
func (m *CodespacesItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation stops a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesItemStopRequestBuilder when successful
type CodespacesItemWithCodespace_nameDeleteResponse ¶
type CodespacesItemWithCodespace_nameDeleteResponse struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers ¶
func (m *CodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 }
type CodespacesItemWithCodespace_namePatchRequestBody ¶
type CodespacesItemWithCodespace_namePatchRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetDisplayName ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetDisplayName() *string
GetDisplayName gets the display_name property value. Display name for this codespace returns a *string when successful
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesItemWithCodespace_namePatchRequestBody) GetMachine ¶
func (m *CodespacesItemWithCodespace_namePatchRequestBody) GetMachine() *string
GetMachine gets the machine property value. A valid machine to transition this codespace to. returns a *string when successful
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. returns a []string when successful
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) }
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 CodespacesPostRequestBodyMember1able, CodespacesPostRequestBodyMember2able
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 CodespacesPostRequestBodyMember1able returns a CodespacesPostRequestBodyMember1able when successful
func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 ¶
func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
GetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 gets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2able returns a CodespacesPostRequestBodyMember2able when successful
func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember1 ¶
func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember1() CodespacesPostRequestBodyMember1able
GetCodespacesPostRequestBodyMember1 gets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1able returns a CodespacesPostRequestBodyMember1able when successful
func (*CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember2 ¶
func (m *CodespacesPostRequestBody) GetCodespacesPostRequestBodyMember2() CodespacesPostRequestBodyMember2able
GetCodespacesPostRequestBodyMember2 gets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2able returns a CodespacesPostRequestBodyMember2able when successful
func (*CodespacesPostRequestBody) GetFieldDeserializers ¶
func (m *CodespacesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesPostRequestBody) GetIsComposedType ¶
func (m *CodespacesPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
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 CodespacesPostRequestBodyMember1able
func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 ¶
func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
SetCodespacesPostRequestBodyCodespacesPostRequestBodyMember2 sets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2able
func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember1 ¶
func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember1(value CodespacesPostRequestBodyMember1able)
SetCodespacesPostRequestBodyMember1 sets the CodespacesPostRequestBodyMember1 property value. Composed type representation for type CodespacesPostRequestBodyMember1able
func (*CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember2 ¶
func (m *CodespacesPostRequestBody) SetCodespacesPostRequestBodyMember2(value CodespacesPostRequestBodyMember2able)
SetCodespacesPostRequestBodyMember2 sets the CodespacesPostRequestBodyMember2 property value. Composed type representation for type CodespacesPostRequestBodyMember2able
type CodespacesPostRequestBodyMember1 ¶
type CodespacesPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesPostRequestBodyMember1) GetClientIp ¶
func (m *CodespacesPostRequestBodyMember1) GetClientIp() *string
GetClientIp gets the client_ip property value. IP for location auto-detection when proxying a request returns a *string when successful
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 returns a *string when successful
func (*CodespacesPostRequestBodyMember1) GetDisplayName ¶
func (m *CodespacesPostRequestBodyMember1) GetDisplayName() *string
GetDisplayName gets the display_name property value. Display name for this codespace returns a *string when successful
func (*CodespacesPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *CodespacesPostRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesPostRequestBodyMember1) GetIdleTimeoutMinutes ¶
func (m *CodespacesPostRequestBodyMember1) GetIdleTimeoutMinutes() *int32
GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity returns a *int32 when successful
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. returns a *string when successful
func (*CodespacesPostRequestBodyMember1) GetMachine ¶
func (m *CodespacesPostRequestBodyMember1) GetMachine() *string
GetMachine gets the machine property value. Machine type to use for this codespace returns a *string when successful
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 returns a *bool when successful
func (*CodespacesPostRequestBodyMember1) GetRef ¶
func (m *CodespacesPostRequestBodyMember1) GetRef() *string
GetRef gets the ref property value. Git ref (typically a branch name) for this codespace returns a *string when successful
func (*CodespacesPostRequestBodyMember1) GetRepositoryId ¶
func (m *CodespacesPostRequestBodyMember1) GetRepositoryId() *int32
GetRepositoryId gets the repository_id property value. Repository id for this codespace returns a *int32 when successful
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). returns a *int32 when successful
func (*CodespacesPostRequestBodyMember1) GetWorkingDirectory ¶
func (m *CodespacesPostRequestBodyMember1) GetWorkingDirectory() *string
GetWorkingDirectory gets the working_directory property value. Working directory for this codespace returns a *string when successful
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) }
type CodespacesPostRequestBodyMember2 ¶
type CodespacesPostRequestBodyMember2 struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
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 returns a *string when successful
func (*CodespacesPostRequestBodyMember2) GetFieldDeserializers ¶
func (m *CodespacesPostRequestBodyMember2) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesPostRequestBodyMember2) GetIdleTimeoutMinutes ¶
func (m *CodespacesPostRequestBodyMember2) GetIdleTimeoutMinutes() *int32
GetIdleTimeoutMinutes gets the idle_timeout_minutes property value. Time in minutes before codespace stops from inactivity returns a *int32 when successful
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. returns a *string when successful
func (*CodespacesPostRequestBodyMember2) GetMachine ¶
func (m *CodespacesPostRequestBodyMember2) GetMachine() *string
GetMachine gets the machine property value. Machine type to use for this codespace returns a *string when successful
func (*CodespacesPostRequestBodyMember2) GetPullRequest ¶
func (m *CodespacesPostRequestBodyMember2) GetPullRequest() CodespacesPostRequestBodyMember2_pull_requestable
GetPullRequest gets the pull_request property value. Pull request number for this codespace returns a CodespacesPostRequestBodyMember2_pull_requestable when successful
func (*CodespacesPostRequestBodyMember2) GetWorkingDirectory ¶
func (m *CodespacesPostRequestBodyMember2) GetWorkingDirectory() *string
GetWorkingDirectory gets the working_directory property value. Working directory for this codespace returns a *string when successful
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. returns a map[string]any when successful
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 returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesPostRequestBodyMember2_pull_request) GetPullRequestNumber ¶
func (m *CodespacesPostRequestBodyMember2_pull_request) GetPullRequestNumber() *int32
GetPullRequestNumber gets the pull_request_number property value. Pull request number returns a *int32 when successful
func (*CodespacesPostRequestBodyMember2_pull_request) GetRepositoryId ¶
func (m *CodespacesPostRequestBodyMember2_pull_request) GetRepositoryId() *int32
GetRepositoryId gets the repository_id property value. Repository id for this codespace returns a *int32 when successful
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) }
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) }
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) }
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 returns a *CodespacesWithCodespace_nameItemRequestBuilder when successful
func (*CodespacesRequestBuilder) Get ¶
func (m *CodespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[CodespacesRequestBuilderGetQueryParameters]) (CodespacesGetResponseable, error)
Get lists the authenticated user's codespaces.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespacesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesRequestBuilder) Post ¶
func (m *CodespacesRequestBuilder) Post(ctx context.Context, body CodespacesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a Codespace503Error error when the service returns a 503 status code API method documentation
func (*CodespacesRequestBuilder) Secrets ¶
func (m *CodespacesRequestBuilder) Secrets() *CodespacesSecretsRequestBuilder
Secrets the secrets property returns a *CodespacesSecretsRequestBuilder when successful
func (*CodespacesRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[CodespacesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the authenticated user's codespaces.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesRequestBuilder) ToPostRequestInformation ¶
func (m *CodespacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body CodespacesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesRequestBuilder when successful
type CodespacesRequestBuilderGetQueryParameters ¶
type CodespacesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint.
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
}
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. returns a map[string]any when successful
func (*CodespacesSecretsGetResponse) GetFieldDeserializers ¶
func (m *CodespacesSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesSecretsGetResponse) GetSecrets ¶
func (m *CodespacesSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable
GetSecrets gets the secrets property value. The secrets property returns a []CodespacesSecretable when successful
func (*CodespacesSecretsGetResponse) GetTotalCount ¶
func (m *CodespacesSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
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) }
type CodespacesSecretsItemRepositoriesGetResponse ¶
type CodespacesSecretsItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*CodespacesSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful
func (*CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *CodespacesSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
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) }
type CodespacesSecretsItemRepositoriesPutRequestBody ¶
type CodespacesSecretsItemRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*CodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *CodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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. returns a []int32 when successful
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) }
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 CodespacesSecretsItemRepositoriesRequestBuilder and sets the default values.
func NewCodespacesSecretsItemRepositoriesRequestBuilderInternal ¶
func NewCodespacesSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsItemRepositoriesRequestBuilder
NewCodespacesSecretsItemRepositoriesRequestBuilderInternal instantiates a new CodespacesSecretsItemRepositoriesRequestBuilder and sets the default values.
func (*CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.codespaces.secrets.item.repositories.item collection returns a *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful
func (*CodespacesSecretsItemRepositoriesRequestBuilder) Get ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (CodespacesSecretsItemRepositoriesGetResponseable, error)
Get list the repositories that have been granted the ability to use a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a CodespacesSecretsItemRepositoriesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesSecretsItemRepositoriesRequestBuilder) Put ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put select the repositories that will use a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the repositories that have been granted the ability to use a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *CodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body CodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation select the repositories that will use a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesSecretsItemRepositoriesRequestBuilder when successful
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 CodespacesSecretsItemRepositoriesWithRepository_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 CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.
func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a repository from the selected repositories for a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put adds a repository to the selected repositories for a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a repository from the selected repositories for a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation adds a repository to the selected repositories for a user's development environment secret.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful
type CodespacesSecretsItemWithSecret_namePutRequestBody ¶
type CodespacesSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
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. returns a *string when successful
func (*CodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *CodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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. returns a *string when successful
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. returns a []int32 when successful
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) }
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 CodespacesSecretsPublicKeyRequestBuilder and sets the default values.
func NewCodespacesSecretsPublicKeyRequestBuilderInternal ¶
func NewCodespacesSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsPublicKeyRequestBuilder
NewCodespacesSecretsPublicKeyRequestBuilderInternal instantiates a new CodespacesSecretsPublicKeyRequestBuilder and sets the default values.
func (*CodespacesSecretsPublicKeyRequestBuilder) Get ¶
func (m *CodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a CodespacesUserPublicKeyable when successful API method documentation
func (*CodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesSecretsPublicKeyRequestBuilder when successful
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 CodespacesSecretsRequestBuilder and sets the default values.
func NewCodespacesSecretsRequestBuilderInternal ¶
func NewCodespacesSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CodespacesSecretsRequestBuilder
NewCodespacesSecretsRequestBuilderInternal instantiates a new CodespacesSecretsRequestBuilder 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 returns a *CodespacesSecretsWithSecret_nameItemRequestBuilder when successful
func (*CodespacesSecretsRequestBuilder) Get ¶
func (m *CodespacesSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[CodespacesSecretsRequestBuilderGetQueryParameters]) (CodespacesSecretsGetResponseable, error)
Get lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a CodespacesSecretsGetResponseable when successful API method documentation
func (*CodespacesSecretsRequestBuilder) PublicKey ¶
func (m *CodespacesSecretsRequestBuilder) PublicKey() *CodespacesSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *CodespacesSecretsPublicKeyRequestBuilder when successful
func (*CodespacesSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[CodespacesSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesSecretsRequestBuilder when successful
type CodespacesSecretsRequestBuilderGetQueryParameters ¶
type CodespacesSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
CodespacesSecretsRequestBuilderGetQueryParameters lists all development environment secrets available for a user's codespaces without revealing theirencrypted values.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint.
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 CodespacesSecretsWithSecret_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 CodespacesSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. API method documentation
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesSecretable, error)
Get gets a development environment secret available to a user's codespaces without revealing its encrypted value.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a CodespacesSecretable when successful API method documentation
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body CodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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)."The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories() *CodespacesSecretsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *CodespacesSecretsItemRepositoriesRequestBuilder when successful
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a development environment secret available to a user's codespaces without revealing its encrypted value.The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *CodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body CodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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)."The authenticated user must have Codespaces access to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesSecretsWithSecret_nameItemRequestBuilder when successful
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 CodespacesWithCodespace_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 CodespacesWithCodespace_nameItemRequestBuilder and sets the default values.
func (*CodespacesWithCodespace_nameItemRequestBuilder) Delete ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (CodespacesItemWithCodespace_nameDeleteResponseable, error)
Delete deletes a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a CodespacesItemWithCodespace_nameDeleteResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesWithCodespace_nameItemRequestBuilder) Exports ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Exports() *CodespacesItemExportsRequestBuilder
Exports the exports property returns a *CodespacesItemExportsRequestBuilder when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) Get ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
Get gets information about a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*CodespacesWithCodespace_nameItemRequestBuilder) Machines ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Machines() *CodespacesItemMachinesRequestBuilder
Machines the machines property returns a *CodespacesItemMachinesRequestBuilder when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) Patch ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Patch(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*CodespacesWithCodespace_nameItemRequestBuilder) Publish ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Publish() *CodespacesItemPublishRequestBuilder
Publish the publish property returns a *CodespacesItemPublishRequestBuilder when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) Start ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) Start() *CodespacesItemStartRequestBuilder
Start the start property returns a *CodespacesItemStartRequestBuilder when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) Stop ¶
Stop the stop property returns a *CodespacesItemStopRequestBuilder when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about a user's codespace.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
func (*CodespacesWithCodespace_nameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *CodespacesWithCodespace_nameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body CodespacesItemWithCodespace_namePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *CodespacesWithCodespace_nameItemRequestBuilder when successful
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 DockerConflictsRequestBuilder and sets the default values.
func NewDockerConflictsRequestBuilderInternal ¶
func NewDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DockerConflictsRequestBuilder
NewDockerConflictsRequestBuilderInternal instantiates a new DockerConflictsRequestBuilder and sets the default values.
func (*DockerConflictsRequestBuilder) Get ¶
func (m *DockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]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.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a []PackageEscapedable when successful API method documentation
func (*DockerConflictsRequestBuilder) ToGetRequestInformation ¶
func (m *DockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *DockerConflictsRequestBuilder when successful
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 returns a *DockerConflictsRequestBuilder when successful
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 returns a *EmailVisibilityRequestBuilder when successful
type EmailVisibilityPatchRequestBody ¶
type EmailVisibilityPatchRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*EmailVisibilityPatchRequestBody) GetFieldDeserializers ¶
func (m *EmailVisibilityPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 }
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 EmailVisibilityRequestBuilder and sets the default values.
func NewEmailVisibilityRequestBuilderInternal ¶
func NewEmailVisibilityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EmailVisibilityRequestBuilder
NewEmailVisibilityRequestBuilderInternal instantiates a new EmailVisibilityRequestBuilder and sets the default values.
func (*EmailVisibilityRequestBuilder) Patch ¶
func (m *EmailVisibilityRequestBuilder) Patch(ctx context.Context, body EmailVisibilityPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
Patch sets the visibility for your primary email addresses. returns a []Emailable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*EmailVisibilityRequestBuilder) ToPatchRequestInformation ¶
func (m *EmailVisibilityRequestBuilder) ToPatchRequestInformation(ctx context.Context, body EmailVisibilityPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation sets the visibility for your primary email addresses. returns a *RequestInformation when successful
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. returns a *EmailVisibilityRequestBuilder when successful
type EmailsDeleteRequestBody ¶
type EmailsDeleteRequestBody struct {
// contains filtered or unexported fields
}
EmailsDeleteRequestBody composed type wrapper for classes EmailsDeleteRequestBodyMember1able, 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 EmailsDeleteRequestBodyMember1able returns a EmailsDeleteRequestBodyMember1able when successful
func (*EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyMember1 ¶
func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyMember1() EmailsDeleteRequestBodyMember1able
GetEmailsDeleteRequestBodyMember1 gets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1able returns a EmailsDeleteRequestBodyMember1able when successful
func (*EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyString ¶
func (m *EmailsDeleteRequestBody) GetEmailsDeleteRequestBodyString() *string
GetEmailsDeleteRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*EmailsDeleteRequestBody) GetFieldDeserializers ¶
func (m *EmailsDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*EmailsDeleteRequestBody) GetIsComposedType ¶
func (m *EmailsDeleteRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*EmailsDeleteRequestBody) GetString ¶
func (m *EmailsDeleteRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
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 EmailsDeleteRequestBodyMember1able
func (*EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyMember1 ¶
func (m *EmailsDeleteRequestBody) SetEmailsDeleteRequestBodyMember1(value EmailsDeleteRequestBodyMember1able)
SetEmailsDeleteRequestBodyMember1 sets the EmailsDeleteRequestBodyMember1 property value. Composed type representation for type EmailsDeleteRequestBodyMember1able
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. returns a map[string]any when successful
func (*EmailsDeleteRequestBodyMember1) GetEmails ¶
func (m *EmailsDeleteRequestBodyMember1) GetEmails() []string
GetEmails gets the emails property value. Email addresses associated with the GitHub user account. returns a []string when successful
func (*EmailsDeleteRequestBodyMember1) GetFieldDeserializers ¶
func (m *EmailsDeleteRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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) }
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) }
type EmailsPostRequestBody ¶
type EmailsPostRequestBody struct {
// contains filtered or unexported fields
}
EmailsPostRequestBody composed type wrapper for classes EmailsPostRequestBodyMember1able, 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 EmailsPostRequestBodyMember1able returns a EmailsPostRequestBodyMember1able when successful
func (*EmailsPostRequestBody) GetEmailsPostRequestBodyMember1 ¶
func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyMember1() EmailsPostRequestBodyMember1able
GetEmailsPostRequestBodyMember1 gets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1able returns a EmailsPostRequestBodyMember1able when successful
func (*EmailsPostRequestBody) GetEmailsPostRequestBodyString ¶
func (m *EmailsPostRequestBody) GetEmailsPostRequestBodyString() *string
GetEmailsPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*EmailsPostRequestBody) GetFieldDeserializers ¶
func (m *EmailsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*EmailsPostRequestBody) GetIsComposedType ¶
func (m *EmailsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*EmailsPostRequestBody) GetString ¶
func (m *EmailsPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
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 EmailsPostRequestBodyMember1able
func (*EmailsPostRequestBody) SetEmailsPostRequestBodyMember1 ¶
func (m *EmailsPostRequestBody) SetEmailsPostRequestBodyMember1(value EmailsPostRequestBodyMember1able)
SetEmailsPostRequestBodyMember1 sets the EmailsPostRequestBodyMember1 property value. Composed type representation for type EmailsPostRequestBodyMember1able
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
}
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. returns a map[string]any when successful
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. returns a []string when successful
func (*EmailsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *EmailsPostRequestBodyMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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) }
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) }
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete oAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*EmailsRequestBuilder) Get ¶
func (m *EmailsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[EmailsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
Get lists all of your email addresses, and specifies which one is visibleto the public.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. returns a []Emailable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*EmailsRequestBuilder) Post ¶
func (m *EmailsRequestBuilder) Post(ctx context.Context, body EmailsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Emailable, error)
Post oAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a []Emailable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*EmailsRequestBuilder) ToDeleteRequestInformation ¶
func (m *EmailsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body EmailsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation oAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful
func (*EmailsRequestBuilder) ToGetRequestInformation ¶
func (m *EmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[EmailsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all of your email addresses, and specifies which one is visibleto the public.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. returns a *RequestInformation when successful
func (*EmailsRequestBuilder) ToPostRequestInformation ¶
func (m *EmailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body EmailsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation oAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *EmailsRequestBuilder when successful
type EmailsRequestBuilderGetQueryParameters ¶
type EmailsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
EmailsRequestBuilderGetQueryParameters lists all of your email addresses, and specifies which one is visibleto the public.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint.
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[FollowersRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people following the authenticated user. returns a []SimpleUserable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*FollowersRequestBuilder) ToGetRequestInformation ¶
func (m *FollowersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[FollowersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people following the authenticated user. returns a *RequestInformation when successful
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. returns a *FollowersRequestBuilder when successful
type FollowersRequestBuilderGetQueryParameters ¶
type FollowersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
FollowersRequestBuilderGetQueryParameters lists the people following the authenticated user.
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 returns a *FollowingWithUsernameItemRequestBuilder when successful
func (*FollowingRequestBuilder) Get ¶
func (m *FollowingRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[FollowingRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people who the authenticated user follows. returns a []SimpleUserable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*FollowingRequestBuilder) ToGetRequestInformation ¶
func (m *FollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[FollowingRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people who the authenticated user follows. returns a *RequestInformation when successful
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. returns a *FollowingRequestBuilder when successful
type FollowingRequestBuilderGetQueryParameters ¶
type FollowingRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
FollowingRequestBuilderGetQueryParameters lists the people who the authenticated user follows.
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 FollowingWithUsernameItemRequestBuilder and sets the default values.
func NewFollowingWithUsernameItemRequestBuilderInternal ¶
func NewFollowingWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *FollowingWithUsernameItemRequestBuilder
NewFollowingWithUsernameItemRequestBuilderInternal instantiates a new FollowingWithUsernameItemRequestBuilder and sets the default values.
func (*FollowingWithUsernameItemRequestBuilder) Delete ¶
func (m *FollowingWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete oAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*FollowingWithUsernameItemRequestBuilder) Get ¶
func (m *FollowingWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get check if a person is followed by the authenticated user returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*FollowingWithUsernameItemRequestBuilder) Put ¶
func (m *FollowingWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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)."OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*FollowingWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation oAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. returns a *RequestInformation when successful
func (*FollowingWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *FollowingWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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)."OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *FollowingWithUsernameItemRequestBuilder when successful
type Gpg_keysPostRequestBody ¶
type Gpg_keysPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
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. returns a *string when successful
func (*Gpg_keysPostRequestBody) GetFieldDeserializers ¶
func (m *Gpg_keysPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Gpg_keysPostRequestBody) GetName ¶
func (m *Gpg_keysPostRequestBody) GetName() *string
GetName gets the name property value. A descriptive name for the new key. returns a *string when successful
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) }
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 int32) *Gpg_keysWithGpg_key_ItemRequestBuilder
ByGpg_key_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.gpg_keys.item collection returns a *Gpg_keysWithGpg_key_ItemRequestBuilder when successful
func (*Gpg_keysRequestBuilder) Get ¶
func (m *Gpg_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Gpg_keysRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
Get lists the current user's GPG keys.OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. returns a []GpgKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Gpg_keysRequestBuilder) Post ¶
func (m *Gpg_keysRequestBuilder) Post(ctx context.Context, body Gpg_keysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
Post adds a GPG key to the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. returns a GpgKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*Gpg_keysRequestBuilder) ToGetRequestInformation ¶
func (m *Gpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Gpg_keysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the current user's GPG keys.OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*Gpg_keysRequestBuilder) ToPostRequestInformation ¶
func (m *Gpg_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Gpg_keysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation adds a GPG key to the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Gpg_keysRequestBuilder when successful
type Gpg_keysRequestBuilderGetQueryParameters ¶
type Gpg_keysRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
Gpg_keysRequestBuilderGetQueryParameters lists the current user's GPG keys.OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint.
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 Gpg_keysWithGpg_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 Gpg_keysWithGpg_key_ItemRequestBuilder and sets the default values.
func (*Gpg_keysWithGpg_key_ItemRequestBuilder) Delete ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a GPG key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:gpg_key` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*Gpg_keysWithGpg_key_ItemRequestBuilder) Get ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
Get view extended details for a single GPG key.OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. returns a GpgKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Gpg_keysWithGpg_key_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a GPG key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:gpg_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*Gpg_keysWithGpg_key_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *Gpg_keysWithGpg_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation view extended details for a single GPG key.OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Gpg_keysWithGpg_key_ItemRequestBuilder when successful
type InstallationsGetResponse ¶
type InstallationsGetResponse struct {
// contains filtered or unexported fields
}
func NewInstallationsGetResponse ¶
func NewInstallationsGetResponse() *InstallationsGetResponse
NewInstallationsGetResponse instantiates a new InstallationsGetResponse and sets the default values.
func (*InstallationsGetResponse) GetAdditionalData ¶
func (m *InstallationsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*InstallationsGetResponse) GetFieldDeserializers ¶
func (m *InstallationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*InstallationsGetResponse) GetInstallations ¶
func (m *InstallationsGetResponse) GetInstallations() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable
GetInstallations gets the installations property value. The installations property returns a []Installationable when successful
func (*InstallationsGetResponse) GetTotalCount ¶
func (m *InstallationsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*InstallationsGetResponse) Serialize ¶
func (m *InstallationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InstallationsGetResponse) SetAdditionalData ¶
func (m *InstallationsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*InstallationsGetResponse) 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) }
type InstallationsItemRepositoriesGetResponse ¶
type InstallationsItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*InstallationsItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *InstallationsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*InstallationsItemRepositoriesGetResponse) GetRepositories ¶
func (m *InstallationsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable
GetRepositories gets the repositories property value. The repositories property returns a []Repositoryable when successful
func (*InstallationsItemRepositoriesGetResponse) GetRepositorySelection ¶
func (m *InstallationsItemRepositoriesGetResponse) GetRepositorySelection() *string
GetRepositorySelection gets the repository_selection property value. The repository_selection property returns a *string when successful
func (*InstallationsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *InstallationsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
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) }
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 InstallationsItemRepositoriesRequestBuilder and sets the default values.
func NewInstallationsItemRepositoriesRequestBuilderInternal ¶
func NewInstallationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *InstallationsItemRepositoriesRequestBuilder
NewInstallationsItemRepositoriesRequestBuilderInternal instantiates a new InstallationsItemRepositoriesRequestBuilder and sets the default values.
func (*InstallationsItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *InstallationsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.installations.item.repositories.item collection returns a *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder when successful
func (*InstallationsItemRepositoriesRequestBuilder) Get ¶
func (m *InstallationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsItemRepositoriesRequestBuilderGetQueryParameters]) (InstallationsItemRepositoriesGetResponseable, 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.The access the user has to each repository is included in the hash under the `permissions` key. returns a InstallationsItemRepositoriesGetResponseable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *InstallationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsItemRepositoriesRequestBuilderGetQueryParameters]) (*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.The access the user has to each repository is included in the hash under the `permissions` key. returns a *RequestInformation when successful
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. returns a *InstallationsItemRepositoriesRequestBuilder when successful
type InstallationsItemRepositoriesRequestBuilderGetQueryParameters ¶
type InstallationsItemRepositoriesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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.The access the user has to each repository is included in the hash under the `permissions` key.
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 InstallationsItemRepositoriesWithRepository_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 InstallationsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.
func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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`. This endpoint only works for PATs (classic) with the `repo` scope. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put add a single repository to an installation. The authenticated user must have admin access to the repository. This endpoint only works for PATs (classic) with the `repo` scope. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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`. This endpoint only works for PATs (classic) with the `repo` scope. returns a *RequestInformation when successful
func (*InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation add a single repository to an installation. The authenticated user must have admin access to the repository. This endpoint only works for PATs (classic) with the `repo` scope. returns a *RequestInformation when successful
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. returns a *InstallationsItemRepositoriesWithRepository_ItemRequestBuilder when successful
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 int32) *InstallationsWithInstallation_ItemRequestBuilder
ByInstallation_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.installations.item collection returns a *InstallationsWithInstallation_ItemRequestBuilder when successful
func (*InstallationsRequestBuilder) Get ¶
func (m *InstallationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsRequestBuilderGetQueryParameters]) (InstallationsGetResponseable, error)
Get lists installations of your GitHub App 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.You can find the permissions for the installation under the `permissions` key. returns a InstallationsGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*InstallationsRequestBuilder) ToGetRequestInformation ¶
func (m *InstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[InstallationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists installations of your GitHub App 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.You can find the permissions for the installation under the `permissions` key. returns a *RequestInformation when successful
func (*InstallationsRequestBuilder) WithUrl ¶
func (m *InstallationsRequestBuilder) WithUrl(rawUrl string) *InstallationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *InstallationsRequestBuilder when successful
type InstallationsRequestBuilderGetQueryParameters ¶
type InstallationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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.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 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 InstallationsWithInstallation_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 InstallationsWithInstallation_ItemRequestBuilder and sets the default values.
func (*InstallationsWithInstallation_ItemRequestBuilder) Repositories ¶
func (m *InstallationsWithInstallation_ItemRequestBuilder) Repositories() *InstallationsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *InstallationsItemRepositoriesRequestBuilder when successful
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes any interaction restrictions from your public repositories. API method documentation
func (*InteractionLimitsRequestBuilder) Get ¶
func (m *InteractionLimitsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable, error)
Get shows which type of GitHub user can interact with your public repositories and when the restriction expires. returns a InteractionLimitResponseable when successful API method documentation
func (*InteractionLimitsRequestBuilder) Put ¶
func (m *InteractionLimitsRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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. returns a InteractionLimitResponseable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*InteractionLimitsRequestBuilder) ToDeleteRequestInformation ¶
func (m *InteractionLimitsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes any interaction restrictions from your public repositories. returns a *RequestInformation when successful
func (*InteractionLimitsRequestBuilder) ToGetRequestInformation ¶
func (m *InteractionLimitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows which type of GitHub user can interact with your public repositories and when the restriction expires. returns a *RequestInformation when successful
func (*InteractionLimitsRequestBuilder) ToPutRequestInformation ¶
func (m *InteractionLimitsRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *InteractionLimitsRequestBuilder when successful
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[IssuesRequestBuilderGetQueryParameters]) ([]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.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []Issueable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*IssuesRequestBuilder) ToGetRequestInformation ¶
func (m *IssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[IssuesRequestBuilderGetQueryParameters]) (*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.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
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. returns a *IssuesRequestBuilder when successful
type IssuesRequestBuilderGetQueryParameters ¶
type IssuesRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *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. Filter *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetFilterQueryParameterType `uriparametername:"filter"` // A list of comma separated label names. Example: `bug,ui,@high` Labels *string `uriparametername:"labels"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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. Sort *i4ff4b7a4d09875186c447aac75fb9ce4cc99e7c847ea443e2165c288b294b0c9.GetSortQueryParameterType `uriparametername:"sort"` // Indicates the state of the issues to return. State *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.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type KeysPostRequestBody ¶
type KeysPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*KeysPostRequestBody) GetFieldDeserializers ¶
func (m *KeysPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*KeysPostRequestBody) GetKey ¶
func (m *KeysPostRequestBody) GetKey() *string
GetKey gets the key property value. The public SSH key to add to your GitHub account. returns a *string when successful
func (*KeysPostRequestBody) GetTitle ¶
func (m *KeysPostRequestBody) GetTitle() *string
GetTitle gets the title property value. A descriptive name for the new key. returns a *string when successful
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) }
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 int32) *KeysWithKey_ItemRequestBuilder
ByKey_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.keys.item collection returns a *KeysWithKey_ItemRequestBuilder when successful
func (*KeysRequestBuilder) Get ¶
func (m *KeysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[KeysRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
Get lists the public SSH keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. returns a []Keyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*KeysRequestBuilder) Post ¶
func (m *KeysRequestBuilder) Post(ctx context.Context, body KeysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
Post adds a public SSH key to the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. returns a Keyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*KeysRequestBuilder) ToGetRequestInformation ¶
func (m *KeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[KeysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the public SSH keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*KeysRequestBuilder) ToPostRequestInformation ¶
func (m *KeysRequestBuilder) ToPostRequestInformation(ctx context.Context, body KeysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation adds a public SSH key to the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *KeysRequestBuilder when successful
type KeysRequestBuilderGetQueryParameters ¶
type KeysRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
KeysRequestBuilderGetQueryParameters lists the public SSH keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint.
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 KeysWithKey_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 KeysWithKey_ItemRequestBuilder and sets the default values.
func (*KeysWithKey_ItemRequestBuilder) Delete ¶
func (m *KeysWithKey_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a public SSH key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:public_key` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*KeysWithKey_ItemRequestBuilder) Get ¶
func (m *KeysWithKey_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Keyable, error)
Get view extended details for a single public SSH key.OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. returns a Keyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*KeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *KeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a public SSH key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:public_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*KeysWithKey_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *KeysWithKey_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation view extended details for a single public SSH key.OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *KeysWithKey_ItemRequestBuilder when successful
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Marketplace_purchasesRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.UserMarketplacePurchaseable, error)
Get lists the active subscriptions for the authenticated user. returns a []UserMarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Marketplace_purchasesRequestBuilder) Stubbed ¶
func (m *Marketplace_purchasesRequestBuilder) Stubbed() *Marketplace_purchasesStubbedRequestBuilder
Stubbed the stubbed property returns a *Marketplace_purchasesStubbedRequestBuilder when successful
func (*Marketplace_purchasesRequestBuilder) ToGetRequestInformation ¶
func (m *Marketplace_purchasesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Marketplace_purchasesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the active subscriptions for the authenticated user. returns a *RequestInformation when successful
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. returns a *Marketplace_purchasesRequestBuilder when successful
type Marketplace_purchasesRequestBuilderGetQueryParameters ¶
type Marketplace_purchasesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
Marketplace_purchasesRequestBuilderGetQueryParameters lists the active subscriptions for the authenticated user.
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 Marketplace_purchasesStubbedRequestBuilder 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 Marketplace_purchasesStubbedRequestBuilder and sets the default values.
func (*Marketplace_purchasesStubbedRequestBuilder) Get ¶
func (m *Marketplace_purchasesStubbedRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Marketplace_purchasesStubbedRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.UserMarketplacePurchaseable, error)
Get lists the active subscriptions for the authenticated user. returns a []UserMarketplacePurchaseable when successful returns a BasicError error when the service returns a 401 status code API method documentation
func (*Marketplace_purchasesStubbedRequestBuilder) ToGetRequestInformation ¶
func (m *Marketplace_purchasesStubbedRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Marketplace_purchasesStubbedRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the active subscriptions for the authenticated user. returns a *RequestInformation when successful
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. returns a *Marketplace_purchasesStubbedRequestBuilder when successful
type Marketplace_purchasesStubbedRequestBuilderGetQueryParameters ¶
type Marketplace_purchasesStubbedRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
Marketplace_purchasesStubbedRequestBuilderGetQueryParameters lists the active subscriptions for the authenticated user.
type MembershipsOrgsItemWithOrgPatchRequestBody ¶
type MembershipsOrgsItemWithOrgPatchRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*MembershipsOrgsItemWithOrgPatchRequestBody) GetFieldDeserializers ¶
func (m *MembershipsOrgsItemWithOrgPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 }
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 MembershipsOrgsRequestBuilder and sets the default values.
func NewMembershipsOrgsRequestBuilderInternal ¶
func NewMembershipsOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsRequestBuilder
NewMembershipsOrgsRequestBuilderInternal instantiates a new MembershipsOrgsRequestBuilder 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 returns a *MembershipsOrgsWithOrgItemRequestBuilder when successful
func (*MembershipsOrgsRequestBuilder) Get ¶
func (m *MembershipsOrgsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MembershipsOrgsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgMembershipable, error)
Get lists all of the authenticated user's organization memberships. returns a []OrgMembershipable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*MembershipsOrgsRequestBuilder) ToGetRequestInformation ¶
func (m *MembershipsOrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MembershipsOrgsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all of the authenticated user's organization memberships. returns a *RequestInformation when successful
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. returns a *MembershipsOrgsRequestBuilder when successful
type MembershipsOrgsRequestBuilderGetQueryParameters ¶
type MembershipsOrgsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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. State *i6248a706a395d319f3e66611fac0b2654fe48b61e0e7152b109cc83e1d984972.GetStateQueryParameterType `uriparametername:"state"` }
MembershipsOrgsRequestBuilderGetQueryParameters lists all of the authenticated user's organization memberships.
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 MembershipsOrgsWithOrgItemRequestBuilder and sets the default values.
func NewMembershipsOrgsWithOrgItemRequestBuilderInternal ¶
func NewMembershipsOrgsWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MembershipsOrgsWithOrgItemRequestBuilder
NewMembershipsOrgsWithOrgItemRequestBuilderInternal instantiates a new MembershipsOrgsWithOrgItemRequestBuilder and sets the default values.
func (*MembershipsOrgsWithOrgItemRequestBuilder) Get ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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. returns a OrgMembershipable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*MembershipsOrgsWithOrgItemRequestBuilder) Patch ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) Patch(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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. returns a OrgMembershipable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*MembershipsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
func (*MembershipsOrgsWithOrgItemRequestBuilder) ToPatchRequestInformation ¶
func (m *MembershipsOrgsWithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body MembershipsOrgsItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *MembershipsOrgsWithOrgItemRequestBuilder when successful
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 returns a *MembershipsOrgsRequestBuilder when successful
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 MigrationsItemArchiveRequestBuilder and sets the default values.
func NewMigrationsItemArchiveRequestBuilderInternal ¶
func NewMigrationsItemArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemArchiveRequestBuilder
NewMigrationsItemArchiveRequestBuilderInternal instantiates a new MigrationsItemArchiveRequestBuilder and sets the default values.
func (*MigrationsItemArchiveRequestBuilder) Delete ¶
func (m *MigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*MigrationsItemArchiveRequestBuilder) Get ¶
func (m *MigrationsItemArchiveRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation ¶
func (m *MigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
func (*MigrationsItemArchiveRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *MigrationsItemArchiveRequestBuilder when successful
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 MigrationsItemReposItemLockRequestBuilder and sets the default values.
func NewMigrationsItemReposItemLockRequestBuilderInternal ¶
func NewMigrationsItemReposItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposItemLockRequestBuilder
NewMigrationsItemReposItemLockRequestBuilderInternal instantiates a new MigrationsItemReposItemLockRequestBuilder and sets the default values.
func (*MigrationsItemReposItemLockRequestBuilder) Delete ¶
func (m *MigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*MigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation ¶
func (m *MigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *MigrationsItemReposItemLockRequestBuilder when successful
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 MigrationsItemReposRequestBuilder and sets the default values.
func NewMigrationsItemReposRequestBuilderInternal ¶
func NewMigrationsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemReposRequestBuilder
NewMigrationsItemReposRequestBuilderInternal instantiates a new MigrationsItemReposRequestBuilder 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 returns a *MigrationsItemReposWithRepo_nameItemRequestBuilder when successful
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 MigrationsItemReposWithRepo_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 MigrationsItemReposWithRepo_nameItemRequestBuilder and sets the default values.
func (*MigrationsItemReposWithRepo_nameItemRequestBuilder) Lock ¶
func (m *MigrationsItemReposWithRepo_nameItemRequestBuilder) Lock() *MigrationsItemReposItemLockRequestBuilder
Lock the lock property returns a *MigrationsItemReposItemLockRequestBuilder when successful
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 MigrationsItemRepositoriesRequestBuilder and sets the default values.
func NewMigrationsItemRepositoriesRequestBuilderInternal ¶
func NewMigrationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MigrationsItemRepositoriesRequestBuilder
NewMigrationsItemRepositoriesRequestBuilderInternal instantiates a new MigrationsItemRepositoriesRequestBuilder and sets the default values.
func (*MigrationsItemRepositoriesRequestBuilder) Get ¶
func (m *MigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsItemRepositoriesRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists all the repositories for this user migration. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all the repositories for this user migration. returns a *RequestInformation when successful
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. returns a *MigrationsItemRepositoriesRequestBuilder when successful
type MigrationsItemRepositoriesRequestBuilderGetQueryParameters ¶
type MigrationsItemRepositoriesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
MigrationsItemRepositoriesRequestBuilderGetQueryParameters lists all the repositories for this user migration.
type MigrationsPostRequestBody ¶
type MigrationsPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*MigrationsPostRequestBody) GetExcludeAttachments ¶
func (m *MigrationsPostRequestBody) GetExcludeAttachments() *bool
GetExcludeAttachments gets the exclude_attachments property value. Do not include attachments in the migration returns a *bool when successful
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. returns a *bool when successful
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. returns a *bool when successful
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. returns a *bool when successful
func (*MigrationsPostRequestBody) GetExcludeReleases ¶
func (m *MigrationsPostRequestBody) GetExcludeReleases() *bool
GetExcludeReleases gets the exclude_releases property value. Do not include releases in the migration returns a *bool when successful
func (*MigrationsPostRequestBody) GetFieldDeserializers ¶
func (m *MigrationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 returns a *bool when successful
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). returns a *bool when successful
func (*MigrationsPostRequestBody) GetRepositories ¶
func (m *MigrationsPostRequestBody) GetRepositories() []string
GetRepositories gets the repositories property value. The repositories property returns a []string when successful
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) }
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 int32) *MigrationsWithMigration_ItemRequestBuilder
ByMigration_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.migrations.item collection returns a *MigrationsWithMigration_ItemRequestBuilder when successful
func (*MigrationsRequestBuilder) Get ¶
func (m *MigrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
Get lists all migrations a user has started. returns a []Migrationable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*MigrationsRequestBuilder) Post ¶
func (m *MigrationsRequestBuilder) Post(ctx context.Context, body MigrationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
Post initiates the generation of a user migration archive. returns a Migrationable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*MigrationsRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all migrations a user has started. returns a *RequestInformation when successful
func (*MigrationsRequestBuilder) ToPostRequestInformation ¶
func (m *MigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body MigrationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation initiates the generation of a user migration archive. returns a *RequestInformation when successful
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. returns a *MigrationsRequestBuilder when successful
type MigrationsRequestBuilderGetQueryParameters ¶
type MigrationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
MigrationsRequestBuilderGetQueryParameters lists all migrations a user has started.
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 MigrationsWithMigration_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 MigrationsWithMigration_ItemRequestBuilder and sets the default values.
func (*MigrationsWithMigration_ItemRequestBuilder) Archive ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Archive() *MigrationsItemArchiveRequestBuilder
Archive the archive property returns a *MigrationsItemArchiveRequestBuilder when successful
func (*MigrationsWithMigration_ItemRequestBuilder) Get ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsWithMigration_ItemRequestBuilderGetQueryParameters]) (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). returns a Migrationable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*MigrationsWithMigration_ItemRequestBuilder) Repos ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Repos() *MigrationsItemReposRequestBuilder
Repos the repos property returns a *MigrationsItemReposRequestBuilder when successful
func (*MigrationsWithMigration_ItemRequestBuilder) Repositories ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) Repositories() *MigrationsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *MigrationsItemRepositoriesRequestBuilder when successful
func (*MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *MigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[MigrationsWithMigration_ItemRequestBuilderGetQueryParameters]) (*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). returns a *RequestInformation when successful
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. returns a *MigrationsWithMigration_ItemRequestBuilder when successful
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 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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[OrgsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationSimpleable, error)
Get list organizations for the authenticated user.For OAuth app tokens and personal access tokens (classic), this endpoint 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 for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. returns a []OrganizationSimpleable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*OrgsRequestBuilder) ToGetRequestInformation ¶
func (m *OrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[OrgsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list organizations for the authenticated user.For OAuth app tokens and personal access tokens (classic), this endpoint 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 for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. returns a *RequestInformation when successful
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. returns a *OrgsRequestBuilder when successful
type OrgsRequestBuilderGetQueryParameters ¶
type OrgsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
OrgsRequestBuilderGetQueryParameters list organizations for the authenticated user.For OAuth app tokens and personal access tokens (classic), this endpoint 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 for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response.
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 PackagesItemItemRestoreRequestBuilder and sets the default values.
func NewPackagesItemItemRestoreRequestBuilderInternal ¶
func NewPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemRestoreRequestBuilder
NewPackagesItemItemRestoreRequestBuilderInternal instantiates a new PackagesItemItemRestoreRequestBuilder and sets the default values.
func (*PackagesItemItemRestoreRequestBuilder) Post ¶
func (m *PackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesItemItemRestoreRequestBuilderPostQueryParameters]) 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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PackagesItemItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *PackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesItemItemRestoreRequestBuilderPostQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
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. returns a *PackagesItemItemRestoreRequestBuilder when successful
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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, 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 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 PackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.
func NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal ¶
func NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsItemRestoreRequestBuilder
NewPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new PackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.
func (*PackagesItemItemVersionsItemRestoreRequestBuilder) Post ¶
func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *PackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
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. returns a *PackagesItemItemVersionsItemRestoreRequestBuilder when successful
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 PackagesItemItemVersionsRequestBuilder and sets the default values.
func NewPackagesItemItemVersionsRequestBuilderInternal ¶
func NewPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PackagesItemItemVersionsRequestBuilder
NewPackagesItemItemVersionsRequestBuilderInternal instantiates a new PackagesItemItemVersionsRequestBuilder and sets the default values.
func (*PackagesItemItemVersionsRequestBuilder) ByPackage_version_id ¶
func (m *PackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id int32) *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 returns a *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful
func (*PackagesItemItemVersionsRequestBuilder) Get ¶
func (m *PackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesItemItemVersionsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get lists package versions for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageVersionable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PackagesItemItemVersionsRequestBuilder) ToGetRequestInformation ¶
func (m *PackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesItemItemVersionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists package versions for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
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. returns a *PackagesItemItemVersionsRequestBuilder when successful
type PackagesItemItemVersionsRequestBuilderGetQueryParameters ¶
type PackagesItemItemVersionsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The state of the package, either active or deleted. State *i74b3087dddecf30253e135889419530355ad6be6bee6d9ec44ce931f8f78bc3f.GetStateQueryParameterType `uriparametername:"state"` }
PackagesItemItemVersionsRequestBuilderGetQueryParameters lists package versions for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, 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 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 PackagesItemItemVersionsWithPackage_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 PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder and sets the default values.
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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.The authenticated user must have admin permissions in the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get gets a specific package version for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageVersionable when successful API method documentation
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *PackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property returns a *PackagesItemItemVersionsItemRestoreRequestBuilder when successful
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.The authenticated user must have admin permissions in the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package version for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
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. returns a *PackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful
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 PackagesItemWithPackage_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 PackagesItemWithPackage_nameItemRequestBuilder and sets the default values.
func (*PackagesItemWithPackage_nameItemRequestBuilder) Delete ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*PackagesItemWithPackage_nameItemRequestBuilder) Get ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get gets a specific package for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageEscapedable when successful API method documentation
func (*PackagesItemWithPackage_nameItemRequestBuilder) Restore ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Restore() *PackagesItemItemRestoreRequestBuilder
Restore the restore property returns a *PackagesItemItemRestoreRequestBuilder when successful
func (*PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*PackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package for a package owned by the authenticated user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*PackagesItemWithPackage_nameItemRequestBuilder) Versions ¶
func (m *PackagesItemWithPackage_nameItemRequestBuilder) Versions() *PackagesItemItemVersionsRequestBuilder
Versions the versions property returns a *PackagesItemItemVersionsRequestBuilder when successful
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. returns a *PackagesItemWithPackage_nameItemRequestBuilder when successful
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 returns a *PackagesWithPackage_typeItemRequestBuilder when successful
func (*PackagesRequestBuilder) Get ¶
func (m *PackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get lists packages owned by the authenticated user within the user's namespace.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageEscapedable when successful API method documentation
func (*PackagesRequestBuilder) ToGetRequestInformation ¶
func (m *PackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PackagesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists packages owned by the authenticated user within the user's namespace.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
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. returns a *PackagesRequestBuilder when successful
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. Package_type *ia90ad7174ccc536446ffbf323e44f93ad4e7b5bc6ecfa01a7999e03949929e86.GetPackage_typeQueryParameterType `uriparametername:"package_type"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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)." Visibility *ia90ad7174ccc536446ffbf323e44f93ad4e7b5bc6ecfa01a7999e03949929e86.GetVisibilityQueryParameterType `uriparametername:"visibility"` }
PackagesRequestBuilderGetQueryParameters lists packages owned by the authenticated user within the user's namespace.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, 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 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 PackagesWithPackage_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 PackagesWithPackage_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 returns a *PackagesItemWithPackage_nameItemRequestBuilder when successful
type ProjectsPostRequestBody ¶
type ProjectsPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*ProjectsPostRequestBody) GetBody ¶
func (m *ProjectsPostRequestBody) GetBody() *string
GetBody gets the body property value. Body of the project returns a *string when successful
func (*ProjectsPostRequestBody) GetFieldDeserializers ¶
func (m *ProjectsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ProjectsPostRequestBody) GetName ¶
func (m *ProjectsPostRequestBody) GetName() *string
GetName gets the name property value. Name of the project returns a *string when successful
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) }
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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. returns a Projectable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ProjectsRequestBuilder) ToPostRequestInformation ¶
func (m *ProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ProjectsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *ProjectsRequestBuilder when successful
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Public_emailsRequestBuilderGetQueryParameters]) ([]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.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. returns a []Emailable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Public_emailsRequestBuilder) ToGetRequestInformation ¶
func (m *Public_emailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Public_emailsRequestBuilderGetQueryParameters]) (*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.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Public_emailsRequestBuilder when successful
type Public_emailsRequestBuilderGetQueryParameters ¶
type Public_emailsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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.OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint.
type ReposPostRequestBody ¶
type ReposPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
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. returns a *bool when successful
func (*ReposPostRequestBody) GetAllowMergeCommit ¶
func (m *ReposPostRequestBody) GetAllowMergeCommit() *bool
GetAllowMergeCommit gets the allow_merge_commit property value. Whether to allow merge commits for pull requests. returns a *bool when successful
func (*ReposPostRequestBody) GetAllowRebaseMerge ¶
func (m *ReposPostRequestBody) GetAllowRebaseMerge() *bool
GetAllowRebaseMerge gets the allow_rebase_merge property value. Whether to allow rebase merges for pull requests. returns a *bool when successful
func (*ReposPostRequestBody) GetAllowSquashMerge ¶
func (m *ReposPostRequestBody) GetAllowSquashMerge() *bool
GetAllowSquashMerge gets the allow_squash_merge property value. Whether to allow squash merges for pull requests. returns a *bool when successful
func (*ReposPostRequestBody) GetAutoInit ¶
func (m *ReposPostRequestBody) GetAutoInit() *bool
GetAutoInit gets the auto_init property value. Whether the repository is initialized with a minimal README. returns a *bool when successful
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 returns a *bool when successful
func (*ReposPostRequestBody) GetDescription ¶
func (m *ReposPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the repository. returns a *string when successful
func (*ReposPostRequestBody) GetFieldDeserializers ¶
func (m *ReposPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ReposPostRequestBody) GetGitignoreTemplate ¶
func (m *ReposPostRequestBody) GetGitignoreTemplate() *string
GetGitignoreTemplate gets the gitignore_template property value. The desired language or platform to apply to the .gitignore. returns a *string when successful
func (*ReposPostRequestBody) GetHasDiscussions ¶
func (m *ReposPostRequestBody) GetHasDiscussions() *bool
GetHasDiscussions gets the has_discussions property value. Whether discussions are enabled. returns a *bool when successful
func (*ReposPostRequestBody) GetHasDownloads ¶
func (m *ReposPostRequestBody) GetHasDownloads() *bool
GetHasDownloads gets the has_downloads property value. Whether downloads are enabled. returns a *bool when successful
func (*ReposPostRequestBody) GetHasIssues ¶
func (m *ReposPostRequestBody) GetHasIssues() *bool
GetHasIssues gets the has_issues property value. Whether issues are enabled. returns a *bool when successful
func (*ReposPostRequestBody) GetHasProjects ¶
func (m *ReposPostRequestBody) GetHasProjects() *bool
GetHasProjects gets the has_projects property value. Whether projects are enabled. returns a *bool when successful
func (*ReposPostRequestBody) GetHasWiki ¶
func (m *ReposPostRequestBody) GetHasWiki() *bool
GetHasWiki gets the has_wiki property value. Whether the wiki is enabled. returns a *bool when successful
func (*ReposPostRequestBody) GetHomepage ¶
func (m *ReposPostRequestBody) GetHomepage() *string
GetHomepage gets the homepage property value. A URL with more information about the repository. returns a *string when successful
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. returns a *bool when successful
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. returns a *string when successful
func (*ReposPostRequestBody) GetName ¶
func (m *ReposPostRequestBody) GetName() *string
GetName gets the name property value. The name of the repository. returns a *string when successful
func (*ReposPostRequestBody) GetPrivate ¶
func (m *ReposPostRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Whether the repository is private. returns a *bool when successful
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. returns a *int32 when successful
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) }
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ReposRequestBuilderGetQueryParameters]) ([]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. returns a []Repositoryable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ReposRequestBuilder) Post ¶
func (m *ReposRequestBuilder) Post(ctx context.Context, body ReposPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.FullRepositoryable, error)
Post creates a new repository for the authenticated user.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. returns a FullRepositoryable when successful returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ReposRequestBuilder) ToGetRequestInformation ¶
func (m *ReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ReposRequestBuilderGetQueryParameters]) (*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. returns a *RequestInformation when successful
func (*ReposRequestBuilder) ToPostRequestInformation ¶
func (m *ReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReposPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new repository for the authenticated user.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. returns a *RequestInformation when successful
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. returns a *ReposRequestBuilder when successful
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`. Direction *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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. Sort *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**. Type *ic41ef9159df965bc9bcc557811709320ac0b4b0d40eefb8bfc234c584bcd174e.GetTypeQueryParameterType `uriparametername:"type"` // Limit results to repositories with the specified visibility. Visibility *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 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 int32) *Repository_invitationsWithInvitation_ItemRequestBuilder
ByInvitation_id gets an item from the github.com/octokit/go-sdk/pkg/github.user.repository_invitations.item collection returns a *Repository_invitationsWithInvitation_ItemRequestBuilder when successful
func (*Repository_invitationsRequestBuilder) Get ¶
func (m *Repository_invitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Repository_invitationsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryInvitationable, error)
Get when authenticating as a user, this endpoint will list all currently open repository invitations for that user. returns a []RepositoryInvitationable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Repository_invitationsRequestBuilder) ToGetRequestInformation ¶
func (m *Repository_invitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Repository_invitationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation when authenticating as a user, this endpoint will list all currently open repository invitations for that user. returns a *RequestInformation when successful
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. returns a *Repository_invitationsRequestBuilder when successful
type Repository_invitationsRequestBuilderGetQueryParameters ¶
type Repository_invitationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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_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 Repository_invitationsWithInvitation_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 Repository_invitationsWithInvitation_ItemRequestBuilder and sets the default values.
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) Delete ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete decline a repository invitation returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 409 status code API method documentation
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) Patch ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) Patch(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch accept a repository invitation returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 409 status code API method documentation
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*Repository_invitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *Repository_invitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
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. returns a *Repository_invitationsWithInvitation_ItemRequestBuilder when successful
type Social_accountsDeleteRequestBody ¶
type Social_accountsDeleteRequestBody struct {
// contains filtered or unexported fields
}
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. returns a []string when successful
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. returns a map[string]any when successful
func (*Social_accountsDeleteRequestBody) GetFieldDeserializers ¶
func (m *Social_accountsDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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) }
type Social_accountsPostRequestBody ¶
type Social_accountsPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a []string when successful
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. returns a map[string]any when successful
func (*Social_accountsPostRequestBody) GetFieldDeserializers ¶
func (m *Social_accountsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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) }
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes one or more social accounts from the authenticated user's profile.OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*Social_accountsRequestBuilder) Get ¶
func (m *Social_accountsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Social_accountsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SocialAccountable, error)
Get lists all of your social accounts. returns a []SocialAccountable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Social_accountsRequestBuilder) Post ¶
func (m *Social_accountsRequestBuilder) Post(ctx context.Context, body Social_accountsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SocialAccountable, error)
Post add one or more social accounts to the authenticated user's profile.OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a []SocialAccountable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*Social_accountsRequestBuilder) ToDeleteRequestInformation ¶
func (m *Social_accountsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body Social_accountsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes one or more social accounts from the authenticated user's profile.OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful
func (*Social_accountsRequestBuilder) ToGetRequestInformation ¶
func (m *Social_accountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Social_accountsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all of your social accounts. returns a *RequestInformation when successful
func (*Social_accountsRequestBuilder) ToPostRequestInformation ¶
func (m *Social_accountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body Social_accountsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation add one or more social accounts to the authenticated user's profile.OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Social_accountsRequestBuilder when successful
type Social_accountsRequestBuilderGetQueryParameters ¶
type Social_accountsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
Social_accountsRequestBuilderGetQueryParameters lists all of your social accounts.
type Ssh_signing_keysPostRequestBody ¶
type Ssh_signing_keysPostRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
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 returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
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)." returns a *string when successful
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. returns a *string when successful
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) }
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 int32) *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 returns a *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder when successful
func (*Ssh_signing_keysRequestBuilder) Get ¶
func (m *Ssh_signing_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Ssh_signing_keysRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
Get lists the SSH signing keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. returns a []SshSigningKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Ssh_signing_keysRequestBuilder) Post ¶
func (m *Ssh_signing_keysRequestBuilder) Post(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
Post creates an SSH signing key for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. returns a SshSigningKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*Ssh_signing_keysRequestBuilder) ToGetRequestInformation ¶
func (m *Ssh_signing_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[Ssh_signing_keysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the SSH signing keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*Ssh_signing_keysRequestBuilder) ToPostRequestInformation ¶
func (m *Ssh_signing_keysRequestBuilder) ToPostRequestInformation(ctx context.Context, body Ssh_signing_keysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates an SSH signing key for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Ssh_signing_keysRequestBuilder when successful
type Ssh_signing_keysRequestBuilderGetQueryParameters ¶
type Ssh_signing_keysRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
Ssh_signing_keysRequestBuilderGetQueryParameters lists the SSH signing keys for the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint.
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 Ssh_signing_keysWithSsh_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 Ssh_signing_keysWithSsh_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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes an SSH signing key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:ssh_signing_key` scope to use this endpoint. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Get ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
Get gets extended details for an SSH signing key.OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. returns a SshSigningKeyable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an SSH signing key from the authenticated user's GitHub account.OAuth app tokens and personal access tokens (classic) need the `admin:ssh_signing_key` scope to use this endpoint. returns a *RequestInformation when successful
func (*Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets extended details for an SSH signing key.OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. returns a *RequestInformation when successful
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. returns a *Ssh_signing_keysWithSsh_signing_key_ItemRequestBuilder when successful
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 StarredItemWithRepoItemRequestBuilder and sets the default values.
func NewStarredItemWithRepoItemRequestBuilderInternal ¶
func NewStarredItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredItemWithRepoItemRequestBuilder
NewStarredItemWithRepoItemRequestBuilderInternal instantiates a new StarredItemWithRepoItemRequestBuilder and sets the default values.
func (*StarredItemWithRepoItemRequestBuilder) Delete ¶
func (m *StarredItemWithRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete unstar a repository that the authenticated user has previously starred. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*StarredItemWithRepoItemRequestBuilder) Get ¶
func (m *StarredItemWithRepoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get whether the authenticated user has starred the repository. returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*StarredItemWithRepoItemRequestBuilder) Put ¶
func (m *StarredItemWithRepoItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) 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)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*StarredItemWithRepoItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation unstar a repository that the authenticated user has previously starred. returns a *RequestInformation when successful
func (*StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation whether the authenticated user has starred the repository. returns a *RequestInformation when successful
func (*StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation ¶
func (m *StarredItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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)." returns a *RequestInformation when successful
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. returns a *StarredItemWithRepoItemRequestBuilder when successful
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 returns a *StarredWithOwnerItemRequestBuilder when successful
func (*StarredRequestBuilder) Get ¶
func (m *StarredRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StarredRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable, error)
Get lists repositories the authenticated user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. returns a []Repositoryable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*StarredRequestBuilder) ToGetRequestInformation ¶
func (m *StarredRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[StarredRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories the authenticated user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. returns a *RequestInformation when successful
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. returns a *StarredRequestBuilder when successful
type StarredRequestBuilderGetQueryParameters ¶
type StarredRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *ib70b7407366e940878b2bf2a2ba5d70a3ff5c77a8b73175161353f0ca9989d8b.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." 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. Sort *ib70b7407366e940878b2bf2a2ba5d70a3ff5c77a8b73175161353f0ca9989d8b.GetSortQueryParameterType `uriparametername:"sort"` }
StarredRequestBuilderGetQueryParameters lists repositories the authenticated user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
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 StarredWithOwnerItemRequestBuilder and sets the default values.
func NewStarredWithOwnerItemRequestBuilderInternal ¶
func NewStarredWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *StarredWithOwnerItemRequestBuilder
NewStarredWithOwnerItemRequestBuilderInternal instantiates a new StarredWithOwnerItemRequestBuilder 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 returns a *StarredItemWithRepoItemRequestBuilder when successful
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[SubscriptionsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists repositories the authenticated user is watching. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*SubscriptionsRequestBuilder) ToGetRequestInformation ¶
func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[SubscriptionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories the authenticated user is watching. returns a *RequestInformation when successful
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. returns a *SubscriptionsRequestBuilder when successful
type SubscriptionsRequestBuilderGetQueryParameters ¶
type SubscriptionsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
SubscriptionsRequestBuilderGetQueryParameters lists repositories the authenticated user is watching.
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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TeamsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, error)
Get list all of the teams across all of the organizations to which the authenticateduser belongs.OAuth app tokens and personal access tokens (classic) need the `user`, `repo`, or `read:org` scope to use this endpoint.When using a fine-grained personal access token, the resource owner of the token must be a single organization, and the response will only include the teams from that organization. returns a []TeamFullable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*TeamsRequestBuilder) ToGetRequestInformation ¶
func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TeamsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all of the teams across all of the organizations to which the authenticateduser belongs.OAuth app tokens and personal access tokens (classic) need the `user`, `repo`, or `read:org` scope to use this endpoint.When using a fine-grained personal access token, the resource owner of the token must be a single organization, and the response will only include the teams from that organization. returns a *RequestInformation when successful
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. returns a *TeamsRequestBuilder when successful
type TeamsRequestBuilderGetQueryParameters ¶
type TeamsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
TeamsRequestBuilderGetQueryParameters list all of the teams across all of the organizations to which the authenticateduser belongs.OAuth app tokens and personal access tokens (classic) need the `user`, `repo`, or `read:org` scope to use this endpoint.When using a fine-grained personal access token, the resource owner of the token must be a single organization, and the response will only include the teams from that organization.
type UserGetResponse ¶
type UserGetResponse struct {
// contains filtered or unexported fields
}
UserGetResponse composed type wrapper for classes i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable, i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
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 returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UserGetResponse) GetIsComposedType ¶
func (m *UserGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*UserGetResponse) GetPrivateUser ¶
func (m *UserGetResponse) GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable returns a PrivateUserable when successful
func (*UserGetResponse) GetPublicUser ¶
func (m *UserGetResponse) GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable returns a PublicUserable when successful
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
func (*UserGetResponse) SetPublicUser ¶
func (m *UserGetResponse) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
type UserGetResponseable ¶
type UserGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable) }
type UserPatchRequestBody ¶
type UserPatchRequestBody struct {
// contains filtered or unexported fields
}
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. returns a map[string]any when successful
func (*UserPatchRequestBody) GetBio ¶
func (m *UserPatchRequestBody) GetBio() *string
GetBio gets the bio property value. The new short biography of the user. returns a *string when successful
func (*UserPatchRequestBody) GetBlog ¶
func (m *UserPatchRequestBody) GetBlog() *string
GetBlog gets the blog property value. The new blog URL of the user. returns a *string when successful
func (*UserPatchRequestBody) GetCompany ¶
func (m *UserPatchRequestBody) GetCompany() *string
GetCompany gets the company property value. The new company of the user. returns a *string when successful
func (*UserPatchRequestBody) GetEmail ¶
func (m *UserPatchRequestBody) GetEmail() *string
GetEmail gets the email property value. The publicly visible email address of the user. returns a *string when successful
func (*UserPatchRequestBody) GetFieldDeserializers ¶
func (m *UserPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UserPatchRequestBody) GetHireable ¶
func (m *UserPatchRequestBody) GetHireable() *bool
GetHireable gets the hireable property value. The new hiring availability of the user. returns a *bool when successful
func (*UserPatchRequestBody) GetLocation ¶
func (m *UserPatchRequestBody) GetLocation() *string
GetLocation gets the location property value. The new location of the user. returns a *string when successful
func (*UserPatchRequestBody) GetName ¶
func (m *UserPatchRequestBody) GetName() *string
GetName gets the name property value. The new name of the user. returns a *string when successful
func (*UserPatchRequestBody) GetTwitterUsername ¶
func (m *UserPatchRequestBody) GetTwitterUsername() *string
GetTwitterUsername gets the twitter_username property value. The new Twitter username of the user. returns a *string when successful
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) }
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 returns a *BlocksRequestBuilder when successful
func (*UserRequestBuilder) Codespaces ¶
func (m *UserRequestBuilder) Codespaces() *CodespacesRequestBuilder
Codespaces the codespaces property returns a *CodespacesRequestBuilder when successful
func (*UserRequestBuilder) Docker ¶
func (m *UserRequestBuilder) Docker() *DockerRequestBuilder
Docker the docker property returns a *DockerRequestBuilder when successful
func (*UserRequestBuilder) Email ¶
func (m *UserRequestBuilder) Email() *EmailRequestBuilder
Email the email property returns a *EmailRequestBuilder when successful
func (*UserRequestBuilder) Emails ¶
func (m *UserRequestBuilder) Emails() *EmailsRequestBuilder
Emails the emails property returns a *EmailsRequestBuilder when successful
func (*UserRequestBuilder) Followers ¶
func (m *UserRequestBuilder) Followers() *FollowersRequestBuilder
Followers the followers property returns a *FollowersRequestBuilder when successful
func (*UserRequestBuilder) Following ¶
func (m *UserRequestBuilder) Following() *FollowingRequestBuilder
Following the following property returns a *FollowingRequestBuilder when successful
func (*UserRequestBuilder) Get ¶
func (m *UserRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (UserGetResponseable, error)
Get oAuth app tokens and personal access tokens (classic) need the `user` scope in order for the response to include private profile information. returns a UserGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation
func (*UserRequestBuilder) Gpg_keys ¶
func (m *UserRequestBuilder) Gpg_keys() *Gpg_keysRequestBuilder
Gpg_keys the gpg_keys property returns a *Gpg_keysRequestBuilder when successful
func (*UserRequestBuilder) Installations ¶
func (m *UserRequestBuilder) Installations() *InstallationsRequestBuilder
Installations the installations property returns a *InstallationsRequestBuilder when successful
func (*UserRequestBuilder) InteractionLimits ¶
func (m *UserRequestBuilder) InteractionLimits() *InteractionLimitsRequestBuilder
InteractionLimits the interactionLimits property returns a *InteractionLimitsRequestBuilder when successful
func (*UserRequestBuilder) Issues ¶
func (m *UserRequestBuilder) Issues() *IssuesRequestBuilder
Issues the issues property returns a *IssuesRequestBuilder when successful
func (*UserRequestBuilder) Keys ¶
func (m *UserRequestBuilder) Keys() *KeysRequestBuilder
Keys the keys property returns a *KeysRequestBuilder when successful
func (*UserRequestBuilder) Marketplace_purchases ¶
func (m *UserRequestBuilder) Marketplace_purchases() *Marketplace_purchasesRequestBuilder
Marketplace_purchases the marketplace_purchases property returns a *Marketplace_purchasesRequestBuilder when successful
func (*UserRequestBuilder) Memberships ¶
func (m *UserRequestBuilder) Memberships() *MembershipsRequestBuilder
Memberships the memberships property returns a *MembershipsRequestBuilder when successful
func (*UserRequestBuilder) Migrations ¶
func (m *UserRequestBuilder) Migrations() *MigrationsRequestBuilder
Migrations the migrations property returns a *MigrationsRequestBuilder when successful
func (*UserRequestBuilder) Orgs ¶
func (m *UserRequestBuilder) Orgs() *OrgsRequestBuilder
Orgs the orgs property returns a *OrgsRequestBuilder when successful
func (*UserRequestBuilder) Packages ¶
func (m *UserRequestBuilder) Packages() *PackagesRequestBuilder
Packages the packages property returns a *PackagesRequestBuilder when successful
func (*UserRequestBuilder) Patch ¶
func (m *UserRequestBuilder) Patch(ctx context.Context, body UserPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (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. returns a PrivateUserable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*UserRequestBuilder) Projects ¶
func (m *UserRequestBuilder) Projects() *ProjectsRequestBuilder
Projects the projects property returns a *ProjectsRequestBuilder when successful
func (*UserRequestBuilder) Public_emails ¶
func (m *UserRequestBuilder) Public_emails() *Public_emailsRequestBuilder
Public_emails the public_emails property returns a *Public_emailsRequestBuilder when successful
func (*UserRequestBuilder) Repos ¶
func (m *UserRequestBuilder) Repos() *ReposRequestBuilder
Repos the repos property returns a *ReposRequestBuilder when successful
func (*UserRequestBuilder) Repository_invitations ¶
func (m *UserRequestBuilder) Repository_invitations() *Repository_invitationsRequestBuilder
Repository_invitations the repository_invitations property returns a *Repository_invitationsRequestBuilder when successful
func (*UserRequestBuilder) Social_accounts ¶
func (m *UserRequestBuilder) Social_accounts() *Social_accountsRequestBuilder
Social_accounts the social_accounts property returns a *Social_accountsRequestBuilder when successful
func (*UserRequestBuilder) Ssh_signing_keys ¶
func (m *UserRequestBuilder) Ssh_signing_keys() *Ssh_signing_keysRequestBuilder
Ssh_signing_keys the ssh_signing_keys property returns a *Ssh_signing_keysRequestBuilder when successful
func (*UserRequestBuilder) Starred ¶
func (m *UserRequestBuilder) Starred() *StarredRequestBuilder
Starred the starred property returns a *StarredRequestBuilder when successful
func (*UserRequestBuilder) Subscriptions ¶
func (m *UserRequestBuilder) Subscriptions() *SubscriptionsRequestBuilder
Subscriptions the subscriptions property returns a *SubscriptionsRequestBuilder when successful
func (*UserRequestBuilder) Teams ¶
func (m *UserRequestBuilder) Teams() *TeamsRequestBuilder
Teams the teams property returns a *TeamsRequestBuilder when successful
func (*UserRequestBuilder) ToGetRequestInformation ¶
func (m *UserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation oAuth app tokens and personal access tokens (classic) need the `user` scope in order for the response to include private profile information. returns a *RequestInformation when successful
func (*UserRequestBuilder) ToPatchRequestInformation ¶
func (m *UserRequestBuilder) ToPatchRequestInformation(ctx context.Context, body UserPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*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. returns a *RequestInformation when successful
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. returns a *UserRequestBuilder when successful
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